CN100541460C - A kind of multifunctional storage apparatus and control method thereof - Google Patents

A kind of multifunctional storage apparatus and control method thereof Download PDF

Info

Publication number
CN100541460C
CN100541460C CNB2006101357365A CN200610135736A CN100541460C CN 100541460 C CN100541460 C CN 100541460C CN B2006101357365 A CNB2006101357365 A CN B2006101357365A CN 200610135736 A CN200610135736 A CN 200610135736A CN 100541460 C CN100541460 C CN 100541460C
Authority
CN
China
Prior art keywords
order
operating system
storage apparatus
multifunctional storage
produce
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.)
Active
Application number
CNB2006101357365A
Other languages
Chinese (zh)
Other versions
CN101165671A (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.)
Egis Technology Inc
Original Assignee
Egis Technology Inc
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 Egis Technology Inc filed Critical Egis Technology Inc
Priority to CNB2006101357365A priority Critical patent/CN100541460C/en
Publication of CN101165671A publication Critical patent/CN101165671A/en
Application granted granted Critical
Publication of CN100541460C publication Critical patent/CN100541460C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A kind of multifunctional storage apparatus and control method thereof are in order to carry out following steps: receive one first order of an operating system by driver output, and respond first order to allow an attribute of operating system identification multifunction storage facilities; Carry out request according to one of operating system, the application transfer in the storage device of multifunctional storage apparatus is carried out to operating system; Make the operating system executive utility to produce one second order, first order all belongs to a kind of in order to activate the control transmission order of control transmission with second order; Reach reception second and order a signal generation device of controlling multifunctional storage apparatus to produce an external signal, and external signal is transmitted back in the operating system.

Description

