A USB virtual network card and server based on a PCIE bus

By designing a USB virtual network adapter based on the PCIe bus, and utilizing high-bandwidth Ethernet and a PCIe EP controller, the bandwidth limitation of USB virtual network adapters is solved, enabling more efficient data transmission and support for more devices.

CN116436722BActive Publication Date: 2025-12-16SHANDONG YUNHAI GUOCHUANG CLOUD COMPUTING EQUIP IND INNOVATION CENT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310418779.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-14
Publication Date
2025-12-16
Estimated Expiration
2043-04-14

AI Technical Summary

Technical Problem

Existing USB virtual network adapters connect to the local host via a USB interface. When using a USB hub module, the bandwidth cannot be increased, resulting in low data transmission efficiency, especially when there are many USB devices on the remote computer, leading to untimely data response.

Method used

By employing a USB virtual network card based on the PCIe bus, and through the design of the CPU, internal interconnect bus of the chip, Ethernet connection terminal and PCIe connection terminal, the bandwidth and number of devices of the USB virtual network card are increased. By utilizing the bandwidth of the Ethernet controller and the PCIe EP controller, which is greater than a threshold multiple of the bandwidth of the USB DEVICE controller, data transmission efficiency is improved.

Benefits of technology

It increases the bandwidth of the USB virtual network adapter, expands the number of supported devices, solves the problem of untimely data response, and improves the data transmission efficiency of USB remote devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116436722B_ABST
    Figure CN116436722B_ABST
Patent Text Reader

Abstract

The application provides a USB virtual network card and a server based on a PCIE bus, the USB virtual network card comprising: a CPU; a chip internal interconnection bus connected to the CPU; an Ethernet controller and an Ethernet PHY interface, a first end of the Ethernet controller being connected to the chip internal interconnection bus, a second end of the Ethernet controller being connected to a first end of the Ethernet PHY interface, a second end of the Ethernet PHY interface being connected to a remote computer; a first end of a USB DEVICE controller being connected in parallel to the chip internal interconnection bus, a second end of the USB DEVICE controller being connected in parallel to a first end of a USB HOST controller, a second end of the USB HOST controller being connected to a first end of a PCIE EP controller, a second end of the PCIE EP controller being connected to a first end of a PCIE PHY interface, a second end of the PCIE PHY interface being connected to a local host. Through the scheme of the application, the bandwidth of the USB virtual network card can be improved, the number of devices supported by the USB virtual network card can be increased, the efficiency of data transmission of the USB remote device can be improved, and the problem of untimely data response is solved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of computers, and more particularly to a PCIE bus-based USB virtual network card and server. BACKGROUND

[0002] With the rapid development of network technology, the application of USB virtual network cards is becoming more and more widespread, especially in the field of servers, more and more users will access server hosts through remote computers. The current USB virtual network card usually uses a USB interface to connect with a local host and supports multiple USB devices through an internal USB HUB module. However, as the number of internal USB devices of the USB virtual network card increases, its total bandwidth cannot increase. When there are a large number of USB devices on the remote computer, it will affect the data transmission, and the problem of data response not being timely may occur.

[0003] The current USB virtual network card is connected with a local host through a USB interface, and then forwards the data sent by the local host to multiple internal USB devices through an internal USB HUB module. Since the USB HUB module can only implement data distribution and cannot multiply bandwidth, the highest rate of the USB virtual network card can only be the highest rate of one USB device, which greatly limits the bandwidth and communication efficiency of the USB virtual network card. SUMMARY

[0004] Therefore, the purpose of the embodiments of the present application is to provide a PCIE bus-based USB virtual network card and server. By using the technical solutions of the present application, the bandwidth of the USB virtual network card can be improved, the number of devices supported by the USB virtual network card can be increased, and the efficiency of data transmission of USB remote devices can be improved, thereby solving the problem of data response not being timely.

[0005] In order to achieve the above purpose, one aspect of the embodiments of the present application provides a PCIE bus-based USB virtual network card, comprising:

[0006] CPU (Central Processing Unit, CPU as the computer system operation and control core, is the final execution unit of information processing, program running);

[0007] Chip internal interconnection bus, the chip internal interconnection bus is connected to the CPU;

[0008] Ethernet connection end, the Ethernet connection end includes an Ethernet controller and an Ethernet PHY (Physical) interface, a first end of the Ethernet controller is connected to the chip internal interconnection bus, a second end of the Ethernet controller is connected to a first end of the Ethernet PHY interface, a second end of the Ethernet PHY interface is connected to a remote computer;

[0009] PCIE connection end, the PCIE connection end includes a plurality of USB DEVICE controllers, a USB HOST controller, a PCIE EP controller and a PCIE PHY interface, a first end of the plurality of USB DEVICE controllers is connected to the chip internal interconnection bus in parallel, a second end of the plurality of USB DEVICE controllers is connected to a first end of the USB HOST controller in parallel, a second end of the USB HOST controller is connected to a first end of the PCIE EP controller, a second end of the PCIE EP controller is connected to a first end of the PCIE PHY interface, a second end of the PCIE PHY interface is connected to a local host, and a bandwidth of the Ethernet controller and a bandwidth of the PCIE EP controller are both greater than a threshold multiple of a bandwidth of the USB DEVICE controller.

[0010] According to one embodiment of the present application, further comprising:

[0011] Other peripheral interfaces, the other peripheral interfaces are connected to the chip internal interconnection bus, and the other peripheral interfaces are configured to realize data transmission between ASIC (Application Specific Integrated Circuit, ASIC) related peripheral modules and ASIC external interfaces.

[0012] According to one embodiment of the present application, further comprising:

[0013] An INTERCONNETC module is arranged between the internal interconnection bus and the plurality of USB DEVICE controllers, and is configured to implement data transmission between the plurality of USB DEVICE controllers and the internal interconnection bus.

[0014] According to an embodiment of the present application, the USB HOST controller comprises a ROOT HUB function.

[0015] According to an embodiment of the present application, the USB virtual network card is configured to read USB device information on a remote computer via the CPU through Ethernet, and map the corresponding USB device information to a plurality of USB DEVICE controllers on the USB virtual network card respectively, the local host reads device information on the plurality of USB DEVICE controllers through the PCIE bus, and completes configuration of the plurality of USB DEVICE controllers, the local host sends USB data to the USB HOST controller through the PCIE bus, the USB HOST controller converts data in the PCIE protocol into data in the USB protocol, and sends the data to the corresponding USB DEVICE controllers through the ROOT HUB respectively, the CPU assembles data of the USB DEVICE controllers into an Ethernet packet, and sends the Ethernet packet to the remote computer through the Ethernet PHY interface, the remote computer receives the Ethernet packet, analyzes the data, and sends the data to each USB device connected to the remote computer, the CPU analyzes the Ethernet packet sent by the remote computer, and sends extracted valid USB data to the corresponding USB DEVICE controller, and the USB data is sent to the local host through the PCIE bus by the USB HOST controller and the PCIE EP controller.

[0016] Another aspect of the embodiment of the present application also provides a server, which comprises a PCIE bus-based USB virtual network card, and the PCIE bus-based USB virtual network card comprises:

[0017] a CPU;

[0018] an internal interconnection bus, which is connected to the CPU;

[0019] an Ethernet connection end, which comprises an Ethernet controller and an Ethernet PHY interface, a first end of the Ethernet controller is connected to the internal interconnection bus, a second end of the Ethernet controller is connected to a first end of the Ethernet PHY interface, and a second end of the Ethernet PHY interface is connected to a remote computer;

[0020] PCIE connection end, the PCIE connection end includes a plurality of USB DEVICE controllers, a USB HOST controller, a PCIE EP controller and a PCIE PHY interface, the first end of the plurality of USB DEVICE controllers is connected to the chip internal interconnection bus in parallel, the second end is connected to the first end of the USB HOST controller in parallel, the second end of the USB HOST controller is connected to the first end of the PCIE EP controller, the second end of the PCIE EP controller is connected to the first end of the PCIE PHY interface, and the second end of the PCIE PHY interface is connected to the local host.

