CN104123258A - USB data transmission interface and system - Google Patents

USB data transmission interface and system Download PDF

Info

Publication number
CN104123258A
CN104123258A CN201410353377.5A CN201410353377A CN104123258A CN 104123258 A CN104123258 A CN 104123258A CN 201410353377 A CN201410353377 A CN 201410353377A CN 104123258 A CN104123258 A CN 104123258A
Authority
CN
China
Prior art keywords
usb
data transmission
transmission interface
host
usb host
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
Application number
CN201410353377.5A
Other languages
Chinese (zh)
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.)
Lontium Semiconductor Corp
Original Assignee
Lontium Semiconductor Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lontium Semiconductor Corp filed Critical Lontium Semiconductor Corp
Priority to CN201410353377.5A priority Critical patent/CN104123258A/en
Publication of CN104123258A publication Critical patent/CN104123258A/en
Pending legal-status Critical Current

Links

Abstract

The invention provides a USB data transmission interface and system. The USB data transmission interface comprises a function layer. The function layer can produce a response for a data packet sent by a USB host controller, and is in communicated with USB equipment through USB signals. The time spent by the USB host controller from sending the data packet to receiving the response produced by the function layer is shorter than the allowed longest time spent by the USB host controller from sending the data packet to receiving a response produced by the USB equipment. In this way, no matter how long the distance between the USE equipment and a USB host is, the USB host can be in communication with the USB equipment through the USB data transmission interface, and USB data transmission is achieved. By means of the USB data transmission interface, USB data transmission will not be limited by the return stroke in the USB specification, and the USB data transmission distance can be lengthened.

Description

