A multi-source heterogeneous protocol testing method and system

By designing a multi-source heterogeneous protocol testing system including intelligent terminals, data acquisition modules, carrier information modules, communication modules, remote sensing modules and alarm devices, the existing system lacks alarm functions and narrow testing ranges are solved, and comprehensive testing of the power information acquisition system and timely alarming of faults is achieved.

CN114821984BActive Publication Date: 2025-03-11SHENYANG SHANGBO ZHIXIANG TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210474705.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-29
Publication Date
2025-03-11
Estimated Expiration
2042-04-29

AI Technical Summary

Technical Problem

The existing multi-source heterogeneous protocol test system does not have an alarm function, which leads to inability to timely feedback when internal failures of the device system are not available, and the test range is small, which poses hidden dangers.

Method used

Design a multi-source heterogeneous protocol testing method and system, including intelligent terminals, data acquisition modules, carrier information modules, communication modules, remote sensing modules and alarm devices, through the signal wire-connection, consistency testing, interoperability testing, performance testing and robustness testing, and alarm in time when a fault occurs.

Benefits of technology

A comprehensive test of the multi-source heterogeneous communication protocol of the power information collection system has been realized, and timely detection and alarm failures have been detected and alarmed, avoiding the potential for failures caused by incomplete testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114821984B_ABST
    Figure CN114821984B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of multi-source heterogeneous protocols, and in particular to a multi-source heterogeneous protocol testing method and system. The present invention comprises an intelligent terminal, a data acquisition module, a carrier information module, a communication module, a remote sensing module and an alarm device, and is characterized in that: the intelligent terminal, the data acquisition module, the carrier information module, the communication module, the remote sensing module and the alarm device are electrically connected together through a signal line, and through the intelligent terminal, the data acquisition module, the carrier information module, the communication module, the remote sensing module and the alarm device, the system can timely provide feedback and warn staff when an internal fault occurs, and is convenient for comprehensive testing of the system, so as to solve the problem that the original system does not have an alarm setting, resulting in delayed problem discovery, and the problem that incomplete testing leads to frequent faults in the later stage.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of multi-source heterogeneous protocols, and in particular to a multi-source heterogeneous protocol testing method and system. Background Art

[0002] Multi-source heterogeneity simply means that a whole is composed of components from multiple different sources, including both mixed data (including structured and unstructured) and discrete data (data distributed in different systems or platforms). The Internet is a typical heterogeneous network, and the fusion communication matrix is ​​a typical multi-source heterogeneous data network. Therefore, the demand for a multi-source heterogeneous protocol testing method and system is growing. Most of the multi-source heterogeneous protocol tests on the market currently have a small scope and the multi-source heterogeneous protocol system does not have an alarm setting. When a fault occurs inside the device system, it cannot provide timely feedback. Especially for the multi-source heterogeneous communication protocol test of the power information acquisition system, if the test scope is small, it will lead to great hidden dangers in the later use process. Therefore, a multi-source heterogeneous protocol testing method and system are proposed to address the above problems. Summary of the invention

[0003] The purpose of the present invention is to provide a multi-source heterogeneous protocol testing method and system, so that it can comprehensively test the multi-source heterogeneous communication protocols of the power information acquisition system and promptly alarm when a fault occurs inside the system.

[0004] To achieve the above object, the present invention provides the following technical solutions:

[0005] A multi-source heterogeneous protocol testing method and system, including an intelligent terminal, a data acquisition module, a carrier information module, a communication module, a remote sensing module and an alarm device, characterized in that: the intelligent terminal, the data acquisition module, the carrier information module, the communication module, the remote sensing module and the alarm device are electrically connected together through a signal line, and the multi-source heterogeneous protocol detection scope of the intelligent terminal, the data acquisition module, the carrier information module, the communication module, the remote sensing module and the alarm device includes: consistency testing, interoperability testing, performance testing and robustness testing. The consistency test is used to detect the degree of compliance between the protocol implementation itself and the protocol specification. The interoperability test is based on a certain protocol to detect the ability of different protocol implementations to interoperate and communicate with each other. The performance test is a test to detect data transmission speed, connection time, execution speed, throughput and concurrency. The robustness test is used to detect the ability of the protocol to operate in various harsh environments.

