Wireless USB hub device and heterogeneous equipment mapping method thereof
Wired and wireless mode switching is achieved through wireless USB hub devices, solving the flexibility and security problems of traditional USB device connection methods, improving the convenience and security of the device usage, and meeting daily needs through transmission rates and working hours.
Patent Information
- Application Number
- CN202510783284.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-12
- Publication Date
- 2025-08-29
AI Technical Summary
The wired connection method of traditional USB devices limits the flexibility of the layout of the device, easily damages the computer interface, and is cumbersome when multiple people share the device. The existing USB docking station products cannot completely get rid of the cables and cannot solve the above problems.
It adopts a wireless USB hub device, including a main control module, power management system, interface multiplexing module and virtualization service program, supports wired and wireless mode switching, combines lithium battery and dynamic power consumption management to achieve cable-free work, and converts the physical USB interface into a network service endpoint through a virtualization service program, supporting heterogeneous device mapping.
The wireless connection distance is ≥10 meters, the transmission rate is ≥100Mbps, the equipment is ease of use and security, the transmission rate reaches 800MB/s in wired mode, and the equipment is fully loaded and working time exceeds 10 hours, meeting the daily use needs.
Smart Images

Figure CN120567264A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer peripheral devices, and in particular to a wireless USB hub device and a heterogeneous device mapping method thereof. Background Art
[0002] With the continuous development of computer technology, USB devices such as USB flash drives, printers, microphones, mice, keyboards, etc. have been widely used in people's daily office, study, life and entertainment scenarios.
[0003] The traditional way to connect USB devices is to plug them directly into the USB port of a terminal device, such as a computer, via a USB cable. This wired connection method has many inconveniences. On the one hand, wired connections are limited by cable length. When using USB devices, the device and the computer must be placed in a relatively close range. For example, when a large device such as a printer needs to be placed in a different room from the computer, it is difficult to connect it via a conventional USB cable, which limits the flexibility of the device layout. On the other hand, frequent plugging and unplugging of USB devices for a long time can easily damage the computer's USB port, affecting its normal use. For some USB devices that may have potential risks (such as unstable current), their abnormal conditions may directly affect the computer's USB port and even cause damage to the computer hardware. In addition, in scenarios where multiple people share some USB devices (such as USB microphones), they need to constantly plug and unplug the devices to switch between them, which is cumbersome and easily causes interface wear. Although there are USB docking station products on the market, they still cannot completely get rid of cables and cannot fundamentally solve the many problems caused by the above-mentioned wired connections. To this end, we propose a wireless USB hub device and its heterogeneous device mapping method. Summary of the Invention
[0004] The purpose of the present invention is to solve the problems mentioned in the above background technology. The present invention provides a wireless USB hub device and a heterogeneous device mapping method thereof.
[0005] In order to achieve the above-mentioned purpose, the present invention specifically adopts the following technical solutions:
[0006] A wireless USB hub device, comprising:
[0007] A main control module, which supports various USB protocols and includes a processor with at least one USB interface, and supports a Wi-Fi network module;
[0008] A power management system that enables the device to operate completely cable-free;
[0009] An interface multiplexing module, which enables on-demand switching of the physical interface between wired mode and wireless mode;
[0010] A virtualization service program, which runs in the main control module and is used to convert the physical USB interface into a network service endpoint;
[0011] The client program is a client program that can be accessed by a remote computer through a wireless network protocol.
[0012] Furthermore, the power management system includes a lithium battery charging module and a dynamic power consumption adjustment algorithm, which automatically adjusts power supply parameters according to the number of connected devices.
[0013] Furthermore, the interface multiplexing module includes an analog switch circuit, which supports electrical isolation switching between wireless mode and wired mode of the USB interface to be connected.
[0014] Furthermore, the virtualization service program adopts a transport layer encryption protocol.
[0015] A heterogeneous device mapping method for a wireless USB hub device according to any one of the above items, the method comprising:
[0016] Heterogeneous processing unit, wherein the heterogeneous processing unit uses an embedded processor and integrates a USB controller and a WiFi wireless module;
[0017] A dual-mode interface system, comprising a physical interface group and a multiplexing control circuit;
[0018] A virtualization service layer, which runs a customized Linux system and deploys USB / IP service programs;
[0019] An intelligent power supply system includes a built-in lithium battery and a dynamic power consumption management algorithm. The built-in lithium battery integrates a power management system, and the dynamic power consumption management algorithm automatically allocates appropriate computing resources based on the number and type of connected USB devices.
[0020] Further, the following steps are included:
[0021] Step 1: Turn on the wireless USB hub and install the operating system;
[0022] Step 2: Connect the wireless USB hub to the Wi-Fi network.
[0023] Step 3: Run the server software;
[0024] Step 4. Open the computer and run the client software. If the server program is already running on the wireless USB hub, the connectable devices will be displayed directly. If not automatically searched, connect by manually entering the IP address.
[0025] The beneficial effects of the present invention are as follows:
[0026] The present invention can realize both wired and wireless modes. Among them, the transmission rate of wired mode is ≥800MB / s (compliant with USB3.2 Gen2 standard); the wireless connection distance is ≥10 meters (indoor environment); it is compatible with existing USB devices without modification; the transmission rate of wireless mode is ≥100Mbps (measured data); in wireless mode, the device can work at full load for more than 10 hours, meeting the needs of a whole day of use; it can effectively improve the convenience, flexibility and safety of USB device use. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a system architecture block diagram of the present invention;
[0028] Figure 2 It is an interactive block diagram of the present invention;
[0029] Figure 3 It is a flow chart of the mapping method in the present invention. DETAILED DESCRIPTION
[0030] To make the objectives, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
[0031] See also Figure 1 - Figure 2 The present invention provides a wireless USB hub device, comprising:
[0032] The main control module supports various USB protocols and includes a processor with at least one USB interface, as well as a Wi-Fi network module.
[0033] Power management system: The power management system enables the device to operate completely cable-free; the power management system includes a lithium battery charging module and a dynamic power consumption adjustment algorithm, which automatically adjusts the power supply parameters according to the number of connected devices.
[0034] The interface multiplexing module realizes the on-demand switching of the physical interface between wired mode and wireless mode; the interface multiplexing module contains an analog switch circuit, which supports the electrical isolation switching between wireless mode and wired mode of the USB interface that needs to be connected.
[0035] The virtualization service program runs in the main control module and is used to convert the physical USB interface into a network service endpoint; the virtualization service program uses a transport layer encryption protocol to ensure USB data security.
[0036] The client program is a program that is run on a remote computer and can access the USB device via a wireless network protocol.
[0037] See also Figure 1 - Figure 3 The present invention also provides a method for mapping heterogeneous devices in a wireless USB hub, comprising:
[0038] Heterogeneous processing unit, which uses an embedded processor and integrates a USB controller and WiFi wireless module;
[0039] The dual-mode interface system includes a physical interface group and a multiplexing control circuit.
[0040] The physical interface group includes USB-A, USB-C, TF card slot, etc.
[0041] The multiplexing control circuit includes an analog switch chip and switching logic. The analog switch chip is AW3410S+RS2227XN, and the switching logic is used to implement manual switching by the user.
[0042] Virtualization service layer, the virtualization service layer runs customized Linux system and deploys USB / IP service program.
[0043] Deploy USB / IP service program to implement device enumeration virtualization, data packet encapsulation (TCP / UDP dual mode) and TLS1.3 encrypted transmission (ECDHE key exchange).
[0044] The intelligent power system includes a built-in lithium battery and a dynamic power management algorithm. The built-in lithium battery has an integrated power management system that supports charging, discharging, and battery protection. The dynamic power management algorithm automatically allocates appropriate computing resources based on the number and type of connected USB devices, minimizing power consumption without affecting performance. The measured data is as follows (Allwinner H618 main controller + AW859A Wi-Fi module):
[0045]
[0046] Example 1
[0047] A method for heterogeneous device mapping of a wireless USB hub device is provided. The method is based on the wireless USB hub device implemented by the Suanneng sg2002 chip (RISC-V architecture) and the Linux system combined with VirtualHere, and includes the following steps:
[0048] Step A1: First, power on the wireless USB hub and install the Linux operating system.
[0049] Step A2: Connect to Wi-Fi and set Wi-Fi to STA mode:
[0050] touch / boot / wifi.sta
[0051] rm / boot / wifi.ap / boot / wifi.mon
[0052] Set Wi-Fi name and password:
[0053] echo ssid> / boot / wifi.ssid
[0054] echo pass> / boot / wifi.pass
[0055] Restart Wi-Fi:
[0056] / etc / init.d / S30wifi stop
[0057] / etc / init.d / S30wifi start;
[0058] Step A3: Set the USB driver to host mode:
[0059] touch / boot / usb.host
[0060] rm / boot / usb.dev;
[0061] Step A4: Run the RISC-V version of the VirtualHere server software; this includes the following steps:
[0062] Step A41: Use SSH software to import the VirtualHere server software into the system memory of the wireless USB hub device;
[0063] Step A42: Go to the directory of the VirtualHere server software package, open a terminal, and run sudo chmod+x / vhusbdarm, where vhusbdarm is the name of the installation file.
[0064] Step A43: Execute sudo / vhusbdarm to run the program.
[0065] Also included: How to stop running the VirtualHere program:
[0066] 1. Stop the program on the terminal interface: ctrl+c;
[0067] 2. Stop background programs:
[0068] 1) Use ps-ef|grepusb to search for USB-related processes;
[0069] 2) sudo kill xxxx, where xxxx is the searched process ID.
[0070] Step A5. Open the computer and run the VirtualHere client software. If the server program is already running on the wireless USB hub, the connectable devices will be directly displayed. If not automatically searched, manually enter the IP address to connect. After completing the above steps, the computer will establish a connection with the wireless USB hub. USB devices such as USB flash drives and printers are plugged into the wireless USB hub. The computer can directly choose to connect to the USB device, and can also manually switch to wired mode by toggling the switch. The wired mode can greatly improve the transmission speed and anti-interference ability.
[0071] Technical Effects
[0072] Lab-tested:
[0073] 1. Transmission performance
[0074] Test items Wireless Mode Wired Mode Large file transfer rate 50±15Mbps 952±22MB / s Latency (PING value) 10-35ms <1ms
[0075] 1. Power efficiency
[0076] 1) Continuous working time: 10 hours and 33 minutes (2500mah lithium battery, connected to 2 USB2.0 devices);
[0077] 2) Charging time: 2 hours to fully charge (supports PD3.0 fast charging protocol).
[0078] Example 2
[0079] A wireless USB hub device heterogeneous device mapping method is based on the Allwinner H6 chip (ARM architecture) and the Ubuntu system combined with VirtualHere to implement the wireless USB hub device, including the following steps:
[0080] Step B1: First, power on the wireless USB hub and install the Ubuntu operating system.
[0081] Step B2, connecting the wireless USB hub to the Wi-Fi network;
[0082] Step B3: Run the arm64-bit a53 version of the VirtualHere server software; this includes the following steps:
[0083] B31. First, use a USB drive to import the VirtualHere server software package into the system memory of the wireless USB hub.
[0084] B32. Go to the directory of the VirtualHere server software package, open a terminal and run sudo chmod+x / vhusbdarm, where vhusbdarm is the name of the installation file.
[0085] B33. Execute sudo / vhusbdarm to run the program.
[0086] Also included: How to stop running the VirtualHere program:
[0087] 1) Stop the program on the terminal interface: ctrl+c;
[0088] 2) Stop the programs running in the background:
[0089] ps-ef|grep usb to search for USB-related processes;
[0090] sudo kill xxxx, where xxxx is the ID of the searched process.
[0091] If you need to automatically run the VirtualHere server program every time the device is turned on, you can set it to start automatically at boot:
[0092] Place the program in a folder where the superuser can execute commands, sudo mv vhusbdarm / usr / sbin, create the / etc / systemd / system / virtualhere.service file, and fill in the following content
[0093] [Unit]
[0094] Description=VirtualHere USB Sharing
[0095] Requires=networking.service
[0096] After = networking.service
[0097] [Service]
[0098] ExecStartPre= / bin / sh-c'logger VirtualHere settling...;sleep 1s;loggerVirtualHere settled'
[0099] ExecStart= / usr / sbin / vhusbdarm
[0100] Type=idle
[0101] [Install]
[0102] WantedBy=multi-user.target,
[0103] The program name is marked in red
[0104] Then execute the following statement:
[0105] sudo systemctl daemon-reload
[0106] sudo systemctl enable virtualhere
[0107] sudo systemctl start virtualhere.
[0108] Step B4. Open the computer and run the VirtualHere client software. If the server program is already running on the wireless USB hub, the connectable devices will be displayed directly. If not automatically searched, manually enter the IP address to connect. After completing the above steps, the computer will establish a connection with the wireless USB hub. USB devices such as USB flash drives and printers are plugged into the wireless USB hub. The computer can directly choose to connect to the USB device. You can also manually switch to wired mode by toggling the switch. The wired mode can greatly improve the transmission speed and anti-interference ability.
[0109] Technical Effects
[0110] Lab-tested:
[0111] 1. Transmission performance
[0112] Test items Wireless Mode Wired Mode Large file transfer rate 100±15Mbps 960±50MB / s Latency (PING value) 15-38ms <1ms
[0113] 2. Power efficiency
[0114] 1) Continuous working time: 8 hours and 12 minutes (4000mah lithium battery, connected to 2 USB2.0 devices;
[0115] 2) Charging time: 2 hours to fully charge (supports PD3.0 fast charging protocol).
[0116] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not limited to the embodiments shown herein but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A wireless USB hub device, characterized in that: include: A main control module, which supports various USB protocols and includes a processor with at least one USB interface, and supports a Wi-Fi network module; A power management system that enables the device to operate completely cable-free; An interface multiplexing module, which enables on-demand switching of the physical interface between wired mode and wireless mode; A virtualization service program, which runs in the main control module and is used to convert the physical USB interface into a network service endpoint; The client program is a client program that can be accessed by a remote computer through a wireless network protocol.
2. The wireless USB hub device according to claim 1, wherein: The power management system includes a lithium battery charging module and a dynamic power consumption adjustment algorithm, which automatically adjusts the power supply parameters according to the number of connected devices.
3. The wireless USB hub device according to claim 1, wherein: The interface multiplexing module includes an analog switch circuit, which supports electrical isolation switching between wireless mode and wired mode for connecting the USB interface.
4. The wireless USB hub device according to claim 1, wherein: The virtualization service program adopts a transport layer encryption protocol.
5. A heterogeneous device mapping method for a wireless USB hub according to any one of claims 1 to 4, It is characterized in that The method comprises: Heterogeneous processing unit, wherein the heterogeneous processing unit uses an embedded processor and integrates a USB controller and a WiFi wireless module; A dual-mode interface system, comprising a physical interface group and a multiplexing control circuit; A virtualization service layer, which runs a customized Linux system and deploys USB / IP service programs; An intelligent power supply system includes a built-in lithium battery and a dynamic power consumption management algorithm. The built-in lithium battery integrates a power management system, and the dynamic power consumption management algorithm automatically allocates appropriate computing resources based on the number and type of connected USB devices.
6. A method for mapping heterogeneous devices in a wireless USB hub according to claim 5, characterized in that: The steps include: Step 1: Turn on the wireless USB hub and install the operating system; Step 2: Connect the wireless USB hub to the Wi-Fi network. Step 3: Run the server software; Step 4. Open the computer and run the client software. If the server program is already running on the wireless USB hub, the connectable devices will be displayed directly. If not automatically searched, connect by manually entering the IP address.