CN106919528A - A kind of dynamic USB device data transmission method of cross-platform free drive - Google Patents
A kind of dynamic USB device data transmission method of cross-platform free drive Download PDFInfo
- Publication number
- CN106919528A CN106919528A CN201710095828.3A CN201710095828A CN106919528A CN 106919528 A CN106919528 A CN 106919528A CN 201710095828 A CN201710095828 A CN 201710095828A CN 106919528 A CN106919528 A CN 106919528A
- Authority
- CN
- China
- Prior art keywords
- usb
- data transmission
- host computer
- computer communication
- file
- 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
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
- G06F13/4072—Drivers or receivers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
Abstract
The invention discloses a kind of dynamic USB device data transmission method of cross-platform free drive, comprise the following steps:1)USB data transmission device itself will invent USB storage device when carrying out data transmission with host computer communication, and using the Universal USB storage device driver of host computer communication, that realizes data transmission device exempts from drive installation;2)USB data transmission device inside real data is mapped into virtual USB storage device file storage area, and real data is invented the file for meeting the requirement of host computer communication file system;3) data transfer realized and between host computer communication is instructed by the file operation of host computer communication.The present invention realizes the dynamic USB device data transmission method of cross-platform free drive of USB data transmission device and different operating system host computer communication, it is to avoid host computer communication installs USB device driver and corresponding application programs, improves the compatibility of product.
Description
Technical field
The present invention relates to USB device data transmission technique field, the dynamic USB device data of specially a kind of cross-platform free drive is passed
Transmission method.
Background technology
, it is necessary to install special USB device driver when generally special USB device is to host computer communication transmission data;It is simultaneously logical
News main frame will also use specific application program, call special USB device driver to realize that valid data are transmitted.This mode
Need to write different specific drivers and application programs for different operating system, can otherwise cause driver and answer
It is user using making troubles so as to normal valid data transmission cannot be carried out with the compatibility issue of program.
The content of the invention
It is an object of the invention to provide a kind of dynamic USB device data transmission method of cross-platform free drive, can avoid installing
USB device specific drivers and application program, to improve the compatibility of product.
The technical scheme is that:
A kind of dynamic USB device data transmission method of cross-platform free drive, comprises the following steps:
1.1st, USB data transmission device itself will invent USB storage device when carrying out data transmission with host computer communication, and
Using the Universal USB storage device driver of host computer communication, that realizes data transmission device exempts from drive installation;
1.2nd, USB data transmission device inside real data is mapped into virtual USB storage device file storage area, and will be real
Border data virtual into meet host computer communication file system requirement file;
1.3rd, the data transfer realized and between host computer communication is instructed by the file operation of host computer communication.
The step 1.1 is specifically included:
USB data transmission device is according to needed for the File System Specification construction virtual USB storage device that host computer communication is used
MBR table, partition boot record table, file allocation table and root directory information;Carry out data transmission with host computer communication
When, host computer communication calls Universal USB storage device driver, according to Universal USB storage device that USB-IF tissues are announced
Class protocol specification sends or receives the order related to USB storage device to USB data transmission device, carries out USB data transmission
Device enumerates communication process, and that realizes data transmission device exempt from drive installation;
The step 1.2 is specifically included:
In the data transmission procedure of USB data transmission device and host computer communication, by USB data transmission device inside real data
The physical address map of storage is the logical address of virtual USB storage device file storage area;Then, according to host computer communication text
File format required by part system, increases file format information;Then, according to USB data transmission device inside real data
And file format information amount of capacity, update the amount of capacity and void of virtual file in virtual USB storage device root directory information
Intend starting or the termination logic address information of file;By these steps, it is possible to map real data and invent communication
The file that host file system can be understood, then instructs the number realized and between host computer communication by the file operation of host computer communication
According to transmission.
Before transmission method data transfer of the present invention or in transmitting procedure, real data is carried out by AES or device
Encryption;And the file for meeting the requirement of host computer communication file system will be invented by the real data of encryption.
Compared with the prior art, beneficial effects of the present invention are:
The invention provides a kind of dynamic USB device data transmission method of cross-platform free drive, by the way that USB data transmission device is virtual
Into USB storage device, and USB data transmission device inside real data maps virtual can be solved into host computer communication file system
The file of reading, realizes the data transmission procedure that USB data transmission device moved, exempts from application program with the free drive of host computer communication.This
Inventive method avoids installation USB device specific drivers and application program, improves Products Compatibility, and it is convenient to realize, is
User is using offering convenience.
Brief description of the drawings
Fig. 1 is the schematic diagram of the dynamic USB device data transmission method of cross-platform free drive.
Specific embodiment
The present invention is described in detail below in conjunction with the accompanying drawings.
As shown in figure 1, the invention provides a kind of dynamic USB device data transmission method of cross-platform free drive, including following step
Suddenly:
1.1st, itself is invented USB storage device by USB data transmission device when carrying out data transmission with host computer communication.Its
Master of the middle USB data transmission device according to needed for the File System Specification construction virtual USB storage device that host computer communication is used
Leader record table, partition boot record table, file allocation table and root directory information;
1.2nd, host computer communication calls Universal USB storage device driver, is set according to the Universal USB storage that USB-IF tissues are announced
Standby subclass protocol specification sends or receives the order related to USB storage device to USB data transmission device, carries out usb data
Transmitting device enumerates communication process, and that realizes data transmission device exempt from drive installation;
1.3rd, the physical address map of internal actual data storage is virtual USB storage device file by USB data transmission device
The logical address of storage region;
1.4th, real data is encrypted by AES or device;USB data transmission device is according to host computer communication file
File format required by system, increases file format information;And according to USB data transmission device inside real data and file
Format information amount of capacity, updates the amount of capacity and virtual file of virtual file in virtual USB storage device root directory information
Starting or termination logic address information;So as to real data to be invented the file for meeting the requirement of host computer communication file system;
1.5th, host computer communication is instructed by file operation, is driven using host computer communication file system interface and Universal USB storage device
Dynamic program, the Universal USB storage device subclass protocol specification announced according to USB-IF tissues realizes that exempting from and between host computer communication should
Use routine data transmitting procedure.
The course of work of the invention is:
When the host computer communication that USB data transmission device needs and run different operating system carries out data transmission, to avoid
Driver and exploitation respective application program are installed, by USB data transmission device according to host computer communication in different operating system
File System Specification construction Virtual File System and the virtual USB storage device for being used;Then, by USB data transmission device
The file that internal real data maps virtual can be understood into host computer communication file system;Then, by the file of host computer communication
Operational order, using host computer communication file system interface and Universal USB storage device driver, organizes according to USB-IF and announces
Universal USB storage device subclass protocol specification realize and host computer communication between exempt from application data transmitting procedure.
Claims (4)
1. a kind of cross-platform free drive moves USB device data transmission method, it is characterised in that comprise the following steps:
1.1st, USB data transmission device itself will invent USB storage device when carrying out data transmission with host computer communication, and
Using the Universal USB storage device driver of host computer communication, that realizes data transmission device exempts from drive installation;
1.2nd, USB data transmission device inside real data is mapped into virtual USB storage device file storage area, and will be real
Border data virtual into meet host computer communication file system requirement file;
1.3rd, the data transfer realized and between host computer communication is instructed by the file operation of host computer communication.
2. a kind of cross-platform free drive according to claim 1 moves USB device data transmission method, it is characterised in that the step
Rapid 1.1 is further comprising the steps:
2.1st, the File System Specification construction virtual USB storage device institute that USB data transmission device is used according to host computer communication
MBR table, partition boot record table, file allocation table and the root directory information for needing;
2.2nd, when carrying out data transmission with host computer communication, host computer communication calls Universal USB storage device to USB data transmission device
Driver, sends according to the Universal USB storage device subclass protocol specification that USB-IF tissues are announced to USB data transmission device
Or the order related to USB storage device is received, carry out USB data transmission device enumerates communication process, realizes data transfer
Device exempts from drive installation.
3. a kind of cross-platform free drive according to claim 1 and 2 moves USB device data transmission method, it is characterised in that institute
State step 1.2 further comprising the steps:
3.1st, it is virtual USB storage device file by the physical address map of USB data transmission device inside actual data storage
The logical address of storage region;
3.2nd, the file format according to required by host computer communication file system, increases file format information;
3.3rd, according to USB data transmission device inside real data and file format information amount of capacity, virtual USB storage is updated
The starting of the amount of capacity of virtual file and virtual file or termination logic address information in equipment root directory information.
4. a kind of cross-platform free drive according to claim 1 and 2 moves USB device data transmission method, it is characterised in that number
According to before transmission or in transmitting procedure, real data is encrypted by AES or device;And by by the reality of encryption
Data virtual into meet host computer communication file system requirement file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710095828.3A CN106919528A (en) | 2017-02-22 | 2017-02-22 | A kind of dynamic USB device data transmission method of cross-platform free drive |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710095828.3A CN106919528A (en) | 2017-02-22 | 2017-02-22 | A kind of dynamic USB device data transmission method of cross-platform free drive |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106919528A true CN106919528A (en) | 2017-07-04 |
Family
ID=59454199
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710095828.3A Pending CN106919528A (en) | 2017-02-22 | 2017-02-22 | A kind of dynamic USB device data transmission method of cross-platform free drive |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106919528A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102184143A (en) * | 2011-04-25 | 2011-09-14 | 深圳市江波龙电子有限公司 | Data protection method, device and system for storage device |
CN102339260A (en) * | 2010-07-20 | 2012-02-01 | 上海闻泰电子科技有限公司 | Method for implementing driverless universal serial bus (USB) equipment |
CN102930064A (en) * | 2012-09-20 | 2013-02-13 | 苏州生物医学工程技术研究所 | Data acquisition system and data acquisition method of system based on USB (universal serial bus) |
CN103942170A (en) * | 2014-04-03 | 2014-07-23 | 西安交通大学 | Android system USB interface driving-free data communication method |
CN204993338U (en) * | 2015-08-27 | 2016-01-20 | 陕西科技大学 | Data buffering device based on carrier communication |
-
2017
- 2017-02-22 CN CN201710095828.3A patent/CN106919528A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102339260A (en) * | 2010-07-20 | 2012-02-01 | 上海闻泰电子科技有限公司 | Method for implementing driverless universal serial bus (USB) equipment |
CN102184143A (en) * | 2011-04-25 | 2011-09-14 | 深圳市江波龙电子有限公司 | Data protection method, device and system for storage device |
CN102930064A (en) * | 2012-09-20 | 2013-02-13 | 苏州生物医学工程技术研究所 | Data acquisition system and data acquisition method of system based on USB (universal serial bus) |
CN103942170A (en) * | 2014-04-03 | 2014-07-23 | 西安交通大学 | Android system USB interface driving-free data communication method |
CN204993338U (en) * | 2015-08-27 | 2016-01-20 | 陕西科技大学 | Data buffering device based on carrier communication |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103282881B (en) | Smart machine is directly shared by virtualization | |
US7966355B2 (en) | Interface for extending functionality of memory cards | |
JP4839322B2 (en) | Address-based graphics protocol | |
CN105159742A (en) | Unvarnished transmission method and system for PCI device of virtual machine | |
US9639485B2 (en) | Method and apparatus for transmitting data in android platform based terminal device | |
EP2631901A2 (en) | Apparatus and method for displaying an image on a sink device | |
CN107526608B (en) | OTA upgrade package upgrading method and device | |
CN103473037A (en) | Information processing apparatus, information processing method, and program | |
CN103577231A (en) | Method for judging host operating system through USB embedded device | |
CN105653349A (en) | Multi-application opening type pipeline communication control method and system | |
US20080147375A1 (en) | System, method, device, and computer program product for providing a portable device having drive emulation capabilities | |
CN102368787B (en) | Cloud computing system based on KVM (Keyboard Video and Mouse) virtualization and media redirection | |
CN104915302A (en) | Data transmission processing method and data transmission unit | |
CN201204030Y (en) | Apparatus for updating LCD EDID | |
CN106919528A (en) | A kind of dynamic USB device data transmission method of cross-platform free drive | |
CN107643938A (en) | Data transmission method, device and storage medium | |
CN110795373A (en) | Method for converting I2C bus into parallel bus, terminal and storage medium | |
US8473968B2 (en) | Driving method and application thereof | |
CN101561760B (en) | Method for upgrading firmware of interface card | |
CN108037964A (en) | A kind of method, storage medium and smart machine that resolution ratio is set | |
CN108021801A (en) | Divulgence prevention method, server and storage medium based on virtual desktop | |
CN107357674B (en) | Information processing method, device and storage medium | |
CN103631548B (en) | Image external device and the method for handling image external device | |
WO2015188483A1 (en) | Method for serial-parallel port mapping, cloud terminal and virtual machine | |
CN103942170B (en) | A kind of method of the dynamic data communication of Android system USB interface free drive |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170704 |