[0006] Preferably, step one: conduct a consistency test to test the communication protocol between the smart terminal and the data acquisition module, carrier information module, communication module, and remote pulse module. During the test, attention needs to be paid to the format and content, and it is necessary to see whether the data acquisition module, carrier information module, communication module, and remote pulse module can correctly feed back to the smart terminal based on the information provided by the test system.

[0007] Step 2: Conduct interoperability testing, send commands to the data acquisition module, carrier information module, communication module, and remote pulse module through the smart terminal to test their response, and then send signals to the smart terminal through the data acquisition module, carrier information module, communication module, and remote pulse module to test the reception of the smart terminal.

[0008] Step 3: Perform performance testing to test the data transmission speed, connection time, execution speed, throughput and concurrency between the intelligent terminal and the data acquisition module, carrier information module, communication module and remote pulse module.

[0009] Step 4: Perform a robustness test by sending a series of datagrams through the smart terminal. The datagrams encapsulate undeliverable UDP user datagrams (using illegal port numbers). The TTL of the first datagram P1 is set to 1. When P1 reaches the first communication module on the path, the communication module first receives it and then reduces the TTL by 1. Since the TTL is equal to zero, the communication module discards P1 and sends an ICMP time exceeded error report message to the smart terminal. The smart terminal then sends the second datagram P2 and sets the TTL to 2. P2 arrives first. Communication module, after receiving it, the communication module subtracts 1 from TTL and then forwards it to the information acquisition module, carrier information module and remote pulse module. When the information acquisition module, carrier information module and remote pulse module receive P2, TTl is 1, but after subtracting 1, TTl becomes zero. The information acquisition module, carrier information module and remote pulse module discard P2 and send an ICMP time exceeded error report message through the information module. This is repeated until the datagram sent by the intelligent terminal reaches the destination module. The ICMP messages sent by these intelligent terminals and the final destination module give the data information that the intelligent terminal wants to know.

[0010] Step 5: Test the reaction time of the remote pulse module transmitting the signal to the intelligent terminal control alarm device by manually controlling the tripping.

[0011] Compared with the prior art, the present invention has the following beneficial effects:

[0012] In the present invention, by setting up the intelligent terminal, data collection module, carrier information module, communication module, remote sensing module and alarm device, the system can provide timely feedback and alert the staff when an internal fault occurs, and at the same time facilitate comprehensive testing of the system to solve the problem that the original system does not have an alarm setting resulting in delayed problem discovery and the problem that incomplete testing leads to frequent failures in the later stage. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 This is the overall module diagram of the present invention. DETAILED DESCRIPTION

[0014] Embodiment 1: The present invention provides a technical solution:

[0015] A multi-source heterogeneous protocol testing method and system, including an intelligent terminal, a data acquisition module, a carrier information module, a communication module, a remote sensing module and an alarm device, characterized in that the intelligent terminal, the data acquisition module, the carrier information module, the communication module, the remote sensing module and the alarm device are electrically connected together through a signal line.

[0016] The multi-source heterogeneous protocol detection scope of the intelligent terminal, data collection module, carrier information module, communication module, remote sensing module and alarm device includes: consistency test, interoperability test, performance test and robustness test, which can comprehensively test the multi-source heterogeneous communication protocol of the power information collection system; the consistency test is used to detect the degree of compliance between the protocol implementation itself and the protocol specification, the interoperability test is based on a certain protocol to detect the ability of different protocol implementations to interoperate and communicate, the performance test is to detect data transmission speed, connection time, execution speed, throughput and concurrency, and the robustness test is used to detect the ability of the protocol to operate in various harsh environments, and the test is more comprehensive.

