Adaptive device debugging system based on long and short network connections

Through an adaptive equipment debugging system based on long and short network connections, the debugging system is separated from the business system, and remote debugging is realized, which solves the problems of high network traffic consumption and manual inspection, improves the equipment debugging efficiency and ensures the normal operation of the business system.

CN114461475BActive Publication Date: 2025-08-19ZHEJIANG FONDA CONTROL TECH
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210118396.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-08
Publication Date
2025-08-19
Estimated Expiration
2042-02-08

AI Technical Summary

Technical Problem

The integration of existing equipment debugging systems with business systems leads to high network traffic consumption, affecting the normal operation of the business system, and log acquisition and problem investigation rely on manual on-site operations, which is inefficient.

Method used

Adaptive equipment debugging system based on long and short network connections is adopted to separate the debugging system from the business system, and the service equipment and debugging equipment are connected separately through the equipment business cloud and the debugging cloud server. Log analysis and system information switching connection methods are used to realize remote debugging.

Benefits of technology

An independent debugging system can adjust the connection mode according to the network and CPU status, reduce the use of business system resources, support remote debugging, improve efficiency and ensure the normal operation of the business system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114461475B_ABST
    Figure CN114461475B_ABST
Patent Text Reader

Abstract

The present invention discloses an adaptive device debugging system based on long and short network connections, comprising: a business system, business equipment, a debugging system and a debugging device; the business system is connected to the business equipment through a device business cloud server and provides business logic support for the business equipment; the debugging system is connected to the debugging device through the device debugging cloud server and debugs the business equipment through the debugging device; the debugging system is connected to the business system and determines the operating status of the business equipment based on information reported by the received business system; the debugging system switches the communication connection status between itself and the debugging device based on system information of the adaptive device debugging system based on long and short network connections. The adaptive device debugging system based on long and short network connections of the present invention separates the debugging system and the business system into two independent systems, and the debugging system can adjust the long and short connection mode of the device according to the situation of the adaptive device debugging system based on long and short network connections.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an adaptive equipment debugging system based on long and short network connections. Background Art

[0002] Currently, mature network protocols, such as MQTT, are generally designed for persistent connections. The network traffic consumed by heartbeat packets to maintain persistent connections can accumulate to considerable levels. This makes them unsuitable for debugging systems in IoT scenarios where low data consumption is crucial. However, persistent connections are highly suitable when devices are wired and network conditions are good.

[0003] Regarding device debugging, the current situation is that the debugging system is integrated with the software business system, sharing a common set of programs and occupying the same hardware resources. This results in a certain impact on business expenses and hinders the normal operation of the business system. When the server needs to obtain log information, it can only obtain it through the business system. When problems arise in the business system, manual troubleshooting is required, either on-site or through limited logs. Summary of the Invention

[0004] The present invention provides an adaptive device debugging system based on long and short network connections to solve the above-mentioned technical problems, specifically adopting the following technical solutions:

[0005] An adaptive device debugging system based on long and short network connections, comprising: a business system, business equipment, a debugging system, a debugging equipment, a device business cloud server, and a device debugging cloud server;

[0006] The business system is connected to the business device through the device business cloud server and provides business logic support for the business device;

[0007] The debugging system connects to the debugging device through the device debugging cloud server and debugs the business device through the debugging device;

[0008] The debugging system is connected to the business system and determines the operating status of the business equipment based on the information reported by the business system;

[0009] The debugging system switches the communication connection state between itself and the debugging device according to the system information of the adaptive device debugging system based on the long and short network connections.

[0010] Furthermore, the business system includes:

[0011] Log client module, used to send business system operation logs to the debugging system;

[0012] Business logic module, used to provide business logic support for business equipment;

[0013] The debugging system includes:

[0014] The log server module is used to receive logs sent by the log client module;

[0015] The processor module is used to analyze the logs received by the log server module to determine the operating status of the business equipment and whether the business equipment needs to be debugged;

[0016] System information module, used to collect system information of the adaptive device debugging system based on long and short network connections;

[0017] A network connection module is used to connect to the debugging device through the device debugging cloud server. The network connection module can switch the connection mode with the debugging device;

[0018] The processor module determines the communication connection mode between the network connection module and the debugging device according to the system information collected by the system information module.

[0019] Furthermore, the debugging system switches the communication connection mode between the network connection module and the debugging device between the long connection and the short connection according to the system information of the adaptive device debugging system based on the long and short network connection.

[0020] Furthermore, when the debugging system and the debugging device are in a short connection, if the processor module determines that the business device needs to be debugged after analyzing the log received by the log server module, the processor module switches the communication connection mode between the network connection module and the debugging device from a short connection to a long connection.