[0021] According to one embodiment of the application, further comprising:

[0022] Other peripheral interfaces, the other peripheral interfaces are connected to the chip internal interconnection bus, and the other peripheral interfaces are configured to realize data transmission between ASIC related peripheral modules and ASIC external interfaces.

[0023] According to one embodiment of the application, further comprising:

[0024] INTERCONNETC module, the INTERCONNETC module is arranged between the chip internal interconnection bus and the plurality of USB DEVICE controllers, and the INTERCONNETC module is configured to realize data transmission between the plurality of USB DEVICE controllers and the chip internal interconnection bus.

[0025] According to one embodiment of the application, the USB HOST controller includes a ROOT HUB function.

[0026] According to one embodiment of the present application, the USB virtual network card is configured to read the USB device information on the remote computer via the CPU through Ethernet, and map the corresponding USB device information to a plurality of USB DEVICE controllers on the USB virtual network card respectively, the local host reads the device information on the plurality of USB DEVICE controllers through the PCIE bus, and completes the configuration of the plurality of USB DEVICE controllers, the local host sends the USB data to the USB HOST controller through the PCIE bus, the USB HOST controller converts the data in the PCIE protocol into data in the USB protocol, and sends the data to the corresponding USB DEVICE controllers through the ROOT HUB respectively, the CPU assembles the data of the USB DEVICE controllers into an Ethernet packet, and sends the Ethernet packet to the remote computer through the Ethernet PHY interface, the remote computer receives the Ethernet data packet, analyzes the data, and sends the data to each USB device connected to the remote computer, the CPU analyzes the Ethernet data packet sent by the remote computer, and sends the extracted valid USB data to the corresponding USB DEVICE controller, and the USB data is sent to the local host through the USB HOST controller and the PCIE EP controller through the PCIE bus, wherein the bandwidth of the Ethernet controller and the bandwidth of the PCIE EP controller are both greater than a threshold multiple of the bandwidth of the USB DEVICE controller.

[0027] The application has the following beneficial technical effects: the method for improving the performance of a K8S cluster container application provided by the embodiment of the application sets a CPU, a chip internal interconnection bus, an Ethernet connection end, and a PCIE connection end, and the chip internal interconnection bus is connected to the CPU, the Ethernet connection end includes an Ethernet controller and an Ethernet PHY interface, the first end of the Ethernet controller is connected to the chip internal interconnection bus, the second end of the Ethernet controller is connected to the first end of the Ethernet PHY interface, the second end of the Ethernet PHY interface is connected to a remote computer, the PCIE connection end includes a plurality of USB DEVICE controllers, a USB HOST controller, a PCIE EP controller, and a PCIE PHY interface, the first ends of the plurality of USB DEVICE controllers are connected in parallel to the chip internal interconnection bus, the second ends of the plurality of USB DEVICE controllers are connected in parallel to the first end of the USB HOST controller, the second end of the USB HOST controller is connected to the first end of the PCIE EP controller, the second end of the PCIE EP controller is connected to the first end of the PCIE PHY interface, and the second end of the PCIE PHY interface is connected to a local host, and the bandwidth of the Ethernet controller and the bandwidth of the PCIE EP controller are both greater than a threshold multiple of the bandwidth of the USB DEVICE controller, which can improve the bandwidth of the USB virtual network card, increase the number of devices supported by the USB virtual network card, improve the efficiency of data transmission of the USB remote device, and solve the problem of delayed data response. BRIEF DESCRIPTION OF DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings needed to be used in the embodiments or the prior art description. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other embodiments can also be obtained from these drawings without creative labor.

[0029] Figure 1 A schematic diagram of a USB virtual network card based on a PCIE bus according to an embodiment of the present application;

[0030] Figure 2 A schematic diagram of a USB virtual network card connected to a host according to an embodiment of the present application. DETAILED DESCRIPTION

