Terminal protocol verification system and method for data flexible analysis of mining composite system

By designing the terminal protocol intelligent verification system, the problem of poor readability and complex verification in the communication protocol inspection of terminal equipment in mining system is solved, and the simple analysis and display of terminal equipment data is realized. It supports a custom protocol stack and simplifies inspection The process enhances the readability of data and the friendliness of verification tools.

CN119299537APending Publication Date: 2025-01-10TIANDI CHANGZHOU AUTOMATION +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411362955.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The prior art communication protocol inspection of mining system terminal equipment has problems such as poor data readability and complex verification process, and the original data of the terminal equipment cannot be directly obtained and cannot be used as inspection tools.

Method used

Design a terminal protocol verification system for data flexibility analysis of mining composite systems, including upper computers, terminal protocol intelligent verification equipment and terminal equipment, establish data signal connection through peripheral interface driver modules and microprocessor modules, and supports multiple bus types , parsing and recombining data frames, displaying raw data, and supporting custom communication protocol stacks.

Benefits of technology

It realizes simple reading and parsing of terminal device data, obtains raw data, enhances data readability, simplifies the inspection process, reduces the familiarity requirements for communication protocols, supports diversified communication protocols, and replaces USB to RS485 or USB To convert to CAN tool.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119299537A_ABST
    Figure CN119299537A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of underground equipment communication inspection, in particular to a terminal protocol verification system and method for data flexible analysis of a mining composite system. The system comprises an upper computer, a terminal protocol intelligent verification device and a terminal device. The upper computer is used for setting configuration information of the verification equipment and setting an analysis mode of a data frame of the terminal equipment; the verification equipment comprises a peripheral interface driving module and a microprocessor module; the microprocessor module is used for receiving configuration information and establishing data signal connection based on the configuration information, the microprocessor module obtains a data frame generated by the terminal equipment, packages the data frame into a data packet and transmits the data packet to the upper computer, and the upper computer extracts the data frame in the data packet according to a set analysis mode after receiving the data frame; and the upper computer also sets a control command of the terminal equipment according to the inspection requirement, processes the control command through the verification equipment, and transmits the processed control command to the terminal equipment for execution. The method is simple in operation process and high in readability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of underground equipment communication inspection, and in particular to a terminal protocol verification system and method for flexible analysis of data of a mining composite system. Background Art

[0002] With the development of coal mine multi-network integration system and the release of technical requirements for upgrading and transformation of safety monitoring system, the performance verification method of the integrated system has become one of the research topics in the coal mining industry. Flexible analysis and testing of composite system data is the basic condition for completing the performance verification of multi-network integration system. Therefore, the construction of flexible analysis and testing device for coal mine safety monitoring system and the realization of intelligent automatic testing of multi-network integration system can improve the safety and stability of multi-network integration system equipment and large-capacity data redundancy technology, improve the overall reliability and stability of the integration system, provide strong technical support for coal production safety, and adopt new technologies and new concepts to promote the objective need of supporting the inspection work of safety signs.

[0003] The terminal protocol intelligent verification system should be included in the composite system data flexibility analysis test device to realize the intelligent inspection of the communication protocol of the terminal equipment of the multi-network integration system. The communication interface of most mining system terminal equipment adopts RS485 or CAN bus. RS485 bus mostly adopts master / slave structure, and the terminal equipment usually acts as a slave; CAN bus is based on preemptive multi-master structure, and the terminal equipment uploads data autonomously.

[0004] At present, third parties mainly use the following two methods to verify the communication protocol of mining system terminal equipment:

[0005] Method 1: The terminal device is connected to the PC through a USB to RS485 or USB to CAN conversion tool. On the PC, use software tools such as the serial port debugging assistant or CAN test tool to interact with the terminal device. This open software tool usually transmits transparently, that is, it displays the data frame in the form of byte stream. The inspector needs to analyze and interpret the meaning of the bytes.

[0006] Method 2: Use the host device or self-made test device of the system where the terminal device is located to exchange data with the terminal device. Usually, the host device or self-made test device has an LCD screen, which can view the terminal device data; or connect the system host device to the system server software (on a PC) to view the terminal device data on the system server software. In this case, the terminal device information viewed on the LCD screen or system server software is all data processed and converted by the host device or server software.

