CN103902491B - USB (universal serial bus)-based high-speed data transmission device and USB-based high-speed data transmission method - Google Patents
USB (universal serial bus)-based high-speed data transmission device and USB-based high-speed data transmission method Download PDFInfo
- Publication number
- CN103902491B CN103902491B CN201410117622.2A CN201410117622A CN103902491B CN 103902491 B CN103902491 B CN 103902491B CN 201410117622 A CN201410117622 A CN 201410117622A CN 103902491 B CN103902491 B CN 103902491B
- Authority
- CN
- China
- Prior art keywords
- microcontroller
- computer
- data
- data transmission
- usb
- 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 - Fee Related
Links
Landscapes
- Information Transfer Systems (AREA)
Abstract
The invention discloses a USB (universal serial bus)-based high-speed data transmission device and a USB-based high-speed data transmission method. The USB-based high-speed data transmission device comprises a first microcontroller and a second microcontroller which are provided with USB interfaces. GPIFs (general programmable interfaces) are respectively arranged on the first microcontroller and the second microcontroller, the first microcontroller and the second microcontroller are connected with each other by the GPIFs and are respectively connected with two computers by the USB interfaces on the first microcontroller and the second microcontroller, data exchange needs to be carried out on the two computers, and the two computers are provided with device drivers; each of the first microcontroller and the second microcontroller comprises a buffer. Data can be directly transmitted between the two computers by the data transmission device, so that large quantities of data can be directly and quickly copied between the computers for users and can be shared by the users without extra mobile storage media. The USB-based high-speed data transmission device and the USB-based high-speed data transmission method have the advantages of low cost, high transmission speed, simple structure and the like.
Description
Technical field
The invention belongs to data communication technology field, particularly to a kind of high speed data transfer equipment based on usb and side
Method.
Background technology
USB (universal serial bus) (universal serial bus, usb) is to connect computer system and the one of external equipment
Individual serial bus standard, is also a kind of technical specification of input/output interface, is widely used in computer and mobile device etc.
Information communication product, and extend to other association area such as photographic goods, DTV (Set Top Box), game machine.At present, two
The backup of data or share and mainly have two kinds of approach between computer, first, by network;Second, using movable storage device.
First method must pass through network interface card, but the existing category-5 cable upper limit supports 100mbps, and second is mesh by portable hard drive
Front using more, speed mode faster.First method is limited it is also possible to be route by category-5 cable transfer rate
Device, switch etc. form the restriction of the transfer rate of lan device, therefore relatively slow when transmitting mass data
, and second method be not merely limited to read and write movable storage device speed, more important point, carry out data backup or
Need when sharing through an intermediary, the thus process of more than once read-write data.At present, have on computers higher
The agreement of transfer rate includes thunderbolt(20gbps), usb2.0(480mbps), usb3.0(5gbps), usb3.1
(10gbps), sata2, (3gbps) sata3(6gbps), pci express(highest 16gbps) etc., but also do not have a kind of equipment
The data transfer between two computers is enable to utilize these high speed protocols well.In addition, the calculating in current popularization
The function being mainly responsible in computer hardware composition using the interface of each agreement above-mentioned on machine is different, as
In the peripheral hardware of popularization, the interface of plug and play, usb interface has already taken up main status, and, changes with the renewal of computer
In generation, usb3.0 interface has been popularized, and is proposed usb3.1 interface protocol in the recent period again, transfer rate is carried from the 5gbps of 3.0 versions
It is raised to the 10gbps of 3.1 versions, qualitative leap that usb interface transfer rate has been got back.
Content of the invention
It is an object of the invention to overcoming shortcoming and the deficiency of prior art, a kind of high-speed data based on usb is provided to pass
Transfer device, this data transmission set realizes a kind of high speed using the transfer rate of widely available usb interface and its high speed
Intercomputer data transfer so that user in the case of needing not move through extra mobile memory medium directly in computer
Between quick backup and share jumbo data.
Another object of the present invention is to providing a kind of data sender of the above-mentioned high speed data transfer equipment based on usb
Method.
The first object of the present invention is achieved through the following technical solutions: a kind of high speed data transfer equipment based on usb, bag
Include the first microcontroller with usb interface and the second microcontroller, described first microcontroller and the second microcontroller divide
It is not provided with gpif interface, connected by gpif interface between described first microcontroller and described second microcontroller, described
First microcontroller and the second microcontroller pass through usb interface thereon respectively with need to carry out data exchange and drive with equipment
Two dynamic computers connect;A buffer is all included in described first microcontroller and the second microcontroller.
Preferably, described first microcontroller and the second microcontroller are cyusb3014 chip.
Preferably, the gpif interface of the described gpif interface with the first controller and second controller is passed by control data
Defeated line is attached.
Preferably, the usb interface on described two computers, the first microcontroller and the second microcontroller is usb3.1
Interface protocol.
The second object of the present invention is achieved through the following technical solutions: a kind of high speed data transfer equipment based on usb
Data transmission method, comprises the following steps:
(1) sender's computer and receiver computer pass through usb interface thereon respectively with data transmission set the
The usb interface of one microcontroller and the second microcontroller connects;
(2) after sender's computer and receiver computer are connected by data transmission set, both computer operation system
Unite and drive to data transmission set loading equipemtn, after the completion of drive load, automatically exchange both computer systems information;Simultaneously
One microcontroller and the second microcontroller load the driving of itself, by the facility information of the first microcontroller and the second microcontroller
Pass to computer in connection respectively, with identification data transmission equipment and other computer;
(3), after recognizing other computer, it is respectively provided with access limit in both computer;
(4) both computer passes through to obtain the storing device information in other computer respectively;
(5) receiver computer first passes through data transmission set and asks to send data to sender's computer, and sender counts
After data transmission set receives the transmission request of data of receiver computer, whether detection receiver computer accords with calculation machine
Close jurisdictions mandate;
If so, the data that then sender's computer will transmit sends the data of the first microcontroller to by usb interface
Relief area, when there being data in relief area, the first microcontroller is by the gpif interface that is connected with the second microcontroller by data
Send the data buffer zone of the second microcontroller to, when the second Data Detection to relief area has data, transfer data to and connect
Recipient computers;
If it is not, then refusal sends request of data.
Preferably, two computer user interfaces in described step (4) are constructed respectively in the way of figure directory tree
The storing device information that other side calculates.
Preferably, in described first microcontroller and the second microcontroller, the size of data buffer zone is 128kb.
Preferably, the facility information of described first microcontroller and the second microcontroller includes equipment id, equipment description, version
This number, device type, device name and equipment manufacturer.
The present invention has such advantages as with respect to prior art and effect:
(1) data transmission set of the present invention is connect with the usb interface popularizing use in PC for data transfer
Mouthful, directly data can be carried out in two PC high-speed transfer, effectively utilizes usb interface high speed transport protocols so that
User is in the case of needing not move through extra mobile memory medium directly in intercomputer quick backup and share great Rong
The data of amount.Mode relatively with two current PC data backups/share, greatlys save transmission time.In addition originally
Custom-configure interface using gpif between two microcontrollers of invention data transmission set to be directly connected to, two micro-controls
Third party's hardware is needed not move through when carrying out data relay, in bottom hardware structure, two microcontrollers directly lead between device processed
The programmable interface gpif crossing microcontroller is connected, and constitutes data transmission channel, and required extra support chip is few, is saving into
This while, so that accuracy rate and transfer rate is all further ensured that again.
(2) data transmission set composition structure of the present invention is very simple, is connected two computers in the form of data wire,
Do not need extra power supply, have the advantages that easy to carry.
(3) the usb agreement that data transmission set of the present invention is applied has the characteristics that backward compatible, even if in PC
When being only configured with the usb interface compared with lowest version, this equipment still can use, and has good compatibility.And in data transfer
In the case that device structure keeps constant, support usb edition upgrading, change the usb interface protocol supporting more highest version, thus
To higher transfer rate.
Brief description
Fig. 1 is data transmission set composition frame chart of the present invention.
Fig. 2 is data transmission method flow chart of the present invention.
Specific embodiment
With reference to embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention do not limit
In this.
Embodiment
As shown in figure 1, present embodiment discloses a kind of high speed data transfer equipment based on usb, including with usb interface
The first microcontroller and the second microcontroller, the first microcontroller and the second microcontroller are respectively arranged with gpif interface,
The gpif interface of the gpif interface of the first controller and second controller is attached by control data transmission line, the first micro-control
Device processed and the second microcontroller pass through usb interface thereon respectively with need to carry out data exchange and two with device drives
Computer connects;A buffer is all included in first microcontroller and the second microcontroller.Buffer in the present embodiment
Size is 128kb.User interface is all included, the user interface by computer for the user on wherein two computers
Associative operation is carried out to the data of computer.
First microcontroller and the second microcontroller are cyusb3014 chip, certain the present embodiment in the present embodiment
In can also using cypress company produce other support usb3.0 or higher usb version microcontroller.First is micro-
Usb interface on controller and the second microcontroller is usb3.1 interface protocol.Certainly the first microcontroller in the present embodiment
Can also be other interface protocols with the usb interface on the second microcontroller, keep constant feelings in data transmission set structure
Under condition, support usb edition upgrading, change the usb interface protocol supporting more highest version.
As shown in Fig. 2 the present embodiment also discloses a kind of transmission side data of the high speed data transfer equipment based on usb
Method, comprises the following steps:
(1) sender's computer and receiver computer pass through usb interface thereon respectively with data transmission set the
The usb interface of one microcontroller and the second microcontroller connects;
(2) after sender's computer and receiver computer are connected by data transmission set, both computer operation system
Unite and drive to data transmission set loading equipemtn, after the completion of drive load, automatically exchange both computer systems information;Simultaneously
One microcontroller and the second microcontroller load the driving of itself, by driving the first microcontroller and the second microcontroller
Facility information passes to computer in connection respectively, with identification data transmission equipment and other computer.Wherein first
Microcontroller and the second microcontroller apparatus information includes the first microcontroller and the equipment id of the second microcontroller, equipment are retouched
State, version number, device type, the information such as device name and equipment manufacturer.
(3), after recognizing other computer, it is respectively provided with access limit in both computer;
(4) both computer gets the storing device information in other computer by device drives thereon;And
The storing device information of other side's calculating is constructed respectively in the way of figure directory tree on computer user interface.
(5) receiver computer first passes through data transmission set and asks to send data to sender's computer, and sender counts
After data transmission set receives the transmission request of data of receiver computer, whether detection receiver computer accords with calculation machine
Close jurisdictions mandate;
If so, the data that then sender's computer will transmit sends the data of the first microcontroller to by usb interface
Relief area, when there being data in relief area, the first microcontroller is by the gpif interface that is connected with the second microcontroller by data
Send the data buffer zone of the second microcontroller to, when the second Data Detection to relief area has data, transfer data to and connect
Recipient computers;
If it is not, then refusal sends request of data.
The hierarchical structure of the present embodiment data transmission procedure includes from bottom successively to top layer: physical layer of device, equipment drive
Dynamic layer and user interface layer, wherein, physical layer of device is the hardware system of component devices, micro- including the first microcontroller and second
Controller;Device drive layer includes two parts: in driving on microcontroller and PC for peripheral apparatus
Driving in device drives, wherein micro controller is the basis set up with compunication, completes facility information by this driving
Transmission configuration, just can complete the data transfer between computer afterwards.Between two computers, line number is entered by user interface layer
Have graphical interfaces according to/information exchange, data transfer is completed by device drive layer and device hardware layer.The process of data transfer,
System level is totally reflected as: user interface layer -> driving layer -> physical layer of device -> driving layer -> user interface layer.
Above-described embodiment is the present invention preferably embodiment, but embodiments of the present invention are not subject to above-described embodiment
Limit, other any spirit without departing from the present invention and the change made under principle, modification, replacement, combine, simplify,
All should be equivalent substitute mode, be included within protection scope of the present invention.
Claims (4)
1. a kind of data transmission method of the high speed data transfer equipment based on usb is it is characterised in that the described height based on usb
Fast data transmission set includes the first microcontroller and the second microcontroller with usb interface, described first microcontroller and
Gpif interface is respectively arranged with the second microcontroller, passes through between described first microcontroller and described second microcontroller
Gpif interface connects, described first microcontroller and the second microcontroller pass through usb interface thereon respectively with need into line number
Connect according to two computers exchanging and with device drives;One is all included in described first microcontroller and the second microcontroller
Individual buffer;
Method comprises the following steps:
(1) sender's computer and receiver computer are micro- with the first of data transmission set respectively by usb interface thereon
The usb interface of controller and the second microcontroller connects;
(2), after sender's computer and receiver computer are connected by data transmission set, both computer operating system is given
Data transmission set loading equipemtn drives, and automatically exchanges both computer systems information after the completion of drive load;First is micro- simultaneously
Controller and the second microcontroller load the driving of itself, by the facility information transmission of the first microcontroller and the second microcontroller
To computer in connection respectively, with identification data transmission equipment and other computer;
(3), after recognizing other computer, it is respectively provided with access limit in both computer;
(4) both computer obtains the storing device information in other computer respectively;
(5) receiver computer first passes through data transmission set and asks to send data, sender's computer to sender's computer
After data transmission set receives the transmission request of data of receiver computer, whether detection receiver computer meets power
Limit requires;
If so, the data that then sender's computer will transmit sends the data buffering of the first microcontroller to by usb interface
Area, when there being data in relief area, data is transmitted by the first microcontroller by the gpif interface being connected with the second microcontroller
To the data buffer zone of the second microcontroller, when the second Data Detection to relief area has data, transfer data to recipient
Computer;
If it is not, then refusal sends request of data.
2. the high speed data transfer equipment based on usb according to claim 1 data transmission method it is characterised in that
The storage being constructed other side's calculating on two computer user interfaces in described step (4) respectively in the way of figure directory tree is set
Standby information.
3. the high speed data transfer equipment based on usb according to claim 1 data transmission method it is characterised in that
In described first microcontroller and the second microcontroller, the size of data buffer zone is 128kb.
4. the high speed data transfer equipment based on usb according to claim 1 data transmission method it is characterised in that
The facility information of described first microcontroller and the second microcontroller include equipment id, equipment description, version number, device type,
Device name and equipment manufacturer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410117622.2A CN103902491B (en) | 2014-03-26 | 2014-03-26 | USB (universal serial bus)-based high-speed data transmission device and USB-based high-speed data transmission method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410117622.2A CN103902491B (en) | 2014-03-26 | 2014-03-26 | USB (universal serial bus)-based high-speed data transmission device and USB-based high-speed data transmission method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103902491A CN103902491A (en) | 2014-07-02 |
CN103902491B true CN103902491B (en) | 2017-01-18 |
Family
ID=50993822
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410117622.2A Expired - Fee Related CN103902491B (en) | 2014-03-26 | 2014-03-26 | USB (universal serial bus)-based high-speed data transmission device and USB-based high-speed data transmission method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103902491B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105677285A (en) * | 2015-12-31 | 2016-06-15 | 联想(北京)有限公司 | All-in-one machine control method, electronic device and all-in-one machine control system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101493867A (en) * | 2008-01-25 | 2009-07-29 | 希姆通信息技术(上海)有限公司 | Method and system for mutually transmitting shared data safely between mobile phone and computer |
CN102541793A (en) * | 2011-12-26 | 2012-07-04 | 浙江大学 | USB (universal serial bus) based high-speed dual-computer data exchange method and data exchange device |
CN203825617U (en) * | 2014-03-26 | 2014-09-10 | 华南理工大学 | USB (universal serial bus)-based high speed data transmission equipment |
-
2014
- 2014-03-26 CN CN201410117622.2A patent/CN103902491B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101493867A (en) * | 2008-01-25 | 2009-07-29 | 希姆通信息技术(上海)有限公司 | Method and system for mutually transmitting shared data safely between mobile phone and computer |
CN102541793A (en) * | 2011-12-26 | 2012-07-04 | 浙江大学 | USB (universal serial bus) based high-speed dual-computer data exchange method and data exchange device |
CN203825617U (en) * | 2014-03-26 | 2014-09-10 | 华南理工大学 | USB (universal serial bus)-based high speed data transmission equipment |
Non-Patent Citations (1)
Title |
---|
基于usb总线的机器人上下位机通信;孔凡超等;《电子技术应用》;20031231(第05期);论文第1页第11-13段、图1 * |
Also Published As
Publication number | Publication date |
---|---|
CN103902491A (en) | 2014-07-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TW200903264A (en) | Data sharing and transfer systems and methods | |
CN102981990B (en) | Data transmission method and device of terminal equipment with Androild platform | |
CN104021107A (en) | Design method for system supporting non-volatile memory express peripheral component interface express solid state disc (NVMe PCIE SSD) | |
CN104915306B (en) | A kind of data manipulation control method and equipment manager | |
CN104168119B (en) | adapter card | |
CN107111564B (en) | Adapter for connecting connectors in series | |
CN103856556B (en) | Application program account management based on cloud | |
KR20080074221A (en) | Methods and apparatus for adding an autonomous controller to an existing architecture | |
CN103793347A (en) | Methods and structure for Serial Attached SCSI (SAS) expanders that self-configure routing attributes of their ports | |
US20180039411A1 (en) | Method and Apparatus for Providing Data Storage and Network Communication Using an Auxiliary Plug | |
CN102646088A (en) | External bridge system | |
CN106407145A (en) | An interface access method and system and a memory card | |
CN104798010A (en) | Serial storage protocol compatible frame conversion, at least in part | |
CN103077149A (en) | Method and system for transmitting data | |
US20140250247A1 (en) | Usb storage device | |
CN103092648B (en) | A kind of image upgrade method, system and subscriber equipment and personal computer | |
CN105765548B (en) | Support of IOAPIC interrupts in AMBA-based devices | |
CN111294413A (en) | Method, device and readable medium for determining Internet Protocol (IP) address | |
CN103902491B (en) | USB (universal serial bus)-based high-speed data transmission device and USB-based high-speed data transmission method | |
CN106776388A (en) | Server system and read method | |
CN103049403A (en) | Method for communication between embedded terminal device and cell phone | |
CN114185826A (en) | Interface adapter for external storage equipment | |
CN105117179A (en) | Method for data interaction of host and storage device and storage controller | |
CN203825617U (en) | USB (universal serial bus)-based high speed data transmission equipment | |
CN103973534A (en) | Method and device for simulating sharing of USB flash disk |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170118 |
|
CF01 | Termination of patent right due to non-payment of annual fee |