Remote debugging and access system for intelligent portable equipment

Through the integration of technologies such as the main control development board and USBIP protocol, the debugging and network sharing of smart portable devices are solved, efficient cross-region debugging and multi-platform compatibility are achieved, adapting to complex network environments, and improving the portability and simplicity of the device.

CN120447429APending Publication Date: 2025-08-08ANHUI QIYUN INTELLIGENT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510469627.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-15
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

In the prior art, serial port debugging and network sharing of intelligent portable devices are cumbersome, and are limited by cable length and network environment, resulting in low debugging efficiency and poor software compatibility, making it difficult to achieve remote access across regions.

Method used

It adopts the main control development board, serial debugging circuit, network debugging circuit, network sharing circuit and power management module, combined with USBIP protocol, Bluetooth distribution module and reverse proxy tools to realize device mapping, network sharing and remote access, and supports multi-platform compatibility.

Benefits of technology

It realizes efficient debugging and network sharing of portable devices in different locations, reduces on-site deployment costs, adapts to complex network environments, supports multi-platform operating systems, and improves debugging efficiency and compatibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120447429A_ABST
    Figure CN120447429A_ABST
Patent Text Reader

Abstract

The invention discloses a remote debugging and access system for intelligent portable equipment, and particularly relates to the technical field of network communication, the system is composed of a hardware module and a software module, the hardware module comprises a master control development board, a serial port debugging circuit, a network debugging circuit, a network sharing circuit and a power management module; the software module comprises an equipment mapping module based on a USBIP protocol, a Bluetooth network distribution module and a remote access module. The master control development board is connected with the integrated PCB through an FPC flat cable, various chips are integrated on the integrated PCB to achieve different functions, the serial port debugging circuit can be connected with RS232 protocol industrial equipment, the network sharing circuit can conveniently share a WiFi network, the equipment mapping module achieves remote access to a serial port and a network debugging interface by means of a USBIP protocol, the Bluetooth network distribution module provides various network distribution modes, and the Bluetooth network distribution module can achieve remote network distribution. And the remote access module penetrates through the intranet by using a reverse proxy tool. The system has the advantages of multifunctional integration, high portability, high remote efficiency, flexible networking, high compatibility and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network communications, and more particularly to a remote debugging and access system for intelligent portable devices. Background Art

[0002] With the rapid development of science and technology, smart portable devices are increasingly used in various fields, from industrial production to daily consumption, from smart homes to medical equipment, and their importance continues to increase. Remote debugging and access technology has become a key link in the research and development, production, and maintenance of smart portable devices.

[0003] Traditional debugging and access methods present numerous challenges. First, serial port debugging requires the use of specialized cables for physical connection when connecting to industrial equipment supporting the RS232 protocol. This cumbersome process, coupled with cable length limitations, severely limits the scope of debugging. If equipment is geographically dispersed, engineers must conduct on-site debugging in person, a time-consuming and labor-intensive process. Geographical constraints also lead to inefficient debugging, severely impacting project progress.

[0004] When it comes to network debugging, existing technologies present difficulties in achieving network sharing. Sharing the debugging box's WiFi network to wired devices is complex, requiring additional network equipment and a complicated configuration process, making it difficult for average users and those with limited technical skills to complete. Furthermore, in an offline environment, initial device configuration is extremely inconvenient, making it difficult to quickly and flexibly establish a network connection, impacting the device's normal use.

[0005] Software compatibility and remote access also present significant challenges. A lack of unified standards across different client software and operating systems leads to poor compatibility. For example, some debugging software only supports specific operating systems and cannot be used across multiple platforms, limiting user choice. Furthermore, due to the limitations of the intranet environment, remote access is difficult to implement, making it difficult to meet user needs for debugging and accessing devices anytime, anywhere.

[0006] These problems have seriously restricted the development and application of smart portable devices. There is an urgent need for a system with high integration, easy operation, strong compatibility and efficient remote debugging and access to solve these problems, thereby promoting the in-depth application of smart portable devices in more fields. Summary of the Invention

[0007] In order to overcome the above-mentioned defects of the prior art, the present invention provides a remote debugging and access system for an intelligent portable device to solve the problems raised in the above-mentioned background technology.

[0008] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: a remote debugging and access system for intelligent portable devices, comprising:

[0009] Hardware modules, including main control development board, serial port debugging circuit, network debugging circuit, network sharing circuit and power management module;

[0010] Software modules, including device mapping module based on USBIP protocol, Bluetooth network configuration module and remote access module;