A kind of usb data transmission interface and system
Technical field
The present invention relates to field of data transmission, relate in particular to a kind of usb data transmission interface and system.
Background technology
Usb data transmission system comprises usb host, USB and USB device, and USB connects USB device and usb host.
USB regulation and stipulation, while using USB to carry out data transmission, all data transmission are initiated by usb host (host), and it is to complete by the usb host controller on it (interface of USB in computer system) that usb host is initiated data transmission.Usb host controller sends packet and must complete within a certain period of time to receiving this process of response that USB device makes this packet, surpass certain hour and just think that packet is overtime, now, usb host can not activate port corresponding to USB device, the passage that carries out data transmission with this USB device can not be set up, thereby normal data transmission cannot be carried out.From usb host controller, send packet and be called a backhaul to receiving the maximum duration response of this packet being allowed from USB device end.
If the distance of USB device and usb host is longer, usb host controller does not receive the response of the packet that USB device sends usb host controller in a backhaul, just cannot carry out usb data transmission.So, being limited to the regulation of backhaul in USB standard, the transmission range of usb signal is shorter.Also do not occur on the market at present adopting the USB physics signal of 480MHz frequency range to make the USB transmission equipment that surpasses 50 meters of transmission.
If the transmission range that can realize usb signal is not subject to the restriction of backhaul, the transmission range that will extend usb signal.Therefore, be necessary to develop a kind of data transmission interface, so that the restriction of backhaul is avoided in the transmission of usb signal.
Summary of the invention
In view of this, the invention provides a kind of usb data transmission interface and system, so that the transmission range of usb signal is broken away from the restriction of backhaul.
In order to solve the problems of the technologies described above, the present invention has adopted following technical scheme:
A kind of usb data transmission interface, be used for connecting usb host and USB cable, described usb host comprises usb host controller, USB system software and client software, described usb data transmission interface comprises: usb bus interface layer, USB device layer and functional layer, described usb bus interface layer is for providing the physical connection with described usb host, send and connect, packet connects, described USB device layer is visible to described USB system software, described functional layer matches with described client software, for the packet that described usb host controller is sent, make response, and communicate by usb signal and described USB device, wherein, described usb host controller is less than described usb host controller and to receiving USB device, makes the maximum duration that response allows Zi sending packet to receiving response time used that described functional layer makes Zi sending packet.
The usb signal of communicating by letter with described USB device further, meets the frequency range of 480MHz.
Further, described usb data transmission interface can pass through the authentication of USB IF.
A kind of usb data transmission system, comprise: usb host, USB cable, USB device, it is characterized in that, also comprise: usb data transmission interface, described usb data transmission interface is the usb data transmission interface described in above-mentioned any one, and described usb data transmission interface is for connecting one end of usb host and USB cable, and the other end of described USB cable connects described USB device.
Compared to prior art, the present invention has following beneficial effect:
Usb data transmission interface provided by the invention, the packet that it functional layer comprising can send usb host controller responds, usb host controller can configure USB address to USB device according to this response, and set up communication port, according to this communication port, between usb host and USB device, carry out data transmission.Due to when carrying out usb data transmission, this data transmission interface is arranged on usb host port, thereby this data transmission interface is more much closer at a distance of the distance of usb host than USB device at a distance of the distance of usb host.Usb host is certainly less than backhaul to receiving usb data transmission interface to the required time of the response of this packet Zi sending packet, so, no matter at a distance of usb host how far USB device, by means of this usb data transmission interface, usb host all can establish a communications link with USB device, realizes the transmission of usb data.So, by means of usb data transmission interface provided by the invention, can make usb data transmission break away from the restriction of backhaul in USB standard, the transmission range that can extend usb data.
Accompanying drawing explanation
In order to be expressly understood prior art and the specific embodiment of the present invention, to describing the accompanying drawing needing in prior art and the specific embodiment of the invention, be briefly described below.Apparently, these accompanying drawings are only a part of accompanying drawings of the present invention, and those of ordinary skills can also obtain other accompanying drawing under the prerequisite of not paying creative work.
Fig. 1 is the principle of work schematic diagram of the usb data transmission interface that provides of the embodiment of the present invention;
Fig. 2 is the usb data transmission system structural representation that the embodiment of the present invention provides.
Embodiment
Below in conjunction with accompanying drawing, the embodiment of usb data transmission interface provided by the invention is described.
It should be noted that, a USB system comprises usb host, USB device and USB.Wherein, USB is a kind of cable bus, is supported between usb host and the USB device of plug and play miscellaneous and carries out data transmission.
It should be noted that, all USB device are to be all connected on USB by port, when needs are installed on usb host by USB device, this USB device connects the interface (usb host controller) of usb host by the USB on it, thereby realize USB device, be installed on usb host, realize being connected of USB device and usb host.
Wherein, usb host is an entity that plays coordinative role in USB system, and it not only occupies special physical location, and for USB and link the equipment on USB, also bears special responsibility.The access to USB that host computer control is all.A USB device is wanted to access bus and must be given its right to use by main frame.
In USB standard, usb protocol stipulates that all data transmission all must be initiated by usb host.Usb host by the interface (usb host controller) on it to USB device initiating communication signal.
After USB device is installed on usb host, usb host controller sends a packet to USB device, and in theory, USB device can be made response to this packet.According to the regulation of USB standard, if usb host controller receives the response to this packet from USB device within a certain period of time, usb host can be identified this USB device, can configure USB address to USB device, and set up communication port.If usb host controller does not receive within a certain period of time from USB device the response to this packet, usb host can not be identified this USB device, thereby can not configure USB address for USB device, sets up communication port.
It should be noted that, described packet is when each communication starts, usb host controller sends a usb data bag of describing kind, direction, USB device address and the terminal number of transmission operation, and this packet is commonly referred to sign bag (token packet).
Those skilled in the art become backhaul Zi sending packet to receiving the maximum duration that USB device allows the response of this packet by usb host controller.
Under the certain prerequisite of transmission speed, USB receiver is directly proportional to the distance usb host and USB device to receiving response Zi sending packet the required time, and apart from longer, the required time is also longer.Thereby for guaranteeing between usb host and USB device can proper communication, usb signal transmits the required time and must be less than half of backhaul between USB device and usb host.Restriction based on this transmission time, so the transmission range of usb signal is restricted.
In order to make the transmission range of usb signal break away from the restriction of backhaul, the invention provides a kind of usb data transmission interface.This usb data transmission interface is used for connecting usb host and USB device.When carrying out usb data transmission, one end of this usb data transmission interface is arranged on the data transmission interface of usb host, and the other end connects the USB port in USB device.
It should be noted that, the operational module of usb data transmission interface provided by the invention and the operational module of usb host match.
Referring to Fig. 1, Fig. 1 is the principle of work schematic diagram of the usb data transmission interface in the embodiment of the present invention.
As shown in Figure 1, usb host 100 comprises usb host controller 101, USB system software 102 and client software 103.
Corresponding with each operational module in usb host 100, usb data transmission interface 200 comprises: usb bus interface layer 201, USB device layer 202, functional layer 203.It should be noted that, the operational module of the usb data transmission interface described in the embodiment of the present invention is identical with the operational module of the USB device that this area adopts conventionally, but the functional layer in the usb data transmission interface that the embodiment of the present invention provides has different functions compared to the functional layer in USB device.
Wherein, usb bus interface layer 201 for providing with the physical connection of usb host 100, send is connected, packet connection.
202 pairs of described USB system software 102 of USB device layer are visible, and USB system software 102 completes the general USB operation to USB device based on its being seen USB device layer 202.
Functional layer 203 can provide some extra functions to usb host 100 by client software 103 with matching.In embodiments of the present invention, functional layer 203 is except carrying out normal usb data communication with usb host 100, the packet that can also send usb host controller 101 is made response, and this functional layer 203 can also communicate by the USB device in usb signal and downstream.
It should be noted that, USB device layer 202 is in logic with functional layer 203 with communicating by letter of usb host 100, corresponding to the actual physics communication of these logic communications, by usb bus interface layer 201, is completed.In the fundamental diagram shown in Fig. 1, hollow arrow presentation logic communication stream, filled arrows represents practical communication stream.
Wherein, due to when utilizing usb data transmission interface to carry out usb data transmission, usb data transmission interface is arranged on usb host, and generally, because needs are transferred to certain distance by usb signal, between USB device and usb host, by USB cable, be connected.So usb host controller 101 is less than described usb host controller 101 and makes to receiving USB device 200 maximum duration that response allows Zi sending packet to receiving the response time used of making from 203 pairs of these packets of functional layer of usb data transmission interface 200 Zi sending packet.So, the usb data transmission interface 200 providing by means of the embodiment of the present invention, usb host controller 101 can be in backhaul, to receive the response to packet from USB device end in the time range allowing, can identify USB device, then can configure USB address for USB device, set up control channel, thereby carry out normal data communication.
The packet that can send USB controller providing by means of the embodiment of the present invention is made the usb data transmission interface of response, USB controller just can recognize this USB device without the response that by the time receives the USB device that is positioned at usb data transmission interface downstream, so, utilize this usb data transmission interface, USB device is the far distance of usb host apart, and this distance is not subject to the restriction of USB standard.Specifically, this distance is not subject to the restriction of backhaul.So, utilize this usb data transmission interface, the transmission range that can extend usb data.
As the preferred embodiments of the present invention, usb data transmission interface provided by the invention can make usb data transmission break through the restriction of USB2.0 standard.And the usb signal of being exported by usb data transmission interface can communicate with the signal of 480MHz frequency range and the USB device in downstream.
Further, as another embodiment of the present invention, usb data transmission interface provided by the invention can pass through the authentication of USB IF.
Based on above-mentioned usb data transmission interface, the embodiment of the present invention also provides a kind of usb data transmission system.As shown in Figure 2, this usb data transmission system comprises, usb host 01, usb data transmission interface 02, USB cable 03, USB device 04.Wherein, be provided with usb host controller 11 on usb host 01, one end of usb data transmission interface 02 is connected on usb host controller 11, and the other end of usb data transmission interface 02 connects USB cable 03, and the other end of this USB cable 03 connects USB device 04.
After USB device 04 is installed on usb host 01, console controller 11 on usb host 01 sends packet to USB device end, after usb data transmission interface 02 receives this packet, this packet is made to response, and this response is sent on usb host controller 11.Usb host controller 11 receives after response, gives USB device 04 configuration USB address, sets up communication port, thereby can between usb host and USB device, carry out data transmission.
If data transfer direction is from usb host 01 to USB device 04, the data transmission of being sent by usb host 01 is to usb data transmission interface 02, because usb data transmission interface 02 can communicate with the USB device 04 in usb signal and downstream, so usb data transmission interface 02 can transfer to USB device 04 via USB cable 03 by usb data.
If data transfer direction is from USB device 04 to usb host 01, the data of being sent by USB device 04 transfer to usb data transmission interface 02 via USB cable 03, through usb data transmission interface 02, transfer to usb host 01.
This usb data transmission system provided by the invention, can make usb signal transmission break away from the restriction of relevant backhaul in USB standard by means of usb data transmission interface 02, thereby the transmission range that can extend usb signal.In usb data transmission system provided by the invention, the length of USB cable 03 is not subject to the restriction of USB standard, can surpass conventional length.By means of this usb data transmission system, usb signal can be transferred to 50 meters of above distances.
The above is only preferred embodiment of the present invention, not the present invention is done to any pro forma restriction.Although the present invention discloses as above with preferred embodiment, yet not in order to limit the present invention.Any those of ordinary skill in the art, do not departing from technical solution of the present invention scope situation, all can utilize method and the technology contents of above-mentioned announcement to make many possible changes and modification to technical solution of the present invention, or be revised as the equivalent embodiment of equivalent variations.Therefore, every content that does not depart from technical solution of the present invention,, all still belongs in the scope of technical solution of the present invention protection any simple modification made for any of the above embodiments, equivalent variations and modification according to technical spirit of the present invention.

