USB data sharing and transmission system

By adopting the multi-module structure and hardware circuit direct transmission method in the USB data sharing and transmission system, the problem of low data sharing transmission efficiency in the prior art is solved, and more efficient data transmission and stronger scalability are achieved.

CN222482725UActive Publication Date: 2025-02-14NANJING QINHENG MICROELECTRONICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202520003955.6
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-01-02
Publication Date
2025-02-14
Estimated Expiration
2035-01-02

AI Technical Summary

Technical Problem

In the prior art, the data sharing transmission device needs to intercept, identify and analyze each communication command through software programs, resulting in low communication efficiency and low data transmission efficiency.

Method used

The USB data sharing and transmission system is adopted, which includes the first USB HUB and the second USB HUB. Through a multi-module structure of type one device, type two device and type three device, it uses hardware circuits to realize independent transmission paths of different types of devices. No software is required to identify and distinguish different types of communication commands to process.

Benefits of technology

It improves the efficiency and speed of data sharing transmission, has clearer structure, more efficient transmission, and is more scalable, avoiding the impact of system interception, identification and judgment on speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222482725U_ABST
    Figure CN222482725U_ABST
Patent Text Reader

Abstract

The utility model discloses a universal serial bus (USB) data sharing and transmission system, which comprises a first USB HUB and a second USB HUB, at least one downlink port of at least one USB HUB is connected with type I equipment, and at least one downlink port of the other USB HUB is connected with type II equipment; the first USB HUB and the second USB HUB are both connected with type III equipment, and the type I equipment, the type II equipment and the type III equipment all comprise communication modules and are connected through the communication modules. According to the utility model, the data transmission channel structure is clear, the data sharing transmission rate is fast, and the transmission efficiency is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of data communication equipment, in particular to a USB data sharing and transmission system. Background Art

[0002] With the development of the times and the improvement of living standards, people often use two or more computers at the same time in office or daily life. Data sharing between computers is a demand, such as cross-screen sharing of keyboards / mouse / touchpads of two computers, copying files and data in the system's native copy / paste method, etc.

[0003] Prior art CN101350001A provides a solution that can realize data sharing and transmission between two computers. The internal architecture of the solution is as follows: Figure 1 As shown, the solid line and the dotted line represent the two directions of data transmission respectively. The device includes a first device, a second device, a storage unit and a controller. The first device and the second device are connected to two computers at both ends. For different types of communication commands (different command sets) generated on one of the computers, they will be transmitted through one of the devices and must be transmitted in the same command format. The controller needs to intercept each communication command, distinguish and identify the customized communication protocol or the existing communication protocol and process it, including transmitting part of the communication command to another device. After receiving the communication command, the other device transmits it to another computer, thereby completing data or file sharing and transmission. However, because the controller of this data sharing transmission device needs to intercept, identify and parse each communication command through a software program, it is equivalent to all staff members of the entire unit sharing one telephone line, one telephone number and a manually transferred switchboard. The communication efficiency is low and the data transmission efficiency is not high. Utility Model Content

[0004] Purpose of the utility model: In order to solve the problem of low data sharing transmission efficiency in the prior art, the utility model provides a USB data sharing and transmission system.

[0005] Technical solution: A USB data sharing and transmission system, comprising:

[0006] The first USB HUB, the upstream port is used to connect to the first computing device;

[0007] The second USB HUB, the upstream port is used to connect to the second computing device;

[0008] At least one downstream port of at least one of the first USB HUB and the second USB HUB is connected to a type one device, and at least one downstream port of the other USB HUB is connected to a type two device;

[0009] The first USB HUB has at least one downstream port connected to a type 3 device, and the second USB HUB has at least one downstream port connected to a type 3 device;

[0010] Among them, the type one device, the type two device, and the type three device are all USB devices, the type one device includes a first communication module, the first communication module includes a data receiving unit; the type two device includes a second communication module, the second communication module includes a data sending unit; the type three device includes a third communication module, the third communication module includes at least one of a data sending unit and a data receiving unit;

