A USB sharing device and communication transparent transmission method thereof
By establishing the correspondence relationship of USB endpoints in the USB sharing device, and using the multi-endpoint characteristics of the USB manufacturer to define the category devices, efficient transmissibility of USB data sharing is achieved, solving the problem of low transmission efficiency in the prior art, and improving the efficiency of data sharing and bandwidth utilization.
Patent Information
- Application Number
- CN202510003168.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-03-25
- Estimated Expiration
- 2045-01-02
AI Technical Summary
In the prior art, the transmission efficiency of the USB data sharing device is low, and data is required to be packetized, and the controller needs to intercept each communication command for identification and processing, resulting in cumbersome process.
By establishing a correspondence between one side of the USB endpoint and the other side of the USB endpoint is uploaded in the USB sharing device, the multi-endpoint characteristics of the USB manufacturer defines the category device to realize the transmissibility of different data through different transmission paths, and directly transmitting the shared data to the destination, eliminating the intermediate identification and processing process.
It improves the transmission efficiency of USB data sharing, reduces the process of packet processing and controller identification, makes the transmission process more efficient and the bandwidth utilization is more sufficient.
Smart Images

Figure CN119396747B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data communication, and in particular relates to a USB sharing device and a communication transparent transmission method thereof. Background Art
[0002] With the development of the times, people often use desktop computers and laptops or even three or more computers at the same time in modern office or daily life. File sharing between computers or cross-screen sharing of keyboards / mouse has become a demand. USB, as a standard interface for computers and mobile phones, and with its high speed and reliable characteristics, is suitable as a connection interface for information and device sharing between computers. An efficient sharing that can support more content can greatly improve work efficiency in a multi-computer office environment.
[0003] There are many existing data sharing devices and methods, but in the existing solutions, the sharing device implements a method of multi-purpose data based on the format of command plus data, and the controller needs to first identify the command set to determine the communication method. For example, the prior art CN101350001A provides a solution that can realize data sharing transmission between two computers. The internal structure of the solution is as follows Figure 1 As shown, the flow chart of the transmission method is as follows Figure 2 As shown, the device includes a first device, a second device 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. Due to the limitation of the system driver, the same command format must be used for transmission, so the data must be packaged before transmission. During the transmission process, 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 also needs to unpack the command and transmit it to another computer, so as to complete the data or file sharing and transmission. The method has many processes and the process is cumbersome. This transmission method requires intercepting, identifying and parsing each communication command through a software program, which is equivalent to all staff members of the whole 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.
[0004] The products for copying lines sold on the market are controller chips and implementation methods based on these chips from many years ago. With the rapid development of integrated circuits, computers themselves have higher configurations and performance. In this case, how to provide a more efficient data sharing solution is a problem that needs to be solved. Summary of the invention
[0005] Purpose of the invention: In order to solve the problem of low data sharing efficiency in the prior art, the present invention provides a USB sharing device and a communication transparent transmission method thereof.
[0006] Technical solution: A communication transparent transmission method for a USB sharing device, comprising the following steps:
[0007] The USB sharing device establishes a corresponding relationship between a downlink USB endpoint on one side and an uplink USB endpoint on the other side, and the downlink USB endpoint on one side corresponds to the uplink USB endpoint on the other side one-to-one, wherein one side refers to the side connected to the first computing device; the other side refers to the side connected to the second computing device;
[0008] The USB sharing device is connected to the first computing device and the second computing device, the USB sharing device is identified by the first computing device as at least one USB vendor-defined category device, and is identified by the second computing device as at least one USB class device; a USB pipe is allocated to a downstream USB endpoint on one side of the USB sharing device by the first computing device, and the downstream USB endpoint allocated with the USB pipe is defined as a pipe endpoint, and there are multiple pipe endpoints;
[0009] The first shared data acquisition module acquires the shared data of the first computing device and transmits the shared data to the first driving module;
[0010] The first driver module transmits the shared data to the designated pipe endpoint through the USB pipe, wherein the shared data has different uses, and different pipe endpoints are designated for different uses;
[0011] The pipe endpoint receives the shared data of the first computing device;
[0012] The shared data is transmitted from the pipe endpoint to the other side upload USB endpoint according to the corresponding relationship, and the shared data is uploaded to the second computing device through the other side upload USB endpoint.
[0013] Furthermore, the purpose of the shared data includes at least one of being used for sharing devices and for sharing information. When the shared data is used for sharing devices, the pipe endpoints are different for different devices; when the shared data is used for sharing information, the pipe endpoints are different for different information.
[0014] Furthermore, the method for transmitting the shared data from the pipe endpoint to the other-side upload USB endpoint according to the corresponding relationship is that the pipe endpoint and the other-side upload USB endpoint share the same buffer.
[0015] Furthermore, the method for transmitting shared data from the pipe endpoint to the other side upload USB endpoint according to the corresponding relationship is: the pipe endpoint and the other side upload USB endpoint respectively have different buffers, and the data stored in the buffer of the pipe endpoint is copied to the buffer of the other side upload USB endpoint.
[0016] A USB sharing device, which can be identified by a first computing device as at least one USB vendor-defined category device and can be identified by a second computing device as at least one USB class device; comprising:
[0017] A first USB port for connecting to a first computing device;
[0018] a second USB port for connecting to a second computing device;
[0019] A USB endpoint for downstream transmission on one side can be allocated a USB pipe by the first computing device, and the USB endpoint for downstream transmission allocated with the USB pipe is defined as a pipe endpoint, and there are multiple pipe endpoints; the pipe endpoint is used to receive shared data transmitted by the first computing device, and the shared data has different uses, and different pipe endpoints are specified for different uses;
[0020] A shared control unit is used to establish a corresponding relationship between a USB endpoint for downlink transmission on one side and a USB endpoint for uplink transmission on the other side, and the USB endpoint for downlink transmission on one side corresponds to the USB endpoint for uplink transmission on the other side one by one;
[0021] The other-side upload USB endpoint is used to receive the shared data transmitted by the corresponding pipe endpoint, and the shared data is uploaded to the second computing device through the other-side upload USB endpoint, wherein one side refers to the side connected to the first computing device; the other side refers to the side connected to the second computing device;
[0022] A first shared data acquisition module is a software module installed on the first computing device, used to acquire the shared data of the first computing device and transmit the shared data to the first driving module;
[0023] The first driver module is a driver software with a pipeline transparent transmission function installed on the first computing device, and is used to transmit the shared data of the first computing device to a designated pipeline endpoint through a USB pipeline.
[0024] Furthermore, the purpose of the shared data includes at least one of being used for sharing devices and for sharing information. When the shared data is used for sharing devices, the pipe endpoints are different for different devices; when the shared data is used for sharing information, the pipe endpoints are different for different information.
[0025] Furthermore, the pipe endpoint shares the same buffer with the uploading USB endpoint on the other side.
[0026] Furthermore, the USB shared device can also be identified by the second computing device as at least one USB vendor-defined category device.
[0027] Furthermore, the USB sharing device can be identified as at least one USB mass storage class device by at least one of the first computing device and the second computing device.
[0028] Furthermore, the USB sharing device can be identified by the first computing device as at least one USB manufacturer-defined category device and at least one USB class device, and can also be identified by the second computing device as at least one USB manufacturer-defined category device and at least one USB class device, and further includes:
[0029] The other side downstream USB endpoint can be allocated a USB pipe by the second computing device, and the downstream USB endpoint allocated with the USB pipe is defined as a pipe endpoint, and there are multiple pipe endpoints; the pipe endpoint is used to receive shared data downloaded by the second computing device, and the shared data has different uses, and different pipe endpoints are specified for different uses;
[0030] The shared control unit is also used to establish a corresponding relationship between the other side's downlink USB endpoint and the one side's uplink USB endpoint, so that the other side's downlink USB endpoint corresponds to the one side's uplink USB endpoint one by one;
[0031] One-side uploading USB endpoint is used to receive shared data transmitted by the corresponding pipe endpoint, and the shared data is uploaded to the first computing device through the one-side uploading USB endpoint;
[0032] A second shared data acquisition module is a software module installed on the second computing device, used to acquire the shared data of the second computing device and transmit the shared data to the second driving module;
[0033] The second driver module is a driver software with a pipeline transparent transmission function installed on the second computing device, and is used to transmit the shared data of the second computing device to the designated pipeline endpoint through the USB pipeline.
[0034] Compared with the prior art, the USB sharing device and communication transparent transmission method provided by the present invention have the following beneficial effects:
[0035] (1) The existing technology must use a specific command format and a specific method to transmit commands. Therefore, each piece of shared data needs to be packaged and processed before being transmitted. The whole process is cumbersome and time-consuming. In this method, after the software obtains the shared data that the computer needs to transmit, it directly transmits the shared data to the designated pipe endpoint through the driver software with transparent transmission function and the system host. There is no need to use the command plus data format for transmission. Only the data itself is transmitted. The USB bandwidth is not wasted, the efficiency is high, and the process of packet processing in the computing device and identification of the packet command by the sharing device is omitted, which is fast.
[0036] (2) In the process of command transmission in the prior art, software is required to intercept, identify and distinguish commands one by one, which is cumbersome and inefficient. However, in this device, the USB vendor-defined class device (USB Vendor Specific Class Device) includes multiple USB endpoints. By utilizing the characteristics of USB vendor-defined class devices without a specified protocol format and supporting multiple endpoints, the present invention establishes a one-to-one correspondence between the computer and the downstream USB endpoint, and between the downstream USB endpoint and the upstream USB endpoint, so that different data can be transmitted through different and independent transmission paths, and shared data can reach the destination directly. The transmission process does not require the controller to intercept, identify and distinguish each command one by one, directly eliminating the inefficient and cumbersome intermediate links;
[0037] (3) This method uses the same shared data before and after sending and receiving, achieving a transparent transmission effect. It does not require the computing device to encapsulate and the sharing device to intervene or process one by one, making the transmission more efficient and more scalable. This is equivalent to each staff member having a different direct-dial telephone number for the external line. The external line is dialed directly, and the shared data reaches the target directly. Even the receiving and sending channels are relatively independent, so the transmission efficiency of USB sharing between computing devices can be improved, avoiding the impact of the existing technology recognition and judgment on the speed. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 It is a schematic diagram of the architecture of the prior art;
[0039] Figure 2 A flow chart of a method of the prior art;
[0040] Figure 3 This is a flow chart of the communication transparent transmission method of the USB sharing device of this embodiment;
[0041] Figure 4 This is a schematic diagram of data transmission of the USB sharing device of this embodiment;
[0042] Figure 5 A data transmission diagram of a USB sharing device for bidirectional transmission. DETAILED DESCRIPTION
[0043] The present invention is further explained below in conjunction with the accompanying drawings and specific embodiments.
[0044] A communication transparent transmission method for a USB sharing device, such as Figure 3 As shown, the following steps are included:
[0045] The USB sharing device establishes a corresponding relationship between a downlink USB endpoint on one side and an uplink USB endpoint on the other side, and the downlink USB endpoint on one side corresponds to the uplink USB endpoint on the other side one-to-one, wherein one side refers to the side connected to the first computing device; the other side refers to the side connected to the second computing device;
[0046] The USB sharing device is connected to the first computing device and the second computing device. The USB sharing device provides USB identification information so that it can be identified by the first computing device as at least one USB manufacturer-defined category device, and may also identify other USB manufacturer-defined category devices or other USB devices other than USB manufacturer-defined category devices; the USB sharing device provides USB identification information so that it can be identified by the second computing device as at least one USB class device (USB Class Device), and may also identify other USB class devices or other USB devices other than USB class devices. The USB class device is a USB functional device, which is generally managed directly by the operating system or by a built-in class device driver. The USB manufacturer-defined category device refers to a USB device that requires the installation of driver software with a pipe transparent transmission function. The downstream USB endpoint on one side of the USB sharing device is assigned a USB pipe by the first computing device, and the downstream USB endpoint assigned with the USB pipe is defined as a pipe endpoint. There are multiple, at least two, pipe endpoints;
[0047] The first shared data acquisition module acquires the shared data of the first computing device and transmits the shared data to the first driver module, where the driver module is usually the driver software or USB interface library in the computing device operating system;
[0048] The first driver module transmits the shared data to the designated pipe endpoint through the USB pipe, wherein the shared data has different uses, and different uses specify different pipe endpoints; the pipe endpoint receives the shared data of the first computing device;
[0049] The shared data is uploaded to the second computing device through the other side upload USB endpoint corresponding to the pipe endpoint according to the corresponding relationship.
[0050] The purpose of the shared data includes at least one of being used for sharing devices and being used for sharing information. When the shared data is used for sharing devices, the pipe endpoints are different for different devices; when the shared data is used for sharing information, the pipe endpoints are different for different information.
[0051] The shared device is determined by the USB endpoint of the USB class device connected to the other end. The USB class device is a USB functional device, which can be a keyboard, mouse, touchpad, touch screen, handwriting tablet and other HID devices, or a USB printer, USB communication device, etc., including multiple different types of devices and multiple devices of the same type. For example, a keyboard and a mouse have different pipe endpoints, and the pipe endpoints of the two keyboards are also different. Because the USB endpoints of the USB class device on the other end are independent, the effect achieved is that as long as they are different devices, their shared data will be downloaded from different pipe endpoints.
[0052] The shared data does not contain commands that can be recognized by the USB sharing device controller. The USB sharing device does not perform any identification and differentiation processing on the shared data and only plays a transmission role. This transmission method is usually called transparent transmission.
[0053] According to the corresponding relationship, the shared data is transmitted from the pipe endpoint to the uploading USB endpoint on the other side. This can be achieved by the pipe endpoint and the uploading USB endpoint on the other side sharing the same buffer, or the two can have different buffers respectively. During transmission, the data stored in the buffer of the pipe endpoint is copied to the buffer of the uploading USB endpoint on the other side.
[0054] On this basis, by adding similar software and hardware resources in another direction and using the same method, the shared data can also be transmitted from the second computing device to the first computing device. The transmission method is the same, so that both sides can transmit the shared data to the other end.
[0055] A USB sharing device, wherein the USB identification information provided by the USB sharing device can be identified by a first computing device as at least one USB manufacturer-defined class device, and may also identify other USB manufacturer-defined class devices or other USB devices other than USB manufacturer-defined class devices; the USB identification information provided by the USB sharing device can be identified by a second computing device as at least one USB class device, and may also identify other USB class devices or other USB devices other than USB class devices; comprising:
[0056] A first USB port for connecting to a first computing device;
[0057] a second USB port for connecting to a second computing device;
[0058] A USB endpoint for downstream transmission on one side can be allocated a USB pipe by the first computing device, and the USB endpoint for downstream transmission allocated with the USB pipe is defined as a pipe endpoint, and there are multiple pipe endpoints, at least two; the pipe endpoint is used to receive shared data downstream from the first computing device, and the shared data has different uses, and different pipe endpoints are specified for different uses;
[0059] A shared control unit is used to establish a corresponding relationship between a USB endpoint for downlink transmission on one side and a USB endpoint for uplink transmission on the other side, and the USB endpoint for downlink transmission on one side corresponds to the USB endpoint for uplink transmission on the other side one by one;
[0060] The other-side upload USB endpoint is used to receive the shared data transmitted by the corresponding pipe endpoint, and the shared data is uploaded to the second computing device through the other-side upload USB endpoint, wherein one side refers to the side connected to the first computing device; the other side refers to the side connected to the second computing device;
[0061] A first shared data acquisition module is a software module installed on the first computing device, used to acquire the shared data of the first computing device and transmit the shared data to the first driving module;
[0062] The first driver module is driver software with a pipeline transparent transmission function installed on the first computing device, generally provided by the manufacturer, and is used to transmit the shared data of the first computing device to the designated pipeline endpoint through the USB pipeline.
[0063] Figure 4The figure is a schematic diagram of data transmission of a USB sharing device, and there is only one direction of data transmission, that is, transmission from the first computing device to the second computing device. The figure shows n pipes, and the shared data is transmitted through the corresponding USB pipe through the first USB port and transmitted to each designated pipe endpoint, and the pipe endpoint is the n USB downstream endpoints on the left side of the USB sharing device, that is, USB downstream endpoint A0, USB downstream endpoint A1...USB downstream endpoint An. Because the left USB downstream endpoint in the USB sharing device corresponds to the right USB upload endpoint, the shared data is correspondingly transmitted to the right USB upload endpoint, that is, USB upload endpoint B0, USB upload endpoint B1...USB upload endpoint Bn. When the shared data is used to share information, the shared data will be transmitted to the USB manufacturer-defined category device at the opposite end. For different information, it is transmitted to different and corresponding USB upload endpoints, such as USB upload endpoint B0 and USB upload endpoint B1, and then uploaded to the second computing device through these USB upload endpoints. When the shared data is used for a shared device, the shared data will be transmitted to the USB class device at the opposite end. At this time, the shared data is transmitted to the USB upload endpoint Bn, and uploaded to the second computing device through the USB upload endpoint Bn. Here, the USB class device at the opposite end may also have multiple USB upload endpoints, which respectively receive data from different shared devices. The USB manufacturer-defined category device at the opposite end may also have multiple USB upload endpoints, which respectively receive data from different shared information. There may be multiple USB manufacturer-defined category devices and USB class devices at the opposite end. Based on the principle of the technical solution of the present invention, the opposite end may also not have a USB manufacturer-defined category device, in which case the transmission of shared information cannot be realized, and it can only be used for device sharing.
[0064] On this basis, similar software and hardware resources can be added in another direction to support the transmission of shared data from the second computing device to the first computing device, that is, to support shared data transmission in two directions, such as Figure 5 The USB sharing device can be identified as a USB manufacturer-defined category device or a USB class device by the first computing device, and can also be identified as a USB manufacturer-defined category device or a USB class device by the second computing device. At this time, the USB sharing device also includes:
[0065] The other side downstream USB endpoint can be allocated a USB pipe by the second computing device, and the downstream USB endpoint allocated with the USB pipe is defined as a pipe endpoint, and there are multiple pipe endpoints; the pipe endpoint is used to receive shared data downloaded by the second computing device, and the shared data has different uses, and different pipe endpoints are specified for different uses;
[0066] The shared control unit is also used to establish a corresponding relationship between the other side's downlink USB endpoint and the one side's uplink USB endpoint, so that the other side's downlink USB endpoint corresponds to the one side's uplink USB endpoint one by one;
[0067] One-side uploading USB endpoint is used to receive shared data transmitted by the corresponding pipe endpoint, and the shared data is uploaded to the first computing device through the one-side uploading USB endpoint;
[0068] A second shared data acquisition module is a software module installed on the second computing device, used to acquire the shared data of the second computing device and transmit the shared data to the second driving module;
[0069] The second driver module is a driver software with a pipeline transparent transmission function installed on the second computing device, which is generally provided by the manufacturer and is used to transmit the shared data of the second computing device to the designated pipeline endpoint through the USB pipeline.
[0070] The USB sharing device can be identified by at least one computing device as a USB composite device (CompositeDevice) or a USB composite device (Compound Device). For example, the USB sharing device includes a USB hub, and the downstream port of the USB hub is connected to at least one USB manufacturer-defined category device, and may also be connected to other USB devices to communicate with the computer.
[0071] Furthermore, for USB composite devices, all USB manufacturer-defined category devices, all USB class devices, and all USB endpoints can be integrated into a single chip with at least two USB ports, and the above devices can be implemented by a USB interface; for USB combined devices, all USB hubs, all USB manufacturer-defined category devices, all USB class devices, and all USB endpoints can be integrated into a single chip with at least two USB upstream ports, and the above devices can be built-in logical devices or virtual devices connected to the downstream port of the USB hub. In addition, the integrated chip can also provide several USB downstream ports for external USB devices. For example, the USB sharing device is a new type of data sharing device architecture based on a built-in hub architecture, multiple USB device controllers, and a high-speed MCU or SoC with multiple USB endpoints and multiple downstream ports. Combined with the communication transparent transmission method of the present invention, the transmission efficiency is higher, and the advantages of the rapid development of integrated circuit technology are fully utilized to meet the needs of large amounts of data sharing information.
Claims
1. A communication transparent transmission method for a USB sharing device, characterized in that: The following steps are involved: The USB sharing device establishes a corresponding relationship between a downlink USB endpoint on one side and an uplink USB endpoint on the other side, and the downlink USB endpoint on one side corresponds to the uplink USB endpoint on the other side one-to-one, wherein one side refers to the side connected to the first computing device; the other side refers to the side connected to the second computing device; The USB sharing device is connected to the first computing device and the second computing device, the USB sharing device is identified by the first computing device as at least one USB vendor-defined category device, and is identified by the second computing device as at least one USB class device and at least one USB vendor-defined category device; a USB pipe is allocated to a downstream USB endpoint on one side of the USB sharing device by the first computing device, and the downstream USB endpoint allocated with the USB pipe is defined as a pipe endpoint, and there are multiple pipe endpoints; The first shared data acquisition module acquires the shared data of the first computing device and transmits the shared data to the first driving module; The first driver module transmits the shared data to the designated pipe endpoint through the USB pipe, wherein the shared data has different uses, and different pipe endpoints are designated for different uses, and the uses of the shared data include at least one of sharing a device and sharing information; The pipe endpoint receives the shared data of the first computing device; According to the corresponding relationship, the shared data is transmitted from the pipe endpoint to the upload USB endpoint on the other side. When the shared data is used to share information, the shared data will be transmitted to the designated upload USB endpoint of the USB manufacturer-defined category device on the other side; when the shared data is used to share a device, the shared data will be transmitted to the designated upload USB endpoint of the USB class device on the other side, and the shared data will be uploaded to the second computing device through the upload USB endpoint on the other side.
2. The communication transparent transmission method of the USB sharing device according to claim 1, characterized in that: When shared data is used to share devices, the pipe endpoints are different for different devices; when shared data is used to share information, the pipe endpoints are different for different information.
3. The communication transparent transmission method of the USB sharing device according to claim 1 or 2, characterized in that: The method for transmitting the shared data from the pipe endpoint to the other side upload USB endpoint according to the corresponding relationship is: the pipe endpoint and the other side upload USB endpoint share the same buffer.
4. The communication transparent transmission method of the USB sharing device according to claim 1 or 2, characterized in that: The method for transmitting shared data from the pipe endpoint to the other side upload USB endpoint according to the corresponding relationship is: the pipe endpoint and the other side upload USB endpoint have different buffers respectively, and the data stored in the buffer of the pipe endpoint is copied to the buffer of the other side upload USB endpoint.
5. A USB sharing device, characterized in that: The USB sharing device can be identified by the first computing device as at least one USB vendor-defined category device, and can be identified by the second computing device as at least one USB class device and at least one USB vendor-defined category device; comprising: A first USB port for connecting to a first computing device; a second USB port for connecting to a second computing device; A one-side downstream USB endpoint can be allocated a USB pipe by the first computing device, and the downstream USB endpoint allocated with the USB pipe is defined as a pipe endpoint, and there are multiple pipe endpoints; the pipe endpoint is used to receive shared data downloaded by the first computing device, and the shared data has different uses, and different pipe endpoints are specified for different uses, and the use of the shared data includes at least one of being used for sharing devices and being used for sharing information; A sharing control unit is used to establish a corresponding relationship between a downstream USB endpoint on one side and an upstream USB endpoint on the other side, and the downstream USB endpoint on one side corresponds to the upstream USB endpoint on the other side. When the shared data is used to share information, the shared data will be transmitted to the designated upload USB endpoint of the USB manufacturer-defined class device on the other side; when the shared data is used to share a device, the shared data will be transmitted to the designated upload USB endpoint of the USB class device on the other side; The other-side upload USB endpoint is used to receive the shared data transmitted by the corresponding pipe endpoint, and the shared data is uploaded to the second computing device through the other-side upload USB endpoint, wherein one side refers to the side connected to the first computing device; the other side refers to the side connected to the second computing device; A first shared data acquisition module is a software module installed on the first computing device, used to acquire the shared data of the first computing device and transmit the shared data to the first driving module; The first driver module is a driver software with a pipeline transparent transmission function installed on the first computing device, and is used to transmit the shared data of the first computing device to a designated pipeline endpoint through a USB pipeline.
6. The USB sharing device according to claim 5, characterized in that: When shared data is used to share devices, the pipe endpoints are different for different devices; when shared data is used to share information, the pipe endpoints are different for different information.
7. The USB sharing device according to claim 5 or 6, characterized in that: The pipe endpoint shares the same buffer with the uploading USB endpoint on the other side.
8. The USB sharing device according to claim 5 or 6, characterized in that: The USB sharing device can be identified as at least one USB mass storage class device by at least one of the first computing device and the second computing device.
9. The USB sharing device according to claim 5 or 6, characterized in that: The USB sharing device can be identified by the first computing device as at least one USB manufacturer-defined category device and at least one USB class device, and can also be identified by the second computing device as at least one USB manufacturer-defined category device and at least one USB class device, and further includes: The other side downstream USB endpoint can be allocated a USB pipe by the second computing device, and the downstream USB endpoint allocated with the USB pipe is defined as a pipe endpoint, and there are multiple pipe endpoints; the pipe endpoint is used to receive shared data downloaded by the second computing device, and the shared data has different uses, and different pipe endpoints are specified for different uses; The shared control unit is also used to establish a corresponding relationship between the other side's downlink USB endpoint and the one side's uplink USB endpoint, so that the other side's downlink USB endpoint corresponds to the one side's uplink USB endpoint one by one; One-side uploading USB endpoint is used to receive shared data transmitted by the corresponding pipe endpoint, and the shared data is uploaded to the first computing device through the one-side uploading USB endpoint; A second shared data acquisition module is a software module installed on the second computing device, used to acquire the shared data of the second computing device and transmit the shared data to the second driving module; The second driver module is a driver software with a pipeline transparent transmission function installed on the second computing device, and is used to transmit the shared data of the second computing device to the designated pipeline endpoint through the USB pipeline.
Citation Information
Patent Citations
Data sharing and transfer systems and methods
CN101350001A
Method and equipment for sharing computer data among computers
CN1987858A