Claims (4)

1. a usb data transmission interface, be used for connecting usb host and USB cable, described usb host comprises usb host controller, USB system software and client software, it is characterized in that, described usb data transmission interface comprises: usb bus interface layer, USB device layer and functional layer, described usb bus interface layer is for providing the physical connection with described usb host, send and connect, packet connects, described USB device layer is visible to described USB system software, described functional layer matches with described client software, for the packet that described usb host controller is sent, make response, and communicate by usb signal and described USB device, wherein, described usb host controller is less than described usb host controller and to receiving USB device, makes the maximum duration that response allows Zi sending packet to receiving response time used that described functional layer makes Zi sending packet.
2. usb data transmission interface according to claim 1, is characterized in that, the usb signal of communicating by letter with described USB device meets the frequency range of 480MHz.
3. usb data transmission interface according to claim 1, is characterized in that, described usb data transmission interface can pass through the authentication of USB IF.
4. a usb data transmission system, it is characterized in that, comprise: usb host, USB cable, USB device, it is characterized in that, also comprise: usb data transmission interface, described usb data transmission interface is the usb data transmission interface described in claim 1-3 any one, described usb data transmission interface is for connecting one end of usb host and USB cable, and the other end of described USB cable connects described USB device.
CN201410353377.5A 2014-07-23 2014-07-23 USB data transmission interface and system Pending CN104123258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410353377.5A CN104123258A (en) 2014-07-23 2014-07-23 USB data transmission interface and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410353377.5A CN104123258A (en) 2014-07-23 2014-07-23 USB data transmission interface and system