[0011] The first communication module of the type one device is connected to the second communication module of the type two device at the opposite end, and the third communication module of the type three device is connected to the third communication module of the type three device at the opposite end.

[0012] Furthermore, the third communication module of the same type three device includes both a data sending unit and a data receiving unit.

[0013] Further, the first USB HUB connects two type three devices, including a first type three device and a second type three device; the second USB HUB connects two type three devices, including a third type three device and a fourth type three device; the third communication module in the first type three device and the fourth type three device only includes a data sending unit; the third communication module in the second type three device and the third type three device only includes a data receiving unit; the third communication module of the first type three device is connected to the third communication module of the third type three device, and the third communication module of the second type three device is connected to the third communication module of the fourth type three device.

[0014] Furthermore, the type 2 device and the type 3 device have the same device address.

[0015] Furthermore, there are multiple first communication modules of the type one device and multiple second communication modules of the type two device, and the first communication modules of the type one device are respectively connected to the second communication modules of the opposite type two device.

[0016] Furthermore, the type one device includes one or more of a keyboard, a mouse, a touchpad, a touch screen, a handwriting tablet and other HID devices; the second communication module of the type two device is used to transmit data required by the type one device; and the third communication module of the type three device is used to transmit shared files and data.

[0017] Furthermore, at least one downstream port of at least one of the first USB HUB and the second USB HUB is used for connecting to an external USB device.

[0018] Furthermore, at least one of the first USB HUB, the second USB HUB, the type one device, the type two device, and the type three device is integrated into one or more chips.

[0019] Furthermore, the type one device, type two device, and type three device are built-in logic devices with independent physical controller registers; the first communication module, the second communication module, and the third communication module are USB interfaces; and the data receiving unit and the data sending unit are USB endpoints.

[0020] Furthermore, it also includes a storage unit; at least one downstream port of at least one of the first USB HUB and the second USB HUB is connected to a type 4 device, the type 4 device is a USB device, the type 4 device includes a fourth communication module, and the fourth communication module is connected to the storage unit.

[0021] Compared with the prior art, the USB data sharing and transmission system provided by the utility model has the following beneficial effects:

[0022] For the same type of equipment, multiple communication modules can be set up to support multiple input devices and data sharing. Different communication modules have different and independent transmission paths, which are directly implemented by hardware circuits. There is no need for the controller to identify and distinguish different types of communication commands one by one. The structure is clearer, the transmission is more efficient, and the scalability is stronger.

[0023] Compared with the existing technology that uses USB composite (composite device) to build a multi-functional device, each functional device shares a USB address and the software intercepts and identifies commands one by one, this system uses USBcompound (combined device) to build a multi-functional device. Different types of devices have independent USB addresses, which is equivalent to having different direct-dial telephone numbers. Commands and data are directly sent to the target by hardware, and even the receiving and sending channels are relatively independent, so the transmission efficiency of the link layer can be improved, avoiding the impact of system interception and identification on speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a schematic diagram of the architecture of the prior art;

[0025] Figure 2 This is a schematic diagram of the architecture of a USB data sharing and transmission system according to Embodiment 1;

[0026] Figure 3 This is a schematic diagram of the architecture of another USB data sharing and transmission system according to the first embodiment;

[0027] Figure 4 This is a schematic diagram of the architecture of the USB data sharing and transmission system of Example 2;

[0028] Figure 5 This is a schematic diagram of the architecture of the USB data sharing and transmission system of Example 3;

[0029] Figure 6 This is a schematic diagram of the architecture of the USB data sharing and transmission system of Embodiment 4;

[0030] Figure 7 This is a schematic diagram of the architecture of the USB data sharing and transmission system of Example 5;

[0031] Figure 8 Schematic diagram of the structure of the USB data sharing and transmission system of the sixth embodiment. DETAILED DESCRIPTION

[0032] The present invention will be further explained below in conjunction with the accompanying drawings and specific embodiments.

[0033] Embodiment 1:

[0034] A USB data sharing and transmission system, such as Figure 2 As shown, including:

[0035] The first USB HUB, the upstream port is used to connect to the first computing device;