[0021] Furthermore, the system information includes a network status of an adaptive device debugging system based on a long or short network connection.

[0022] Furthermore, the system information also includes CPU usage of the adaptive device debugging system based on the length of the network connection.

[0023] Furthermore, the debugging system also includes:

[0024] Configuration module, used to configure the dimensions of system information collected by the system information module and the weight of each dimension;

[0025] A calculation module is used to calculate the system performance value based on the system information collected by the system information module and the weight of each dimension of the system information;

[0026] The processor module determines the communication connection mode between the network connection module and the debugging device according to the system performance value calculated by the calculation module.

[0027] Furthermore, the debugging system also includes:

[0028] Third-party debugging interface module, used to connect to a third-party debugging terminal.

[0029] Furthermore, a third-party debugging terminal can be used to enable intranet penetration.

[0030] Furthermore, the business system and the device business cloud server can be connected via Eth, 2G, 3G, 4G and 5G;

[0031] The debugging system and the device debugging cloud server can be connected via Eth, 2G, 3G, 4G and 5G.

[0032] The present invention's benefit lies in the adaptive device debugging system based on long and short network connections, which separates the debugging system from the business system into two independent systems. The debugging system can operate independently, enabling remote debugging and control of devices. The debugging system can adjust the device's long and short connection mode based on the adaptive device debugging system based on long and short network connections, minimizing the resource consumption of the business system and minimizing any impact on the business system. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a schematic diagram of the adaptive device debugging system based on long and short network connections of the present invention. DETAILED DESCRIPTION

[0034] The present invention will be described in detail below with reference to the accompanying drawings and specific embodiments.

[0035] like Figure 1 The present application shows an adaptive device debugging system based on long and short network connections. In this system, the business system and business equipment are configured as two independent systems. Specifically, the adaptive device debugging system based on long and short network connections includes: a business system, business equipment, a debugging system, a debugging device, a device business cloud server, and a device debugging cloud server. The business system is connected to the business equipment through the device business cloud server and provides business logic support for the business equipment. The debugging system is connected to the debugging device through the device debugging cloud server and debugs the business equipment through the debugging device. The business system and the device business cloud server can be connected via Eth, 2G, 3G, 4G, and 5G. Similarly, the debugging system and the device debugging cloud server can be connected via Eth, 2G, 3G, 4G, and 5G. The debugging system is connected to the business system and determines the operating status of the business equipment based on the information reported by the business system. The debugging system switches the communication connection status between it and the debugging device based on the system information of the adaptive device debugging system based on long and short network connections.

[0036] Specifically, the business system includes: log client module and business logic module.

[0037] The log client module is used to send the logs of the business system operation to the debugging system. The business logic module is used to provide business logic support for business devices.

[0038] The debugging system includes: log server module, processor module, system information module and network connection module.

[0039] Among them, the log server module is used to receive the logs sent by the log client module. The processor module is used to analyze the logs received by the log server module to determine the operating status of the business equipment, and then determine whether the business equipment needs to be debugged. The system information module is used to collect system information of the adaptive device debugging system based on long and short network connections. The network connection module is used to connect to the debugging device through the device debugging cloud server. Specifically, the network connection module can switch the connection method with the debugging device. The processor module determines the communication connection method between the network connection module and the debugging device based on the system information collected by the system information module.

[0040] In the present application, the debugging system switches the communication connection mode between the network connection module and the debugging device between long connection and short connection according to the system information of the adaptive device debugging system based on long and short network connections.

[0041] In a preferred embodiment, the system information includes the network status of the adaptive device debugging system based on long and short network connections. When the network status is good, the debugging system sets the communication connection mode between the network connection module and the debugging device to a long connection. Conversely, the debugging system sets the communication connection mode between the network connection module and the debugging device to a short connection.

[0042] As a preferred embodiment, the system information also includes CPU usage of the adaptive device debugging system based on the long and short network connections. When the CPU usage is low, the debugging system sets the communication connection mode between the network connection module and the debugging device to a long connection. Conversely, the debugging system sets the communication connection mode between the network connection module and the debugging device to a short connection.

[0043] It is understandable that the processor module can comprehensively consider the communication connection mode between the network connection module and the debugging device based on information from multiple dimensions.

[0044] It is understandable that, in addition to the above-mentioned network status and CPU usage, the system information may also include some other hardware parameters of the adaptive device debugging system based on the length of the network connection, which are not listed one by one in this application.

[0045] Specifically, the debugging system also includes: a configuration module and a calculation module.