[0011] The main control development board is connected to the integrated PCB board through an FPC cable. The integrated PCB board includes a CH340 chip and a MAX232 chip in the serial port debugging circuit, an RTL8153 chip in the network debugging circuit and an RJ45 interface with a network transformer. The network sharing circuit realizes WiFi sharing by directly connecting the network signal of the main control development board to the RJ45 interface.

[0012] Preferably, the serial port debugging circuit includes:

[0013] CH340 chip for USB to TTL signal conversion;

[0014] MAX232 chip for converting TTL to RS232 signals;

[0015] The RS232 signal is output through the RJ45 interface and is used to connect to industrial equipment that supports the RS232 protocol.

[0016] Preferably, the network sharing circuit directly leads the network signal of the main control development board to the RJ45 interface with a network transformer, so as to share the WiFi network of the debugging box with the wired device.

[0017] Preferably, the device mapping module adopts USBIP protocol, and maps the USB device of the main control development board to the remote client computer through VirtualHere or USB / IPClient software to achieve remote access to the serial port and network debugging interface.

[0018] Preferably, the Bluetooth network configuration module includes:

[0019] Bluetooth personal area network mode, connect to the main control development board through SSH and execute the network configuration script;

[0020] WebBluetoothAPI, supports direct connection to Bluetooth and configuration of WiFi parameters on the web page.

[0021] Preferably, the remote access module maps the control port (TCP:7575) of the main control development board to the Internet through a reverse proxy tool, and the client remotely accesses the debugging function through the proxy server IP and port.

[0022] Preferably, the reverse proxy tool is an open source NPS tool, which is used to penetrate the intranet and establish a remote connection tunnel.

[0023] Preferably, the power management module adopts the IP5310 chip, which integrates battery charging and power supply management functions to support continuous operation in mobile scenarios.

[0024] Technical effects and advantages of the present invention:

[0025] 1. The system supports serial port, network debugging and network sharing, which can meet the needs of various scenarios such as industrial equipment and servers, and provide convenience for debugging and network use of different devices.

[0026] 2. The built-in power management module using the IP5310 chip integrates battery charging and power supply management functions, which can support the continuous operation of the device in a mobile environment and facilitate debugging work in different locations.

[0027] 3. By leveraging the USBIP protocol and reverse proxy technology, cross-regional device debugging is achieved, reducing on-site deployment costs, improving debugging efficiency, and enabling engineers to complete device debugging without having to visit the site.

[0028] 4. With the hybrid network configuration mode of Bluetooth and WiFi, it adapts to the initial configuration of devices in an environment without a network, and can quickly establish a network connection even under complex network conditions to ensure the normal operation of the device.

[0029] 5. By being compatible with software such as VirtualHere and USB / IPClient, it supports clients on multiple platforms such as Windows and Linux, making it convenient for different users to choose appropriate client software and operating systems for device debugging and access according to their own needs. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 This is a schematic diagram of the structure of the OrangePI development board of the present invention;

[0031] Figure 2 This is a hardware schematic diagram of the present invention;

[0032] Figure 3 This is the PCB circuit diagram of the present invention;

[0033] Figure 4 This is a schematic diagram of debugging connection through client software in the present invention;

[0034] Figure 5 This is a code diagram for connecting to a network through the Bluetooth personal area network SSH mode of the present invention;

[0035] Figure 6 A network sharing code diagram of the present invention;

[0036] Figure 7 This is a code diagram for the network sharing WiFi connection of the present invention. DETAILED DESCRIPTION

[0037] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0038] As attached Figure 1-7 The remote debugging and access system for intelligent portable devices shown in the figure includes:

[0039] Hardware modules, including main control development board, serial port debugging circuit, network debugging circuit, network sharing circuit and power management module;

[0040] Software modules, including device mapping module based on USBIP protocol, Bluetooth network configuration module and remote access module;

[0041] The main control development board is connected to the integrated PCB board through an FPC cable. The integrated PCB board includes a CH340 chip and a MAX232 chip in the serial port debugging circuit, an RTL8153 chip in the network debugging circuit and an RJ45 interface with a network transformer. The network sharing circuit realizes WiFi sharing by directly connecting the network signal of the main control development board to the RJ45 interface.

[0042] The serial port debugging circuit includes:

[0043] CH340 chip for USB to TTL signal conversion;

[0044] MAX232 chip for converting TTL to RS232 signals;

[0045] The RS232 signal is output through the RJ45 interface and is used to connect to industrial equipment that supports the RS232 protocol.

[0046] The network sharing circuit directly leads the network signal of the main control development board to the RJ45 interface with a network transformer, thereby sharing the WiFi network of the debugging box with wired devices.

[0047] The device mapping module uses the USBIP protocol to map the USB device of the main control development board to the remote client computer through VirtualHere or USB / IPClient software, thereby realizing remote access to the serial port and network debugging interface.