[0036] The second USB HUB, the upstream port is used to connect to the second computing device;

[0037] The first downstream port of the first USB HUB is connected to a type 2 device B0, and the second downstream port is connected to a type 3 device C0;

[0038] The first downstream port of the second USB HUB is connected to a type 1 device A0, and the second downstream port is connected to a type 3 device C1;

[0039] Among them, the type 1 device includes a first communication module, and the first communication module only needs to include a data receiving unit; the type 2 device includes a second communication module, and the second communication module only needs to include a data sending unit; the type 3 device includes a third communication module, and the third communication module includes a data sending unit and a data receiving unit;

[0040] The first communication module of the type 1 device is connected to the second communication module of the opposite type 2 device, and the third communication module of the type 3 device is connected to the third communication module of the opposite type 3 device. The opposite end is relative, such as the opposite end of the device connected to the first USB HUB is the device connected to the second USB HUB, and the opposite end of the device connected to the second USB HUB is the device connected to the first USB HUB.

[0041] At least one part of the USB data sharing and transmission system is integrated into one or more chips, for example, the first USB HUB, the second USB HUB, the type one device, the type two device, and the type three device are integrated into a single chip.

[0042] The type one device, type two device, and type three device are built-in logical devices with independent physical controller registers and independent device addresses; the first communication module, the second communication module, and the third communication module are USB interfaces or a collection of several USB endpoints; the data receiving unit and the data sending unit are independent USB endpoints. The USB endpoints have physically independent physical controller registers, independent or time-sharing storage areas, and independent endpoint addresses. Based on the unique device address and endpoint address, the hardware circuit can directly transmit the data packet to a matching USB endpoint without software intervention, which is equivalent to each endpoint having an independent telephone number, which can be directly dialed and data can be directly received. The connection between two USB endpoints includes the connection of a control signal line and a data signal line, or the two USB endpoints are connected to the same storage area for time-sharing.

[0043] The type 1 device may be a keyboard, mouse, touchpad, touch screen, handwriting tablet and other HID devices, which are usually standard devices and only need to include a data receiving unit. The second communication module of the type 2 device is used to transmit data required by the type 1 device and usually only needs to include a data sending unit.

[0044] The third communication module of the type three device is used to transmit shared files and data.

[0045] If the data required by keyboards, mice, touchpads, touch screens, handwriting tablets and other HID devices are defined as first-type signals, and the files and data to be shared are defined as second-type signals, then the transmission paths of the first-type signals and the second-type signals in the USB data sharing and transmission system are as follows (taking the transmission direction of the signal from the first computing device to the second computing device as an example):

[0046] The first type of signal is output from the first downstream port of the first USB HUB to the type 2 device B0, the second communication module of the type 2 device B0 transmits the first type of signal to the opposite type 1 device A0, and the type 1 device A0 transmits the first type of signal to the second computing device through the first downstream port of the second USB HUB;

[0047] The second type signal is output from the second downstream port of the first USB HUB to the type three device C0. The third communication module of the type three device C0 transmits the second type signal to the third communication module of the opposite type three device C1, and transmits the second type signal from the second downstream port of the second USB HUB to the second computing device.

[0048] Figure 2 The example shows a situation where the first type of signal can only be transmitted from the first computing device to the second computing device. Figure 3 As shown, it can also be arranged symmetrically on both sides, the downstream port of the first USB HUB is also connected to the type 1 device A1, and the downstream port of the second USB HUB is also connected to the type 2 device B1. In this way, the first type signal can also be transmitted from the second computing device to the first computing device, which is more suitable for practical applications. Further, the first USB HUB, the second USB HUB, all type 1 devices, all type 2 devices, and all type 3 devices can be integrated into a single chip, and each device is a built-in logic device with an independent physical controller register and an independent device address.

[0049] Embodiment 2:

[0050] Compared with the first embodiment, the second embodiment has the same device address as the type 2 device and the type 3 device, that is, the type 2 device and the type 3 device are one device, which can save the hardware resources of one device. Figure 4 As shown, the device (type 2 device / type 3 device B0, type 2 device / type 3 device B1) includes both a second communication module and a third communication module, and a device may have multiple second communication modules and multiple third communication modules.