A kind of multifunctional storage apparatus and control method thereof
Technical field
The invention relates to a kind of multifunctional storage apparatus and control method thereof, especially multifunctional storage apparatus that particularly contains the external signal generation device and control method thereof about carrying out under a kind of non-management person pattern that is applicable in operating system.
Background technology
Traditional portable storage facilities is designed to reach the function of plug and play (Plug and play), usually to allow the user can use this equipment easily.In the operating system of WINDOWS XP for example, have for example driver of USB storage device, therefore, the user does not need other install driver, and can use this storage device in the main frame of the operating system with WINDOWS XP easily.
And the basic framework of this portable USB storage device has comprised a USB controller (USBController) and a storage device, flash memory (flash memory) for example, hard disk or CD or the like.
Present WINDOWS operating system in order to prevent other non-management person's user's install software or hardware, therefore provides a supvr's pattern and a non-management person pattern.Under supvr's pattern, after the supvr logined computing machine, installation that can executive software hardware made the running that software can control hardware.
For example, when a simple USB flash disk (USB flash drive) when being inserted into main frame, the driver of the operating system of main frame detects the existence of USB flash disk, send control transmission order (Control Transfer Command then, CTC) to USB flash disk, to allow the firmware of USB flash disk respond host computer system, allow operating system can recognize the existence of USB flash disk, and can the access USB flash disk.Under supvr's pattern and non-management person pattern, the data in the USB flash disk are can be transferred in the main frame to carry out, and this mainly is because the data access in the storage device is that (Bulk Transfer Command BTC) controls with a large amount of transmission commands.
Under above-mentioned supvr and two kinds of situations of non-management person, the USB storage device of standard can be used normally, storage that so-called normal use is exactly data and deletion etc.
In another example, this case applicant following patent of being applied for for example: (a) Chinese invention patent application case 200310116995.X, the applying date is on Dec 5th, 2003, and denomination of invention is " containing the memorizer memory devices of fingerprint sensor and the guard method that stores data thereof "; (b) the Chinese invention patent application case numbers 200310118243.7, and the applying date is on Dec 8th, 2003, and denomination of invention is " identification electronic key and a control method thereof "; (c) the Chinese invention patent application case numbers 200410038204.0, and the applying date is on May 13rd, 2004, and denomination of invention is " containing the portable encryption storage device of biological identification and the guard method that stores data thereof "; (d) the Chinese invention patent application case numbers 200510132023.9, and the applying date is on Dec 16th, 2005, and denomination of invention is " a kind of storage device and the guard method that stores data thereof "; (e) the Chinese invention patent application case numbers 200610056867.4, and the applying date is on March 9th, 2006, and denomination of invention is " can automatically perform the portable memory device of biology identification application program and automatically perform the method for biology identification application program "; And (f) Chinese invention patent application case numbers 200610056868.9; the applying date is on March 9th, 2006; denomination of invention is " containing the hard disk unit of biology sensor and the guard method that stores data thereof "; when a USB flash disk that contains fingerprint sensor is inserted into main frame; the driver of the operating system of main frame detects the existence of USB flash disk; send control transmission order (Control Transfer Command then; CTC) to USB flash disk; to allow the firmware of USB flash disk respond host computer system; allow operating system can recognize the existence of USB flash disk, and storage device that can the access USB flash disk.Yet, a certain block in the storage device of USB flash disk need just can be unlocked after the identification of fingerprint success, in the case, extract image (Get image) from fingerprint sensor, and the data access authority of open (media change) described a certain block of AP notice firmware behind the fingerprint is crossed in identification.Get image and media change instruction all are special instruction (special command), are not the data access BTC of standard.Under supvr's pattern, operating system is can accept special instruction to allow the relevant complete execution of identification of fingerprint program, for example control coupled fingerprint sensor by the USB controller, the image that for example takes the fingerprint is sent to computing machine compares etc., presses down or allows an application program (AP) that is stored in the USB flash disk carry out its function.Yet, under non-management person pattern, operating system does not allow the execution (that is referring to allow to read in a large number (Bulk Read) and write (Bulk Write) in a large number) except that basic functions such as the data read of standard or storage, for example just can't extract image from fingerprint sensor by the USB controller, because such behavior is not the data storing of Storage Media of standard or the behavior of deletion, operating system is not allow that it carries out under non-management person's pattern.In other words, BTC does elemental motions such as data storing and deletion to Storage Media under operating system under non-management person's the pattern only can be to the USB storage device, for another fingerprint sensor that is connected with the USB controller, BTC lost efficacy, just cannot transmit finger print data normally to computing machine, but or the execution function of other software.
Summary of the invention
Therefore, an object of the present invention is to provide a kind of multifunctional storage apparatus and control method thereof, the particularly external signal generation device of carrying out under its non-management person pattern that is applicable in operating system can be tackled the problem of the steering order of external signal generation device so as to solving present operating system under non-management person pattern.
For reaching above-mentioned purpose, the invention provides a kind of multifunctional storage apparatus, it is used for being connected to a main frame, and described main frame has an operating system, and described operating system has a driver of described multifunctional storage apparatus.Described multifunctional storage apparatus comprises a storage device, a signal generation device and an interface controller.Described storage device is in order to storage data, and stores an application program in the described storage device.Described signal generation device is in order to produce an external signal according to an outside stimulus.Described interface controller connects described storage device and described signal generation device, and uses for being connected to described main frame.Store a firmware in the described interface controller, wherein said firmware and described application program are designed to: make described interface controller receive one first order of described operating system by described driver output, and respond described first order to allow described operating system discern an attribute of described multifunctional storage apparatus; Make described interface controller carry out request, described application transfer is carried out to described operating system according to one of described operating system; Make described operating system carry out described application program to produce one second order, described first order and described second order all belong to a kind of in order to the control transmission order that activates control transmission (Control Transfer) (Control Transfer Command, CTC); And make described interface controller receive described second order and control described signal generation device and produce described external signal, and described external signal is transmitted back in the described operating system.
The present invention also provides a kind of control method of multifunctional storage apparatus, described multifunctional storage apparatus is used for being connected to a main frame, described main frame has an operating system, described operating system has a driver of described multifunctional storage apparatus, described control method is after described multifunctional storage apparatus is connected to described main frame, comprise following steps: receive of one first order of described operating system, and respond described first order to allow described operating system discern an attribute of described multifunctional storage apparatus by described driver output; Carry out request according to one of described operating system, the application transfer in the storage device of described multifunctional storage apparatus is carried out to described operating system; Make described operating system carry out described application program to produce one second order, described first order and described second order all belong to a kind of in order to the control transmission order that activates control transmission (Control Transfer) (Control Transfer Command, CTC); Reach reception described second and order a signal generation device of controlling described multifunctional storage apparatus to produce an external signal, and described external signal is transmitted back in the described operating system.
Description of drawings
Fig. 1 shows the synoptic diagram that the multifunctional storage apparatus according to preferred embodiment of the present invention is connected with main frame.
Fig. 2 shows the process flow diagram according to the control method of the multifunctional storage apparatus of preferred embodiment of the present invention.
Symbol description:
S1: export CTC order to judge attribute
S2: according to carrying out the request executive utility
S3: produce the 2nd CTC order
S4: control signal generator means produces external signal
C1: first order
C2: second order
SE: external signal
1: main frame
2: multifunctional storage apparatus
11: operating system
12: driver
13: host interface
21: storage device
21A: public block
21B: secret block
21C: hidden blocks
22: signal generation device
23: interface controller
24: device interface
25: firmware
26: application program
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, preferred embodiment cited below particularly, and cooperate appended graphicly, be described in detail below.
Fig. 1 shows the synoptic diagram that the multifunctional storage apparatus according to preferred embodiment of the present invention is connected with main frame.As shown in Figure 1, a kind of multifunctional storage apparatus 2 of present embodiment is to use for being connected to a main frame 1.Main frame 1 has a host interface (wherein also including interface controller) 13 and one operating system 11, and operating system 11 has a driver 12 of multifunctional storage apparatus 2.Multifunctional storage apparatus 2 comprises a storage device 21, a signal generation device 22, an interface controller 23 and a device interface 24.
Device connects 24 corresponding to host interface 13, is USB interface in present embodiment, and can is PCI-Express, IEEE 1394, SATA interface or other standard interface in other embodiment.
Storage device 21 is in order to storage data, and stores an application program 26 in the storage device 21.Application program 26 can be built in wherein in when product export, maybe can allow the user by discs or internet this application program 26 is stored in the storage device 21.Storage device 21 can be storer, hard disk or CD-ROM drive etc.
Under the practical application situation, storage device 21 can be divided into a public block 21A, a secret block 21B and a hidden blocks 21C.Application program 26 can be stored among the public block 21A.Secret block 21B stores the claimed data of user.Can store the reference data of identification user identity among the hidden blocks 21C, for example (,) password, biological template data etc., just aforesaid data.
Signal generation device 22 is in order to produce an external signal SE according to an outside stimulus.Signal generation device 22 can be a kind of biological identification sensor (such as fingerprint sensor), a microphone, an optical image reader or a smart card card reading machine, or even RF ID reader or the like.Microphone and optical image reader can be used as the biological identification sensor equally, in order to sensing user's biological datas such as vocal print, iris, shape of face and blood capillary.Smart card card reading machine can be in order to read the entrained card of user.Therefore, application program 26 can be according to the comparison result of biological data and external signal SE, the secret block 21B of activation or forbidden energy storage device 21.
Interface controller 23 connects storage device 21 and signal generation device 22, and uses for being connected to main frame 1, stores a firmware 25 in the interface controller 23.In present embodiment, interface controller 23 is a kind of USB controller.
Firmware 25 is designed to carry out following action with application program 26.At first, make interface controller 23 receive the one first order C1 of operating systems 11, and respond the first order C1 to allow an attribute of operating system 11 identification multifunction storage facilitiess 2 by driver 12 outputs.Then, make interface controller 23 carry out request, application program 26 is transferred in the operating system 11 carry out according to one of operating system 11.This carries out request can remove to click executive utility by the user, or impels operating system 11 to produce by firmware 25, to reach plug and play and to automatically perform the effect of application program.Then, make operating system 11 executive utilities 26 to produce one second order C2, in order to solve known technology under operating system non-management person pattern, the USB storage device only can utilize a kind of BTC in order to the standard that activates a large amount of transmission (Bulk Transfer) to order and control described device, the characteristics of maximum of the present invention are exactly to be apt to order control mode with CTC under non-management person pattern, proprietary commands framework by AP and firmware predefined, described signal generation device 22 or off-gauge storage or delete instruction are used instead the CTC order link to each other (for example aforementioned media change) restriction under person's pattern that this measure can effectively break through the non-management.In a kind of embodiment, its control links to each other and can use the CTC command format of standard fully, by controlling under the communications protocol of AP and firmware predefined.Under another embodiment, described CTC order can be wrapped up the BTC command format in it, and the firmware that relends by predefined separates it.In brief, first the order C1 with second the order C2 all belong to a kind of in order to the activation control transmission (Control Transfer) the control transmission order (Control Transfer Command, CTC).At last, making interface controller 23 receive the second order C2 comes control signal generator means 22 to produce external signal SE, and external signal SE is transmitted back in the operating system 11, with the fingerprint sensor is example, the second order C2 is used for control to read the fingerprint image carry out identification to computer system, and open described secret block 21B can do the data access in the hope of identification success back.
Fig. 2 shows the process flow diagram according to the control method of the multifunctional storage apparatus of preferred embodiment of the present invention.The control method of multifunctional storage apparatus is to be applied in the aforesaid multifunctional storage apparatus, and this control method comprises following steps S1 to S4 after multifunctional storage apparatus 2 is connected to main frame 1.
Step S1: export CTC order to judge attribute.Multifunctional storage apparatus receives the first order C1 of operating system 11 by driver 12 outputs, and responds the first order C1 to allow the attribute of operating system 11 identification multifunction storage facilitiess 2.
Step S2: according to carrying out the request executive utility.Multifunctional storage apparatus transfers to execution in the described operating system 11 according to the execution request of operating system 11 with the application program 26 in the storage device 21 of multifunctional storage apparatus 2.The request of execution can be impelled operating system 11 to produce by the firmware 25 of multifunctional storage apparatus.
Step S3: produce the 2nd CTC order.Make described operating system 11 carry out described application program 26 to produce the second order C2, described first the order C1 with described second the order C2 all belong to a kind of in order to the activation control transmission (Control Transfer) the control transmission order (Control Transfer Command, CTC).
Step S4: control signal generator means 22 produces external signal SE.Multifunctional storage apparatus receives the signal generation device 22 generation external signal SE that the described second order C2 controls described multifunctional storage apparatus 2, and described external signal SE is transmitted back in the described operating system 11.
By the above embodiment of the present invention, can reach the signal that under non-management person pattern, activates multifunctional storage apparatus and produce function, to allow the non-management person carry out the effect of authentication with the secret block of unlatching multifunctional storage apparatus.
The specific embodiment that is proposed in the detailed description of preferred embodiment is only in order to convenient explanation technology contents of the present invention, but not with narrow sense of the present invention be limited to the foregoing description, in the situation that does not exceed spirit of the present invention and claim scope, the many variations of being done is implemented, and all belongs to scope of the present invention.

