[go: up one dir, main page]

CN100371915C - Portable storage device and data access method thereof - Google Patents

Portable storage device and data access method thereof Download PDF

Info

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
Application number
CNB2004100806207A
Other languages
Chinese (zh)
Other versions
CN1755655A (en
Inventor
张琦栋
杨世贤
蔡鸿洲
王庆文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alcor Micro Corp
Original Assignee
Alcor Micro Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Alcor Micro Corp filed Critical Alcor Micro Corp
Priority to CNB2004100806207A priority Critical patent/CN100371915C/en
Publication of CN1755655A publication Critical patent/CN1755655A/en
Application granted granted Critical
Publication of CN100371915C publication Critical patent/CN100371915C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention is a portable storage device and its data access method, it is mainly to couple a computer with user's authority control operating system through the preset interface with a control unit, and the memory body of the storage device is divided into areas I, II, III, store the relevant application program in the area I, and the area II is a public area for storing each instruction and data temporarily, the area III is a hidden area for storing the customer data, when the data to be stored in the area III or the customer data to be read from the area III outside, the data to be accessed can be stored temporarily in the area II, and the special read-write instruction with read/write level application interface added in the application program of the area I is written into the area II and executed, so that the data stored temporarily in the area II can be further written into the area III or read by the outside, so as to complete the data exchange and access operation with the outside.

Description

可携式储存装置及其数据存取方法 Portable storage device and its data access method

技术领域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 data storage device 2 of the present invention mainly includes: a control unit 21 and an area divided by a memory body I 22, area II 23, area III 24, wherein the control unit 21 can be coupled with a corresponding processing unit 31 in a computer 3 via a preset (such as: USB) interface, so as to make the computer 3 and the portable The data storage device 2 can be connected to perform actions such as reading and writing, and the area I 22 is for storing related application programs, and the area II 23 is a public area for temporarily storing each instruction file and data file. The data in each data file in this area can be read or stored arbitrarily, and area III 24 is a hidden area for saving customer data, and the data in this area cannot be read or stored arbitrarily.

图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 data storage device 2, as can be seen from this icon, the operating method of the present invention is mainly to make portable data storage device 2 and computer at "beginning" After the processing unit 31 of 3 is connected, with a step 101 of "executing the application program", the application (driver) program stored in the area 122 is installed (SET UP) in the computer 3, and through a "whether it is Windows TM 2000, Windows TM NT, Windows TM XP or Windows TM 2003 operating system?” Judging step 103, confirm whether it is an operating system with user authority control such as Windows 2000, Windows TM NT, Windows TM XP or Windows TM 2003 , if the judgment result is negative N, it means that there is no problem of hierarchical control of user rights, therefore, by a step 105 of "directly accessing the data in the area III with SCSI hard disk level instructions", so that the computer 3 can directly access The customer data in the hidden area III, and if the judgment result is positive Y, it means that there is a hierarchical control of user authority, and then through a "do you log in with the 'user'account?" judgment step 107 to confirm its The identity of the operator, if the judgment result is negative N, it means that it is logged in at the "administrator" (Administrator) level. At this time, repeat the step 105 of "directly accessing the data in this area III with SCSI hard disk level commands". The result is positive Y, indicating that it is logged in with the "user" account, and the SCSI hard disk level command cannot be used. At this time, through a "read the data in the area III?" judgment step 109, if it is positive Y, then confirm the operation. If the user wants to read customer data in the hidden area III, then through a step 111 of "writing the read instruction to the instruction file in the area II", cooperate with a "reading according to the instruction of the area II instruction file", and write the area The data in the III is moved to the data file in the area II" step 113, the application program in the area I 22 will have the special read instruction loading in the instruction file in the area II with the application program of the read/write level application interface, and then by The body checks and executes the instructions of the command file in the area II, so as to move the customer data in the area III to the data file in the area II. Finally, an "application program reads data from the data file in the area II" step 115, Make this computer 3 read this customer data in the data file of area II 23 (common area); If this " read the data in area III? Area III?" Judgment step 117, if it is positive Y, then through a "command file written in the area II by the write instruction, and the data file of the external data is moved to the area II" step 119, cooperate with a "according to the area The instruction of II instruction file executes special writing behavior" step 121, the application program in this area I 22 will have the special write instruction load in the instruction file in area II with the application program of read/write level application interface, simultaneously will be by this computer 3 The input external data is temporarily stored in the data file in area II, and then the firmware checks and executes the instructions in the command file in area II. Finally, a step of "the application program reads data from the data file and writes it into area III" 123, to write the foreign data in the area II data file into the hidden area III.

借由上述的实施流程,可有效的执行当可携式储存装置以一般“使用者”账号登入具有使用者权限管制的操作系统中的数据存取动作,其确实具有使用上的便利性。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)

1. the data access method of a portable memory device, it comprises at least:
One " executive utility " step will be stored in application program default in the portable memory device area I, and promptly driver is installed in computing machine, and portable memory device is connected with computing machine;
One " decision operation system " step judges whether that operating system is present in computing machine in order to have the operating system of user's authority control;
One " logining with ' user ' number of the account? " step is when having the control of user's authority classification in above-mentioned judged result, judges the identity of confirming the operator again;
One " directly with the data in the high-level instruction accessing area I II " step, when above-mentioned judged result is the operating system of no user's authority classification control, or the operator is when logining with supvr's number of the account level, but then described computing machine direct access predeterminable area, i.e. customer data in the area I II;
One " reading command is write among the regional II " step, the special reading command that will be had read/write level application interface by application program is loaded among the area I I;
Reading command among this area I I is looked into and carried out to one " carry out read behavior according to the instruction of area I I, the data among the area I II are moved among the area I I " step by a piece of wood serving as a brake to halt a carriage health check-up, moves among the area I I with the customer data that this area I II is stored;
One " application program is from area I I reading of data " step exports computing machine to the customer data with this area I I;
One " will write instruction writes among the regional II; and external data moved to area I I " and step, the special instruction load that writes that will have read/write level application interface by application program will be temporary in the area I I by the external data of computing machine input in area I I simultaneously;
One " carrying out the special behavior that writes according to the instruction of area I I " step is write among the regional III with the external data with this area I I by firmware inspection and the instruction carried out among this area I I.
2. the data access method of portable memory device according to claim 1, wherein this high-level instruction is the instruction of SCSI hard disk level.
3. the data access method of portable memory device according to claim 1 and 2, wherein this to read or write instruction be to be written in the command file of area I I.
4. the data access method of portable memory device according to claim 1 and 2, wherein these data of desiring to read or be written into are to be temporary in the data file of area I I.
5. the data access method of portable memory device according to claim 3, wherein these data of desiring to read or be written into are to be temporary in the data file of area I I.
6. the data access method of portable memory device according to claim 1, wherein this operating system is to comprise following any operating system: Windows TM2000, Windows TMNT, Windows TMXP and Windows TM2003.
7. portable memory device is characterized in that described portable memory device comprises at least:
One control module can be coupled via a preset interface and a computing machine;
One area I is for storing relevant application program;
One area I I is a public area for temporary each instruction and data, and the data in this each data file of zone all can be read arbitrarily or store;
One area I II is a hidden area for the preservation customer data;
It is characterized in that: data write in this area I II is by these data are temporary in the area I I, and carries out the special read write command with read/write level application interface additional in this application program that the side must think that external read gets or write regional III.
8. portable memory device according to claim 7 is characterized in that: the interface of this linking computing machine is a USB interface.
CNB2004100806207A 2004-09-29 2004-09-29 Portable storage device and data access method thereof Expired - Lifetime CN100371915C (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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