[0031] In order to make the objects, technical solutions, and advantages of the present application clearer, the following will further describe the embodiments of the present application in combination with specific embodiments and with reference to the drawings.

[0032] Based on the above purpose, the first aspect of the embodiments of the present application proposes an embodiment of a USB virtual network card based on a PCIE bus. Figure 1A schematic diagram of the USB virtual network card is shown.

[0033] As shown in Figure 1 The USB virtual network card can include:

[0034] A CPU, which implements the control and internal data processing functions of the entire internal module of the USB virtual network card, converts local USB data into Ethernet data packets and transmits them to a remote computer through an Ethernet PHY interface, receives Ethernet data packets sent by the remote computer, parses the data packets, extracts valid USB data, and sends the data to the corresponding USB DEVICE equipment.

[0035] It also includes a chip internal interconnection bus connected to the CPU, which realizes data transmission between various functional modules within the ASIC.

[0036] It also includes an Ethernet connection end, which includes an Ethernet controller and an Ethernet PHY interface. The first end of the Ethernet controller is connected to the chip internal interconnection bus, the second end is connected to the first end of the Ethernet PHY interface, and the second end of the Ethernet PHY interface is connected to a remote computer. The Ethernet controller realizes Ethernet communication between the USB virtual network card and the remote computer, and the bandwidth of the Ethernet controller needs to be greater than N times the bandwidth of the USB DEVICE controller.

[0037] The PCIE connection end comprises a plurality of USB DEVICE controllers, a USB HOST controller, a PCIE EP controller and a PCIE PHY interface, the first ends of the plurality of USB DEVICE controllers are connected in parallel to the chip internal interconnection bus, the second ends are connected in parallel to the first end of the USB HOST controller, the second end of the USB HOST controller is connected to the first end of the PCIE EP controller, the second end of the PCIE EP controller is connected to the first end of the PCIE PHY interface, and the second end of the PCIE PHY interface is connected to the local host, wherein the bandwidth of the Ethernet controller and the bandwidth of the PCIE EP controller are both greater than the threshold multiple of the bandwidth of the USB DEVICE controller. The PCIE EP controller realizes USB data transmission between the USB virtual network card and the local host, the bandwidth of the PCIE EP controller needs to be greater than N times the bandwidth of the USB DEVICE controller, the USB HOST controller (with a ROOT HUB function) forwards the data sent by the local host to the corresponding USB DEVICE controller according to the corresponding USB DEVICE address, and full-bandwidth operation of N USB DEVICE controllers can be realized, wherein the number of N is different based on the USB protocol, and the INTERCONNETC module realizes data transmission between the N USB DEVICE controllers and the chip internal interconnection bus.

[0038] By using the technical solution of the application, the bandwidth of the USB virtual network card can be improved, the number of devices supported by the USB virtual network card can be increased, the efficiency of data transmission of the USB remote device can be improved, and the problem of delayed data response is solved.

[0039] In a preferred embodiment of the application, the chip further comprises:

[0040] The other peripheral interface is connected to the chip internal interconnection bus, and is configured to realize data transmission between the ASIC related peripheral module and the ASIC external interface.

[0041] In a preferred embodiment of the application, the chip further comprises:

[0042] The INTERCONNETC module is arranged between the chip internal interconnection bus and the plurality of USB DEVICE controllers, and is configured to realize data transmission between the plurality of USB DEVICE controllers and the chip internal interconnection bus.

[0043] In a preferred embodiment of the application, the USB HOST controller comprises a ROOT HUB function.