Publications (1)

Publication Number Publication Date
CN104123258A true CN104123258A (en) 2014-10-29

Family

ID=51768673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410353377.5A Pending CN104123258A (en) 2014-07-23 2014-07-23 USB data transmission interface and system

Country Status (1)

Country Link
CN (1) CN104123258A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106649174A (en) * 2016-10-11 2017-05-10 广州视睿电子科技有限公司 USB equipment and USB communication method
WO2022178882A1 (en) * 2021-02-27 2022-09-01 华为技术有限公司 Usb-based communication method and apparatus

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020010821A1 (en) * 2000-06-09 2002-01-24 Gang Yu USB extension system
US6381666B1 (en) * 1999-02-19 2002-04-30 Igron Systems Inc. Method and apparatus for extending the range of the universal serial bus protocol
US20030005197A1 (en) * 2001-06-29 2003-01-02 Abramson Darren L. Method and apparatus for deterministic removal and reclamation of work items from an expansion bus schedule
US6697372B1 (en) * 1998-11-10 2004-02-24 Nortel Networks Limited Local area network accessory for integrating USB connectivity in existing networks
CN1505785A (en) * 2001-03-30 2004-06-16 ض� Method and apparatus for improving time constraints and extending limited length cables in a multiple-speed bus
CN101176085A (en) * 2005-03-11 2008-05-07 伊克隆技术公司 Method and apparatus for improving the performance of usb mass storage devices in the presence of long transmission delays
US7493431B2 (en) * 2003-08-06 2009-02-17 Icron Technologies Corporation Method and apparatus for extending the range of the universal serial bus protocol
CN102119381A (en) * 2008-07-11 2011-07-06 英特尔公司 Method and apparatus for universal serial bus (USB) command queuing
CN202535382U (en) * 2012-02-27 2012-11-14 固高科技(深圳)有限公司 Bidirectional data transmission system of industrial controller and human-machine interface
CN103178872A (en) * 2013-04-11 2013-06-26 江苏沁恒股份有限公司 Method and device for prolonging USB (universal serial bus) system transmission distance through Ethernet
WO2013159205A1 (en) * 2012-04-26 2013-10-31 Icron Technologies Corporation Usb 3.0 link layer timer adjustment to extend distance
US20140013013A1 (en) * 2012-07-05 2014-01-09 Omron Network Products, Llc Method and Apparatus for USB Signaling Via Intermediate Transports

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6697372B1 (en) * 1998-11-10 2004-02-24 Nortel Networks Limited Local area network accessory for integrating USB connectivity in existing networks
US6381666B1 (en) * 1999-02-19 2002-04-30 Igron Systems Inc. Method and apparatus for extending the range of the universal serial bus protocol
US20020010821A1 (en) * 2000-06-09 2002-01-24 Gang Yu USB extension system
CN1505785A (en) * 2001-03-30 2004-06-16 ض� Method and apparatus for improving time constraints and extending limited length cables in a multiple-speed bus
US20030005197A1 (en) * 2001-06-29 2003-01-02 Abramson Darren L. Method and apparatus for deterministic removal and reclamation of work items from an expansion bus schedule
US7493431B2 (en) * 2003-08-06 2009-02-17 Icron Technologies Corporation Method and apparatus for extending the range of the universal serial bus protocol
CN101176085A (en) * 2005-03-11 2008-05-07 伊克隆技术公司 Method and apparatus for improving the performance of usb mass storage devices in the presence of long transmission delays
CN102119381A (en) * 2008-07-11 2011-07-06 英特尔公司 Method and apparatus for universal serial bus (USB) command queuing
CN202535382U (en) * 2012-02-27 2012-11-14 固高科技(深圳)有限公司 Bidirectional data transmission system of industrial controller and human-machine interface
WO2013159205A1 (en) * 2012-04-26 2013-10-31 Icron Technologies Corporation Usb 3.0 link layer timer adjustment to extend distance
US20140013013A1 (en) * 2012-07-05 2014-01-09 Omron Network Products, Llc Method and Apparatus for USB Signaling Via Intermediate Transports
CN103178872A (en) * 2013-04-11 2013-06-26 江苏沁恒股份有限公司 Method and device for prolonging USB (universal serial bus) system transmission distance through Ethernet

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106649174A (en) * 2016-10-11 2017-05-10 广州视睿电子科技有限公司 USB equipment and USB communication method
WO2022178882A1 (en) * 2021-02-27 2022-09-01 华为技术有限公司 Usb-based communication method and apparatus