[0051] Embodiment three:

[0052] Compared with the first or second embodiment, the third embodiment has a USB HUB connected to two type three devices, but the third communication module of each type three device has only one data sending unit or data receiving unit, which is respectively connected to the two type three devices connected to the opposite USB HUB.

[0053] like Figure 5 As shown, the first USB HUB connects two type three devices, including a first type three device C0 and a second type three device C2; ​​the second USB HUB connects two type three devices, including a third type three device C1 and a fourth type three device C3, the third communication modules in the first type three devices C0 and the fourth type three devices C3 only include a data sending unit; the third communication modules of the second type three devices C2 and the third type three devices C1 only include a data receiving unit; the third communication module of the first type three devices C0 is connected to the third communication module of the third type three devices C1, and the third communication module of the second type three devices C2 is connected to the third communication module of the fourth type three devices C3.

[0054] Embodiment 4:

[0055] Embodiment 4 Compared with Embodiments 1 to 3, in Embodiment 4, the type 1 device A0 and the type 1 device A1 have multiple first communication modules, the type 2 device / type 3 device B0 and the type 2 device / type 3 device B1 have multiple second communication modules, and the first communication modules of the type 1 device are respectively connected to the second communication modules of the opposite type 2 device, such as Figure 6 shown.

[0056] For example, if you need to support keyboard and mouse sharing, a type 2 device needs to have two second communication modules, and a type 1 device also needs to have two first communication modules. The number of second communication modules of the type 2 device should be the same as the number of first communication modules of the opposite type 1 device. Figure 6 A schematic diagram of a data sharing and transmission system supporting three input devices is given, in which the second communication module S0, the second communication module S1, and the second communication module S2 respectively transmit data with the first communication module S0, the first communication module S1, and the first communication module S2 at the opposite end.

[0057] Furthermore, the first USB HUB, the second USB HUB, all type one devices, all type two devices / type three devices, all communication modules, all data receiving units and data sending units can be integrated into a single chip; each device is a built-in logical device with an independent physical controller register and an independent device address; each data receiving unit and each data sending unit is a built-in logical unit with a physically independent physical controller register, an independent or time-sharing shared storage area, and an independent endpoint address; paired data sending units and data receiving units can be connected to the same storage area to form a transmission channel, thereby realizing efficient hardware data transmission.

[0058] Embodiment five:

[0059] Embodiment 5 Compared with Embodiments 1 to 4, in Embodiment 5, at least one of the first USB HUB and the second USB HUB has at least one downstream port for connecting an external USB device, and it can be that only one side of the USB HUB has a downstream port, or both sides of the USB HUB have a downstream port. Figure 7 As shown, the first USB HUB is connected to an external USB device D0, and the second USB HUB is connected to an external USB device D1. According to actual needs, there can be multiple downstream ports for external USB devices, such as three downstream ports for external USB devices, respectively for external keyboards, mice, touchpads and other devices.

[0060] Embodiment six:

[0061] Embodiment 6 Compared with Embodiments 1 to 5, Embodiment 6 further includes a storage unit and a type 4 device, where the type 4 device is a USB device, such as a large-capacity storage device. Figure 8 As shown, at least one downstream port of at least one of the first USB HUB and the second USB HUB is connected to a type four device. For example, in the figure, the first USB HUB and the second USB HUB are respectively connected to a type four device E0 and a type four device E1. The type four device includes a fourth communication module. The fourth communication module is connected to a storage unit. The storage unit is usually a FLASH ROM. The fourth communication module is directly connected to the storage unit or is connected to the storage unit by a data transceiver unit through a physical interface such as SPI.

[0062] Furthermore, the first USB HUB, the second USB HUB, all type one devices, all type two devices / type three devices, all type four devices, all communication modules, all data receiving units and data sending units can be integrated into a single chip; each device is a built-in logic device with an independent entity controller register and an independent device address; the single chip has at least one downstream port for connecting an external USB device; the built-in type four device is connected to an external storage unit via an SPI interface.