[0048] The Bluetooth network configuration module includes:

[0049] Bluetooth personal area network mode, connect to the main control development board through SSH and execute the network configuration script;

[0050] WebBluetoothAPI, supports direct connection to Bluetooth and configuration of WiFi parameters on the web page.

[0051] The remote access module maps the control port (TCP:7575) of the main control development board to the Internet through a reverse proxy tool, and the client remotely accesses the debugging function through the proxy server IP and port.

[0052] The reverse proxy tool is an open source NPS tool used to penetrate the intranet and establish a remote connection tunnel.

[0053] The power management module uses the IP5310 chip, which integrates battery charging and power supply management functions to support continuous operation in mobile scenarios.

[0054] In specific implementation, hardware implementation:

[0055] The main control development board (such as Orangepi) is connected to the integrated PCB board through the FPC cable. The PCB board integrates CH340, MAX232, RTL8153 chips and network transformer;

[0056] The serial port debugging circuit converts the USB signal into RS232 and outputs it through the RJ45 interface; the network debugging circuit realizes the USB to Ethernet function through RTL8153;

[0057] The power module manages the charging and discharging of the lithium battery through the IP5310 chip to power the system.

[0058] Software Implementation:

[0059] Run the Ubuntu system on the main control development board, load the USBIP server program, and share the USB device;

[0060] Install VirtualHere or USB / IPClient software on the client to discover the device through the LAN and map it to the local computer.

[0061] Bluetooth network configuration implements WiFi parameter configuration through SSH script or WebBluetoothAPI;

[0062] Use the NPS tool to establish a reverse proxy and map the local port to the public network to achieve remote access.

[0063] Technical Principle

[0064] USBIP protocol: encapsulates the control instructions of USB devices into IP data packets, transmits them through the local area network or the Internet, and realizes virtual access of remote devices;

[0065] Bluetooth network configuration: Use Bluetooth low energy features to establish a temporary network channel and configure the WiFi connection of the main control development board through scripts or APIs;

[0066] Reverse proxy: Use the NPS tool to penetrate the intranet restrictions, expose the local service port to the public network, and the client can achieve remote control through the proxy server.

[0067] Technical Effects

[0068] Multi-function integration: supports serial port, network debugging and network sharing, meeting the needs of multiple scenarios such as industrial equipment and servers;

[0069] Portability: built-in power management module, supports use in mobile environments;

[0070] Remote and efficient: cross-regional device debugging is achieved through USBIP protocol and reverse proxy, reducing on-site deployment costs;

[0071] Flexible networking: Bluetooth and WiFi hybrid network configuration mode, adapting to the initial configuration of devices without network environment;

[0072] Strong compatibility: compatible with VirtualHere, USB / IPClient and other software, supporting Windows and Linux multi-platform clients.

[0073] Specifically, the hardware part: as attached Figure 1 and Figure 3 The intelligent portable device provided by the present invention is composed of a battery, an integrated PCB circuit board, a power management module, an orangepi development board, an FPCB antenna, an FPC interconnection line, and a shell.

[0074] Software part: system hardware identification description

[0075] 1. OrangePi development board runs Ubuntu Linux;

[0076] 2. Through the hardware design, you can see two USB devices in the system;

[0077] 3. They are CH340 serial port device and USB network card respectively;

[0078] 4. There is also a network card that comes with the system.

[0079] Use the USBIP protocol to map the USB device of the debugging box to the client computer over the network.

[0080] The USBIP (USB over IP) protocol allows remote access to USB devices over a network. It encapsulates USB device control and data transmission into network packets, enabling the sharing of local USB devices with remote computers. Specifically, USBIP encapsulates USB device operations into IP packets, transmits them over the network to the remote host, which then forwards the requests to the connected USB device using the USBIP protocol.

[0081] The working principle of USBIP protocol can be briefly described as the following steps:

[0082] 1. Device Sharing: On the local host, share one or more USB devices with the remote computer through the USBIP protocol. The shared devices will be mapped as network resources.

[0083] 2. Device access: The remote computer requests access to the shared USB device through the USBIP protocol.

[0084] 3. Data transfer: Data is transferred over the network, and the remote computer sends USB requests to the local computer and receives responses, operating just like a locally connected device.

[0085] 4. Virtualized interface: The remote device interacts with the local device through the USBIP protocol, and the underlying layer interacts by transmitting USB data packets over the network.

[0086] This technology is often used to use USB devices on remote servers. Through USBIP, users can access USB printers, cameras, storage devices, etc.

[0087] As attached Figure 4 As shown, the development board and the computer are connected to the same local area network (connected to the same WiFi). Open the client software and select the corresponding device to be mapped to the local computer. The effect achieved is equivalent to connecting the debug cable or USB network card directly to the computer for use.

