CN104392179A - Encryption method of USB (universal serial bus) storage device - Google Patents
Encryption method of USB (universal serial bus) storage device Download PDFInfo
- Publication number
- CN104392179A CN104392179A CN201410524473.1A CN201410524473A CN104392179A CN 104392179 A CN104392179 A CN 104392179A CN 201410524473 A CN201410524473 A CN 201410524473A CN 104392179 A CN104392179 A CN 104392179A
- Authority
- CN
- China
- Prior art keywords
- memory storage
- main frame
- usb memory
- virtual disk
- disk module
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/78—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
- G06F21/79—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data in semiconductor storage media, e.g. directly-addressable memories
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2107—File encryption
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2141—Access rights, e.g. capability lists, access control lists, access tables, access matrices
Abstract
The invention discloses an encryption method of a USB (universal serial bus) storage device. The encryption method comprises the following steps: a, presetting a virtual disk module, and burning the virtual disk module into storage medium of the USB storage device; b, starting the data transmission between the USB storage device and a main machine, and loading the virtual disk module to a memory of the USB storage device for operation; c, reading FAT directory area address data in the USB storage device by the main machine, generating the data needed by the main machine according to the structure of FAT by the virtual disk module, and transmitting the generated data to the main machine; d, reading the corresponding file data in the virtual disk module according to the address data of the FAT directory area; e, editing and storing the read file data by the main machine; f, analyzing and comparing the data stored by the main machine by the virtual disk module. By adopting the encryption method of the USB storage device, the encryption and decryption process are not subjected to the limitation of authority of a main machine operating system, all operating systems supporting the FAT format are compatible, and the application range is wide.
Description
Technical field
The present invention relates to USB communication field, relate more specifically to a kind of encryption method of USB memory storage.
Background technology
USB (Universal Serial Bus) communication has been widely applied to the various aspects of electronic equipment.Memory storage and the communication device of USB interface are of a great variety, wherein have the application of a class encryption, are called that USB encrypts disk.This kind of cryptographic storage device, can carry out multiple cryptographic operation to disk access or data in magnetic disk, prevent loss of data and leakage, have a very wide range of applications, and especially instantly prevailing at mobile intelligent terminal, USB cryptographic storage more seems important.The user data of USB memory storage is all be kept in storage medium, comprises multimedia card, NAND (flash memory), hard disk etc.
Common way encrypted by USB memory storage two classes:
One is utilize respective USB to store the USB command channel reserved of main control chip to realize the encrypt and decrypt of data, as order A, represents encryption; Order B represents deciphering etc.This method realizes simple, easy to operate; But application program must can control usb data passage and will obtain the administrator right of operating system, makes to be restricted under many circumstances, and the corresponding application program of exploitation must be coordinated.
Another kind utilizes equipment complex, increases the transmission that HID (Human Interface Device) passage realizes encrypt and decrypt order.This mode system carries driving, easy and simple to handle; But USB memory storage needs the code module of extra hardware HID Transport endpoint and process HID agreement to realize HID passage, and must coordinate corresponding application program.
Therefore, be necessary to provide a kind of encryption method method of USB memory storage of improvement to overcome the drawback of traditional USB memory storage encryption.
Summary of the invention
The object of this invention is to provide a kind of encryption method of USB memory storage, the encryption method of USB memory storage of the present invention realizes the mistake program of encryption and decryption not by the restriction of host operating system authority, the compatible all operations system supporting FAT form, be widely used, and without the need to developing supporting application software.
For achieving the above object, the invention provides a kind of encryption method of USB memory storage, it comprises the steps: that a. presets virtual disk module and virtual disk module is burned onto in the storage medium of USB memory storage; B. start the data transmission between USB memory storage and main frame, load virtual disk module and run to the internal memory of USB memory storage; C. main frame reads FAT directory area address date in USB memory storage, the data that virtual disk module needs according to the structural generation main frame of FAT, and the data of generation are sent to main frame; D. main frame reads file data corresponding in virtual disk module according to the address date of FAT directory area; E. main frame is edited the file data read and preserves; F. virtual disk module contrasts the data analysis that main frame is preserved.
Preferably, log file and Modify password file is provided with in described virtual disk module; In main frame and USB memory storage communication process, after log file described in main frame successful access, the data in USB memory storage described in host accessible, after Modify password file described in main frame successful access, main frame can revise the login password of USB memory storage.
Preferably, in described step c, described virtual disk by the deposit data that generates to the buffer area of USB memory storage.
Preferably, in described step e, main frame carries out editing to log file and Modify password file and preserves.
Compared with prior art, the encryption method of USB memory storage of the present invention, by default virtual disk module, main frame and USB memory storage is made to carry out in communication process, first main frame accesses the file data in described virtual disk module, thus described virtual disk files is to determine whether described main frame has permission the described USB memory storage of access, realize the process of USB memory storage encrypting and decrypting not by the restriction of operating system authority; And this method compatibility supports all operations system of FAT, without the need to developing supporting application software, range of application is wider.
By following description also by reference to the accompanying drawings, the present invention will become more clear, and these accompanying drawings are for explaining embodiments of the invention.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the encryption method of USB memory storage of the present invention.
Embodiment
With reference now to accompanying drawing, describe embodiments of the invention, element numbers similar in accompanying drawing represents similar element.As mentioned above, the invention provides a kind of encryption method of USB memory storage, the encryption method of USB memory storage of the present invention realizes the process of encryption and decryption not by the restriction of operating system authority, the compatible all operations system supporting FAT form, and without the need to developing supporting application software, be widely used.
Please refer to Fig. 1, Fig. 1 is the process flow diagram of the encryption method of USB memory storage of the present invention.As shown in the figure, the encryption method of USB memory storage of the present invention comprises the steps:
Step S101, presets virtual disk module and virtual disk module is burned onto in the storage medium of USB memory storage; In this step designer according to design proposal by pre-designed for virtual disk module, and described virtual disk module is burned onto in the storage medium of corresponding USB memory storage, when making main frame and USB memory storage carry out connecting communication, what main frame essence was accessed is the data that described virtual disk module memory stores up; In addition, in a preferred embodiment of the invention, log file and Modify password file is provided with in described virtual disk module, thus main frame normally logs in described USB memory storage by the described log file of correct access, revises the password of described USB memory storage by correctly accessing described Modify password file; Therefore, login process and Modify password process be not all by the restriction of operating system authority.
Step S102, starts the data transmission between USB memory storage and main frame, loads virtual disk module and run to the internal memory of USB memory storage; In this step when USB memory storage is connected the laggard news that work with main frame, after running in virtual disk module loading to the internal memory of USB memory storage, described main frame directly can access the data in described virtual disk module.
Step S103, main frame reads FAT directory area address date in USB memory storage, the data that virtual disk module needs according to the structural generation main frame of FAT, and the data of generation are sent to main frame; In this step, in described host access USB memory storage during FAT directory area, described virtual disk module generates the data that described main frame needs according to the architectural feature of FAT in USB memory storage, and the data of generation are sent to main frame, thus what make described main frame essence access is data in virtual disk module, the True Data not in access USB memory storage in storage medium.In addition, in a preferred embodiment of the invention, described virtual disk is by the deposit data that generates to the buffer area of USB memory storage, thus data in the buffer area of USB memory storage described in described host access, its essence is still the described virtual data had in disk of access.
Step S104, main frame reads file data corresponding in virtual disk module according to the address date of FAT directory area; In this step, the file data stored in the address date of described FAT directory area and virtual disk module is relation one to one, thus described main frame can read file data corresponding in virtual disk module exactly according to the address date of FAT directory area.
Step S105, main frame is edited the file data read and preserves; In this step, described main frame specifically carries out editing to the log file in the file data read and Modify password file and preserves, main frame is made to pass through correctly edit and preserve log file and USB memory storage described in Successful login, by correctly editing and preserving Modify password file and revise the password of USB memory storage.
Step S106, the data analysis contrast that virtual disk module is preserved main frame; In this step, the data analysis contrast that described virtual disk is preserved main frame, whether correct with the data of preserving after determining main frame editor, thus determine whether main frame has permission the described USB memory storage of access.Particularly, when main frame inputs login password by access log file, whether described virtual disk module carries out analysis contrast by the login password of input, correct to judge the login password that host side inputs, thus determines whether to allow main frame to log in described USB memory storage; Correspondingly, when main frame inputs login password by access Modify password file, described virtual disk module carries out analysis contrast by the login password of input, to judge whether host side has the authority of amendment login password.
From the above, the encryption method of USB memory storage of the present invention, when main frame and described USB memory storage start communication, main frame essence only accesses the data in described virtual disk module, thus described virtual disk determines that by the file data of contrast in it and the file data preserved of main frame editor can described main frame USB memory storage described in sign-on access; In this process, not by the restriction of host operating system authority, the compatible all operations system supporting FAT form, is widely used, and without the need to developing supporting application software.
More than in conjunction with most preferred embodiment, invention has been described, but the present invention is not limited to the embodiment of above announcement, and should contain various carry out according to essence of the present invention amendment, equivalent combinations.
Claims (4)
1. an encryption method for USB memory storage, is characterized in that, comprises the steps:
A. preset virtual disk module and virtual disk module be burned onto in the storage medium of USB memory storage;
B. start the data transmission between USB memory storage and main frame, load virtual disk module and run to the internal memory of USB memory storage;
C. main frame reads FAT directory area address date in USB memory storage, the data that virtual disk module needs according to the structural generation main frame of FAT, and the data of generation are sent to main frame;
D. main frame reads file data corresponding in virtual disk module according to the address date of FAT directory area;
E. main frame is edited the file data read and preserves;
F. virtual disk module contrasts the data analysis that main frame is preserved.
2. the encryption method of USB memory storage as claimed in claim 1, is characterized in that, be provided with log file and Modify password file in described virtual disk module; In main frame and USB memory storage communication process, after log file described in main frame successful access, the data in USB memory storage described in host accessible, after Modify password file described in main frame successful access, main frame can revise the login password of USB memory storage.
3. the encryption method of USB memory storage as claimed in claim 2, is characterized in that, in described step c, described virtual disk module by the deposit data that generates to the buffer area of USB memory storage.
4. the encryption method of USB memory storage as claimed in claim 3, is characterized in that, in described step e, main frame carries out editing to log file and Modify password file and preserves.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410524473.1A CN104392179A (en) | 2014-10-08 | 2014-10-08 | Encryption method of USB (universal serial bus) storage device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410524473.1A CN104392179A (en) | 2014-10-08 | 2014-10-08 | Encryption method of USB (universal serial bus) storage device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104392179A true CN104392179A (en) | 2015-03-04 |
Family
ID=52610081
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410524473.1A Pending CN104392179A (en) | 2014-10-08 | 2014-10-08 | Encryption method of USB (universal serial bus) storage device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104392179A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113867625A (en) * | 2021-08-27 | 2021-12-31 | 福建升腾资讯有限公司 | Communication method, device, equipment and medium for non-inductive drive-free equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102254119A (en) * | 2011-07-15 | 2011-11-23 | 华南理工大学 | Safe mobile data storage method based on fingerprint U disk and virtual machine |
US20120269193A1 (en) * | 2011-03-31 | 2012-10-25 | Fujitsu Limited | Apparatus and method for switching connection to a communication network |
CN103065102A (en) * | 2012-12-26 | 2013-04-24 | 中国人民解放军国防科学技术大学 | Data encryption mobile storage management method based on virtual disk |
-
2014
- 2014-10-08 CN CN201410524473.1A patent/CN104392179A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120269193A1 (en) * | 2011-03-31 | 2012-10-25 | Fujitsu Limited | Apparatus and method for switching connection to a communication network |
CN102254119A (en) * | 2011-07-15 | 2011-11-23 | 华南理工大学 | Safe mobile data storage method based on fingerprint U disk and virtual machine |
CN103065102A (en) * | 2012-12-26 | 2013-04-24 | 中国人民解放军国防科学技术大学 | Data encryption mobile storage management method based on virtual disk |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113867625A (en) * | 2021-08-27 | 2021-12-31 | 福建升腾资讯有限公司 | Communication method, device, equipment and medium for non-inductive drive-free equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2442601B1 (en) | Method and system for automatically logging in client | |
CN102622311B (en) | USB (universal serial bus) mobile memory device access control method, USB mobile memory device access control device and USB mobile memory device access control system | |
US8146153B2 (en) | Method and system for creating and accessing a secure storage area in a non-volatile memory card | |
MX2007008540A (en) | Method and portable storage device for allocating secure area in insecure area. | |
CN102722670B (en) | Mobile storage equipment-based file protection method, equipment and system | |
US20120096281A1 (en) | Selective storage encryption | |
EP3355231A1 (en) | Mobile data storage device with access control functionality | |
CN104507080A (en) | File processing method and terminal | |
CN104063672A (en) | Data security storage method | |
CN210627203U (en) | UICC device with safe storage function | |
CN110874476B (en) | Data processing system, method, storage medium, and processor | |
CN104392179A (en) | Encryption method of USB (universal serial bus) storage device | |
CN111147430A (en) | Encryption method and device applied to intelligent home gateway | |
KR101719129B1 (en) | Cross-platform endpoint security system | |
CN103905192A (en) | Encryption authentication method, device and system | |
CN107292196A (en) | The reading/writing method and device of I/O data | |
CN101841353B (en) | Method and equipment for encrypting data through softdog | |
US11372984B2 (en) | Key-compressible encryption | |
JP6763096B1 (en) | system | |
WO2016173116A1 (en) | Method and device for accessing storage data | |
KR102008691B1 (en) | Secure memory device based on cloud storage and Method for controlling verifying the same | |
CN105528307A (en) | Information processing method and electronic device | |
CN102426635B (en) | Display device for file information, display method and system | |
CN106326722A (en) | BIOS setting menu access method | |
CN104915610A (en) | Privacy picture implementation method and privacy picture implementation system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150304 |
|
WD01 | Invention patent application deemed withdrawn after publication |