[0007] For method 1, the inspector sees a string of byte streams on the PC software tool. It is necessary to look up the communication protocol to extract, calculate, and finally convert it into valid information for the terminal device. In addition, in order to interact with the terminal device, multiple interactive commands need to be sent to obtain valid information from the terminal device. In addition, if the open software tool does not support the verification method specified in the communication protocol, it cannot automatically add the data frame verification byte, and it is necessary to calculate and add the verification byte independently; for communication protocols with high response timing requirements, it is necessary to combine inspection tools such as oscilloscopes and logic analyzers to manually judge the timing requirements, which results in poor data readability and a complicated inspection process.

[0008] Regarding the second method, usually the host device or autonomous test device and the terminal device of the system are provided by the party submitting the inspection. This inspection method does not directly touch the communication data of the terminal device. Instead, the system host device or autonomous test device reads the terminal device data, converts it and then displays it. In addition, the communication function of the system host device has not been inspected and is not suitable as an inspection tool for other equipment. Summary of the invention

[0009] The technical problem to be solved by the present invention is: in order to solve the technical problem that the prior art has poor readability of terminal device data, a complex verification process, or the viewed data are all converted data, which is not suitable for use as an inspection tool. The present invention provides a terminal protocol verification system for flexible analysis of data of a mining composite system, which can read the data of the terminal device, has a simple operation process, and obtains original data with strong readability.

[0010] The technical solution adopted by the present invention to solve the technical problem is: a terminal protocol verification system for flexible analysis of data of a mining composite system, the system comprising: a host computer, a terminal protocol intelligent verification device and a terminal device;

[0011] The host computer is configured to set the configuration information of the terminal protocol intelligent verification device and set the parsing method of the first data frame of the terminal device, and the host computer sends the configuration information and the parsing method;

[0012] The terminal protocol intelligent verification device includes a peripheral interface driver module and a microprocessor module;

[0013] The peripheral interface driver module is configured to electrically connect the microprocessor module to terminal devices of multiple different bus types;

[0014] The microprocessor module is configured to receive the configuration information transmitted by the host computer, establish a data signal connection between the terminal device and the host computer based on the configuration information, the microprocessor module obtains a first data frame generated by the terminal device, packages the first data frame to form a first data packet, transmits the first data packet to the host computer, and the host computer receives the first data packet and extracts the first data frame in the first data packet according to the set parsing method;

[0015] The host computer also sets the control command of the terminal device according to the inspection needs, reorganizes to form a second data packet, and transmits the second data packet to the microprocessor module. The microprocessor module receives the second data packet, parses the second data packet, obtains control instructions, and repackages the control instructions according to the communication protocol to form a second data frame. The microprocessor module transmits the second data frame to the terminal device, and the terminal device executes the second data frame.

[0016] Further, specifically, selecting the configuration information, the parsing method and the control instruction from a template database;

[0017] Or the configuration information, the parsing method and the control instruction are customized and saved to the template database after the settings are completed.

[0018] Further, specifically, the configuration information includes: the link interface, link parameters and communication protocol stack type of the terminal protocol intelligent verification device;

[0019] The link parameters include: baud rate, data bit, check bit and time delay;

[0020] The communication protocol stack types include: Modbus RTU, CANOpen and private protocols.

[0021] Further, specifically, the terminal protocol intelligent verification device initializes the peripheral interface driver module according to the link parameters in the configuration information and starts the communication protocol stack;

[0022] Only one communication protocol stack is started on each link bus. After the communication protocol stack is started, the terminal protocol intelligent verification device performs data exchange with the terminal device.

[0023] Further, specifically, the parsing method for parsing the first data packet on the same link interface is the same.

[0024] Further, specifically, the host computer processes the first data packet according to the parsing method, extracts the content of the first data frame, and displays it in the original data window;

[0025] Each of the link interfaces has its corresponding original data window, each original data window displays at least one first data frame, any one of the first data frames is selected, the first data frame is parsed based on the parsing method, and the parsing result is displayed in the result window.

[0026] Further, specifically, after the control command forms a second data packet, it is transmitted to the terminal protocol verification device in a triggering manner;

[0027] The control command defines the meaning of fields in bits. After receiving the trigger signal, the host computer reorganizes the fields defined in bits of the control command according to the communication protocol and packages them into a second data packet.

[0028] Further, specifically, the peripheral interface driver module includes an Ethernet interface, an RS485 interface and a CAN interface.

[0029] A terminal protocol verification method for flexible analysis of data in a mining composite system, the method comprising the following steps:

[0030] S1, after the host computer is initialized, the configuration information of the terminal protocol intelligent verification device is set;

[0031] S2, setting a parsing method of the first data frame of the terminal device;