[0044] In a preferred embodiment of the present application, as shown in Figure 2 The USB virtual network card is connected to the local host and the remote computer, the USB virtual network card is configured to read the USB device information on the remote computer via the CPU through the Ethernet, and the corresponding USB device information is mapped to the USB DEVICE controllers on the USB virtual network card. The local host reads the device information on the USB DEVICE controllers through the PCIE bus and completes the configuration of the USB DEVICE controllers. The local host sends the USB data to the USB HOST controller through the PCIE bus. The USB HOST controller converts the PCIE protocol data into USB protocol data and sends the data to the corresponding USB DEVICE controllers through the ROOT HUB. The CPU assembles the USB DEVICE controller data into an Ethernet packet and sends it to the remote computer through the Ethernet PHY interface. The remote computer receives the Ethernet data packet and parses the data, and sends it to each USB device connected to the remote computer. The CPU parses the Ethernet data packet sent by the remote computer and sends the extracted valid USB data to the corresponding USB DEVICE controller. The USB data is sent to the local host through the PCIE bus by the USB HOST controller and the PCIE EP controller.

[0045] In a preferred embodiment of the present application, the method for data transmission using the USB virtual network card as shown in Figure 1 The method for data transmission using the USB virtual network card as shown in

[0046] 1. Connect the PCIE bus-based USB virtual network card to the remote computer through the Ethernet, connect the PCIE bus-based USB virtual network card to the PCIE interface of the local host, and keep the entire system powered on and running;

[0047] 2. The CPU on the USB virtual network card reads the USB device information on the remote computer through the Ethernet, and maps the corresponding USB device information to N USB DEVICEs on the virtual network card;

[0048] 3. The local host reads the device information of the N USB DEVICEs through the PCIE bus and completes the enumeration configuration of the N USB DEVICEs;

[0049] 4. The local host sends the USB data to the USB HOST controller through the PCIE bus. The USB HOST controller converts the PCIE protocol data into USB protocol data and sends the data to the corresponding USB DEVICE through the ROOT HUB;

[0050] 5、CPU will be the data of USB DEVICE Ethernet package, and send to the remote computer through the Ethernet PHY interface, the remote computer receives the Ethernet data packet to parse the data, and send to each USB device;

[0051] 6、CPU to the remote computer sent Ethernet data packet analysis, extraction of valid USB data sent to the corresponding USB DEVICE, through the USB HOST controller and PCIE EP controller, ultimately through the PCIE bus to send USB data to the local host.

[0052] Through the use of the technical scheme of the application, the bandwidth of the USB virtual network card can be improved, the number of devices supported by the USB virtual network card can be increased, the efficiency of data transmission of the USB remote device can be improved, the problem of delayed data response can be solved, the USB virtual network card function based on the PCIE bus can be realized on the ASIC, and a realizable scheme is provided for the chip architecture design of the ASIC.

[0053] Based on the above purpose, a second aspect of an embodiment of the application provides a server, the server comprising a USB virtual network card based on a PCIE bus, the USB virtual network card based on the PCIE bus comprising:

[0054] CPU, CPU realizes the control and internal data processing function of the whole USB virtual network card internal module, the CPU converts the local USB data into an Ethernet data packet and transmits it to the remote computer through the Ethernet PHY interface, simultaneously receives the Ethernet data packet sent by the remote computer, parses the data packet, extracts the valid USB data, and sends it to the corresponding USB DEVICE.

[0055] It also includes a chip internal interconnection bus connected to the CPU, and the chip internal interconnection bus realizes the data transmission between the various functional modules in the ASIC.

[0056] It also includes an Ethernet connection end, which includes an Ethernet controller and an Ethernet PHY interface, the first end of the Ethernet controller is connected to the chip internal interconnection bus, the second end is connected to the first end of the Ethernet PHY interface, and the second end of the Ethernet PHY interface is connected to the remote computer, the Ethernet controller realizes the Ethernet communication between the USB virtual network card and the remote computer, and the bandwidth of the Ethernet controller needs to be greater than N times the bandwidth of the USB DEVICE controller.

