Bus communication network test system
By designing a bus communication network testing system for multi-protocol acquisition, protocol analysis, intelligent diagnosis and visual analysis, the protocol compatibility and intelligent diagnosis problems of existing tools are solved, efficient testing and automatic fault identification in a multi-protocol environment are realized, and testing efficiency and user experience are improved.
Patent Information
- Application Number
- CN202510654834.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-21
- Publication Date
- 2025-08-08
AI Technical Summary
The existing bus communication network testing tool has poor protocol compatibility, cannot support multi-protocol environments, limited analysis functions, lack of intelligent diagnostic mechanisms, and complex operations, which is not conducive to quick use.
A bus communication network testing system is designed, including a multi-protocol acquisition module, a protocol analysis engine, an intelligent diagnostic module, a visual analysis interface, a remote control and log management module, and a programmable extension interface. It supports a variety of industrial communication protocols, has intelligent diagnostic and visualization functions, and provides intuitive interactive interface and remote control capabilities.
It realizes compatibility with multi-protocol environments, has in-depth protocol stack resolution capabilities, automatically identify fault sources and provide optimization suggestions, improves testing efficiency and user interaction experience, supports remote debugging and customized applications, and is suitable for areas with high security requirements.
Smart Images

Figure CN120455243A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network communications, and in particular to a bus communication network testing system. Background Art
[0002] With the development of industrial automation, intelligent manufacturing, and intelligent transportation, field devices are increasingly using bus communication to exchange data. Common communication bus protocols include CAN (Controller Area Network), Modbus, Profibus, and RS-485. However, in practical applications, these bus communication networks often suffer from communication anomalies, data loss, and response delays. Currently, several test instruments are available for bus testing, but most suffer from the following drawbacks: poor protocol compatibility, often limited to testing a single protocol and unable to support multi-protocol environments; limited analysis capabilities, limited to simple physical layer monitoring and lacking in-depth protocol stack analysis; lack of intelligent diagnostic mechanisms, unable to automatically locate fault sources or provide optimization recommendations; and complex operation, hindering rapid user experience for field engineers. There is an urgent need for a bus communication network testing system that is compatible with multiple industrial communication protocols, features intelligent analysis capabilities, and offers high visualization capabilities to efficiently monitor communication quality and identify anomalies. To this end, a bus communication network testing system is proposed. Summary of the Invention
[0003] (1) Technical problems solved
[0004] In response to the shortcomings of the existing technology, the present invention provides a bus communication network testing system, which solves the following problems: the existing technology has poor protocol compatibility and can only test a single protocol, and cannot support a multi-protocol environment; the analysis function is limited: it can only perform simple physical layer monitoring and lacks in-depth protocol stack analysis capabilities; the lack of an intelligent diagnostic mechanism: it cannot automatically locate the source of the fault or provide optimization suggestions; the operation is complicated, which is not conducive to on-site engineering personnel to quickly get started.
[0005] (2) Technical solution
[0006] To achieve the above objectives, the present invention is implemented through the following technical solutions: a bus communication network test system, including a multi-protocol acquisition module, a protocol parsing engine, an intelligent diagnosis module, a visual analysis interface, a remote control and log management module, and a programmable expansion interface;
[0007] The multi-protocol acquisition module is responsible for collecting, isolating, encoding, and preliminarily formatting physical signals of different types of buses, providing basic data for subsequent protocol analysis;
[0008] The protocol parsing engine parses the original physical layer data into logical layer structure frames, identifies the meaning of each field, and uses it for subsequent logical processing;
[0009] Intelligent diagnosis module, which performs logical analysis on the parsed data, identifies fault modes, locates problem nodes or areas, and provides intelligent suggestions;
[0010] Visual analysis interface provides users with an intuitive graphical interactive interface, enabling comprehensive visual display of system status, data flow, and fault information;
[0011] Remote control and log management module, which enables remote device access, status control, log recording, and permission management, improving system maintainability and collaborative efficiency;
[0012] Programmable expansion interface provides advanced users with system secondary development capabilities, allowing them to add new protocols, automated test scripts, and custom algorithms.
[0013] As a further preferred embodiment of the present invention, the multi-protocol acquisition module includes a physical interface unit, a signal conditioning unit, a timing synchronization unit, and a protocol identification unit. The physical interface unit includes a CAN interface subunit, supports CAN2.0A / B, is compatible with FD, RS-485 / RS-232 subunits, Profibus-DP interface subunits, Modbus interface subunits, a custom protocol expansion port, and supports GPIO / TTL / UART; the signal conditioning unit includes an isolation circuit, an ESD / TVS protection unit, an automatic level conversion circuit, and adapts to 3.3V / 5V logic; the timing synchronization unit includes a high-precision timestamp generator and a clock synchronization controller; the protocol identification unit includes a start frame feature extractor and a protocol judgment logic array.
[0014] As a further preferred embodiment of the present invention, the protocol parsing engine includes a protocol stack management unit, a data frame parsing unit, and an error detection and correction unit. The protocol stack management unit includes a multi-protocol stack loader, a protocol switching and multi-threaded parsing scheduler; the data frame parsing unit includes a frame boundary identifier, a field separator, and a field formatter converted into a unified JSON or binary structure; the error detection and correction unit includes a CRC / check code checker, a frame loss / stickiness detector, and a frame retransmission and error correction suggestion subunit.
[0015] As a further preferred embodiment of the present invention, the intelligent diagnosis module includes a rule base management unit, a pattern recognition and reasoning unit, and a diagnosis output unit. The rule base management unit includes a predefined fault rule base, a user-defined rule configurator, and a multi-protocol rule adapter.
[0016] The pattern recognition and reasoning unit includes an abnormal feature extractor for frame retry times and packet loss rate, a decision tree / neural network recognition engine, and a fault trend predictor;
[0017] The diagnostic output unit includes a fault classifier, a detection unit for communication failure, noise interference, and address conflict, a root cause analysis subunit, and an optimization suggestion pusher.
[0018] As a further preferred embodiment of the present invention, the visual analysis interface includes a graphic display unit, an interactive control unit, and a report generation and export unit;
[0019] The graphic display unit includes a real-time frame flow graph / data flow rate graph, a bus topology automatic generator, and an error event timeline visualization subunit;
[0020] The interactive control unit includes a message filter and searcher, a multi-window debugging terminal, and an editable protocol viewer;
[0021] The report generation and export unit includes a test report automatic summarizer, a report export interface, and a data snapshot storage.
[0022] As a further preferred embodiment of the present invention, the remote control and log management module, the remote access unit, the log collection and storage unit, the authority and user management unit,
[0023] The remote access unit includes a VPN / SSH remote channel subunit, a WebSocket / REST API control interface, a real-time monitoring pusher,
[0024] The log collection and storage unit includes a message log circular buffer, a fault log classification memory, and a cloud synchronization engine connected to Aliyun and AWS;
[0025] The authority and user management unit includes a multi-level user authority controller, a login identity authentication mechanism, and an operation audit and behavior backtracking recorder.
[0026] As a further preferred embodiment of the present invention, the programmable extension interface includes a script execution unit, a plug-in extension unit, and a developer support unit. The script execution unit includes a Lua / Python / JavaScript script engine, a protocol interaction simulator, and a timing / condition triggering script controller.
[0027] The plug-in extension unit includes a protocol plug-in manager for supporting dynamic loading, a test task arrangement engine for supporting flowchart-style configuration, and a user-defined frame format editor;
[0028] The developer support unit includes an API document automatic generation sub-unit, an SDK packaging tool, and a simulation environment sandbox.
[0029] (3) Beneficial effects
[0030] The present invention provides a bus communication network testing system. It has the following beneficial effects:
[0031] Compared with the prior art, the present invention has the following advantages:
[0032] The present invention integrates a variety of common communication protocols in industrial fields, including CAN, RS-485 / 232, Modbus, Profibus-DP, etc., through a multi-protocol acquisition module, and reserves a custom protocol interface, supports GPIO / TTL / UART, greatly expanding the scope of application of the system and solving the problems of poor protocol compatibility and weak expansion capability of existing test tools. The highly modular design improves the flexibility and maintainability of the system. The system adopts a hierarchical functional structure of six modules with clear interfaces between each other, which is convenient for function expansion, maintenance and upgrading. Customized application scenarios that meet different testing requirements can be met through independent optimization and combined deployment of modules. The intelligent diagnosis mechanism is integrated to realize automated fault analysis and early warning. By introducing a rule base, a pattern recognition engine (such as a decision tree, a neural network), and a trend prediction algorithm into the intelligent diagnosis module, automatic identification, root cause location and optimization suggestions for problems such as bus abnormal frames, retry behavior, and frame loss are realized, which significantly reduces manual intervention and improves fault handling efficiency and accuracy. The visual analysis interface is intuitive and rich, enhancing the user interaction experience. The system can draw frame flow graphs, data flow rate graphs, automatically generate bus topology graphs and error event timelines in real time, allowing users to quickly grasp the communication status and abnormal evolution path from the graphical interface, improving the efficiency and operability of testing work. It supports remote access and cloud collaboration to improve maintenance convenience and testing efficiency. Through remote control methods such as VPN / SSH, WebSocket / API, combined with cloud synchronization mechanism and distributed log management, users can remotely debug, retrieve logs and conduct collaborative analysis of equipment in different locations, meeting the distributed debugging needs of large-scale industrial sites. It has an open programmable extension interface to support user secondary development, a built-in script engine and plug-in loading mechanism, can run Lua / Python / JavaScript scripts, support protocol simulation and automatic test process configuration, and provide developers and senior test engineers with flexible and powerful expansion capabilities, enabling sustainable iterative evolution of the system. Enhanced security and permission management ensure the controllability and traceability of the testing process. Multi-level permission control, identity authentication mechanism, and complete operation audit mechanism ensure the safe management of test data and operation behavior in a multi-user environment. It is suitable for application fields with extremely high security requirements, such as military industry, electric power, and rail transportation. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 It is a schematic diagram of the system principle framework of the present invention. DETAILED DESCRIPTION
[0034] 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.
[0035] See also Figure 1 ,The embodiment of the present invention provides a technical solution: a bus communication network test system, including a multi-protocol acquisition module, a protocol parsing engine, an intelligent diagnosis module, a visual analysis interface, a remote control and log management module, and a programmable expansion interface;
[0036] The multi-protocol acquisition module is responsible for collecting, isolating, encoding, and preliminarily formatting physical signals of different types of buses, providing basic data for subsequent protocol analysis;
[0037] The protocol parsing engine parses the original physical layer data into logical layer structure frames, identifies the meaning of each field, and uses it for subsequent logical processing;
[0038] Intelligent diagnosis module, which performs logical analysis on the parsed data, identifies fault modes, locates problem nodes or areas, and provides intelligent suggestions;
[0039] Visual analysis interface provides users with an intuitive graphical interactive interface, enabling comprehensive visual display of system status, data flow, and fault information;
[0040] Remote control and log management module, which enables remote device access, status control, log recording, and permission management, improving system maintainability and collaborative efficiency;
[0041] Programmable expansion interface provides advanced users with system secondary development capabilities, allowing them to add new protocols, automated test scripts, and custom algorithms.
[0042] The multi-protocol acquisition module includes a physical interface unit, a signal conditioning unit, a timing synchronization unit, and a protocol identification unit. The physical interface unit includes a CAN interface subunit that supports CAN2.0A / B and is compatible with FD, RS-485 / RS-232 subunits, Profibus-DP interface subunits, Modbus interface subunits, and a custom protocol expansion port that supports GPIO / TTL / UART; the signal conditioning unit includes an isolation circuit, an ESD / TVS protection unit, an automatic level conversion circuit, and adaptability to 3.3V / 5V logic; the timing synchronization unit includes a high-precision timestamp generator and a clock synchronization controller; the protocol identification unit includes a start frame feature extractor and a protocol judgment logic array.
[0043] The protocol parsing engine includes a protocol stack management unit, a data frame parsing unit, and an error detection and correction unit. The protocol stack management unit includes a multi-protocol stack loader, a protocol switching and multi-threaded parsing scheduler; the data frame parsing unit includes a frame boundary identifier, a field separator, and a field formatter converted into a unified JSON or binary structure; the error detection and correction unit includes a CRC / check code checker, a frame loss / stickiness detector, and a frame retransmission and error correction suggestion subunit.
[0044] The intelligent diagnosis module includes a rule base management unit, a pattern recognition and reasoning unit, and a diagnosis output unit. The rule base management unit includes a predefined fault rule base, a user-defined rule configurator, and a multi-protocol rule adapter.
[0045] The pattern recognition and reasoning unit includes an abnormal feature extractor for frame retry times and packet loss rate, a decision tree / neural network recognition engine, and a fault trend predictor;
[0046] The diagnostic output unit includes a fault classifier to detect communication failure, noise interference, address conflict, a root cause analysis subunit, and an optimization suggestion pusher.
[0047] The visual analysis interface includes a graphic display unit, an interactive control unit, and a report generation and export unit;
[0048] The graphic display unit includes a real-time frame flow graph / data flow rate graph, a bus topology automatic generator, and an error event timeline visualization subunit;
[0049] Interactive control unit, including message filter and searcher, multi-window debugging terminal, and editable protocol viewer;
[0050] The report generation and export unit includes a test report automatic summarizer, a report export interface, and a data snapshot storage device.
[0051] Remote control and log management module, remote access unit, log collection and storage unit, authority and user management unit,
[0052] The remote access unit includes VPN / SSH remote channel subunit, WebSocket / REST API control interface, real-time monitoring pusher,
[0053] The log collection and storage unit includes a message log circular buffer, a fault log classification memory, and a cloud synchronization engine connected to Aliyun and AWS.
[0054] The authority and user management unit includes a multi-level user authority controller, a login identity authentication mechanism, an operation audit and a behavior backtracking recorder.
[0055] The programmable extension interface includes a script execution unit, a plug-in extension unit, and a developer support unit. The script execution unit includes a Lua / Python / JavaScript script engine, a protocol interaction simulator, and a timing / condition trigger script controller.
[0056] The plug-in extension unit includes a protocol plug-in manager for supporting dynamic loading, a test task orchestration engine for supporting flowchart-style configuration, and a user-defined frame format editor;
[0057] The developer support unit includes an API documentation automatic generation sub-unit, SDK packaging tools, and a simulation environment sandbox.
[0058] System Structure
[0059] The system mainly consists of the following hardware and software components:
[0060] Hardware:
[0061] Multi-protocol physical interface board (pluggable design, supports hot swap)
[0062] Main control processing unit (based on ARM or FPGA architecture)
[0063] Storage module (cache + SD card + cloud synchronization)
[0064] Display touch screen / mobile terminal connection module (optional)
[0065] Software part:
[0066] Embedded operating system (such as Linux or RTOS)
[0067] Protocol stack handler
[0068] Data analysis and intelligent diagnosis engine
[0069] Graphical User Interface (GUI) module
[0070] Cloud remote service interface.
[0071] Protocol identification and collection
[0072] After the system is started, the acquisition module monitors the bus level changes, pre-processes the collected physical signals, automatically identifies the protocol based on the start frame characteristics, and calls the corresponding protocol stack for subsequent processing.
[0073] Message analysis and error detection
[0074] The protocol parsing engine converts the original data into a structured frame format, including fields such as address, function code, data segment, and check bit. At the same time, it combines the state machine mechanism to identify error patterns, such as: CRC / check error, abnormal response frame (such as Modbus exception code), data conflict or duplicate frame, overload, frame loss and other abnormal event markers.
[0075] Intelligent diagnostic algorithms, based on a large data sample library and machine learning models (such as KNN + Rule Tree), identify typical failure modes. For example, multiple response timeouts may indicate a lost node connection, repeated frame errors at a certain address may indicate line interference or node failure, and periodic frame loss may be caused by bandwidth congestion or improper priority configuration. The system automatically pushes "recommended actions" to the operation interface, such as "Recommend checking the terminal resistance of node X" or "Recommend reducing the frame transmission period."
[0076] Visual interface function, real-time bus traffic dynamic curve, message list and detailed field display, fault event timeline and location, topology map automatically identifies and rebuilds communication structure, user-defined test task chart and report export.
[0077] Remote management and expansion
[0078] Users can remotely access the system through a PC or mobile device and perform the following operations: view real-time or historical test records, remotely control test start / stop, set alarm thresholds and notification policies, and upload custom test scripts and protocol plug-ins (Lua, Python, etc.).
[0079] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention. Therefore, from all perspectives, the embodiments should be regarded as illustrative and non-restrictive. The scope of the present invention is defined by the appended claims, not the foregoing description, and it is intended that all variations that come within the meaning and range of equivalents of the claims be included within the present invention. Any reference signs in the claims should not be construed as limiting the claim to which they relate.
[0080] In addition, it should be understood that although this specification is described in terms of implementation methods, not every implementation method contains only one independent technical solution. This narrative method of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment can also be appropriately combined to form other implementation methods that can be understood by those skilled in the art.
Claims
1. A bus communication network testing system, characterized by: It includes multi-protocol acquisition module, protocol analysis engine, intelligent diagnosis module, visual analysis interface, remote control and log management module, and programmable expansion interface; The multi-protocol acquisition module is responsible for collecting, isolating, encoding, and preliminarily formatting physical signals of different types of buses, providing basic data for subsequent protocol analysis; The protocol parsing engine parses the original physical layer data into logical layer structure frames, identifies the meaning of each field, and uses it for subsequent logical processing; Intelligent diagnosis module, which performs logical analysis on the parsed data, identifies fault modes, locates problem nodes or areas, and provides intelligent suggestions; Visual analysis interface provides users with an intuitive graphical interactive interface, enabling comprehensive visual display of system status, data flow, and fault information; Remote control and log management module, which enables remote device access, status control, log recording, and permission management, improving system maintainability and collaborative efficiency; Programmable expansion interface provides advanced users with system secondary development capabilities, allowing them to add new protocols, automated test scripts, and custom algorithms.
2. A bus communication network testing system according to claim 1, characterized in that: The multi-protocol acquisition module includes a physical interface unit, a signal conditioning unit, a timing synchronization unit, and a protocol identification unit. The physical interface unit includes a CAN interface subunit, supports CAN2.0A / B, is compatible with FD, RS-485 / RS-232 subunits, Profibus-DP interface subunits, Modbus interface subunits, a custom protocol expansion port, and supports GPIO / TTL / UART; the signal conditioning unit includes an isolation circuit, an ESD / TVS protection unit, an automatic level conversion circuit, and is compatible with 3.3V / 5V logic; the timing synchronization unit includes a high-precision timestamp generator and a clock synchronization controller; the protocol identification unit includes a start frame feature extractor and a protocol judgment logic array.
3. A bus communication network testing system according to claim 1, characterized in that: The protocol parsing engine includes a protocol stack management unit, a data frame parsing unit, and an error detection and correction unit. The protocol stack management unit includes a multi-protocol stack loader, a protocol switching and multi-threaded parsing scheduler; the data frame parsing unit includes a frame boundary identifier, a field separator, and a field formatter that converts it into a unified JSON or binary structure; the error detection and correction unit includes a CRC / check code checker, a frame loss / stickiness detector, and a frame retransmission and error correction suggestion subunit.
4. A bus communication network testing system according to claim 1, characterized in that: The intelligent diagnosis module includes a rule base management unit, a pattern recognition and reasoning unit, and a diagnosis output unit. The rule base management unit includes a predefined fault rule base, a user-defined rule configurator, and a multi-protocol rule adapter. The pattern recognition and reasoning unit includes an abnormal feature extractor for frame retry times and packet loss rate, a decision tree / neural network recognition engine, and a fault trend predictor; The diagnostic output unit includes a fault classifier, a detection unit for communication failure, noise interference, and address conflict, a root cause analysis subunit, and an optimization suggestion pusher.
5. A bus communication network testing system according to claim 1, characterized in that: The visual analysis interface includes a graphic display unit, an interactive control unit, and a report generation and export unit; The graphic display unit includes a real-time frame flow graph / data flow rate graph, a bus topology automatic generator, and an error event timeline visualization subunit; The interactive control unit includes a message filter and searcher, a multi-window debugging terminal, and an editable protocol viewer; The report generation and export unit includes a test report automatic summarizer, a report export interface, and a data snapshot storage.
6. A bus communication network testing system according to claim 1, characterized in that: The remote control and log management module includes a remote access unit, a log collection and storage unit, and a permission and user management unit. The remote access unit includes a VPN / SSH remote channel subunit, a WebSocket / REST API control interface, a real-time monitoring pusher, The log collection and storage unit includes a message log circular buffer, a fault log classification memory, and a cloud synchronization engine connected to Aliyun and AWS; The authority and user management unit includes a multi-level user authority controller, a login identity authentication mechanism, and an operation audit and behavior backtracking recorder.
7. A bus communication network testing system according to claim 1, characterized in that: The programmable extension interface includes a script execution unit, a plug-in extension unit, and a developer support unit. The script execution unit includes a Lua / Python / JavaScript script engine, a protocol interaction simulator, and a timing / condition trigger script controller. The plug-in extension unit includes a protocol plug-in manager for supporting dynamic loading, a test task arrangement engine for supporting flowchart-style configuration, and a user-defined frame format editor; The developer support unit includes an API document automatic generation sub-unit, an SDK packaging tool, and a simulation environment sandbox.
Citation Information
Patent Citations
Embedded intelligent edge computing gateway based on ARM-Linux system
CN112260944A
Multi-protocol analysis device based on embedded extensible module
CN119544841A
Web-based CAN bus remote test system and method
CN119996239A
Systems and methods for interpreting communications packets
US6931574B1
Extended cache coherence protocol-based multi-level coherence domain simulation verification and test method
WO2014110922A1