[0032] S3, setting a control command of the terminal device according to the inspection requirement, and reorganizing the control command to form a second data packet;

[0033] S4, the host computer transmits the configuration information to the terminal protocol intelligent verification device;

[0034] S5, the terminal protocol intelligent verification device receives the configuration information transmitted by the host computer, and establishes a data signal connection between the terminal device and the host computer based on the configuration information;

[0035] S6, the terminal protocol intelligent verification device performs data interaction with the terminal device, obtains a first data frame of the terminal device, packages the first data frame into a first data packet, and transmits the first data packet to the host computer;

[0036] S7, the host computer receives the first data packet, extracts the first data frame in the first data packet according to the set parsing method, obtains the first data frame content of the terminal device, and displays it;

[0037] S8, selecting any first data frame, parsing the first data frame based on the parsing method, displaying the parsing result in a result window, and saving the parsing result.

[0038] Furthermore, specifically, the method further comprises the following steps:

[0039] S9, the host computer transmits a second data packet to the terminal protocol intelligent verification device;

[0040] S10, the terminal protocol intelligent verification device receives the second data packet, parses the second data packet to obtain a control instruction, and repackages the control instruction according to the communication protocol to form a second data frame, and the terminal protocol intelligent verification device transmits the second data frame to the terminal device;

[0041] S11, the terminal device executes the second data frame.

[0042] The beneficial effects of the present invention are:

[0043] (1) The terminal protocol verification system for flexible analysis of data in a mining composite system of the present invention has a peripheral interface driver module that supports commonly used communication interfaces in mining systems and can replace tools such as USB to RS485 interface and USB to CAN interface, and has a simple structure;

[0044] (2) The present invention establishes a data signal connection between the terminal device and the host computer based on the configuration information terminal protocol intelligent verification device. The terminal protocol intelligent verification device supports loading a custom communication protocol stack to meet the diverse terminal device communication protocols, so as to solve the problem that the open serial port debugging assistant does not support the personalized data verification algorithm. In addition, for communication protocols with complex communication mechanisms and high communication timing requirements, loading a custom communication protocol stack can reduce the inspector's familiarity with the communication protocol and simplify the inspection operation process;

[0045] (3) The host computer in the present invention can replace the open serial port debugging assistant and CAN test software. While displaying the first data frame of the original interaction of the terminal device, it can parse and receive the first data frame or reorganize and send the second data frame according to the communication protocol settings, thereby enhancing the readability of the terminal device communication data and making the human-computer interaction interface more friendly. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0047] Figure 1 It is a schematic diagram of the system structure of the first embodiment of the present invention.

[0048] Figure 2 It is a schematic diagram of the structure of the method of the second embodiment of the present invention.

[0049] In the figure, 1 is a host computer; 2 is a terminal protocol intelligent verification device; 3 is a terminal device; 21 is a peripheral interface driver module; 22 is a microprocessor module. DETAILED DESCRIPTION

[0050] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show the components related to the present invention.

[0051] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.

[0052] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0053] Example 1

[0054] The present application embodiment provides a terminal protocol verification system for flexible analysis of data of a mining composite system, such as Figure 1 As shown, the system includes: a host computer 1, a terminal protocol intelligent verification device 2 and a terminal device 3.

[0055] The host computer 1 is configured to set the configuration information of the terminal protocol intelligent verification device 2 and set the parsing method of the first data frame of the terminal device 3. The host computer 1 sends the configuration information and the parsing method.

[0056] The terminal protocol intelligent verification device 2 includes a peripheral interface driver module 21 and a microprocessor module 22; the peripheral interface driver module 21 is configured to electrically connect the microprocessor module 22 to terminal devices 3 of multiple different bus types; the microprocessor module 22 is configured to receive configuration information transmitted by the host computer 1, and establish a data signal connection between the terminal device 3 and the host computer 1 based on the configuration information. The microprocessor module 22 obtains the first data frame generated by the terminal device 3, packages the first data frame to form a first data packet, and transmits the first data packet to the host computer 1. The host computer 1 receives the first data packet and extracts the first data frame in the first data packet according to the set parsing method.

[0057] The host computer 1 also sets the control command of the terminal device 3 according to the inspection needs, reorganizes to form a second data packet, and transmits the second data packet to the microprocessor module 22. The microprocessor module 22 receives the second data packet, parses the second data packet, obtains the control instruction, and repackages the control instruction according to the communication protocol to form a second data frame. The microprocessor module 22 transmits the second data frame to the terminal device 3, and the terminal device 3 executes the second data frame.