[0057] The PCIE connection end comprises a plurality of USB DEVICE controllers, a USB HOST controller, a PCIE EP controller and a PCIE PHY interface, the first ends of the plurality of USB DEVICE controllers are connected in parallel to the chip internal interconnection bus, the second ends are connected in parallel to the first end of the USB HOST controller, the second end of the USB HOST controller is connected to the first end of the PCIE EP controller, the second end of the PCIE EP controller is connected to the first end of the PCIE PHY interface, and the second end of the PCIE PHY interface is connected to the local host, wherein the bandwidth of the Ethernet controller and the bandwidth of the PCIE EP controller are both greater than the threshold multiple of the bandwidth of the USB DEVICE controller. The PCIE EP controller realizes USB data transmission between the USB virtual network card and the local host, the bandwidth of the PCIE EP controller needs to be greater than N times the bandwidth of the USB DEVICE controller, the USB HOST controller (with a ROOT HUB function) forwards the data sent by the local host to the corresponding USB DEVICE controller according to the corresponding USB DEVICE address, and full-bandwidth operation of N USB DEVICE controllers can be realized, wherein the number of N is different based on the USB protocol, and the INTERCONNETC module realizes data transmission between the N USB DEVICE controllers and the chip internal interconnection bus.

[0058] By using the technical solution of the application, the bandwidth of the USB virtual network card in the server can be improved, the number of devices supported by the USB virtual network card can be increased, the efficiency of data transmission of the USB remote device can be improved, and the problem of delayed data response is solved.

[0059] In a preferred embodiment of the application, the chip further comprises:

[0060] The other peripheral interface is connected to the chip internal interconnection bus, and is configured to realize data transmission between the ASIC related peripheral module and the ASIC external interface.

[0061] In a preferred embodiment of the application, the chip further comprises:

[0062] The INTERCONNETC module is arranged between the chip internal interconnection bus and the plurality of USB DEVICE controllers, and is configured to realize data transmission between the plurality of USB DEVICE controllers and the chip internal interconnection bus.

[0063] In a preferred embodiment of the application, the USB HOST controller comprises a ROOT HUB function.

[0064] In a preferred embodiment of the present application, the USB virtual network card is configured to read the USB device information on the remote computer via the CPU through Ethernet, and map the corresponding USB device information to a plurality of USB DEVICE controllers on the USB virtual network card respectively, the local host reads the device information on the plurality of USB DEVICE controllers through the PCIE bus, and completes the configuration of the plurality of USB DEVICE controllers, the local host sends the USB data to the USB HOST controller through the PCIE bus, the USB HOST controller converts the data in the PCIE protocol into the data in the USB protocol, and sends the data to the corresponding USB DEVICE through the ROOT HUB respectively, the CPU assembles the data of the USB DEVICE controller into an Ethernet packet, and sends the Ethernet packet to the remote computer through the Ethernet PHY interface, the remote computer parses the data after receiving the Ethernet packet, and sends the data to each USB device connected to the remote computer, the CPU parses the Ethernet packet sent by the remote computer, and sends the extracted valid USB data to the corresponding USB DEVICE controller, and the USB data is sent to the local host through the PCIE bus by the USB HOST controller and the PCIE EP controller, wherein the bandwidth of the Ethernet controller and the bandwidth of the PCIE EP controller are both greater than a threshold multiple of the bandwidth of the USB DEVICE controller.

[0065] In a preferred embodiment of the present application, the method for data transmission using the USB virtual network card as shown in Figure 1 includes the following steps:

[0066] 1. Connect the USB virtual network card based on the PCIE bus to the remote computer through Ethernet, connect the USB virtual network card based on the PCIE bus to the PCIE interface of the local host, and keep the entire system powered on and running;

[0067] 2. The CPU on the USB virtual network card reads the USB device information on the remote computer through Ethernet, and maps the corresponding USB device information to N USB DEVICEs on the virtual network card respectively;

[0068] 3. The local host reads the device information of the N USB DEVICEs through the PCIE bus, and completes the enumeration configuration of the N USB DEVICEs;

[0069] 4. The local host sends the USB data to the USB HOST controller through the PCIE bus, the USB HOST controller converts the data in the PCIE protocol into the data in the USB protocol, and sends the data to the corresponding USB DEVICE through the ROOT HUB respectively.