[0017] First, a consistency test is performed to test the communication protocol between the smart terminal and the data acquisition module, carrier information module, communication module, and remote pulse module. During the test, attention should be paid to the format and content, and it is necessary to see whether the data acquisition module, carrier information module, communication module, and remote pulse module can correctly feed back to the smart terminal based on the information provided by the test system. Then an interoperability test is performed to test the reaction of the data acquisition module, carrier information module, communication module, and remote pulse module by sending instructions to the smart terminal through the smart terminal. Then, a signal is sent to the smart terminal through the data acquisition module, carrier information module, communication module, and remote pulse module to test the reception of the smart terminal. Then a performance test is performed to test the data transmission speed, connection time, execution speed, throughput, and concurrency between the smart terminal and the data acquisition module, carrier information module, communication module, and remote pulse module. Then a robustness test is performed to send a series of datagrams through the smart terminal. The datagrams encapsulate undeliverable UDP user datagrams (illegal port numbers are used). The first datagram The survival time TTL of P1 is set to 1. When P1 reaches the first communication module on the path, the communication module first receives it and then reduces the TTL by 1. Since the TTL is equal to zero, the communication module discards P1 and sends an ICMP time exceeded error report message to the intelligent terminal. The intelligent terminal then sends the second datagram P2 and sets the TTL to 2. P2 reaches the communication module first. After receiving it, the communication module reduces the TTL by 1 and then forwards it to the information acquisition module, the carrier information module and the remote pulse module. When the information acquisition module, the carrier information module and the remote pulse module receive P2, TTl is 1, but after reducing 1, TTl becomes zero. The information acquisition module, the carrier information module and the remote pulse module discard P2 and send an ICMP time exceeded error report message through the information module. This is repeated until the datagram sent by the intelligent terminal reaches the destination module. The ICMP messages sent by these intelligent terminals and the last destination module give the data information that the intelligent terminal wants to know. Finally, the reaction time of the remote pulse module transmitting the signal to the intelligent terminal control alarm device is tested by artificially controlling the tripping.

[0018] Embodiment 2: The present invention provides a technical solution:

[0019] A multi-source heterogeneous protocol testing method and system, including an intelligent terminal, a data acquisition module, a carrier information module, a communication module, a remote sensing module and an alarm device, characterized in that the intelligent terminal, the data acquisition module, the carrier information module, the communication module, the remote sensing module and the alarm device are electrically connected together through a signal line.

[0020] The multi-source heterogeneous protocol detection scope of the intelligent terminal, data collection module, carrier information module, communication module, remote sensing module and alarm device includes: consistency test, interoperability test, performance test and robustness test, which can comprehensively test the multi-source heterogeneous communication protocol of the power information collection system; the consistency test is used to detect the degree of compliance between the protocol implementation itself and the protocol specification, the interoperability test is based on a certain protocol to detect the ability of different protocol implementations to interoperate and communicate, the performance test is to detect data transmission speed, connection time, execution speed, throughput and concurrency, and the robustness test is used to detect the ability of the protocol to operate in various harsh environments, and the test is more comprehensive.

[0021] First, a consistency test is performed to test the communication protocol between the smart terminal and the data acquisition module, carrier information module, communication module, and remote pulse module. During the test, attention should be paid to the format and content, and it is necessary to see whether the data acquisition module, carrier information module, communication module, and remote pulse module can correctly feed back to the smart terminal based on the information provided by the test system. Then an interoperability test is performed to test the reaction of the data acquisition module, carrier information module, communication module, and remote pulse module by sending instructions to the smart terminal through the smart terminal. Then, a signal is sent to the smart terminal through the data acquisition module, carrier information module, communication module, and remote pulse module to test the reception of the smart terminal. Then a performance test is performed to test the data transmission speed, connection time, execution speed, throughput, and concurrency between the smart terminal and the data acquisition module, carrier information module, communication module, and remote pulse module. Then a robustness test is performed to send a series of datagrams through the smart terminal. The datagram encapsulates an undeliverable UDP user datagram (using an illegal port number). The first data The survival time TTL of datagram P1 is set to 1. When P1 reaches the first communication module on the path, the communication module first receives it and then reduces the TTL by 1. Since the TTL is equal to zero, the communication module discards P1 and sends an ICMP time exceeded error report message to the intelligent terminal. The intelligent terminal then sends the second datagram P2 and sets the TTL to 2. P2 reaches the communication module first. After receiving it, the communication module reduces the TTL by 1 and then forwards it to the information acquisition module, the carrier information module and the remote pulse module. When the information acquisition module, the carrier information module and the remote pulse module receive P2, TTl is 1, but after reducing 1, TTl becomes zero. The information acquisition module, the carrier information module and the remote pulse module discard P2 and send an ICMP time exceeded error report message through the information module. This is repeated until the datagram sent by the intelligent terminal reaches the destination module. The ICMP messages sent by these intelligent terminals and the last destination module give the data information that the intelligent terminal wants to know. Finally, the signal is lost by dismantling each module individually to test the reaction time of the intelligent terminal control alarm device.

