CN108132900A - Interconnecting device, telecommunication system and data transmission method - Google Patents
Interconnecting device, telecommunication system and data transmission method Download PDFInfo
- Publication number
- CN108132900A CN108132900A CN201711107652.5A CN201711107652A CN108132900A CN 108132900 A CN108132900 A CN 108132900A CN 201711107652 A CN201711107652 A CN 201711107652A CN 108132900 A CN108132900 A CN 108132900A
- Authority
- CN
- China
- Prior art keywords
- equipment
- mentioned
- client device
- host
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/382—Information transfer, e.g. on bus using universal interface adapter
- G06F13/387—Information transfer, e.g. on bus using universal interface adapter for adaptation of different data processing systems to different peripheral devices, e.g. protocol converters for incompatible systems, open system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
- G06F13/4282—Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of interconnecting device, telecommunication system and data transmission methods.Wherein, which includes:High-speed peripheral component interconnects PCIe interface, for providing the communication interface with host equipment;Conversion circuit, for the specified message of the client device received to be converted to the action event of general-purpose serial bus USB input equipment, wherein, above-mentioned specified message is used for the information incoming event for reflecting above-mentioned client device;Above-mentioned USB input equipment is connect with above-mentioned conversion circuit and above-mentioned PCIe interface, for aforesaid operations event to be sent to above-mentioned host equipment by above-mentioned PCIe interface.The present invention solves existing USB and zooms out scheme, there is technical issues that control mode is cumbersome and safety and stability.
Description
Technical field
The present invention relates to field of communication technology, in particular to a kind of interconnecting device, telecommunication system and data
Transmission method.
Background technology
With the continuous development of computer technology, the equipment such as personal data or graphic remote work station, data center are got over
Come more complicated, lead to the display of equipment and input control apparatus needs USB device to cover extremely complex application scenarios, expedite the emergence of
The demand that universal serial bus (Universal Serial Bus, referred to as USB) interface equipment zooms out.So-called USB interface is set
It is standby to zoom out, refer to that the USB device by local (client) is mounted to the computer of distal end (host side).
In the application scenarios assisted in remote multi-party, for example, remote comprehensive command centre, Multi-Party Conference collaboration is personal remote
Journey work station, M*N network cooperatings etc., zero-configuration client or thin-client need to send mouse-keyboard class message simultaneously, to realize
The multiple far-end servers of Synchronization Control, and it is further desired that ensureing mouse-keyboard class message seamless switching on multiple servers;With
And far-end server can receive the mouse-keyboard class message of multiple zero-configuration clients or thin-client simultaneously.
The solution that the following two kinds that current USB device provides zooms out, that is, VNC companies and VMware companies carry
The USBOIP schemes of confession, wherein:The USBOIP schemes that VNC is provided, need to install VNC respectively in server and client side
Server softwares and VNC view softwares;The USBOIP schemes that VMware is provided, are zoomed out in a manner of virtual machine, to clothes
Business device end hardware requirement is very high, and needs to install VMware softwares in remote work station.From the foregoing, it will be observed that above two solves
Scheme needs install software in remote work station, need to occupy the more system resource of remote work station, and dispose more
Difficulty due to increasing additional load in server end, leads to the safety of server data to reduce, and need in host
End repeats carry mouse-keyboard equipment, and control mode is cumbersome and system is unstable, and there are the risks of the confidential data loss of client.
Scheme is zoomed out for above-mentioned existing USB, cumbersome there are control mode and relatively low safety and stability asks
Topic, currently no effective solution has been proposed.
Invention content
An embodiment of the present invention provides a kind of interconnecting device, telecommunication system and data transmission method, at least to solve
Certainly existing USB zooms out scheme, there is technical issues that control mode is cumbersome and safety and stability.
One side according to embodiments of the present invention provides a kind of interconnecting device, including:High-speed peripheral component interconnects
PCIe interface (Peripheral Component Interconnect, referred to as PCI), it is logical with host equipment for providing
Believe interface;Conversion circuit sets for the specified message of the client device received to be converted to general-purpose serial bus USB input
Standby action event, wherein, above-mentioned specified message is used for the information incoming event for reflecting above-mentioned client device;Above-mentioned USB is defeated
Enter equipment, connect with above-mentioned conversion circuit and above-mentioned PCIe interface, for aforesaid operations event to be sent out by above-mentioned PCIe interface
It send to above-mentioned host equipment.
Another aspect according to embodiments of the present invention additionally provides a kind of telecommunication system, including:At least one host
Equipment;Interconnecting device, the interconnecting device interconnecting device above-mentioned for any one, also, above-mentioned interconnecting device passes through high-speed peripheral
Component interconnection PCIe interface is connect with above-mentioned at least one host equipment;At least one client device, with above-mentioned interconnecting device
Connection, the data sent for receiving above-mentioned at least one host equipment by above-mentioned interconnecting device and/or, pass through above-mentioned turn
Equipment is connect to above-mentioned at least one host equipment transmission data.
Another aspect according to embodiments of the present invention, and a kind of data transmission method is provided, including:It receives at least one
The specified message that client device is sent;The above-mentioned specified message received is converted to the action event of USB input equipment,
In, above-mentioned specified message is used for the information incoming event for reflecting above-mentioned at least one client device;It is set by above-mentioned USB inputs
It is standby that aforesaid operations event is sent at least one host equipment.
In embodiments of the present invention, PCIe interface is interconnected by high-speed peripheral component, it is logical with host equipment for providing
Believe interface;Conversion circuit sets for the specified message of the client device received to be converted to general-purpose serial bus USB input
Standby action event, above-mentioned USB input equipment are connect with above-mentioned conversion circuit and above-mentioned PCIe interface, for by aforesaid operations
Event is sent to above-mentioned host equipment by above-mentioned PCIe interface, since interconnecting device is by PCIE interface access hosts, is not required to
Additional software to be installed on host, so as to fulfill the communication of client and host, and then realize that USB device zooms out it is logical
Letter, due to being carried out when USB device zooms out communication using above-mentioned interconnecting device, to the software and hardware of host, there is no limit and then solve
Existing USB zooms out scheme, there is technical issues that control mode is cumbersome and safety and stability.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and forms the part of the application, this hair
Bright illustrative embodiments and their description do not constitute improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is a kind of structure diagram of interconnecting device according to embodiments of the present invention;
Fig. 2 a are a kind of structure diagrams of optional interconnecting device according to embodiments of the present invention;
Fig. 2 b are the structure diagrams of the optional interconnecting device of another kind according to embodiments of the present invention;
Fig. 3 is a kind of structure diagram of optional interconnecting device according to embodiments of the present invention;
Fig. 4 is a kind of step flow chart of data transmission method according to embodiments of the present invention;
Fig. 5 is a kind of structure diagram of data transmission device according to embodiments of the present invention;
Fig. 6 is a kind of structure diagram of telecommunication system according to embodiments of the present invention;
Fig. 7 is the structure diagram that principle is zoomed out according to a kind of network of the embodiment of the present application;
Fig. 8 is the structure diagram according to a kind of optional client device of the embodiment of the present application;
Fig. 9 is the control flow schematic diagram according to a kind of optional host side of the embodiment of the present application;And
Figure 10 is the control flow schematic diagram according to a kind of optional client of the embodiment of the present application.
Specific embodiment
In order to which those skilled in the art is made to more fully understand the present invention program, below in conjunction in the embodiment of the present invention
The technical solution in the embodiment of the present invention is clearly and completely described in attached drawing, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
Member's all other embodiments obtained without making creative work should all belong to the model that the present invention protects
It encloses.
It should be noted that term " first " in description and claims of this specification and above-mentioned attached drawing, "
Two " etc. be the object for distinguishing similar, and specific sequence or precedence are described without being used for.It should be appreciated that it uses in this way
Data can be interchanged in the appropriate case, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " comprising " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, be not necessarily limited to for example, containing the process of series of steps or unit, method, system, product or equipment
Those steps or unit clearly listed, but may include not listing clearly or for these processes, method, product
Or the intrinsic other steps of equipment or unit.
The embodiment of the present application for ease of understanding is as follows by explanation of technical terms involved in the embodiment of the present application below:
URB:The data structure that USB drivings are realized in linux kernel;
Operation note (operation regs):Operation note as defined in EHCI agreements, to EHCI USB controllers
The interface controlled;
USB transmission descriptor list:transaction descriptors set up in main memory by
usb system software,figure。
PCIE interfaces:Refer to a kind of point-to-point serial connection interface, each equipment has special connection, without to entire total
Line bandwidth on demand, double either simplex connections can provide higher message transmission rate and quality.
Embodiment 1
According to embodiments of the present invention, a kind of embodiment of interconnecting device is provided, Fig. 1 is according to embodiments of the present invention one
The structure diagram of kind interconnecting device, as shown in Figure 1, the interconnecting device includes:High-speed peripheral component interconnection PCIe interface 11 turns
Circuit 13, USB input equipment 15 are changed, wherein,
High-speed peripheral component interconnects PCIe interface 11, for providing the communication interface with host equipment;Conversion circuit 13 is used
In the action event that the specified message of the client device received is converted to general-purpose serial bus USB input equipment, wherein,
Above-mentioned specified message is used for the information incoming event for reflecting above-mentioned client device;Above-mentioned USB input equipment 15, with above-mentioned conversion
Circuit is connected with above-mentioned PCIe interface, for aforesaid operations event to be sent to above-mentioned host equipment by above-mentioned PCIe interface.
In embodiments of the present invention, PCIe interface is interconnected by high-speed peripheral component, it is logical with host equipment for providing
Believe interface;Conversion circuit sets for the specified message of the client device received to be converted to general-purpose serial bus USB input
Standby action event, above-mentioned USB input equipment are connect with above-mentioned conversion circuit and above-mentioned PCIe interface, for by aforesaid operations
Event is sent to above-mentioned host equipment by above-mentioned PCIe interface, since interconnecting device is by PCIE interface access hosts, and
USB input equipment in interconnecting device is set, does not need to that additional software is installed on host, so as to fulfill client and host
Communication, and then realizes the communication that USB device zooms out, due to being carried out when USB device zooms out communication pair using above-mentioned interconnecting device
The software and hardware of host there is no limit, and then solve existing USB and zoom out scheme, and safety cumbersome there are control mode and steady
The technical issues of qualitative relatively low.
In a kind of optional embodiment, the above-mentioned interconnecting device that the application provides can be, but not limited to protocol conversion bridge joint
Card, above-mentioned protocol conversion bridge joint card initialize all hardware of HOST end main frames after the power is turned on by PCIE interface access hosts.
The transfer process of above-mentioned interconnecting device can show as the mapping according to USB transmission descriptor information and URB data
Relationship obtains the data of URB forms.Wherein, USB transmission descriptor information can be the information in USB transmission descriptor list.
Above-mentioned protocol conversion bridge joint card can read usb data descriptor chained list, and the specified message of the client device received is turned
The action event of general-purpose serial bus USB input equipment is changed to, and according to usb data descriptor state, by aforesaid operations event
USB key disc apparatus (keyBoard), USB mouse equipment (Mouse), USB HUB modules are submitted to respectively, and according to the state of execution
Usb data descriptor chained list (101) state of modification.
It should be noted that the above-mentioned interconnecting device of the application can support multiple client equipment (for example, zero client simultaneously
End or thin-client) the control to host of mouse and keyboard;The mouse and keyboard of multiple client equipment can also be simultaneously
Multiple servers are controlled, also, without repeating carry mouse device and keyboard equipment on each host so that control is cleverer
Living, system is more stablized, and user experience is more preferable.
In a kind of optional embodiment, aforesaid operations event includes:KeyEvent and mouse event.
Above-mentioned USB input equipment includes at least one of:Keyboard input devices send for receiving above-mentioned conversion circuit
Aforesaid operations event in KeyEvent, and above-mentioned KeyEvent is sent to above-mentioned host equipment;Mouse input device is used
Mouse event in the aforesaid operations event for receiving above-mentioned conversion circuit transmission, and above-mentioned mouse event is sent to above-mentioned master
Machine equipment.
In above-mentioned optional embodiment, above-mentioned keyboard input devices (USB key disc apparatus) is are solidificated in host side agreement
QWERTY keyboard input equipment in translational bridging card, after host enumerates the keyboard input devices, the keyboard of client device
Input events are input to host by the QWERTY keyboard input equipment, and then achieve the purpose that control host.Above-mentioned mouse input
Equipment (USB mouse equipment) is the standard mouse input equipment being solidificated in host side protocol conversion bridge joint card, is enumerated in host
After the mouse input device, the mouse type Input events of client device are input to master by the standard mouse input equipment
Machine, and then achieve the purpose that control host.
In an alternative embodiment, above-mentioned interconnecting device further includes:USB HUB modules, for providing multiple USB
Interface.Also, above-mentioned USB HUB modules, can also simulate the hot plug events of USB device, complete to USB mouse and USB key
The hot plug management of disc apparatus.
In a kind of optional embodiment, above-mentioned interconnecting device further includes:Network control module is set with above-mentioned client
It is standby to be connected with above-mentioned conversion circuit, for receiving the network packet that above-mentioned client device is sent, and by above-mentioned network data
Above-mentioned specified message in packet is transmitted to above-mentioned conversion circuit.
Interconnecting device provided by the embodiments of the present application is as the communication bridge between host and client device, with client
End equipment is communicated by network, which can show as different realization methods according to the difference of usage scenario, for example,
It can be Ethernet, local area network etc..
Fig. 2 a are a kind of structure diagrams of optional interconnecting device according to embodiments of the present invention, as shown in Figure 2 a, on
Interconnecting device is stated, is further included:Controller 17, for receiving the setting address from above-mentioned host equipment by above-mentioned PCIe interface
It instructs and the address with the client device of above-mentioned host devices communication is determined according to above-mentioned setting address instruction.
It should be noted that a controller 17 is only schematically drawn in attached drawing, in fact, the setting of the controller 17
Number can be one, or multiple, i.e. a controller corresponds to a function or a controller realization is multiple
Function is flexibly determined with specific reference to actual conditions.
As a kind of optional embodiment, above controller 17 is additionally operable to enumerate above-mentioned USB inputs in above-mentioned host equipment
During equipment, the information of local USB input equipment is returned to above-mentioned host equipment.I.e. controller is enumerating USB inputs
During equipment, according to the direct returning equipment information of existing USB input equipment information.
In addition, in the embodiment of the present application, above-mentioned conversion circuit is additionally operable to set from above-mentioned host by above-mentioned PCIe interface
It is standby to read general-purpose serial bus USB transmission descriptor information, and above-mentioned USB transmission descriptor information is converted into USB request blocks
URB forms obtain the first data, and pass through transmission circuit and send above-mentioned first data to above-mentioned client device.
By using technical solution provided by the embodiments of the present application, USB can be solved and zoom out scheme asking there are limitation
Topic, such as needs installation of drive software, hardware configuration is required or limited transmission distance.
In the above-described embodiments, above-mentioned transfer process can show as utilizing USB transmission descriptor information and URB data
Mapping relations obtain the data of above-mentioned URB forms, i.e. the first data.Wherein, USB transmission descriptor information can be USB transmission
Information in descriptor list.That is, the interconnecting device in the embodiment of the present application can not only realize client device to host
The data of equipment are sent, and the data that can also realize host equipment to client device are sent.
It should be noted that each component part shown in Fig. 1,2a and 2b in interconnecting device can be in identical product
Structure, or separately positioned component.For the former, in one alternate embodiment, Fig. 2 b are according to of the invention real
The structure diagram of the optional interconnecting device of another kind of example is applied, as shown in Figure 2 b, interconnecting device further includes a housing 1, should
Housing 1 is internally provided with above-mentioned PCIe interface 11, conversion circuit 13, USB input equipment 15 and controller 17.
Fig. 3 is according to the structure diagram of the optional interconnecting device of another kind of the embodiment of the present application, as shown in figure 3, should
Interconnecting device (namely protocol conversion bridge joint card 3) includes:PCIe interface 30, operation note processing module (301), host data
Read-write processing module and data conversion module (300), USB device enumeration processing module (302), message are converted to mouse-keyboard thing
Part module (303), USB key disc apparatus (304), USB mouse equipment (305), USB HUB modules 306 and network control module
307。
Wherein, aforesaid operations register processing module (301), USB device enumeration processing module (302), message is converted to
Mouse-keyboard event module (303), USB key disc apparatus (304), USB mouse equipment (305) are equivalent to the control in Fig. 2 a and Fig. 2 b
Device 17 processed can realize the function of above controller 17.
As a kind of optional embodiment, operation note processing module (301) is configured according to the state of access USB device
EHCI/OHCI operation notes, host complete enumerating and lead to USB device by reading and being configured the state of operation note
Letter, wherein, host specifies the usb data descriptor chained list (101) in host system storage unit by operation note
Entry reference;The chain table pointer that host data reads and writes processing module and data conversion module (300) is provided according to operation note,
Read usb data descriptor chained list (101), according to usb data descriptor state submit to respectively USB key disc apparatus (304),
USB mouse equipment (305), USB HUB modules (306), and according to execution status modifier usb data descriptor chained list (101) shape
State;USB device enumeration processing module (302), when host enumerates equipment, which is configured device address according to host
(set address) order, record host assignment to USB device address, and be supplied to host data read-write processing module and
Data conversion module (300), for distinguishing usb data descriptor;Network control module (307) receives the net of client device
Network data packet 102, and the message of the client device is converted into Input message;Message is converted to mouse-keyboard event module
(303) the Input events of each client device received by network are converted into KeyEvent and mouse event, and respectively
It is transmitted to USB key disc apparatus (304) and USB mouse equipment (305).In addition, above-mentioned device at host machine end can be station device,
Data center, PC equipment etc..
It should be noted that the concrete structure of interconnecting device is only signal shown in Fig. 1 to Fig. 3 in the application, having
Body is in application, the interconnecting device in the application can have more than interconnecting device shown in Fig. 1 to Fig. 3 or few structure.
Embodiment 2
According to embodiments of the present invention, a kind of data transmission method embodiment is provided, it should be noted that in the stream of attached drawing
The step of journey illustrates can perform in the computer system of such as a group of computer-executable instructions, although also, flowing
Logical order is shown in journey figure, but in some cases, can be performed with the sequence being different from herein shown or described by
The step of.
Data transmission method provided in this embodiment can run in interconnecting device shown in Fig. 1 to Fig. 3, but be not limited to
This.Fig. 4 is the flow chart according to a kind of optional data transmission method of the embodiment of the present application.As shown in figure 4, this method packet
It includes:
Step S402 receives the specified message that at least one client device is sent;
The above-mentioned specified message received is converted to the action event of USB input equipment by step S404, wherein, it is above-mentioned
Specified message is used for the information incoming event for reflecting above-mentioned at least one client device;
Aforesaid operations event is sent at least one host equipment by step S406 by above-mentioned USB input equipment.
In embodiments of the present invention, the specified message sent by receiving at least one client device;By what is received
Above-mentioned specified message is converted to the action event of USB input equipment, is sent aforesaid operations event by above-mentioned USB input equipment
To at least one host equipment, since interconnecting device is by PCIE interface access hosts, and USB is set to input in interconnecting device
Equipment does not need to install additional software on host, so as to fulfill the communication of client and host, and then realizes USB and sets
The standby communication zoomed out, due to using above-mentioned interconnecting device carry out when USB device zooms out communication to the software and hardware of host there is no limit,
And then solve existing USB and zoom out scheme, there is technical issues that control mode is cumbersome and safety and stability.
In the above embodiments of the present application, the specified message that at least one client device is sent is received, including:In reception
State the network packet that at least one client device is sent;Obtain the above-mentioned specified message in above-mentioned network packet.
Further, before the specified message that at least one client device is sent is received, the above method further includes:It connects
The setting address instruction that above-mentioned at least one host equipment is sent is received, wherein, above-mentioned at least one host equipment is outer by high speed
If component interconnection PCIe interface sends above-mentioned setting address instruction;According to above-mentioned setting address instruction determine with it is above-mentioned at least one
The address of at least one client device of host devices communication.
In one alternate embodiment, the setting address from above-mentioned host equipment is received by above-mentioned PCIe interface to refer to
It enables and determines the address to communicate with above-mentioned client device according to above-mentioned setting address instruction.Its address style can be with
For IP address, but not limited to this.
As the alternative embodiment of the application, receive specified message that at least one client device sends it
Before, the above method further includes:It triggers above-mentioned at least one host equipment and enumerates local USB input equipment;Above-mentioned at least one
During host equipment enumerates local USB input equipment, return to local USB inputs to above-mentioned at least one host equipment and set
Standby information.
In one alternate embodiment, in the letter that local USB input equipment is returned to above-mentioned at least one host equipment
Before breath, the above method further includes:The connection status of above-mentioned USB input equipment is detected, wherein, above-mentioned connection status includes following
At least one:Above-mentioned USB input equipment accesses above-mentioned at least one client device, and above-mentioned USB input equipment does not access above-mentioned
At least one client device;The information of above-mentioned USB input equipment is determined according to above-mentioned connection status.
In one alternate embodiment, the access state that above-mentioned client device accesses USB device is detected, wherein, on
It states access state and includes at least one of:Above-mentioned USB device accesses above-mentioned client device, above-mentioned USB device disconnect with it is upper
State the connection of client device;Above-mentioned existing USB device information is updated according to above-mentioned access state.Wherein, above-mentioned " update "
Including but not limited to:Modification is deleted, addition.
It should be noted that the executive agent of above-mentioned each step can be interconnecting device, but not limited to this.
The embodiment of the present application also provides a kind of data transmission device, which is used to implement the above method, and Fig. 5 is according to this
Apply for a kind of structure diagram of data transmission device of embodiment, as shown in figure 5, the device includes:Receiving module 50, modulus of conversion
Block 52 and sending module 54, wherein,
Receiving module 50, for receiving the specified message that at least one client device is sent;Modular converter 52, for inciting somebody to action
The above-mentioned specified message received is converted to the action event of USB input equipment, wherein, above-mentioned specified message is above-mentioned for reflecting
The information incoming event of at least one client device;Sending module 54, for by above-mentioned USB input equipment by aforesaid operations
Event is sent at least one host equipment.
Herein it should be noted that above-mentioned receiving module 50, modular converter 52 and sending module 54 correspond in embodiment 2
Step S402 to step S406, above-mentioned module is identical with example and application scenarios that corresponding step is realized, but is not limited to
1 disclosure of that of above-described embodiment.It should be noted that above-mentioned module may operate in computer as a part for device
In terminal.
It should be noted that the optional or preferred embodiment of the present embodiment may refer to above-described embodiment 1 and method is real
The associated description in example is applied, details are not described herein again.
Embodiment 3
According to embodiments of the present invention, a kind of embodiment of telecommunication system is provided, Fig. 6 is according to embodiments of the present invention
A kind of telecommunication system structure diagram, as shown in fig. 6, the telecommunication system includes:
At least one host equipment 60 (Fig. 6 only schematically draws one);Interconnecting device 62, the interconnecting device 62 are above-mentioned
The interconnecting device of any one of embodiment 1, also, above-mentioned interconnecting device 62 by high-speed peripheral component interconnect PCIe interface with it is upper
At least one host equipment 60 is stated to connect;At least one client device 64 (Fig. 6 only schematically draws one), with above-mentioned switching
Equipment 62 connects, the data that send for receiving above-mentioned at least one host equipment 60 by above-mentioned interconnecting device 62 and/or,
By above-mentioned interconnecting device 62 to above-mentioned at least one 60 transmission data of host equipment.
In one alternate embodiment, above system can also include HUB equipment 306, the HUB equipment 306 and at least one
A host equipment 60 connects, for accessing at least one client device 64.
Fig. 7 is the structure diagram that principle is zoomed out according to a kind of network of the embodiment of the present application, as shown in fig. 7, multiple masters
The host side protocol conversion bridge joint card (3) of generator terminal (HOST1 ends, HOST2 ends) is respectively connected to different works by pci interface (30)
It stands or data center, multiple Client ends (Client_1 ends, Client_2 ends ... Client_n ends) is same by network
When link with the protocol conversion at multiple main frames end (HOST1 ends, HOST2 ends) bridge joint card (3), complete the mouse that multiple client accesses
Marking device and keyboard equipment zoom out work station or the data center at multiple main frames end (HOST1 ends, HOST2 ends) by network
On.
Fig. 8 is according to a kind of structure diagram of optional client device of the embodiment of the present application, as shown in figure 8, mouse
Mark keyboard kind equipment zooms out client and includes:Net control facility reason module (501), the Input message of capture systems Input components
Module (502), active window management module (503), mouse type Input message adjustment module (504), message distribution module
(505), device drives (506).
As a kind of optional embodiment, specified message interface is provided on above-mentioned at least one client device, it is above-mentioned
At least one client device is additionally operable to obtain the specified message of system assignment component by above-mentioned specified message interface, wherein,
Above-mentioned specified message is used for the information incoming event for reflecting above-mentioned at least one client device.
Wherein, can be setting of including of general computer or embedded system as shown in figure 8, above equipment driving (506)
Standby driving can complete enumerating and driving to equipment, and provide a general purpose I nput message interface to system Input components.
In a kind of optional embodiment, above-mentioned at least one client device 64 is additionally operable to through system api interface letter
Number obtains the active window for meeting preset condition, and connects and set at least one host of the above-mentioned active window there are correspondence
It is standby.
Still as shown in figure 8, the Input message modules (502) of above-mentioned capture systems Input components, pass through system api interface
The Input message of function capture systems Input components, and the event of mouse and keyboard is extracted, form the mouse and key of standard
Disk event;Active window management module (503) obtains current active window or the page most by system api interface function
Parent window, and find out the corresponding host connection of the window.
In a kind of optional embodiment, above-mentioned at least one client device 64 is additionally operable to according to above-mentioned active window
The size of mouth adjusts mouse type message in above-mentioned specified message;Above-mentioned at least one client device 64 is additionally operable to determine above-mentioned
The specified message of active window, and will be on above-mentioned specified message distribution to the corresponding network link of above-mentioned active window.
Still as shown in figure 8, Input message adjustment module (504), mouse type is adjusted according to current hosts end window size
The ratio of Input message;Message distribution module (505), according to active window management module (503) provide host connection and
The mouse-keyboard event that Input events adjustment module (504) provides is sent to corresponding chain road in network control module;Net
Network control process module (501) keeps the network linking with each host, when active window free switching, mouse and keyboard
Event directly can transmit mouse and KeyEvent data by the current network linking of active window.
Fig. 9 is according to a kind of control flow schematic diagram of optional host side of the embodiment of the present application, as shown in figure 9, should
Flow includes:
1st, host side protocol conversion bridge joint card insertion enters HOST end main frames, power-up initializing all hardware;
2nd, host side protocol conversion bridge joint cartoon knows that host enumerates USB HUB equipment;
3rd, USB HUB equipment notice host has new equipment access;
4th, HOST end main frames enumerate standard USB Mouse equipment (USB mouse equipment);
5th, HOST end main frames enumerate standard USB KeyBoard equipment (USB key disc apparatus);
6th, network control module is established and initializes network service, waits for Client accesses;
7th, the network connection of Client ends is judged whether there is;
It should be noted that after there are Client request connections, current link is kept, and waits for and establishes new Client companies
It connects, wherein, above-mentioned HOST end main frames agreement bridge joint card can support the access of multiple Client simultaneously.
8th, Client ends is waited for send Input message;
9th, when the Input message for receiving the transmission of any one Client end, (message is converted to mouse-keyboard to converted module
Event module), the Input message received is converted into mouse event or KeyEvent;
10th, mouse event is sent to USB Mouse equipment, KeyEvent is sent to USB KeyBoard equipment;
11st, USB Mouse equipment and USB KeyBoard equipment send corresponding event to host.
It completes to complete primary transmission, and repeat the 7th step to the 10th step in above-mentioned 11st step.
Figure 10 be according to a kind of control flow schematic diagram of optional client of the embodiment of the present application, as shown in Figure 10,
The flow includes:
1st, Client ends power-up initializing hardware and software;
2nd, Client ends identify and drive mouse device and keyboard equipment;
3rd, user starts the application of Client ends;
4th, the network service of Client connections HOST end main frame agreement adapters;
It should be noted that user starts multiple network linkings as needed and multiple HOST end main frames agreement adapters are same
Shi Tongxin.
5th, after successful connection, the Input message of Input components is captured, waits for Input message effective;
6th, current active window is monitored;
If being currently the 7, mouse type Input message, mouse information ratio is adjusted according to current active window;
8th, Input message is sent to the network linking of corresponding active window.
After the success of the 8th step, the 4th step to the 7th step is repeated.
In the above-described embodiment provided in the application, do not need to that additional software, HOST ends are installed on the PC at HOST ends
Protocol conversion bridge joint card is connected to PC computers, HOST ends direct interconnection network network by PCIe interface;HOST end main frames
Card opens service, and the mouse-keyboard at multiple client ends can be connected to server ends simultaneously, and single client ends can be with
Multiple protocol conversion bridge joint cards are connected simultaneously;HOST ends protocol conversion bridge joint blocks additional one USB mouse input equipment of carry
(mouse) and a USB keyboard input equipment (keyboard), after the Input message of client ends capture systems Input components
Input events are converted into, and are handled to be distributed to protocol conversion bridge joint card in HOST ends after mouse event and KeyEvent, through HOST
Hold protocol conversion bridge joint card in USB mouse input equipment (mouse) and a USB keyboard input equipment, by mouse event with
KeyEvent is transmitted to HOST ends.
Since the above-mentioned interconnecting device of the application sets USB to input by PCIE interface access hosts in interconnecting device
Equipment does not need to install additional software on host, so as to fulfill the communication of client and host, and then realizes USB and sets
The standby communication zoomed out, due to using above-mentioned interconnecting device carry out when USB device zooms out communication to the software and hardware of host there is no limit,
And then solve existing USB and zoom out scheme, there is technical issues that control mode is cumbersome and safety and stability.
Another aspect according to embodiments of the present invention, additionally provides a kind of storage medium, and above-mentioned storage medium includes storage
Program, wherein, equipment where above-mentioned storage medium is controlled when above procedure is run performs the above-mentioned data of any one and passes
Transmission method.
Another aspect according to embodiments of the present invention additionally provides a kind of processor, and above-mentioned processor is used to run program,
Wherein, any one above-mentioned data transmission method is performed when above procedure is run.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
In the above embodiment of the present invention, all emphasize particularly on different fields to the description of each embodiment, do not have in some embodiment
The part of detailed description may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei
A kind of division of logic function, can there is an other dividing mode in actual implementation, for example, multiple units or component can combine or
Person is desirably integrated into another system or some features can be ignored or does not perform.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some interfaces, unit or module
It connects, can be electrical or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical unit, you can be located at a place or can also be distributed to multiple
On unit.Some or all of unit therein can be selected according to the actual needs to realize the purpose of this embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
That each unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is independent product sale or uses
When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme of the present invention is substantially
The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products
It embodies, which is stored in a storage medium, is used including some instructions so that a computer
Equipment (can be personal computer, server or network equipment etc.) perform each embodiment the method for the present invention whole or
Part steps.And aforementioned storage medium includes:USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various can to store program code
Medium.
The above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (13)
1. a kind of interconnecting device, which is characterized in that including:
High-speed peripheral component interconnects PCIe interface, for providing the communication interface with host equipment;
Conversion circuit, for the specified message of the client device received to be converted to general-purpose serial bus USB input equipment
Action event, wherein, the specified message is used to reflect the information incoming event of the client device;
The USB input equipment is connect with the conversion circuit and the PCIe interface, for the action event to be passed through institute
It states PCIe interface and is sent to the host equipment.
2. interconnecting device according to claim 1, which is characterized in that
The action event includes:KeyEvent and mouse event;
The USB input equipment includes at least one of:Keyboard input devices, for receiving the institute that the conversion circuit is sent
The KeyEvent in action event is stated, and the KeyEvent is sent to the host equipment;Mouse input device, for connecing
The mouse event in the action event that the conversion circuit is sent is received, and the mouse event is sent to the host and is set
It is standby.
3. interconnecting device according to claim 1, which is characterized in that the interconnecting device further includes:
Network control module is connect with the client device and the conversion circuit, for receiving the client device hair
The network packet sent, and the specified message in the network packet is transmitted to the conversion circuit.
4. interconnecting device according to any one of claim 1 to 3, which is characterized in that the interconnecting device further includes:
Controller, for by setting address instruction of the PCIe interface reception from the host equipment and according to institute
It states and address instruction is set to determine the address with the client device of the host devices communication;
The controller is additionally operable to during the host equipment enumerates the USB input equipment, to the host equipment
Return to the information of local USB input equipment.
5. interconnecting device according to claim 1, which is characterized in that
The conversion circuit is additionally operable to read general-purpose serial bus USB transmission from the host equipment by the PCIe interface
Descriptor information, and the USB transmission descriptor information is converted into USB request block URB forms, the first data are obtained, and lead to
It crosses transmission circuit and sends first data to the client device.
6. a kind of telecommunication system, which is characterized in that including:
At least one host equipment;
Interconnecting device, the interconnecting device are the interconnecting device described in any one of claim 1 to 5, also, the interconnecting device
PCIe interface is interconnected by high-speed peripheral component to connect at least one host equipment;
At least one client device is connect with the interconnecting device, passes through institute for receiving at least one host equipment
State interconnecting device transmission data and/or, by the interconnecting device at least one host equipment transmission data.
7. telecommunication system according to claim 6, which is characterized in that
Specified message interface is provided at least one client device, at least one client device is additionally operable to lead to
Cross the specified message that the specified message interface obtains system assignment component, wherein, the specified message for reflect it is described extremely
The information incoming event of a few client device.
8. telecommunication system according to claim 7, which is characterized in that
At least one client device is additionally operable to the active window for meeting preset condition by the acquisition of system api interface function
Mouthful, and connect at least one host equipment with the active window there are correspondence;
At least one client device is additionally operable to the size according to the active window, adjusts mouse in the specified message
Class message is marked, and will be on the specified message distribution in the active window to the corresponding network link of the active window.
9. a kind of data transmission method, which is characterized in that including:
Receive the specified message that at least one client device is sent;
The specified message received is converted to the action event of USB input equipment, wherein, the specified message is for anti-
Reflect the information incoming event of at least one client device;
The action event is sent to by least one host equipment by the USB input equipment.
10. according to the method described in claim 9, it is characterized in that, receive specified the disappearing of at least one client device transmission
Breath, including:
Receive the network packet that at least one client device is sent;
Obtain the specified message in the network packet.
11. according to the method described in claim 9, it is characterized in that, receiving the specified of at least one client device transmission
Before message, the method further includes:
The setting address instruction that at least one host equipment is sent is received, wherein, at least one host equipment passes through
High-speed peripheral component interconnection PCIe interface sends the setting address instruction;
It is determined and at least one client device of at least one host devices communication according to the setting address instruction
Address.
12. according to the method described in claim 9, it is characterized in that, receiving the specified of at least one client device transmission
Before message, the method further includes:
It triggers at least one host equipment and enumerates local USB input equipment;
During at least one host equipment enumerates local USB input equipment, at least one host equipment
Return to the information of local USB input equipment.
13. according to the method for claim 12, which is characterized in that returning to local at least one host equipment
Before the information of USB input equipment, the method further includes:
The connection status of the USB input equipment is detected, wherein, the connection status includes at least one of:The USB is defeated
Enter equipment and access at least one client device, the USB input equipment does not access at least one client device;
The information of the USB input equipment is determined according to the connection status.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711107652.5A CN108132900A (en) | 2017-11-10 | 2017-11-10 | Interconnecting device, telecommunication system and data transmission method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711107652.5A CN108132900A (en) | 2017-11-10 | 2017-11-10 | Interconnecting device, telecommunication system and data transmission method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108132900A true CN108132900A (en) | 2018-06-08 |
Family
ID=62388730
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711107652.5A Pending CN108132900A (en) | 2017-11-10 | 2017-11-10 | Interconnecting device, telecommunication system and data transmission method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108132900A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023207817A1 (en) * | 2022-04-27 | 2023-11-02 | 华为技术有限公司 | Host connection method, apparatus and system, device, and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050209842A1 (en) * | 2004-03-16 | 2005-09-22 | Digi International Inc. | Remote USB port system and method |
US20050289370A1 (en) * | 2000-04-18 | 2005-12-29 | Digi International Inc. | Bus control module for improving legacy support |
CN101035039A (en) * | 2007-04-20 | 2007-09-12 | 福建升腾资讯有限公司 | USB mapping method |
CN102789432A (en) * | 2011-05-19 | 2012-11-21 | 中国电信股份有限公司 | USB (universal serial bus) equipment drive method and system |
CN107168909A (en) * | 2017-06-23 | 2017-09-15 | 苏睿 | Interconnecting device, telecommunication system, data transmission method and device |
-
2017
- 2017-11-10 CN CN201711107652.5A patent/CN108132900A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050289370A1 (en) * | 2000-04-18 | 2005-12-29 | Digi International Inc. | Bus control module for improving legacy support |
US20050209842A1 (en) * | 2004-03-16 | 2005-09-22 | Digi International Inc. | Remote USB port system and method |
CN101035039A (en) * | 2007-04-20 | 2007-09-12 | 福建升腾资讯有限公司 | USB mapping method |
CN102789432A (en) * | 2011-05-19 | 2012-11-21 | 中国电信股份有限公司 | USB (universal serial bus) equipment drive method and system |
CN107168909A (en) * | 2017-06-23 | 2017-09-15 | 苏睿 | Interconnecting device, telecommunication system, data transmission method and device |
Non-Patent Citations (1)
Title |
---|
杨勇: ""基于Linux的USB over IP系统设计"", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023207817A1 (en) * | 2022-04-27 | 2023-11-02 | 华为技术有限公司 | Host connection method, apparatus and system, device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3799184B2 (en) | COMMUNICATION METHOD, TRANSMISSION METHOD, RECEPTION METHOD, AND DEVICE FOR IMPLEMENTING THEM | |
US8407367B2 (en) | Unified connector architecture | |
JP4810349B2 (en) | I / O apparatus and method | |
US8347008B2 (en) | Method and system for hardware based implementation of USB 1.1 over a high speed link | |
CN104021047B (en) | Virtual function distribution system, method and management host thereof | |
CN1647054B (en) | Double-mode network device driving device, system and method | |
CN101685431B (en) | Remote desktop control system using usb interface and method thereof | |
JPH10512405A (en) | M & A for exchanging data, status and commands via hierarchical serial bus assembly using communication packets | |
CN103003808A (en) | System and method for accessing resources of a PCI Express compliant device | |
EP2570913A1 (en) | Method and system for accessing storage device | |
CN107391419A (en) | Support the universal serial bus hub equipment of more main frames and automobile-used main frame | |
CN102598625A (en) | Method and apparatus for changing input type in input system using universal plug and play | |
CN106126465B (en) | A kind of data transmission method and device | |
CN115357535A (en) | Virtual serial port design method and device | |
CN106066842A (en) | A kind of method of switch mode, SOC(system on a chip) and base station | |
CN107506324A (en) | Interconnecting device, telecommunication system, data transmission method and device | |
KR101559089B1 (en) | Communication protocol for sharing memory resources between components of a device | |
CN105630718A (en) | Electronic device for providing instant switching and sharing of universal serial bus electronic equipment by host | |
CN108132900A (en) | Interconnecting device, telecommunication system and data transmission method | |
CN107168909A (en) | Interconnecting device, telecommunication system, data transmission method and device | |
CN116401065A (en) | Server, heterogeneous equipment and data processing device thereof | |
CN101001455A (en) | Method and system for radio terminal wire accessing interconnected network | |
CN1609819B (en) | Test method for computer external equipment interface | |
CN207882728U (en) | A kind of control system | |
CN111324563A (en) | PCIe equipment physical lane combination system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180608 |