[0070] 5. The CPU assembles the data of the USB DEVICE into an Ethernet packet and sends it to the remote computer through the Ethernet PHY interface. The remote computer receives the Ethernet data packet and parses the data, and sends it to each USB device.

[0071] 6. The CPU parses the Ethernet data packet sent by the remote computer, extracts the valid USB data and sends it to the corresponding USB DEVICE, through the USB HOST controller and the PCIE EP controller, and finally sends the USB data to the local host through the PCIE bus.

[0072] By using the technical scheme of the application, the bandwidth of the USB virtual network card can be improved, the number of devices supported by the USB virtual network card can be increased, the efficiency of data transmission of the USB remote device can be improved, the problem of delayed data response is solved, the USB virtual network card function based on the PCIE bus can be realized on the ASIC, and an implementable scheme is provided for the chip architecture design of the ASIC.

[0073] Those skilled in the art will further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein can be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the overall system. Skilled artisans can implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present embodiments disclosed.

[0074] The above is the exemplary embodiment disclosed by the application, but it should be noted that various changes and modifications can be made without departing from the scope of the embodiments disclosed by the application defined by the claims. The functions, steps and / or actions of the method claims described in the embodiments disclosed herein need not be performed in any particular order. Furthermore, although the elements of the embodiments disclosed by the application can be described or claimed in individual form or in a singular tense, they can also be understood to be plural unless explicitly limited to singular.

[0075] Those skilled in the art should understand that the above discussion of any embodiment is only exemplary, and is not intended to mean that the scope of the embodiments disclosed by the present application (including claims) is limited to these examples; under the idea of the embodiments of the present application, the above embodiments or technical features in different embodiments can also be combined, and there are many other changes of different aspects of the embodiments of the present application as above. In order to be brief, they are not provided in details. Therefore, any omission, modification, equivalent replacement, improvement, etc. made in the spirit and principle of the embodiments of the present application shall be included in the protection scope of the embodiments of the present application.

Claims

1. A USB virtual network adapter based on a PCIe bus, characterized in that, include: CPU; An internal interconnect bus, which is connected to the CPU; An Ethernet connection terminal, comprising an Ethernet controller and an Ethernet PHY interface, wherein the first end of the Ethernet controller is connected to the internal interconnect bus of the chip, the second end is connected to the first end of the Ethernet PHY interface, and the second end of the Ethernet PHY interface is connected to a remote computer. The PCIe connector includes several USB device controllers, a USB host controller, a PCIe EP controller, and a PCIe PHY interface. The first ends of the USB device controllers are connected in parallel to the internal interconnect bus of the chip, and the second ends are connected in parallel to the first ends of the USB host controllers. The second ends of the USB host controllers are connected to the first ends of the PCIe EP controllers, and the second ends of the PCIe EP controllers are connected to the first ends of the PCIe PHY interface. The second ends of the PCIe PHY interface are connected to the local host. The PCIe EP controller is configured to enable USB data transmission between the USB virtual network adapter and the local host. The bandwidth of both the Ethernet controller and the PCIe EP controller is greater than a threshold multiple of the bandwidth of the USB device controller. The USB host controller includes a root hub function. The USB virtual network adapter is configured to send USB data from the local host to the USB host controller via the PCIe bus. The USB host controller is configured to send data to the corresponding USB device controllers via the root hub, thereby achieving full bandwidth operation of the multiple USB device controllers.

2. The USB virtual network adapter according to claim 1, characterized in that, Also includes: Other peripheral interfaces are connected to the chip's internal interconnect bus and are configured to enable data transmission between ASIC-related peripheral modules and ASIC external interfaces.

3. The USB virtual network adapter according to claim 1, characterized in that, Also includes: The interconnect module is located between the chip's internal interconnect bus and several USB device controllers. The interconnect module is configured to enable data transmission between the several USB device controllers and the chip's internal interconnect bus.