[0022] Embodiment 3: The present invention provides a technical solution:

[0023] It includes an intelligent terminal, a data collection module, a carrier information module, a communication module, a remote sensing module and an alarm device, and is characterized in that the intelligent terminal, the data collection module, the carrier information module, the communication module, the remote sensing module and the alarm device are electrically connected together through a signal line.

[0024] The parts that are the same as those in Example 1 and Example 2 are not elaborated on. In some places, the alarm device uses Bluetooth to connect the signal with the smart terminal. Such a setting can connect multiple alarm devices to the smart terminal at the same time during actual use, and the alarm device can be placed in multiple different locations for use, which can effectively prevent the alarm device from not being discovered in time when an alarm is triggered due to negligence of the staff at work.

[0025] This article uses specific examples to illustrate the principles and implementation methods of the present invention. The above examples are only used to help understand the method and core ideas of the present invention. The above is only a preferred implementation of the present invention. It should be pointed out that due to the limitations of textual expression and the objective existence of infinite specific structures, ordinary technicians in this technical field can make several improvements, modifications or changes without departing from the principles of the present invention, and can also combine the above technical features in an appropriate manner; these improvements, modifications, changes or combinations, or the direct application of the inventive concept and technical solution to other occasions without improvement, should be regarded as the protection scope of the present invention.

Claims

1. A multi-source heterogeneous protocol system, comprising an intelligent terminal, a data acquisition module, a carrier information module, a communication module, a remote sensing module and an alarm device, characterized in that: The intelligent terminal, data acquisition module, carrier information module, communication module, remote sensing module and alarm device are electrically connected together through a signal line. The multi-source heterogeneous protocol detection scope of the intelligent terminal, data acquisition module, carrier information module, communication module, remote sensing module and alarm device includes: consistency test, interoperability test, performance test and robustness test. The consistency test is used to detect the degree of compliance between the protocol implementation itself and the protocol specification. The interoperability test detects the ability of different protocol implementations to interoperate and communicate based on a certain protocol. The performance test is a test to detect data transmission speed, connection time, execution speed, throughput and concurrency. The robustness test is used to detect the ability of the protocol to operate in various harsh environments; The multi-source heterogeneous protocol testing method is characterized by: Step 1: Conduct consistency test to test whether the intelligent terminal and the data acquisition module, carrier information module, communication module, and remote pulse module can perform the correct protocol according to the information provided by the test system. During the test, attention should be paid to the format and content, and the feedback from the data acquisition module, carrier information module, and communication module to the intelligent terminal should be checked; Step 2: Perform interoperability testing, by sending commands to the data acquisition module, carrier information module, communication module, and remote pulse module through the intelligent terminal to test their response, and then send signals to the intelligent terminal through the data acquisition module, carrier information module, communication module, and remote pulse module to test the reception of the intelligent terminal; Step 3: Perform performance testing to test the data transmission speed, connection time, execution speed, throughput and concurrency between the intelligent terminal and the data acquisition module, carrier information module, communication module and remote pulse module; Step 4: Perform a robustness test by sending a series of datagrams through the smart terminal. The datagrams encapsulate undeliverable UDP user datagrams. The TTL of the first datagram P1 is set to 1. When P1 reaches the first communication module on the path, the communication module first receives it and then reduces the TTL by 1. Since the TTL is equal to zero, the communication module discards P1 and sends an ICMP time exceeded error report message to the smart terminal. The smart terminal then sends the second datagram P2 and sets the TTL to 2. P2 reaches the communication module first. After receiving it, the communication module subtracts 1 from TTL and forwards it to the information collection module, carrier information module and remote pulse module. When the information collection module, carrier information module and remote pulse module receive P2, TTl is 1, but after subtracting 1, TTl becomes zero. The information collection module, carrier information module and remote pulse module discard P2 and send an ICMP time exceeded error report message through the information module. This is repeated until the datagram sent by the intelligent terminal reaches the destination module. The ICMP messages sent by these intelligent terminals and the final destination module give the data information that the intelligent terminal wants to know. Step 5: Test the reaction time of the remote pulse module transmitting the signal to the intelligent terminal control alarm device by manually controlling the tripping.

Citation Information

Patent Citations

  • Integration test method for multi-protocol communication of intelligent substation

    CN105227402A