Background technology
Exploitation obtains USB (USB) in nineteen ninety-five by an alliance of company at first.The main purpose of USB is the outside expansion bus of definition, thereby ancillary equipment can be connected on the personal computer (PC) simply as phone being connected to the metope jack.The ease for use of USB and low cost make it highly successful on market, and global most ancillary equipment provides the commercial city to come development according to its technical specification.
A task of systems soft ware is exactly to provide unified system view for all application software.Can adopt systems soft ware with hiding hard-wired details, thereby make application software more portable.Systems soft ware can be managed the dynamic connection of ancillary equipment and remove.This stage is called enumerates (enumeration), comprising communicating by letter with ancillary equipment and then finding that it should installed device drive, if should drive still uninstalled words.Each ancillary equipment all has been assigned with unique address during enumerating, for use in the data passes of run duration.At run duration, host PC starts the processing to certain peripherals, and each ancillary equipment is accepted its processing separately and correspondingly made response.In addition, host PC software is integrated into ancillary equipment in system's energy conservation mechanism, need not user intervention and can manage all system's energy.
Hub can be connected to additional ancillary equipment with the USB ancillary equipment and the energy of being managed.Hub can be discerned the dynamic connection of ancillary equipment, and provides the equipment energy for peripheral operation.The hub that can be new connection distributes unique address, and the hub of cascade at most can be up to for example five layers.At run duration, hub can be used as two action translator, also can be as required up cable to main frame transmit usb signal and at descending cable to the device forwards usb signal.
Can adopt USB ancillary equipment to ask to obtain the processing that host PC sends.Ancillary equipment can be made response to control and treatment, and for example, request obtains the details about equipment and configuration thereof.Ancillary equipment can utilize standard usb data form to main frame transmission data or from host receiving data.To/move and the interpretation of ancillary equipment from the normal data of PC main frame, promptly can be USB and bring very big flexibility, can change the software of PC main frame hardly.The transmission rate of USB 1.1 ancillary equipment is 12Mb/s or 1.5Mb/s.
USB 2.0 standards are developed by USB 1.1 standards, and more high performance interface can be provided.The connector of USB1.1 and full speed cable need not the USB 2.0 that any change can be supported higher rate.More high transfer rate is by consult to decide between equipment and the equipment, if certain ancillary equipment is not supported higher rate, then link is with the transmission rate operation that is lower than 12Mb/s or 1.5Mb/s of ancillary equipment decision.External USB 2.0 hubs may have different signaling rates on its each port.Use the 40x multiplier of USB 2.0, for high speed USB 2.0 ancillary equipment that connected, USB 2.0 hub input rates are that 480Mb/s and output speed are 480Mb/s; And for USB 1.1 ancillary equipment that connected, USB 2.0 hub input and output speed are 12Mb/s or 1.5Mb/s.USB 2.0 hubs can make the data rate that its downlink port sends and the suitable data rate of connected device be complementary.The more high data rate of USB 2.0 might provide new ancillary equipment, and for example, the performance that inserts high bandwidth rear video conference camera more can be better.
Systems soft ware can comprise the what's new of USB 2.0 ancillary equipment, can optimize its performance like this, detect the better configuration that sub-optimal configuration also recommends to connect this ancillary equipment, described sub-optimal configuration is USB 2.0 ancillary equipment that for example are connected on USB 1.1 hubs.USB 2.0 hubs can be used for receiving the high speed processing of higher frame rate, and they are transferred in high speed USB 2.0 ancillary equipment and USB 1.1 ancillary equipment.The data rate function may need to increase the complexity and the interim buffer memory input high-speed data of hub.Under situation that USB 2.0 ancillary equipment that have been connected are communicated by letter, hub is transmitted high speed signal at suitable USB 2.0 uplink and downlink cables.Can make USB 2.0 ancillary equipment can use most of bandwidth of USB 2.0 like this.
In order to communicate with USB 1.1 ancillary equipment, USB 2.0 hubs should comprise a kind of mechanism, and this mechanism is supported the coupling of data rate and downstream plant ability.This hub can be used for the conversion of managing data rate from the high speed of console controller to the low speed of USB 1.1 equipment.
USB device can be managed by local usb host controller and suitable host software, and then USB device is configured, operates, monitors and manages.But, support some USB device, can on this remote location, carry out USB and handle based on the local entity that sends signal to remote location in order to make the main frame that has limited local intelligent.For example, in client/server was provided with, wherein client computer was the intelligent terminal that has limited local processing capacity, supported that ancillary equipment provides flexibility but can be, as USB 1.1 ancillary equipment such as keyboard, mouse and printers.
With reference to accompanying drawing and the present invention hereinafter described, by the comparison of the present invention and traditional solution, those skilled in the art can more clearly understand the restriction and the shortcoming of traditional solution.
Summary of the invention
A kind of method and system of realizing USB 1.1 on high-speed link based on hardware can be in conjunction with shown at least one width of cloth accompanying drawing or described proving absolutely, and can obtain more complete description in the claims.
According to an aspect of the present invention, provide a kind of method that communicates by the bus interface in the network, this method comprises:
Client in the client server communication system, to be corresponding encapsulation usb protocol message comprising the usb protocol message translation of a USB standard, wherein, the client devices from the described client of described client/server communication system receives the described usb protocol message that comprises a described USB standard; And
The correspondence encapsulation usb protocol message of having translated described by network is sent to the server of server end of described client/server communication system from described client.
Preferably, a described USB form is USB 1.1.
Preferably, this method further is included on the described client devices and receives the described usb protocol message that comprises a described USB standard from described server, wherein from described server described usb protocol message that receive, that comprise a described USB standard before receiving by described client devices, translate from described the 2nd USB standard at the described server end of described client server communication system and to obtain.
Preferably, described the 2nd USB form is USB 2.0.
Preferably, described usb protocol message comprises from the described client devices of the described client of described client server communication system and receives a described USB standard that obtains, and described usb protocol message comprises affirmation (ACK) packet.
Preferably, the described correspondence encapsulation usb protocol message of translating of server that is sent to the described server end of described client server communication system from the described client of described client server communication system comprises affirmation (ACK) packet.
Preferably, described client devices comprises the USB interface that meets a described USB standard.
Preferably, described server comprises the USB interface that meets described the 2nd USB standard.
Preferably, this method comprises that further the correspondence encapsulation usb protocol message of having translated described by Ethernet is sent to the described server of described server end of described client-to-server communication system from described client.
Preferably, this method further comprises the described usb protocol message that comprises a described USB standard by Ethernet at described client devices from described server reception.
According to an aspect of the present invention, provide a kind of system that communicates by the bus interface in the network, this system comprises:
Be positioned at the processor of the client of client server communication system, the usb protocol message translation that is used for comprising a USB standard is corresponding encapsulation usb protocol message, and wherein the described client devices from the described client of described client/server communication system receives the described usb protocol message that obtains comprising a described USB standard; And
The described processor of the described client of described client server communication system can be used for described correspondence encapsulation usb protocol message of having translated is sent to the server of server end of described client service communication system from described client by network.
Preferably, a described USB form is USB 1.1.
Preferably, this system further comprises at least one client devices, be used for receiving the described usb protocol message that comprises a described USB standard from described server, wherein from described server described usb protocol message that receive, that comprise a described USB standard, before receiving, translate from described the 2nd USB standard at the described server end of described client server communication system and to obtain by described client devices.
Preferably, described the 2nd USB form is USB 2.0.
Preferably, described usb protocol message comprises from the described client devices of the described client of described client server communication system and receives a described USB standard that obtains, and described usb protocol message comprises affirmation (ACK) packet.
Preferably, the described correspondence encapsulation usb protocol message of translating of server that is sent to the described server end of described client server communication system from the described client of described client server communication system comprises affirmation (ACK) packet.
Preferably, described client devices comprises the USB interface that meets a described USB standard.
Preferably, described server comprises the USB interface that meets described the 2nd USB standard.
Preferably, the correspondence encapsulation usb protocol message of having translated described by Ethernet is sent to the described server of described server end of described client-to-server communication system from described client.
Preferably, this method further comprises the described usb protocol message that comprises a described USB standard by Ethernet at described client devices from described server reception.
Preferably, the described processor that is arranged in the described client of described client server communication system is used for the correspondence encapsulation usb protocol message that will translate is sent to the described server end of described client-to-server communication system from described client by Ethernet described server.
Preferably, described client devices receives the described usb protocol message that comprises a described USB standard by Ethernet from described server.
Preferably, the described processor that is positioned at the described client of described client server communication system is to handle transfer interpreter.
Hereinafter with accompanying drawing in, will further specify above-mentioned and other advantage of the present invention, innovative point and concrete
Embodiment.
Embodiment
On high-speed link, realize comprising aspect some of method and system of USB 1.1: client in the client server communication system based on hardware, to be corresponding encapsulation usb protocol message comprising the usb protocol message translation of a USB standard, wherein the client devices from the client of client/server communication system receives the usb protocol message that comprises a USB standard.The correspondence of having translated encapsulation usb protocol message is sent to the server of server end of client server communication system from client.Client devices can receive the usb protocol message that comprises a USB standard from server, wherein from server usb protocol message that receive, that comprise a USB standard, before receiving, translate from described the 2nd USB standard at the server end of client server communication system and to obtain by client devices.
At least can receive first packet from server.For example, first packet can be to begin to cut apart setting (start-split SETUP) packet.Receive begin to cut apart is provided with packet and is sent to the client hub after through encapsulation and handles transfer interpreter (CHTT).CHTT can be with first packet that receives, as bag is set, and is sent at least one USB (USB) 1.1 equipment.At least can receive second packet from server.CHTT can receive at least from first of at least one USB 1.1 equipment and confirm (ACK) bag.The one ACK bag can receive from CHTT and obtain and be sent to the server.
In an embodiment of the present invention, at USB 1.1 equipment that are connected to client computer be integrated on the high-speed link between USB 2.0 host computer systems in the server, in being provided with, client/server provide transparent hardware to connect.For purposes of illustration, typical high-speed link can comprise ethernet link, although the present invention is also unrestricted in this.Ethernet is based on the media interviews controlling mechanism of Carrier Sense Multiple Access/collision detection (CSMA/CD).In this, each equipment that is connected on the physical media such as network interface unit (NIC) etc. was monitored media before transfer data packets.If this media free time, then need the equipment of the information that transmits to begin to transmit.If clash, then computer will be retransmitted this information with the time interval at random.
Fig. 1 is the block diagram of typical customers machine/server configuration of the USB system that can be used in combination with the embodiment of the invention.As shown in Figure 1, USB system 100 comprises server 101, client devices 102 and ethernet link 105.Client devices 102 comprises the smart client terminal 103 that is connected to USB 1.1 EM equipment module 104.Ethernet link 105 links together server 101 and smart client terminal 103.Server 101 comprises main frame USB controller 106.
Server 101 comprises suitable logic, circuit and/or code, can be used for handling the various requests from client, as printing, or the access control of voice mail, Email and fax services etc.Server 101 also can be used for handling mass data.Server 101 comprises main frame USB controller 106.Main frame USB controller 106 can comprise suitable logic, circuit and/or code, can be used for being connected on a plurality of USB device.USB system 100 comprises console controller and a plurality of client devices that are connected in tree-like mode by particular hub equipment.According to the USB standard, the cascade hub of each controller mostly is 5 layers most.A console controller 106 can connect 127 equipment at most.
Client devices 102 comprises suitable logic, circuit and/or code, can be used for asking information or application from server 101.Client devices 102 comprises the smart client terminal 103 that is connected to USB 1.1 EM equipment module 104.Client terminal 103 comprises suitable logic, circuit and/or code, can be used for allowing USB 1.1 equipment 104 by the communication protocol access server 101 such as ethernet link 105.USB 1.1 EM equipment module 104 can comprise a plurality of USB 1.1 equipment, for example, and flash memory device, network camera, digital camera, modulator-demodulator, printer, scanner, mouse, keyboard or phone.
Under Client, client computer 102 can be sent service request to server 101, and server 101 satisfies request.In network, Client can provide a kind of mode easily, and the program that is distributed in the heterogeneous networks position is linked together.For example, check bank account from computer, the client-side program in the computer sends to server program in the bank with request.This client-side program can be accounting application program or web browser.Although client-side program can be successively request is sent in himself client-side program, this client-side program sends to database server in another banking computer to obtain the balance of account with this request.This remaining sum can be returned to the bank data client, and the bank client termination is got off and it can be turned back to the client of personal computer.In Client, the server 101 that can be described as daemon sometimes can be activated and wait for the request of client 102.A plurality of USB 1.1 customer equipments 104 can be shared the service of public server 101.Client 102 and server 101 can be the parts of more large program or application.
Between the usb host controller 106 in the server 101 of USB device module 104 that is connected to client device 102 and remote location virtual connection can be arranged.At a plurality of band difference in functionalitys of the support of keeping local entity and need not the local intelligent support and during the flexibility of the master control storehouse problem of processing remote position, owing to when sending signal, may go wrong extra time of delay.
In software solution, USB 1.1 equipment 104 can be communicated by letter with local USB 1.1 console controllers in the client computer 102, and device data can be relayed in the particular drive in the host server 101 by ethernet link 105 by software.In hardware solution, USB 1.1 equipment 104 can be realized virtual the connection with usb host controller 106 by specific hardware.If client functionality is independent of USB 1.1 equipment, server USB storehouse in the support that provides for local USB device without any need for change.
Fig. 2 is the block diagram of the single computer USB system that has USB 2.0 hubs that can be used in combination with embodiments of the invention.As shown in Figure 2, comprising server 201, USB 2.0 hubs 211 and USB 1.1 equipment 212.Server 201 comprises suitable logic, circuit and/or code, can be used for handling the various requests from client computer, for example, print, or the access control of voice mail, Email and fax services etc.Server 201 also can be used for handling mass data.USB 2.0 hubs 211 comprise suitable logic, circuit and/or code, can be used for increasing the USB port number on the personal computer (PC).USB 1.1 EM equipment module 212 can be flash memory device, network camera, digital camera, modulator-demodulator, printer, scanner, mouse, keyboard or phone.
USB system 200 can be used for several USB device 212 are connected in the console controller on the server 201 by a series of USB 2.0 hubs 211.USB device has relevant pipeline or logic channel with hub, and described pipeline or logic channel are connected to the logic entity on the equipment that is called end points from the console controller on the server 201.
Each end points can promptly be input to the output of equipment or slave unit, so each pipeline is unidirectional only by direction transmission data.All USB device have two such pipeline/end points at least, promptly are used for the end points 0 of the equipment on the control bus.Have on each equipment and be numbered 0 input and output pipeline.According to transport-type, these pipelines can be divided into four kinds of different types, i.e. control transmission, synchronous transmission, interruption transmission and bulk transfer.Control transmission can be used at the short and small of equipment and simple order, and from the condition responsive of bus control pipeline numbering 0.Can use synchronous transmission, have given pace to guarantee but the possibility obliterated data, as real-time voice or video.Interrupt transmitting the equipment that can be used for reliable response fast of needs or limited delay, for example, pointing device and keyboard.Bulk transfer can be used for a large amount of fragmentary transmission, can use all residual available bandwidth, but can not guarantee bandwidth or delay, for example, and file transfer.
The USB device 212 that is connected to bus has a device descriptor and one or more configuration descriptor.Each disposes descriptor one or more interface descriptor again, is used to some characteristic of the equipment of describing, and this equipment can be used for various objectives like this, and for example, camera can have the Voice ﹠ Video interface.These interface descriptor have the interface setting of an acquiescence again and have the setting of more replacement interfaces, and these interface settings have endpoint descriptor.End points can and be replaced between the interface setting and reuse at a plurality of interfaces.
If high-speed equipment is connected in the full speed hub, then its data rate will be reduced at full speed.High-speed hubs have and are called the specific function of handling transfer interpreter, full speed flow bus and low speed bus flow can be isolated from the high speed flow.Processing transfer interpreter in the High-speed hubs can play the complete independent function of bus at full speed of the full speed that connected and low-speed device.
Fig. 3 is according to embodiments of the invention, has the block diagram that the server end hub is handled single computer USB 2.0 systems of transfer interpreter (SHTT) and client hub processing transfer interpreter (CHTT).As shown in Figure 3, show USB system 300.USB system 300 comprises server 301, client 302, can be described as processor 321 and ethernet link 305 that the server end hub is handled transfer interpreter (SHTT).Client 302 comprises processor 322, smart client terminal 303 and USB 1.1 EM equipment module 312 that can be described as client hub processing transfer interpreter (CHTT).Server 301 connects 306 by USB and is connected among the SHTT321.SHTT 321 is connected to CHTT 322 by ethernet link 305.In an embodiment of the present invention, SHTT 321 equipment are arranged in the plug-in card of server 301 inside.
When USB 1.1 equipment 312 are connected to USB 2.0 host servers 301 by outside high speed (HS) hub, can use hub to handle transfer interpreter (HTT).In this, cut apart host-host protocol by use, HTT provides the function of USB 1.1 data traffics between USB 2.0 host servers 301 and USB 1.1 equipment 312 being carried out bridge joint.Cutting apart host-host protocol allows full speed and low-speed device to be connected in the hub of high-speed cruising.These transmission comprise console controller and hub, and invisible to equipment.By isolating two signal environments of USB 1.1 and USB 2.0, can prevent the high speed bandwidth operation of 312 couples of USB of USB 1.1 equipment, 2.0 host servers 301 to produce oppositely influence.
In embodiments of the present invention, the function of HTT may be partitioned into server and client side's two parts.Server section can be described as SHTT 321, and client part can be described as CHTT 322.The server end hub is handled transfer interpreter (SHTT) 321 and is comprised suitable logic, circuit and/or code, the encapsulation that can be used for receiving from server 301 is provided with packet, and the encapsulation that will receive is provided with packet and is sent among the CHTT 322 by network link.
The client hub is handled transfer interpreter (CHTT) 322 and is comprised suitable logic, circuit and/or code, the encapsulation that receives can be provided with packet and be sent at least one USB (USB) 1.1 equipment 312.CHTT 322 can be used for receiving first affirmation (ACK) bag from least one USB 1.1 equipment 312.SHTT 321 can be used for receiving the ACK bag from CHTT 322, and the ACK bag that SHTT 321 will receive is sent in the server 301.
USB 2.0 bus timings and the protocol requirement that are positioned at server 301 ends can be handled by SHTT 321.USB 1.1 bus timings and the protocol requirement that are positioned at client devices 302 ends can be handled by CHTT 322.USB 1.1 protocol datas between SHTT 321 and the CHTT 322 are encoded in the high-speed link as ethernet link 305 and transmit.
Fig. 4 is according to embodiments of the invention, typical USB 1.1 is provided with the flow chart of processing data packets in USB 2.0 hubs.As shown in Figure 4, comprising server 402, USB 2.0 hubs 404 and USB 1.1 equipment 406.Server 402 comprises suitable logic, circuit and/or code, can be used for handling the various requests from client, as printing, or the access control of voice mail, Email and fax services etc.USB 2.0 hubs 404 comprise suitable logic, circuit and/or code, can be used for increasing the USB port number on the personal computer (PC).USB 1.1 equipment 406 can be flash memory device, network camera, digital camera, modulator-demodulator, printer, scanner, mouse, keyboard or phone.
Host server 402 sends to begin to cut apart to USB 2.0 hubs 404 packet is set, and USB 2.0 hubs 404 are confirmed (ACK) bag to server 402 loopbacks.The packet that is provided with after USB 2.0 hubs 404 will encapsulate is relayed to USB 1.1 equipment 406 that are connected its downlink port.Then host server 402 sends to cut apart fully to USB 2.0 hubs 404 packet is set, and USB 2.0 hubs 404 are made response in one of two ways to this.When USB 1.1 equipment 406 receive after encapsulation is provided with bag, when USB 2.0 hubs 404 sent the ACK bag, USB 2.0 hubs 404 passed back to this ACK bag in the host server 402.Heretofore, USB 2.0 hubs 404 just return as yet not (NYET) affirmation bag to host server 402.Cut apart the response that bag is set fully as what the next one was received, USB 2.0 hubs 404 are after server 402 sends the ACK bag, and this cuts apart-set handling promptly finished.
Fig. 5 is according to embodiments of the invention, is having the flow chart that the server end hub is handled in USB 2.0 hubs of transfer interpreter (SHTT) and client hub processing transfer interpreter (CHTT), typical USB 1.1 is provided with processing data packets.As shown in Figure 5, comprising server 502, SHTT 504, CHTT 506 and USB 1.1 equipment 508.Server 502 comprises suitable logic, circuit and/or code, can be used for handling the various requests from client, as printing, or the access control of voice mail, Email and fax services etc.Server 502 connects by USB and links to each other with SHTT 504.SHTT 504 links to each other with CHHT 506 by ethernet link.USB 1.1 equipment 508 can be for example flash memory device, network camera, digital camera, modulator-demodulator, printer, scanner, mouse, keyboard or phone.
Host server 502 sends to begin to cut apart to SHTT 504 bag is set, and SHTT 504 confirms (ACK) bag to server 502 loopbacks.The packet that is provided with after SHTT 504 will encapsulate is relayed to CHTT506 by high-speed link.The packet that is provided with after CHTT 506 will encapsulate again is relayed to USB 1.1 equipment 508 that are connected its downlink port.Then host server 502 sends to cut apart fully to SHTT 504 packet is set, and SHTT 504 can return as yet not (NYET) to host server 502 and confirm bag.When USB 1.1 equipment 508 receive after encapsulation is provided with bag, when CHTT 506 sent the ACK bag, CHTT 506 passed back to SHTT 504 with this ACK bag.Heretofore, SHTT 504 just returns as yet not (NYET) affirmation bag to host server 502.Cut apart the response that bag is set fully as what the next one was received, SHTT 504 is after server 502 sends the ACK bag, and this cuts apart-set handling promptly finished.Because the delay issue that high-speed link causes can be handled by cutting apart host-host protocol, this agreement can come to SHTT transmission signal and CHTT main frame to equipment transmission Signal Spacing.
Fig. 6 is an exemplary steps flow chart of realizing USB 1.1 according to embodiments of the invention, on high-speed link based on hardware.As shown in Figure 6, this flow process starts from step 602.In step 604, the hub that is positioned at server end is handled transfer interpreter (SHTT) and is received beginning to cut apart packet is set from server.In step 606, as beginning to cut apart the response that packet is set to receiving from server, SHTT sends to server and confirms (ACK) bag.In step 608, what encapsulated is provided with bag and can handles transfer interpreter (CHTT) by the client hub and be sent to the client devices from SHTT.In step 610, SHTT receives from cutting apart fully of server bag being set.In step 612, judge whether SHTT receives the ACK bag that client devices returns by CHTT, and this ACK bag is the response that bag is set to encapsulating.If SHTT does not receive that as yet the encapsulation to having transmitted that client devices returns by CHTT is provided with the ACK bag that bag is made response, control then forwards step 614 to.In step 614, SHTT sends as yet not (NYET) bag to server, illustrates that SHTT does not receive that as yet client devices returns the ACK bag by CHTT, and this ACK bag is the response that the encapsulation that has sent is provided with bag.If SHTT has received that the encapsulation to having transmitted that client devices returns by CHTT is provided with the ACK bag of making response of bag, control then forwards step 616 to.In step 616, SHTT sends the ACK bag that is received to server, illustrates to finish and cuts apart-set handling.Enter end step 618 at last.
Another embodiment of the present invention provides a kind of machine readable storage, wherein preserved computer program, this program comprise at least one section can be by the code of machine operation, thereby make machine carry out the aforesaid step that on high-speed link, realizes USB 1.1 based on hardware.
According to embodiments of the invention, the client process transfer interpreter that in network, can comprise client-to-server communication system 300 by the system of bus interface communication, for example, the usb protocol message translation that will comprise a USB standard is the corresponding CHTT 322 that has encapsulated usb protocol message, and wherein the client devices from the client of client/server communication system 300 receives the usb protocol message that comprises a USB standard.Be positioned at the processing transfer interpreter of the client of client-to-server communication system 300, for example CHTT 322, the correspondence encapsulation usb protocol message of having translated is sent to server from client, for example, is positioned at the server 301 of the server end of client-to-server communication system 300.
At least one client devices, as USB 1.1 equipment 312, can be used for from server,, receive the usb protocol message that comprises a USB standard as server 301, wherein, from server,, receive the usb protocol message that comprises a USB standard that obtains as server 301, before receiving, translate from described the 2nd USB standard at the server end of client server communication system 300 and to obtain by client devices such as USB 1.1 equipment 312.The one USB form is USB 1.1.The 2nd USB form is USB 2.0.
From client devices, as, be positioned at USB 1.1 equipment 312 of the client of client-to-server communication system 300, receive the usb protocol message that comprises a USB standard that obtains and comprise that affirmations (ACK) wrap.The correspondence of having translated the encapsulation usb protocol message that comprises the 2nd USB standard, be sent to the server of the server end that is positioned at client-to-server communication system 300 from the client of client-to-server communication system 300, as server 301, this message comprises affirmation (ACK) bag.Client devices as USB 1.1 equipment 312, comprises the USB interface that meets USB 1.1 standards.Server as server 301, comprises the USB interface that meets USB 2.0 standards.Be positioned at the processing transfer interpreter of the client of client-to-server communication system 300, as CHTT312, the correspondence of having translated the encapsulation usb protocol message that can be used for comprising the USB2.0 standard is sent to the server of the server end of client-to-server communication system 300 by ethernet link 305 from the client of client-to-server communication system 300, as server 301.Client devices as USB 1.1 equipment 312, can be used for receiving the usb protocol message that comprises the USB1.1 standard by ethernet link 305 from server such as server 301.
According to embodiments of the invention, realize that USB (USB) method for communicating and system can comprise server end hub processing transfer interpreter (SHTT), for example SHTT 321, and SHTT 321 can receive first packet from server 301 at least.For example, first packet can be to begin to cut apart packet is set.SHTT321 can be sent to client hub processing transfer interpreter (CHTT) with encapsulating to be provided with to wrap, as CHTT 322.CHTT 322 can be provided with the encapsulation that receives bag and be sent at least one USB (USB) 1.1 equipment 312.SHTT 321 can receive second packet at least from server 301.CHTT 322 can receive first from least one USB 1.1 equipment 312 at least and confirm (ACK) bag.SHTT 321 can be used for receiving first affirmation (ACK) bag from CHTT 322, and the ACK that SHTT 321 will receive bag is sent in the server 301.
SHTT 321 can transmit the 2nd ACK bag at least, and the 2nd ACK bag is to from first packet that has received of server 301 or the response that bag is set that has encapsulated.SHTT 321 can receive second packet, as, response transmission the 2nd ACK bag, from the end of server 301-cut apart bag is set.Be second packet that received of response, as finish-cut apart to be provided with bag that SHTT 321 can transmit at least one as yet not (NYET) bag to server 301.SHTT 321 can receive first packet or encapsulate from server bag is set by the USB link.SHTT 321 can receive second packet or end-cut apart from server by the USB link bag is set.
SHTT 321 can be sent to server 301 by the ACK bag that the USB link will receive.CHTT322 can be sent to by first packet that ethernet link has received at least a portion in USB 1.1 equipment 312.CHTT 322 can wrap by the ACK that for example ethernet link receives from USB 1.1 equipment 312.Make response to receive ACK bag from CHTT 322, SHTT 321 can be sent to server 301 with the ACK bag that is received.If do not receive the ACK bag from CHTT 322 as yet, then SHTT 321 can transmit at least one as yet not (NYET) ACK bag to server 301.
Therefore, the present invention can realize by hardware, software or soft, combination of hardware.The present invention can realize with centralized system at least one computer system, perhaps be realized with dispersing mode by the different piece in the computer system that is distributed in several interconnection.Anyly can realize that the computer system of described method or miscellaneous equipment all are applicatory.The combination of software and hardware commonly used can be the general-purpose computing system that computer program is installed, and by installing and carry out described program-con-trolled computer system, it is moved by described method.In computer system, utilize processor and memory cell to realize described method.
The present invention can also implement by computer program, and described program comprises whole features that can realize the inventive method, when it is installed in the computer system, by operation, can realize method of the present invention.Computer program in the presents refers to: one group of any expression formula of instructing that can adopt any program language, code or symbol to write, this instruction group makes system have information processing capability, with direct realization specific function, or after carrying out following one or two step, a) convert other Languages, coding or symbol to; B) reproduce with different forms, realize specific function.
Though the present invention describes by several specific embodiments, it will be appreciated by those skilled in the art that, without departing from the present invention, can also carry out various conversion and be equal to alternative the present invention.In addition, at particular condition or concrete condition, can make various modifications to the present invention, and not depart from the scope of the present invention.Therefore, the present invention is not limited to disclosed specific embodiment, and should comprise the whole execution modes that fall in the claim scope of the present invention.