[0088] Bluetooth network configuration

[0089] The UsbIP protocol is an IP-based USB mapping, so the development board and the client computer need to communicate over the network.

[0090] How to establish a network connection between the computer and the development board:

[0091] 1. Use the mobile phone's hotspot to connect the computer and the development board to the WiFi transmitted by the mobile phone's hotspot. This way, the development board and the computer can be in the same local area network. As long as you open the client software, the software will actively scan the local area network devices and automatically connect to the development board, and then you can map and use it.

[0092] 2. Use the computer's hotspot to connect the development board to the WiFi hotspot emitted by the computer. You can also make the development board and the computer in the same local area network. The software actively scans the local area network devices, automatically connects to the development board, and maps them for use.

[0093] Network configuration via Bluetooth Personal Area Network SSH mode

[0094] As attached Figure 5 As shown in the figure, the Bluetooth network sharing function of the development board is enabled through configuration. The computer connects to the Bluetooth of the development board and joins the shared network of the development board. Then, the bat script SSH is used to connect to the development board. After the connection is logged in, the network configuration shell script on the development board is automatically executed to configure the WiFi connection in a wizard-like manner.

[0095] Connect to Bluetooth on the web page through WebBluetoothAPI to achieve network configuration

[0096] The WebBluetooth API is a set of JavaScript APIs for communicating with Bluetooth low energy devices in a web browser. It allows web pages to access and control devices via Bluetooth.

[0097] Remote Access

[0098] Remote control principle:

[0099] Since the software is based on the USBIP protocol, the software opens a control port TCP:7575 on the server side, and the client connects to this TCP port to achieve control.

[0100] By analogy, we can open this control port to the Internet through a reverse proxy tool, so that the client can manually enter the proxy server's IP + proxy port for remote control.

[0101] Visitors access the IP and port of the proxy server, and the proxy server helps us access the software service port of the development board, which is equivalent to directly accessing the software control port.

[0102] Network Sharing

[0103] As attached Figure 6 As shown in the figure, the WiFi network connected to the development board can be configured to share the WiFi network with the network card on the development board, so that devices that temporarily need the network can access the Internet.

[0104] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. Intelligent portable device remote debugging and access system, characterized by: include: Hardware modules, including main control development board, serial port debugging circuit, network debugging circuit, network sharing circuit and power management module; Software modules, including device mapping module based on USBIP protocol, Bluetooth network configuration module and remote access module; The main control development board is connected to the integrated PCB board through an FPC cable. The integrated PCB board includes a CH340 chip and a MAX232 chip in the serial port debugging circuit, an RTL8153 chip in the network debugging circuit and an RJ45 interface with a network transformer. The network sharing circuit realizes WiFi sharing by directly connecting the network signal of the main control development board to the RJ45 interface.

2. The remote debugging and access system for intelligent portable devices according to claim 1, characterized in that: The serial port debugging circuit includes: CH340 chip for USB to TTL signal conversion; MAX232 chip for converting TTL to RS232 signals; The RS232 signal is output through the RJ45 interface and is used to connect to industrial equipment that supports the RS232 protocol.

3. The remote debugging and access system for intelligent portable devices according to claim 1, characterized in that: The network sharing circuit directly leads the network signal of the main control development board to the RJ45 interface with a network transformer, thereby sharing the WiFi network of the debugging box with wired devices.

4. The remote debugging and access system for intelligent portable devices according to claim 1, characterized in that: The device mapping module uses the USBIP protocol to map the USB device of the main control development board to the remote client computer through VirtualHere or USB / IPClient software, thereby realizing remote access to the serial port and network debugging interface.

5. The remote debugging and access system for intelligent portable devices according to claim 1, characterized in that: The Bluetooth network configuration module includes: Bluetooth personal area network mode, connect to the main control development board through SSH and execute the network configuration script; WebBluetoothAPI, supports direct Bluetooth connection and WiFi parameter configuration on the web page.

6. The remote debugging and access system for intelligent portable devices according to claim 1, characterized in that: The remote access module maps the control port (TCP:7575) of the main control development board to the Internet through a reverse proxy tool, and the client remotely accesses the debugging function through the proxy server IP and port.

7. The remote debugging and access system for intelligent portable devices according to claim 6, characterized in that: The reverse proxy tool is an open source NPS tool that is used to penetrate the intranet and establish a remote connection tunnel.

8. The remote debugging and access system for intelligent portable devices according to claim 1, characterized in that: The power management module uses the IP5310 chip, which integrates battery charging and power supply management functions to support continuous operation in mobile scenarios.