[0063] The above "first", "second", "third" and "fourth" are only used for descriptive purposes and should not be understood as indicating or implying relative importance, order or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first", "second", etc. may explicitly or implicitly include one or more of these features.

[0064] The positions of the devices and modules shown in the drawings are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the devices and modules referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it should not be understood as a limitation on the embodiments of the present application.

[0065] Under the structure of the USB data sharing and transmission system in the above embodiment, various types of signals are transmitted through different transmission channels, without the need for software to identify and analyze them one by one, thus eliminating the cumbersome intermediate links, making the transmission speed faster, more efficient, and more scalable.

Claims

1. A USB data sharing and transmission system, characterized in that: include: The first USB HUB, the upstream port is used to connect to the first computing device; The second USB HUB, the upstream port is used to connect to the second computing device; At least one downstream port of at least one of the first USB HUB and the second USB HUB is connected to a type one device, and at least one downstream port of the other USB HUB is connected to a type two device; The first USB HUB has at least one downstream port connected to a type 3 device, and the second USB HUB has at least one downstream port connected to a type 3 device; Among them, the type one device, the type two device, and the type three device are all USB devices, the type one device includes a first communication module, the first communication module includes a data receiving unit; the type two device includes a second communication module, the second communication module includes a data sending unit; the type three device includes a third communication module, the third communication module includes at least one of a data sending unit and a data receiving unit; The first communication module of the type one device is connected to the second communication module of the type two device at the opposite end, and the third communication module of the type three device is connected to the third communication module of the type three device at the opposite end.

2. The USB data sharing and transmission system according to claim 1, characterized in that: The third communication module of the same type three device includes both a data sending unit and a data receiving unit.

3. The USB data sharing and transmission system according to claim 1, characterized in that: The first USB HUB connects two type three devices, including a first type three device and a second type three device; the second USB HUB connects two type three devices, including a third type three device and a fourth type three device; the third communication modules in the first type three devices and the fourth type three devices only include a data sending unit; the third communication modules in the second type three devices and the third type three devices only include a data receiving unit; the third communication module of the first type three devices is connected to the third communication module of the third type three devices, and the third communication module of the second type three devices is connected to the third communication module of the fourth type three devices.

4. The USB data sharing and transmission system according to any one of claims 1 to 3, characterized in that: Type 2 devices and type 3 devices have the same device address.

5. The USB data sharing and transmission system according to any one of claims 1 to 3, characterized in that: There are multiple first communication modules of type one devices and multiple second communication modules of type two devices. The first communication modules of type one devices are respectively connected to the second communication modules of opposite type two devices.

6. The USB data sharing and transmission system according to any one of claims 1 to 3, characterized in that: The type one device includes one or more of a keyboard, a mouse, a touchpad, a touch screen, a handwriting tablet and other HID devices; the second communication module of the type two device is used to transmit data required by the type one device; the third communication module of the type three device is used to transmit shared files and data.

7. The USB data sharing and transmission system according to any one of claims 1 to 3, characterized in that: At least one downstream port of at least one of the first USB HUB and the second USB HUB is used for connecting to an external USB device.

8. The USB data sharing and transmission system according to any one of claims 1 to 3, characterized in that: At least one of the first USB HUB, the second USB HUB, the type one device, the type two device, and the type three device is integrated in one or more chips.

9. The USB data sharing and transmission system according to any one of claims 1 to 3, characterized in that: The type one device, type two device and type three device are built-in logic devices with independent entity controller registers; the first communication module, the second communication module and the third communication module are USB interfaces; the data receiving unit and the data sending unit are USB endpoints.

10. The USB data sharing and transmission system according to any one of claims 1 to 3, characterized in that: It also includes a storage unit; at least one downstream port of at least one of the first USB HUB and the second USB HUB is connected to a type 4 device, the type 4 device is a USB device, the type 4 device includes a fourth communication module, and the fourth communication module is connected to the storage unit.

Citation Information

Patent Citations

  • Data sharing and transfer systems and methods

    CN101350001A