Claims (9)

1. multifunctional storage apparatus, it is used for being connected to a main frame, and described main frame has an operating system, and described operating system has a driver of described multifunctional storage apparatus, and described multifunctional storage apparatus comprises:
One storage device, it is in order to storage data, and stores an application program in the described storage device;
One signal generation device; And
One interface controller, it connects described storage device and described signal generation device, and uses for being connected to described main frame, stores a firmware in the described interface controller, and wherein said firmware and described application program are designed to:
Make described interface controller receive of one first order of described operating system, and respond described first order to allow described operating system discern an attribute of described multifunctional storage apparatus by described driver output;
Make described interface controller carry out request, described application transfer is carried out to described operating system according to one of described operating system; Wherein said execution request is to remove to click executive utility by the user to produce, or impels described operating system to produce by described firmware;
Make described operating system carry out described application program to produce one second order, described first order all belongs to a kind of in order to activate the control transmission order of control transmission with described second order; And
Make described interface controller receive described second order and control described signal generation device foundation one outside stimulus and produce an external signal, and described external signal is transmitted back in the described operating system.
2. multifunctional storage apparatus as claimed in claim 1, wherein said signal generation device are a biological identification sensor.
3. multifunctional storage apparatus as claimed in claim 1, wherein said data are a kind of biological data that is stored in a hidden blocks of described storage device, and described application program is stored in a public block of described storage device, and, use or forbid a secret block of described storage device according to the comparison result of described biological data and described external signal.
4. multifunctional storage apparatus as claimed in claim 1, wherein said signal generation device are a fingerprint sensor, a microphone, an optical image reader or a calculating punch.
5. multifunctional storage apparatus as claimed in claim 1, wherein said firmware becomes a kind of in order to activate a large amount of transmission commands of a large amount of transmission with described control transmission command conversion.
6. multifunctional storage apparatus as claimed in claim 1, wherein said interface controller are a kind of USB controller.
7. multifunctional storage apparatus as claimed in claim 1, wherein said storage device are a storer, a hard disk or a CD-ROM drive.
8. the control method of a multifunctional storage apparatus, described multifunctional storage apparatus is used for being connected to a main frame, described main frame has an operating system, described operating system has a driver of described multifunctional storage apparatus, described control method comprises following steps after described multifunctional storage apparatus is connected to described main frame:
Receive of one first order of described operating system, and respond described first order to allow described operating system discern an attribute of described multifunctional storage apparatus by described driver output;
Carry out request according to one of described operating system, the application transfer in the storage device of described multifunctional storage apparatus is carried out to described operating system; Wherein said execution request is to remove to click executive utility by the user to produce, or impels described operating system to produce by a firmware;
Make described operating system carry out described application program to produce one second order, described first order all belongs to a kind of in order to activate the control transmission order of control transmission with described second order; And
Receive described second and order a signal generation device of controlling described multifunctional storage apparatus to produce an external signal, and described external signal is transmitted back in the described operating system.
9. the control method of multifunctional storage apparatus as claimed in claim 8 also comprises: described control transmission command conversion is become a kind of in order to activate a large amount of transmission commands of a large amount of transmission.
CNB2006101357365A 2006-10-18 2006-10-18 A kind of multifunctional storage apparatus and control method thereof Active CN100541460C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101357365A CN100541460C (en) 2006-10-18 2006-10-18 A kind of multifunctional storage apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101357365A CN100541460C (en) 2006-10-18 2006-10-18 A kind of multifunctional storage apparatus and control method thereof