[0046] The configuration module is used to configure the dimensions of the system information collected by the system information module and the weights of each dimension. The calculation module is used to calculate the system performance value based on the system information collected by the system information module and the weights of each dimension of the system information. The processor module determines the communication connection method between the network connection module and the debugging device based on the system performance value calculated by the calculation module.

[0047] In this way, the service performance can determine the connection status between the debugging device and the debugging device according to the comprehensive performance of the adaptive device debugging system based on the long and short network connections.

[0048] As a preferred embodiment, when the debugging system and the debugging device are in a short connection, if the processor module determines that the business device needs to be debugged after analyzing the log received by the log server module, the processor module switches the communication connection mode between the network connection module and the debugging device from a short connection to a long connection.

[0049] It is understandable that when the business equipment urgently needs to be debugged, but the debugging system and the debugging equipment happen to be in a short connection state, the debugging system can actively switch the connection between it and the debugging equipment from a short connection state to a long connection state, and then debug the business equipment.

[0050] As a preferred implementation, the debugging system further includes: a third-party debugging interface module.

[0051] The third-party debug interface module is used to connect to a third-party debug terminal. Specifically, the third-party debug terminal can be used to enable intranet penetration. Intranet penetration has a strict encryption mechanism to ensure device security.

[0052] The debugging system does not allow modification or control of business systems. It only provides debugging and troubleshooting functions for devices to ensure normal operation. The independence of the debugging system ensures remote debugging of devices in the event of business system errors.

[0053] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the above embodiments do not limit the present invention in any form, and any technical solutions obtained by equivalent replacement or equivalent transformation fall within the scope of protection of the present invention.

Claims

1. An adaptive device debugging system based on long and short network connections, characterized in that: Includes: business system, business equipment, debugging system, debugging equipment, equipment business cloud server and equipment debugging cloud server; The business system is connected to the business device through the device business cloud server and provides business logic support for the business device; The debugging system is connected to the debugging device through the device debugging cloud server and debugs the business device through the debugging device; The debugging system is connected to the business system and determines the operating status of the business device based on the information reported by the business system; The debugging system switches the communication connection state between the debugging system and the debugging device according to the system information of the adaptive device debugging system based on long and short network connections; The business system includes: A log client module, used to send the log of the business system operation to the debugging system; A business logic module, used to provide business logic support for the business equipment; The debugging system comprises: The log server module is used to receive the logs sent by the log client module; A processor module, configured to analyze the logs received by the log server module to determine the operating status of the service device and determine whether the service device needs to be debugged; A system information module, used for collecting system information of the adaptive device debugging system based on long and short network connections; A network connection module, configured to connect to the debugging device via the device debugging cloud server, wherein the network connection module can switch the connection mode with the debugging device; The processor module determines the communication connection mode between the network connection module and the debugging device according to the system information collected by the system information module.

2. The adaptive device debugging system based on long and short network connections according to claim 1, characterized in that: The debugging system switches the communication connection mode between the network connection module and the debugging device between a long connection and a short connection according to the system information of the adaptive device debugging system based on long and short network connections.

3. The adaptive device debugging system based on long and short network connections according to claim 2, characterized in that: When the debugging system and the debugging device are in a short connection, if the processor module determines that the business device needs to be debugged after analyzing the log received by the log server module, the processor module switches the communication connection mode between the network connection module and the debugging device from a short connection to a long connection.

4. The adaptive device debugging system based on long and short network connections according to claim 2, characterized in that: The system information includes the network status of the adaptive device debugging system based on long and short network connections.

5. The adaptive device debugging system based on long and short network connections according to claim 4, characterized in that: The system information further includes CPU occupancy of the adaptive device debugging system based on long and short network connections.

6. The adaptive device debugging system based on long and short network connections according to claim 5, characterized in that: The debugging system also includes: A configuration module, used to configure the dimensions of the system information collected by the system information module and the weight of each dimension; a calculation module, configured to calculate a system performance value based on the system information collected by the system information module and the weight of each dimension of the system information; The processor module determines the communication connection mode between the network connection module and the debugging device according to the system performance value calculated by the calculation module.

7. The adaptive device debugging system based on long and short network connections according to claim 1, characterized in that: The debugging system also includes: Third-party debugging interface module, used to connect to a third-party debugging terminal.

8. The adaptive device debugging system based on long and short network connections according to claim 7, characterized in that: The third-party debugging terminal can be used to enable intranet penetration.

9. The adaptive device debugging system based on long and short network connections according to claim 1, characterized in that: The business system and the device business cloud server can be connected via Eth, 2G, 3G, 4G and 5G; The debugging system and the device debugging cloud server can be connected via Eth, 2G, 3G, 4G and 5G.

Citation Information

Patent Citations

  • Communication method and device between Internet-of-Things devices

    CN113038592A