Similar Documents

Publication Publication Date Title
JP2013168164A5 (en)
CN103092175B (en) Controlling method and device for serial clock line (SCL) between inter-integrated circuit (I2C) master equipment and slave equipment
US20130173838A1 (en) Bridge between a peripheral component interconnect express interface and a universal serial bus 3.0 device
CN102722462A (en) Synchronous communication device and control method thereof
CN104142900A (en) Communication interface converting device
US20130067128A1 (en) Methods and devices for universal serial bus port event extension
CA2872449A1 (en) Flow computers having wireless communication protocol interfaces and related methods
CN105094037B (en) Expansion module for the programmable logic controller (PLC) using universal serial bus communications
CN104123258A (en) USB data transmission interface and system
CN103428050A (en) Multipath CAN (controller area network) simulation system based on CAN bus
CN105138485A (en) Serial bus address management device
CN102929830A (en) Software simulation rapid communication protocol
CN103970048A (en) RS485 communication receiving and transmitting enabling control circuit
CN103577362A (en) Method for improving data transmission and related computer system
CN110287141B (en) FPGA (field programmable Gate array) reconstruction method and system based on multiple interfaces
US8954623B2 (en) Universal Serial Bus devices supporting super speed and non-super speed connections for communication with a host device and methods using the same
CN103577368B (en) A kind of IIC communication extension method and device based on SPI protocol
CN105573939A (en) Method for carrying out data transmission on the basis of universal serial bus, and terminal
CN205657698U (en) Novel USB optical transmitter and receiver
CN110098989A (en) A kind of multichannel CAN analogue system and test method based on CANFD bus
CN104842674A (en) Bill printing implementation method and device
CN104679715A (en) Simple inter-chip communication method and simple inter-chip communication device
CN102904789B (en) RS485 isolates communicating circuit and control method thereof
CN104360969A (en) Field wireless networking system supporting big data transmission
CN104133793A (en) Long-distance PCIe extension system and data sending method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB03 Change of inventor or designer information

Inventor after: Su Jin

Inventor after: Wang Zhejie

Inventor after: Xia Hongfeng

Inventor after: Tao Cheng

Inventor after: Ren Diansheng

Inventor after: Liu Zhiming

Inventor after: Chen Xiaofei

Inventor after: Chen Feng

Inventor before: Wang Zhejie

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: WANG ZHEJIE TO: SU JIN WANG ZHEJIE XIA HONGFENG TAO CHENG REN DIANSHENG LIU ZHIMING CHEN XIAOFEI CHEN FENG

CB02 Change of applicant information

Address after: 230601, Hefei economic and Technological Development Zone, Anhui province innovation and entrepreneurship Park, block A, four

Applicant after: Long Xun semiconductor (Hefei) Limited by Share Ltd

Address before: 230601, Hefei economic and Technological Development Zone, Anhui province innovation and entrepreneurship Park, block A, four

Applicant before: Lontium Semiconductor Technology (Hefei) Co.,Ltd.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20141029