CN100371915C - Portable storage device and data access method thereof - Google Patents
Portable storage device and data access method thereof Download PDFInfo
- Publication number
- CN100371915C CN100371915C CNB2004100806207A CN200410080620A CN100371915C CN 100371915 C CN100371915 C CN 100371915C CN B2004100806207 A CNB2004100806207 A CN B2004100806207A CN 200410080620 A CN200410080620 A CN 200410080620A CN 100371915 C CN100371915 C CN 100371915C
- Authority
- CN
- China
- Prior art keywords
- area
- data
- read
- instruction
- write
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Images
Landscapes
- Storage Device Security (AREA)
Abstract
Description
技术领域technical field
本发明是有关于可携式储存装置及其数据存取方法,特别是指一种可适用于以一般使用者账号登入具有权限管制(如:WindowsTM 2000、WindowsTM NT、WindowsTM XP或WindowsTM 2003)操作系统中存取数据的可携式储存装置及方法。The present invention relates to a portable storage device and a data access method thereof, in particular to a portable storage device and a data access method applicable to logging in with a general user account with authority control (such as: Windows TM 2000, Windows TM NT, Windows TM XP or Windows TM). TM 2003) Portable storage device and method for accessing data in operating system.
背景技术Background technique
随着网际网络的发达,各种网际网络浏览软件不断推陈出新,其中MicrosoftTM WindowsTM System是一种较受欢迎且目前市占率最高的操作系统,然而,由于该操作系统的后门程序未完全移除,而成为骇客入侵的一种媒介,加以病毒侵入以及垃圾邮件等各种衍生的问题不断,使得一般公司的信息管理人员多必须耗费极大的精神与时间在于计算机的管理;为解决上述问题,利用使用账号管制数据的存取权限,乃是一种可行而普遍的方式,而在微软的操作系统中,WindowsTM 2000、WindowsTMNT、WindowsTM XP及WindowsTM 2003皆是具有上述使用者权限管制功能的操作系统。With the development of the Internet, various Internet browsing software are constantly being introduced. Among them, Microsoft TM Windows TM System is a relatively popular operating system with the highest market share at present. However, because the backdoor program of this operating system has not been completely removed In addition, it has become a medium of hacker intrusion, and various derivative problems such as virus intrusion and spam mail continue, so that the information management personnel of general companies must spend a lot of energy and time on computer management; in order to solve the above The problem is that it is a feasible and common way to use the account to control the access rights of data, and in Microsoft's operating system, Windows TM 2000, Windows TM NT, Windows TM XP and Windows TM 2003 all have the above-mentioned use The operating system with or permission control function.
然而,由于可携式快闪储存装置的普及化,伴随着一些始料未及的议题,例如:当使用者经由USB接口将该可携式快闪储存装置的驱动装置安装于具使用者权限管制的操作系统中,该装置的应用可能需要利用一种“应用程序设计接口(API;Application Programming Interface)”中的某个应用程序(在上述微软的窗口操作系统中,称之为“小型计算机系统接口的应用程序设计接口(SCSI API)”),但是,该应用程序设计接口的功能仅可于管理人员层级登入下才可使用,因此,在上述作业环境下,以一般使用者层级登入的操作者,其并无法完全正常驱动该装置;同时,对于不同的各窗口操作系统,其相关的可携式快闪储存装置并非仅以单一方式运作,此亦造成使用上的不便。However, due to the popularity of portable flash storage devices, there are some unexpected issues, such as: when the user installs the drive device of the portable flash storage device on a device with user authority via the USB interface In the regulated operating system, the application of the device may need to use an application program in an "application programming interface (API; Application Programming Interface)" (in the above-mentioned Microsoft Windows operating system, it is called "small computer System interface application programming interface (SCSI API)"), however, the function of the application programming interface can only be used when logging in at the administrator level. Therefore, in the above operating environment, users who log in at the general user level The operator cannot fully drive the device normally; at the same time, for different windows operating systems, the relevant portable flash storage devices do not operate in a single mode, which also causes inconvenience in use.
有鉴于习见可携式快闪储存装置于具使用者权限管制的操作系统中有上述的应用缺失,发明人乃针对该些缺点研究改进之道,终于有本发明产生。Considering that conventional portable flash storage devices have the above-mentioned application deficiencies in operating systems with user rights control, the inventors have studied and improved ways to address these shortcomings, and finally the present invention has been produced.
发明内容Contents of the invention
本发明旨在提供一种可携式储存装置及其数据存取方法,其主要是将储存装置的内存本体分割成区域I、II、III,其中该区域I是供储存相关的应用程序,区域II是一供暂存各指令及数据的公共区,而该区域III则是一供保存客户数据的隐藏区,使该外部输入的数据或区域III内待读取的客户数据可先暂存于区域II内,同时将该区域I应用程序中附加的具有读/写层级应用接口的特殊读写指令写入该区域II并执行之,借此得以使该可携式储存装置与外部具使用者权限管制操作系统的计算机进行数据交换存取动作,此为本发明的主要目的。The present invention aims to provide a portable storage device and its data access method, which mainly divides the memory body of the storage device into areas I, II, and III, wherein the area I is used to store related application programs, and the area II is a public area for temporary storage of various instructions and data, and the area III is a hidden area for saving customer data, so that the externally input data or customer data to be read in area III can be temporarily stored in the In the area II, at the same time, the special read and write instructions with the read/write layer application interface added in the application program of the area I are written into the area II and executed, thereby enabling the portable storage device to communicate with external device users It is the main purpose of the present invention that the computer with the authority control operating system performs data exchange and access operations.
本发明另提供一种可携式储存装置,其特征在于所述可携式储存装置至少包括:一控制单元,可经由一预设接口与一计算机相耦合;一区域I,供储存相关的应用程序;一区域II,是一供暂存各指令及数据的公共区,于此区域各数据文件内的数据皆可被任意读取或储存;一区域III,是一供保存客户数据的隐藏区;其特征在于:该区域III内数据的读写,是借由将该数据暂存于区域II内,并执行该应用程序中附加的具有读/写层级应用接口的特殊读写指令,方得以为外部读取或写入区域III。The present invention further provides a portable storage device, which is characterized in that the portable storage device at least includes: a control unit that can be coupled with a computer via a preset interface; an area I for storing related applications program; an area II is a public area for temporary storage of various instructions and data, and the data in each data file in this area can be read or stored arbitrarily; an area III is a hidden area for storing customer data ; It is characterized in that: the reading and writing of data in the area III is achieved by temporarily storing the data in the area II and executing special reading and writing instructions with a read/write layer application interface attached in the application program. for external reading or writing of Region III.
附图说明Description of drawings
图1是本发明相关的可携式储存装置构造示意图;Fig. 1 is a schematic structural diagram of a portable storage device related to the present invention;
图2是本发明的整体流程图。Fig. 2 is the overall flow chart of the present invention.
符号说明:Symbol Description:
101...执行应用程序101...executing application
103...是否为WindowsTM 2000、WindowsTM NT、WindowsTM XP或WindowsTM 2003操作系统?103...Is it Windows TM 2000, Windows TM NT, Windows TM XP or Windows TM 2003 operating system?
105...直接以SCSI硬盘层级指令存取该区域III内的数据105...Directly use SCSI hard disk level commands to access the data in this area III
107...是否以“使用者”账号登入?107...Are you logged in with the "User" account?
109...读取区域III中的数据?109...Read data in area III?
111...将读取指令写入区域II中的指令文件111...Write the read instruction to the instruction file in area II
113...依区域II指令文件的指令执行读取行为,将区域III中的数据移至区域II中的数据文件113...Execute the reading action according to the instruction of the area II instruction file, and move the data in the area III to the data file in the area II
115...应用程序自区域II的数据文件读取数据115...The application reads data from the data file in area II
117...将数据写入区域III?117...Write data to area III?
119...将写入指令写入区域II中的指令文件,并将外来数据移至区域II的数据文件119...Write commands to command files in region II and move foreign data to data files in region II
121...依区域II指令文件的指令执行特殊写入行为121...Execute special writing behavior according to the instructions of the area II instruction file
123...应用程序自数据文件读取数据,并写入区域III123...Application reads data from data file and writes to area III
2.....可携式数据储存装置2..Portable data storage device
21....控制单元21..Control unit
22....区域I22..Area I
23....区域II23....Area II
24....区域III24...Area III
3.....计算机3....Computer
31....处理单元31....processing unit
具体实施方式Detailed ways
至于本发明的详细构造、应用原理、作用与功效,则参照下列依附图所作的说明即可得到完全的了解:As for the detailed structure of the present invention, application principle, function and effect, then can obtain complete understanding with reference to the explanation that is done according to accompanying drawing:
图1是本发明相关的可携式储存装置构造示意图,由该图可以很明显地看出,本发明的可携式数据储存装置2主要包括:控制单元21及由内存本体分割而成的区域I 22、区域II 23、区域III 24,其中控制单元21是可经由一预设(如:USB)接口与一计算机3中相对应的处理单元31耦合,借以使该计算机3与该可携式数据储存装置2得以衔接,以进行读取、写入等动作,而该区域I 22是供储存相关的应用程序,区域II 23乃是一供暂存各指令挡及数据文件的公共区,于此区域各数据文件内的数据皆可被任意读取或储存,而区域III 24则是一供保存客户数据的隐藏区,于此区域内的数据无法被任意读取或储存。Fig. 1 is a schematic diagram of the structure of a portable storage device related to the present invention. It can be clearly seen from this figure that the portable
图2是本发明的整体流程图,其是配合前述可携式数据储存装置2的结构,由该图标可知,本发明的运作方法主要是于“开始”使可携式数据储存装置2与计算机3的处理单元31衔接后,以一“执行应用程序”步骤101,将存于区域I 22内的应用(驱动)程序装设(SET UP)于该计算机3内,并经一“是否为WindowsTM 2000、WindowsTM NT、WindowsTM XP或WindowsTM 2003操作系统?”的判断步骤103,确认其是否为Windows 2000、WindowsTM NT、WindowsTM XP或WindowsTM 2003等具有使用者权限管制的操作系统,若判断结果为否定N,则表示无使用者权限分级管制的问题,因此,由一“直接以SCSI硬盘层级指令存取该区域III内的数据”步骤105,以使该计算机3直接存取该隐藏的区域III内的客户数据,而若该判断结果为肯定Y,表示有使用者权限分级的管制,此时再经由一“是否以‘使用者’账号登入?”判断步骤107,确认其操作者的身份,若判断结果为否定N,表示是以“管理者”(Administrator)层级登入,此时重复“直接以SCSI硬盘层级指令存取该区域III内的数据”步骤105,若该判断结果为肯定Y,表示其是以“使用者”账号登入,无法使用SCSI硬盘层级指令,此时经一“读取区域III中的数据?”判断步骤109,若为肯定Y,则确认该操作者欲由隐藏的区域III内读取客户数据,则经一“将读取指令写入区域II中的指令文件”步骤111,配合一“依区域II指令文件的指令执行读取行为,将区域III中的数据移至区域II中的数据文件”步骤113,由该区域I 22内的应用程序将具有读/写层级应用接口的特殊读取指令加载区域II中的指令文件内,再由轫体检查并执行该区域II中指令文件的指令,以将该区域III中的客户数据移至区域II的数据文件中,最后,一“应用程序自区域II的数据文件读取数据”步骤115,使该计算机3可由区域II 23(公共区)的数据文件中读取该客户数据;若该“读取区域III中的数据?”判断步骤109为否定N,则再经一“将数据写入区域III?”判断步骤117,若为肯定Y,则经由一“将写入指令写入区域II中的指令文件,并将外来数据移至区域II的数据文件”步骤119,配合一“依区域II指令文件的指令执行特殊写入行为”步骤121,由该区域I 22内的应用程序将具有读/写层级应用接口的特殊写入指令加载区域II中的指令文件内,同时将由该计算机3输入的外来数据暂存于区域II的数据文件内,再由轫体检查并执行该区域II中指令文件的指令,最后,一“应用程序自数据文件读取数据,并写入区域III”步骤123,以将该区域II数据文件中的外来数据写入隐藏的区域III中。Fig. 2 is the whole flow chart of the present invention, and it is to cooperate the structure of aforementioned portable
借由上述的实施流程,可有效的执行当可携式储存装置以一般“使用者”账号登入具有使用者权限管制的操作系统中的数据存取动作,其确实具有使用上的便利性。By means of the above-mentioned implementation process, the data access actions when the portable storage device logs in to the operating system with user authority control with the general "user" account can be effectively executed, which is indeed convenient for use.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100806207A CN100371915C (en) | 2004-09-29 | 2004-09-29 | Portable storage device and data access method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100806207A CN100371915C (en) | 2004-09-29 | 2004-09-29 | Portable storage device and data access method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1755655A CN1755655A (en) | 2006-04-05 |
CN100371915C true CN100371915C (en) | 2008-02-27 |
Family
ID=36688904
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100806207A Expired - Lifetime CN100371915C (en) | 2004-09-29 | 2004-09-29 | Portable storage device and data access method thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100371915C (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002082241A1 (en) * | 2001-04-03 | 2002-10-17 | Stmicroelectronics S.A. | System and method for controlling access to protected data stored in a storage unit |
CN1387192A (en) * | 2001-05-22 | 2002-12-25 | 梁国恩 | Device and method for protection of data record on storage medium |
CN1456976A (en) * | 2003-06-04 | 2003-11-19 | 无敌科技(西安)有限公司 | Driving programm installing method of USB interface facilities |
CN1487424A (en) * | 2002-09-12 | 2004-04-07 | �Ҵ���˾ | System and method for inhibiting unauthorized access to protected memory region |
-
2004
- 2004-09-29 CN CNB2004100806207A patent/CN100371915C/en not_active Expired - Lifetime
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002082241A1 (en) * | 2001-04-03 | 2002-10-17 | Stmicroelectronics S.A. | System and method for controlling access to protected data stored in a storage unit |
CN1387192A (en) * | 2001-05-22 | 2002-12-25 | 梁国恩 | Device and method for protection of data record on storage medium |
CN1487424A (en) * | 2002-09-12 | 2004-04-07 | �Ҵ���˾ | System and method for inhibiting unauthorized access to protected memory region |
CN1456976A (en) * | 2003-06-04 | 2003-11-19 | 无敌科技(西安)有限公司 | Driving programm installing method of USB interface facilities |
Also Published As
Publication number | Publication date |
---|---|
CN1755655A (en) | 2006-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5065587B2 (en) | Using external memory devices to improve system performance | |
TWI385523B (en) | Data backup method for a flash memory and controller and storage system using the same | |
CN101359355B (en) | Method for raising user's authority for limitation account under Windows system | |
US20080172518A1 (en) | Systems For Supporting Readydrive And Readyboost Accelerators In A Single Flash-Memory Storage Device | |
US10802853B2 (en) | Active drive | |
JP5426576B2 (en) | Data input / output method and apparatus using virtualization technology | |
CN101246429A (en) | Electronic system using flash memory module as main memory and related system boot method | |
US20080140946A1 (en) | Apparatus, system, and method for protecting hard disk data in multiple operating system environments | |
KR20120048986A (en) | Computing system and hibernation method thereof | |
CN102012874B (en) | USB (universal serial bus) storage device provided with resource manager | |
JP7285907B2 (en) | Internet of Things Device and Method for Detecting and Treating Malware Using Server Resources | |
US8776232B2 (en) | Controller capable of preventing spread of computer viruses and storage system and method thereof | |
CN101373457B (en) | A Method of Hard Disk Write Protection Lock Based on USB Device in Windows Environment | |
JP2008152519A (en) | Computer and its basic software | |
CN100371915C (en) | Portable storage device and data access method thereof | |
US8266108B2 (en) | Medium drive apparatus, operation method for medium drive apparatus, information processing apparatus, recording and reproduction accessing method for information processing apparatus, program, and program recording medium | |
CN101788913A (en) | Computer system with dual operating devices and monitoring method thereof | |
TWI559227B (en) | Computer system having two built-in operating devices that can be dynamically powered on or powered off | |
US7401195B2 (en) | Portable data storage device and method of accessing data thereof | |
CN105589912A (en) | Method and storage structure for processing frequently written document with MRAM (Magnetic Random Access Memory) | |
Paik et al. | Selective-delay garbage collection mechanism for read operations in multichannel flash-based storage devices | |
JP2008506298A5 (en) | ||
CN101373452B (en) | Method for testing hard disk read-write operation | |
CN100533364C (en) | Generalized flash memory and method thereof | |
CN102375958A (en) | Method for limiting file access |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CX01 | Expiry of patent term | ||
CX01 | Expiry of patent term |
Granted publication date: 20080227 |