4. The USB virtual network adapter according to claim 1, characterized in that, The USB virtual network adapter is configured such that the CPU reads USB device information from the remote computer via Ethernet and maps the corresponding USB device information to several USB device controllers on the USB virtual network adapter. The local host reads device information from several USB device controllers via the PCIe bus and completes the configuration of several USB device controllers. The local host sends USB data to the USB host controller via the PCIe bus. The USB host controller converts the PCIe protocol data into USB protocol data and sends the data to the corresponding USB device controllers via the root hub. The CPU assembles the data from the USB device controllers into Ethernet packets and sends them to the remote computer via the Ethernet PHY interface. After receiving the Ethernet data packets, the remote computer parses the data and sends it to each USB device connected to the remote computer. The CPU parses the Ethernet data packets sent by the remote computer and sends the extracted valid USB data to the corresponding USB device controller. The USB data is then sent to the local host via the PCIe bus through the USB host controller and the PCIe EP controller.

5. A server, characterized in that, The server includes a USB virtual network adapter based on a PCIe bus, and the PCIe bus-based USB virtual network adapter includes: CPU; An internal interconnect bus, which is connected to the CPU; An Ethernet connection terminal, comprising an Ethernet controller and an Ethernet PHY interface, wherein the first end of the Ethernet controller is connected to the internal interconnect bus of the chip, the second end is connected to the first end of the Ethernet PHY interface, and the second end of the Ethernet PHY interface is connected to a remote computer. The PCIe connector includes several USB device controllers, a USB host controller, a PCIe EP controller, and a PCIe PHY interface. The first ends of the USB device controllers are connected in parallel to the internal interconnect bus of the chip, and the second ends are connected in parallel to the first ends of the USB host controllers. The second ends of the USB host controllers are connected to the first ends of the PCIe EP controllers, and the second ends of the PCIe EP controllers are connected to the first ends of the PCIe PHY interface. The second ends of the PCIe PHY interface are connected to the local host. The PCIe EP controller is configured to enable USB data transmission between the USB virtual network adapter and the local host. The bandwidth of both the Ethernet controller and the PCIe EP controller is greater than a threshold multiple of the bandwidth of the USB device controller. The USB host controller includes a root hub function. The USB virtual network adapter is configured to send USB data from the local host to the USB host controller via the PCIe bus. The USB host controller is configured to send data to the corresponding USB device controllers via the root hub, thereby achieving full bandwidth operation of the multiple USB device controllers.

6. The server according to claim 5, characterized in that, Also includes: Other peripheral interfaces are connected to the chip's internal interconnect bus and are configured to enable data transmission between ASIC-related peripheral modules and ASIC external interfaces.

7. The server according to claim 5, characterized in that, Also includes: The interconnect module is located between the chip's internal interconnect bus and several USB device controllers. The interconnect module is configured to enable data transmission between the several USB device controllers and the chip's internal interconnect bus.

8. The server according to claim 5, characterized in that, The USB virtual network adapter is configured such that the CPU reads USB device information from the remote computer via Ethernet and maps the corresponding USB device information to several USB device controllers on the USB virtual network adapter. The local host reads device information from several USB device controllers via the PCIe bus and completes the configuration of several USB device controllers. The local host sends USB data to the USBHOST controller via the PCIe bus. The USB HOST controller converts the PCIe protocol data into USB protocol data and sends the data to the corresponding USB device controllers via the root hub. The CPU assembles the data from the USB device controllers into Ethernet packets and sends them to the remote computer via the Ethernet PHY interface. After receiving the Ethernet data packets, the remote computer parses the data and sends it to each USB device connected to the remote computer. The CPU parses the Ethernet data packets sent by the remote computer and sends the extracted valid USB data to the corresponding USB device controller. The USB data is then sent to the local host via the PCIe bus through the USB HOST controller and the PCIe EP controller. The bandwidth of the Ethernet controller and the PCIe EP controller are both greater than the bandwidth of the USB device controller by a threshold multiple.

Citation Information

Patent Citations

  • FPGA prototype verification device, system and method

    CN115408983A

  • USB data transmission method and device based on BMC chip

    CN115905069A