[0058] In an embodiment, configuration information, parsing method and control instructions are selected from a template database through a human-computer interaction interface; or configuration information, parsing method and control instructions are customized and saved to the template database after the settings are completed, so that the configuration information, parsing method and control instructions can be directly retrieved from the template database according to the type of terminal device 3 being tested next time, thereby improving the convenience of operation.

[0059] In the embodiment, the configuration information includes: the link interface, link parameters and communication protocol stack type of the terminal protocol intelligent verification device 2; the link parameters include: baud rate, data bit, check bit and time delay; the communication protocol stack type includes: Modbus RTU, CANOpen and private protocol.

[0060] In the embodiment, the terminal protocol intelligent verification device 2 initializes the peripheral interface driver module 21 according to the link parameters in the configuration information and starts the communication protocol stack; only one communication protocol stack is started on each link bus. After the communication protocol stack is started, the terminal protocol intelligent verification device 2 interacts with the terminal device 3 for data.

[0061] In other words, the configuration information sent by the host computer 1 specifies the link interface, link parameters and the type of communication protocol to be run on the link of the terminal protocol intelligent verification device 2 to be started. Then the terminal protocol intelligent verification device 2 establishes a data signal connection between the host computer 1 and the terminal device 3.

[0062] In the embodiment, when the host computer 1 sets the parsing mode of the first data frame of the terminal device 3, the parsing mode of the first data packet on the same link interface is the same. The first data frame, that is, the byte stream is reorganized in bits to form new fields, the meaning of each field is redefined, and the magnification of the field is set.

[0063] For example, the first data frame is C1 04 45 01 00 0C DE. The bit of C1 is "b11000001", where bit4 to bit0, 5 bits represent address 1; 04 indicates that there are 4 valid bytes behind (the last byte is checksum and is not included); 45 indicates process data; bit0 of 01 indicates changes in the monitoring value of the terminal device, bit1 indicates fault diagnosis, bit2 indicates device registration, etc., where the corresponding bit is '1' indicating that there is corresponding byte data behind, and '0' indicating that there is no corresponding byte data behind; the following 00 0C corresponds to the byte data 12 whose value changes when bit0 is 1 above, and the magnification of the field is set to 100 times, that is, 12 / 100=0.12, and the corresponding real-time monitoring value is 0.12.

[0064] In the embodiment, the host computer 1 processes the first data packet according to the parsing method, extracts the content of the first data frame, and displays it in the original data window; wherein each link interface has its corresponding original data window, each original data window displays at least one first data frame, selects any first data frame, parses the first data frame based on the parsing method, and displays the parsing result in the result window.

[0065] In an embodiment, after the control command forms a second data packet, it is transmitted to the terminal protocol verification device 2 in a triggered manner; wherein the control command defines the meaning of the field in bits, and after receiving the trigger signal, the host computer 1 reorganizes the control command's defined fields in bits according to the communication protocol and packages them into a second data packet.

[0066] It should be noted that the control commands include calibration, power-off, power-on, alarm, maintenance discharge, etc. The control commands can be switch quantities, such as power-off, power-on, maintenance discharge, etc., which only need to set one or more bits in a byte to the corresponding value. In the protocol, it occupies two bits, 'b01' or 'b11' respectively represent the two states of "on" and "off"; it can also be an analog quantity, occupying one or more bytes, such as the value of the first level alarm, the second level alarm or the alarm cancellation; there are also calibration values, such as intrinsic safety current calibration, which occupies two bytes, 0x01 0xC2, calibration is performed at the current current of 450mA; 0x03 0xE8, calibration is performed at the current current of 1000mA. If two fields are entered in the host computer, "address" 31 and calibration current "1000", the PC end reorganizes as follows: 1F10 00 0C 00 01 02 03E8 27 82 to form the second data packet.

[0067] In the embodiment, the peripheral interface driver module 21 includes an Ethernet interface, an RS485 interface, and a CAN interface, but is not limited thereto.

[0068] In the embodiment, the terminal protocol intelligent verification device 2 does not limit the link communication protocol of the peripheral interface, and supports independently developed private protocols.

[0069] Example 2

[0070] Based on the same inventive concept as the terminal protocol verification system for flexible analysis of data of a mining composite system in the aforementioned embodiment, the embodiment of the present application provides a terminal protocol verification method for flexible analysis of data of a mining composite system, and the method comprises the following steps:

[0071] S1, after the host computer 1 is initialized, the configuration information of the terminal protocol intelligent verification device 2 is set;

[0072] S2, setting the parsing mode of the first data frame of the terminal device 3;

[0073] S3, setting the control command of the terminal device 3 according to the inspection requirements, and reorganizing the control command to form a second data packet;

[0074] S4, the host computer 1 transmits the configuration information to the terminal protocol intelligent verification device 2;

[0075] S5, the terminal protocol intelligent verification device 2 receives the configuration information transmitted by the host computer 1, and establishes a data signal connection between the terminal device 3 and the host computer 1 based on the configuration information;

[0076] S6, the terminal protocol intelligent verification device 2 interacts with the terminal device 3 to obtain a first data frame of the terminal device 3, packages the first data frame into a first data packet, and transmits the first data packet to the host computer 1;

[0077] S7, the host computer 1 receives the first data packet, extracts the first data frame in the first data packet according to the set parsing method, obtains the content of the first data frame of the terminal device 3, and displays it;

[0078] S8, selecting any first data frame, parsing the first data frame based on the parsing method, displaying the parsing result in a result window, and saving the parsing result.

[0079] In an embodiment, the method further comprises the following steps:

[0080] S9, the host computer 1 transmits the second data packet to the terminal protocol intelligent verification device 2;

[0081] S10, the terminal protocol intelligent verification device 2 receives the second data packet, parses the second data packet, obtains the control instruction, and repackages the control instruction according to the communication protocol to form a second data frame. The terminal protocol intelligent verification device 2 transmits the second data frame to the terminal device 3 ;

[0082] S11, the terminal device 3 executes the second data frame.

[0083] The foregoing Figure 1 The various variations and specific examples of the terminal protocol verification system for flexible analysis of data of a mining composite system in Example 1 are also applicable to the terminal protocol verification method for flexible analysis of data of a mining composite system in this embodiment. Through the above detailed description of the terminal protocol verification system for flexible analysis of data of a mining composite system, those skilled in the art can clearly know the implementation method of the terminal protocol verification method for flexible analysis of data of a mining composite system in this embodiment. Therefore, for the sake of brevity of the specification, it will not be described in detail here.

[0084] In summary, the terminal protocol verification system for flexible analysis of data of the mining composite system of the present invention, the peripheral interface driver module 21 is set to support the commonly used communication interface in the mining system, which can replace the tools such as USB to RS485 interface and USB to CAN interface, and has a simple structure; the present invention is based on the configuration information terminal protocol intelligent verification device 2 to establish a data signal connection between the terminal device 3 and the host computer 1, and the terminal protocol intelligent verification device 2 supports loading a custom communication protocol stack to meet the diversified terminal device 3 communication protocol, so as to solve the situation that the open serial port debugging assistant does not support the personalized data verification algorithm. In addition, for the communication protocol with complex communication mechanism and high communication timing requirements, the way of loading a custom communication protocol stack can reduce the familiarity of the inspector with the communication protocol and simplify the inspection operation process; in addition, the host computer 1 can replace the open serial port debugging assistant and CAN test software, and while displaying the first data frame of the original interaction of the terminal device 3, the way of parsing the reception of the first data frame or reorganizing the transmission of the second data frame can be set according to the communication protocol, so as to enhance the readability of the communication data of the terminal device 3, and the human-computer interaction interface is more friendly.

[0085] Based on the above ideal embodiments of the present invention, the relevant staff can make various changes and modifications without departing from the technical concept of the present invention through the above description. The technical scope of the present invention is not limited to the contents of the specification, and its technical scope must be determined according to the scope of the claims.

Claims

1. A terminal protocol verification system for flexible analysis of data in a mining composite system, characterized in that: The system comprises: a host computer (1), a terminal protocol intelligent verification device (2) and a terminal device (3); The host computer (1) is configured to set configuration information of the terminal protocol intelligent verification device (2) and to set a parsing method for a first data frame of the terminal device (3), and the host computer (1) sends the configuration information and the parsing method; The terminal protocol intelligent verification device (2) comprises a peripheral interface driver module (21) and a microprocessor module (22); The peripheral interface driver module (21) is configured to electrically connect the microprocessor module (22) to terminal devices (3) of multiple different bus types; The microprocessor module (22) is configured to receive the configuration information transmitted by the host computer (1), establish a data signal connection between the terminal device (3) and the host computer (1) based on the configuration information, the microprocessor module (22) obtains a first data frame generated by the terminal device (3), packages the first data frame to form a first data packet, transmits the first data packet to the host computer (1), and the host computer (1) receives the first data packet and extracts the first data frame in the first data packet according to the set parsing method; The host computer (1) also sets the control command of the terminal device (3) according to the inspection needs, reorganizes to form a second data packet, and transmits the second data packet to the microprocessor module (22). The microprocessor module (22) receives the second data packet, parses the second data packet, obtains control instructions, and repackages the control instructions according to the communication protocol to form a second data frame. The microprocessor module (22) transmits the second data frame to the terminal device (3), and the terminal device (3) executes the second data frame.