Publications (2)

Publication Number Publication Date
CN101165671A CN101165671A (en) 2008-04-23
CN100541460C true CN100541460C (en) 2009-09-16

Family

ID=39334372

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101357365A Active CN100541460C (en) 2006-10-18 2006-10-18 A kind of multifunctional storage apparatus and control method thereof

Country Status (1)

Country Link
CN (1) CN100541460C (en)

Also Published As

Publication number Publication date
CN101165671A (en) 2008-04-23

Similar Documents

Publication Publication Date Title
US7747797B2 (en) Mass storage device with near field communications
US7447911B2 (en) Electronic identification key with portable application programs and identified by biometrics authentication
CN105184179B (en) Embedded encrypted mobile storage device and operation method thereof
US20150278125A1 (en) Memory lock system with manipulatable input device and method of operation thereof
CN100401280C (en) Universal serial bus data transmission method and apparatus thereof
US7831837B1 (en) Encoding token commands/data within data streams for standard interfaces
CN101986597A (en) Identity authentication system with biological characteristic recognition function and authentication method thereof
CN101436247A (en) Biological personal identification method and system based on UEFI
SK22098A3 (en) Conditional access method and device
CN102955745A (en) Mobile storage terminal and data management method thereof
CN101578608B (en) Methods and apparatuses for accessing content based on a session ticket
WO2001088859A2 (en) Smartchip biometric device
US7620761B2 (en) Multi-functional storage apparatus and control method thereof
CN107422838A (en) A kind of Wearable, solution lock control system and solution lock control method
CN102200948A (en) Multi-partition memory device and access method thereof
CN201654768U (en) Active type intelligent security USB (Universal Serial Bus) removable storage equipment
CN1400602A (en) Portable readable and writable memory with USB interface and its data management method
US20200028681A1 (en) Token device for conducting cryptography key backup or restoration operation
CN104715207B (en) Pass through the method for cipher key storage file under a kind of Android platform
CN1405780A (en) System guiding device base on core and method for realizing said guide
US20080199057A1 (en) Portable storage device with fingerprint identification function
CN201465116U (en) Safe mobile storage device by using mobile communication network
CN100541460C (en) A kind of multifunctional storage apparatus and control method thereof
CN103390140A (en) Mobile terminal and information security control method thereof
CN100452000C (en) Portable memory devices and method for automatically performing biology identification application program

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