2. The terminal protocol verification system for flexible analysis of data of a mining composite system according to claim 1, characterized in that: Selecting the configuration information, the parsing method and the control instruction from a template database; Or the configuration information, the parsing method and the control instruction are customized and saved to the template database after the settings are completed.

3. The terminal protocol verification system for flexible analysis of data of a mining composite system according to claim 2, characterized in that: The configuration information includes: the link interface, link parameters and communication protocol stack type of the terminal protocol intelligent verification device (2); The link parameters include: baud rate, data bit, check bit and time delay; The communication protocol stack types include: Modbus RTU, CANOpen and private protocols.

4. The terminal protocol verification system for flexible analysis of data of a mining composite system as claimed in claim 3, characterized in that: The terminal protocol intelligent verification device (2) initializes the peripheral interface driver module (21) according to the link parameters in the configuration information and starts the communication protocol stack; Only one communication protocol stack is started on each link bus. After the communication protocol stack is started, the terminal protocol intelligent verification device (2) and the terminal device (3) perform data exchange.

5. The terminal protocol verification system for flexible analysis of data of a mining composite system as claimed in claim 3, characterized in that: The parsing method for parsing the first data packet on the same link interface is the same.

6. The terminal protocol verification system for flexible analysis of data of a mining composite system according to claim 5, characterized in that: The host computer (1) processes the first data packet according to the parsing method, extracts the content of the first data frame, and displays it in the original data window; Each of the link interfaces has its corresponding original data window, each original data window displays at least one first data frame, any one of the first data frames is selected, the first data frame is parsed based on the parsing method, and the parsing result is displayed in the result window.

7. The terminal protocol verification system for flexible analysis of data of a mining composite system according to claim 1, characterized in that: After the control command forms a second data packet, it is transmitted to the terminal protocol verification device (2) in a triggering manner; The control command defines the meaning of the field in units of bits. After receiving the trigger signal, the host computer (1) reorganizes the fields defined in the control command in units of bits according to the communication protocol and packages them into a second data packet.

8. The terminal protocol verification system for flexible analysis of data in a mining composite system according to claim 1, characterized in that: The peripheral interface driver module (21) comprises an Ethernet interface, an RS485 interface and a CAN interface.

9. A terminal protocol verification method for flexible analysis of data in a mining composite system, characterized in that: The method comprises the following steps: S1, after the host computer (1) is initialized, the configuration information of the terminal protocol intelligent verification device (2) is set; S2, setting a parsing method of the first data frame of the terminal device (3); S3, setting a control command of the terminal device (3) according to the inspection requirements, and reorganizing the control command to form a second data packet; S4, the host computer (1) transmits the configuration information to the terminal protocol intelligent verification device (2); S5, the terminal protocol intelligent verification device (2) receives the configuration information transmitted by the host computer (1), and establishes a data signal connection between the terminal device (3) and the host computer (1) based on the configuration information; S6, the terminal protocol intelligent verification device (2) performs data interaction with the terminal device (3), obtains a first data frame of the terminal device (3), packages the first data frame into a first data packet, and transmits the first data packet to the host computer (1); S7, the host computer (1) receives the first data packet, extracts the first data frame in the first data packet according to the set parsing method, obtains the content of the first data frame of the terminal device (3), and displays it; S8, selecting any first data frame, parsing the first data frame based on the parsing method, displaying the parsing result in a result window, and saving the parsing result.

10. The terminal protocol verification method for flexible analysis of data in a mining composite system according to claim 9, characterized in that: The method further comprises the following steps: S9, the host computer (1) transmits a second data packet to the terminal protocol intelligent verification device (2); S10, the terminal protocol intelligent verification device (2) receives the second data packet, parses the second data packet, obtains a control instruction, and repackages the control instruction according to the communication protocol to form a second data frame, and the terminal protocol intelligent verification device (2) transmits the second data frame to the terminal device (3); S11, the terminal device (3) executes the second data frame.