Communication protocol detection method and system for intelligent Internet of Things terminal of power distribution network

Through the intelligent gateway, collect distribution equipment information, perform plug-and-play testing and specification consistency verification, and generate detection software, solving the problem of low specification testing efficiency of distribution network terminal equipment, and improving the unity and stability of equipment communication regulations , reduces abnormalities and upgrade difficulties during equipment operation.

CN119071203APending Publication Date: 2024-12-03SHENZHEN POWER SUPPLY BUREAU
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410929151.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-11
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

The specification testing efficiency of distribution network terminal equipment is low, resulting in unstable equipment operation, false alarm information and difficulty in upgrading equipment, affecting power supply reliability.

Method used

Through the intelligent gateway, collect basic operation information of power distribution equipment, conduct plug-and-play testing and debugging, formulate consistency testing standards, conduct forward and reverse testing and standard consistency verification, generate standard consistency detection software, and ensure the equipment communication regulations Robustness and unity.

Benefits of technology

It improves testing efficiency, ensures the unity and robustness of equipment communication regulations, reduces the debugging workload of equipment module docking of different manufacturers, and avoids abnormal situations and upgrade difficulties in equipment operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119071203A_ABST
    Figure CN119071203A_ABST
Patent Text Reader

Abstract

The invention provides a communication protocol detection method and system for an intelligent Internet of Things terminal of a power distribution network. The method comprises the following steps: acquiring operation basic information of to-be-detected power distribution equipment through an intelligent gateway; performing a plug-and-play test on the power distribution equipment according to the operation basic information, completing debugging, and after debugging is completed, obtaining a communication protocol and an interface standard of the power distribution equipment to correspondingly formulate a consistency test standard; performing forward and reverse testing of a communication protocol on the power distribution equipment according to the consistency test standard; and performing protocol consistency verification on the power distribution equipment after the forward and reverse test is passed, and performing a protocol comprehensive test on the power distribution equipment after the verification is passed so as to obtain a test result. The communication standards of different manufacturers can be unified, the debugging workload of butt joint of different modules of the equipment is reduced, and the testing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of power distribution equipment detection, and in particular relates to a communication protocol detection method and system for an intelligent Internet of Things terminal in a power distribution network. Background Art

[0002] The distribution network is at the end of the power system and faces a large number of users. Its operating conditions directly affect the user experience and power supply reliability. In recent years, with the rapid development of new energy technologies, power distribution technologies, power efficiency technologies, and information and communication technologies, the distribution network has evolved from a simple power network to an intelligent energy information integration. However, the construction of the distribution network still faces many challenges, such as a large total amount of equipment, serious lack of measurement coverage, low degree of facility standardization, unbalanced and insufficient development, and the gradual diversification of user needs.

[0003] The communication protocol involves a lot of technical content and details. It is impossible to know whether the communication protocol of the equipment produced by the equipment supplier fully meets all the contents of the specification. If the equipment supplier does not produce the equipment according to the specification, the equipment will not meet the requirements and cannot communicate with the gateway after operation, and the equipment will report false information in abnormal situations. If the above scenarios occur and there are a large number of devices, it may cause a large number of devices to be unable to be monitored in a short period of time and a large number of devices need to upgrade the program, which will seriously affect the operation of the equipment. Summary of the invention

[0004] In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a communication protocol detection method and system for a distribution network intelligent Internet of Things terminal, so as to solve the problem of low efficiency of protocol testing of distribution network terminal equipment in the prior art.

[0005] To achieve the above-mentioned purpose and other related purposes, the present invention provides a communication protocol detection method for a distribution network intelligent Internet of Things terminal, comprising the following steps:

[0006] Collect basic operating information of the power distribution equipment to be tested through the intelligent gateway;

[0007] Performing a plug-and-play test on the power distribution equipment according to the basic operation information and completing debugging, and after completing debugging, obtaining the communication protocol and interface standard of the power distribution equipment to formulate a corresponding consistency test standard;

[0008] Performing forward and reverse tests on the communication protocol of the power distribution equipment according to the consistency test standard;

[0009] After the forward and reverse tests are passed, the power distribution equipment is subjected to protocol consistency verification, and after the verification is passed, the power distribution equipment is subjected to protocol comprehensive testing to obtain test results.

[0010] In one embodiment of the present invention, performing a plug-and-play test on the power distribution equipment and completing debugging according to the basic operation information includes:

[0011] After the power distribution equipment is entered, the southbound protocol model is managed and sent to the corresponding intelligent gateway;

[0012] According to the baud rate and communication address of the intelligent gateway when it leaves the factory, obtain the baud rate setting value of each serial port;

[0013] After the smart gateway is powered on, the latest APP installation package of the smart gateway is sent to the smart gateway and stored to complete the configuration;

[0014] After the configuration is completed, the intelligent gateway is subjected to data verification, and after the data verification passes, the configuration is saved and standardized debugging is performed.

[0015] In one embodiment of the present invention, after the power distribution equipment is entered, the southbound protocol model is managed and sent to the corresponding intelligent gateway, including:

[0016] Parsing the protocol point table of the intelligent gateway according to the point table document provided by the manufacturer;

[0017] Select the required acquisition variable, enter the starting address and register number of the acquisition variable and the coefficient of the acquisition variable;

[0018] Matching the IoT service attributes, matching the collected variables with the IoT service attributes one by one to generate a configuration file group, wherein the configuration file group includes a configuration file related to IoT registration, a configuration file related to object models, and a configuration file related to southbound device communication data acquisition;

[0019] Scan the QR code with your mobile phone to query the basic gateway information from the device center. After querying the newly added gateway information in the device center, select the corresponding gateway. After the selection is completed, send the southbound protocol model to the debugging smart gateway.

[0020] In one embodiment of the present invention, the collecting of basic operation information of the power distribution equipment to be tested through the intelligent gateway includes:

[0021] The on-site electrical quantity information and operating environment information of the power distribution equipment are collected through the corresponding type of power distribution Internet of Things sensor terminal, and the collected information is converted into digital signals and sent to the intelligent gateway.

[0022] In one embodiment of the present invention, the step of obtaining the communication protocol and interface standard of the power distribution equipment to formulate a corresponding consistency test standard includes:

[0023] Acquire the communication protocol and interface standard of each sensor of the power distribution equipment, acquire the information body address of each type of sensor according to the communication protocol and the interface standard, and unify the information body address of each sensor into a specified information body address;

[0024] After the functions of each sensor are triggered by the corresponding signal source, it is verified whether the information body address of the signal actually sent by each sensor is consistent with the specified information body address. After confirming that they are consistent, the specified information body address is used as the information body address of the consistency test standard.

[0025] In one embodiment of the present invention, the step of performing a protocol comprehensive test on the power distribution equipment after the verification is passed to obtain a test result includes:

[0026] Implement the MQTT protocol and test cases by simulation to verify the consistency verification results with the alternative protocol of the smart gateway;

[0027] Simulating the intelligent gateway to verify the protocol consistency of the end device;

[0028] Simulating the terminal device to verify the protocol consistency of the southbound protocol of the intelligent gateway;

[0029] The above verification results are integrated together to obtain the test results.

[0030] In one embodiment of the present invention, the method further includes generating protocol conformance test software based on the above test steps, and the test of the protocol conformance test software specifically includes the following process:

[0031] Realize communication connection with the device under test through the main thread;

[0032] The receiving thread is responsible for receiving and subpacketizing the original data message. By monitoring the TCP 2404 port of the substation, the message data is received using a While loop. After subpacketization, the single-frame data is put into the message processing function to check the key items of the message, and the correct message is parsed to obtain the final result, which is displayed on the interface through message mapping;

[0033] The sending thread is responsible for encapsulating the final result into a frame format message of the application protocol to be sent and then sending it outward.

[0034] The present invention provides a communication protocol detection system for a distribution network intelligent Internet of Things terminal, which is characterized by comprising:

[0035] An information collection module is used to collect basic operating information of the power distribution equipment to be tested through an intelligent gateway;

[0036] A standard formulation module, used to perform a plug-and-play test on the power distribution equipment according to the basic operation information and complete the debugging, and after the debugging is completed, obtain the communication protocol and interface standard of the power distribution equipment to formulate a corresponding consistency test standard;

[0037] A forward and reverse test module, used for performing forward and reverse tests of the communication protocol of the power distribution equipment according to the consistency test standard;

[0038] The verification test module is used to perform protocol consistency verification on the power distribution equipment after the forward and reverse tests are passed, and to perform protocol comprehensive test on the power distribution equipment after the verification is passed to obtain the test results.

[0039] As described above, the communication protocol detection method and system of the distribution network intelligent Internet of Things terminal of the present invention have the following

[0040] Beneficial effects:

[0041] The present invention formulates and studies the consistency test standard of the communication of the intelligent Internet of Things terminal by analyzing the communication protocol and interface standard of the communication module of the intelligent Internet of Things terminal; uses a plug-and-play method to perform a forward protocol test and then a reverse protocol test; tests the robustness of the protocol to ensure that there is no deviation in the understanding of the protocol by various manufacturers, and solidifies the final testing means into communication protocol consistency detection software to form a communication protocol detection technical specification for the intelligent Internet of Things terminal of the distribution network, which can be used for convenient extended testing of different protocols, not only can unify the communication standards of different manufacturers, but also reduce the debugging workload of docking different modules of the device, and improve the testing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 Shown is a flow chart of the communication protocol detection method of the distribution network intelligent Internet of Things terminal of the present invention.

[0043] Figure 2 Shown is a structural block diagram of the communication protocol detection system of the distribution network intelligent Internet of Things terminal of the present invention. DETAILED DESCRIPTION

[0044] The following describes the embodiments of the present invention through specific embodiments, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0045] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention. The illustrations only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0046] The communication protocol detection method and system of the distribution network intelligent Internet of Things terminal of the present invention formulates and studies the consistency test standard of the communication of the intelligent Internet of Things terminal by analyzing the communication protocol and interface standard of the communication module of the intelligent Internet of Things terminal; performs a forward protocol test and a reverse protocol test in a plug-and-play manner; tests the robustness of the protocol to ensure that there is no deviation in the understanding of the protocol by various manufacturers, and solidifies the final testing means into communication protocol consistency detection software to form a communication protocol detection technical specification for the distribution network intelligent Internet of Things terminal, which can be used for convenient extended testing of different protocols, not only unifies the communication standards of different manufacturers, but also reduces the debugging workload of docking different modules of the equipment, and improves the testing efficiency.

[0047] like Figure 1 As shown, in one embodiment, the present invention provides a communication protocol detection method for a distribution network intelligent Internet of Things terminal, comprising the following steps:

[0048] S101. Collect basic operating information of the power distribution equipment to be tested through an intelligent gateway.

[0049] In some embodiments, collecting basic operation information of the power distribution equipment to be tested through the intelligent gateway includes:

[0050] The on-site electrical quantity information and operating environment information of the power distribution equipment are collected through the corresponding type of power distribution Internet of Things sensor terminal, and the collected information is converted into digital signals and sent to the intelligent gateway.

[0051] Specifically, the on-site electrical quantity and environmental quantity signals are collected through various types of power distribution IoT sensor terminals, which convert the collected analog signals into digital signals and forward them to the intelligent gateway. Since the traditional distribution network can only collect signals on the medium voltage side, it is impossible to collect signals on the low voltage side. The power distribution IoT terminal can effectively solve this problem.

[0052] S102. Perform a plug-and-play test on the power distribution equipment according to the basic operation information and complete debugging. After the debugging is completed, obtain the communication protocol and interface standard of the power distribution equipment to formulate a corresponding consistency test standard.

[0053] In some further embodiments, performing a plug-and-play test on the power distribution equipment and completing debugging according to the basic operation information includes:

[0054] After the power distribution equipment is entered, the southbound protocol model is managed and sent to the corresponding intelligent gateway;

[0055] According to the baud rate and communication address of the intelligent gateway when it leaves the factory, obtain the baud rate setting value of each serial port;

[0056] After the smart gateway is powered on, the latest APP installation package of the smart gateway is sent to the smart gateway and stored to complete the configuration;

[0057] After the configuration is completed, the intelligent gateway is subjected to data verification, and after the data verification passes, the configuration is saved and standardized debugging is performed.

[0058] In this embodiment, after obtaining the basic operating information of the power distribution equipment, a plug-and-play test is performed on the power distribution equipment to complete the debugging according to the test results, and then the baud rate setting value of each serial port is intelligently recommended according to the baud rate and communication address of the equipment when it leaves the factory. Scan the sensor QR code, obtain the sensor attribute information from the device center, select the GISID of the primary device to which it belongs step by step, and update the association to the device center. The device center obtains the status of the equipment that has been installed and wired, and recommends the serial port number to be installed in combination with the baud rate and communication address, or proposes a parameter modification plan. Check whether the data is within the normal range. If not, the device center will give a recommended solution and the debugging personnel will correct it in time.

[0059] Data debugging. The debugging engineer powers on the smart gateway. After the smart system is initialized, the mobile phone scans the QR code on the EasyLink APP to obtain the latest gateway application APP download address, and sends the installation package to the smart gateway through the MQS message / file server of the global IoT platform channel. The gateway stores the file locally. If the smart gateway configuration needs to be updated, the debugging personnel need to send the configuration update command on the mobile phone APP. After the update is completed, restart the smart gateway to update the configuration.

[0060] Data verification. After the configuration update is completed, verify whether the data uploaded to the smart gateway is correct. If the data is correct, save the configuration and perform standardized debugging. If the data upload is abnormal, the mobile phone scans the QR code of the EasyLink APP to display the configuration check abnormality. The debugging personnel modify the configuration and generate a new configuration file and upload it to the file server.

[0061] After completing the plug-and-play test, standardized debugging is performed. Since standardized debugging is a matter of prior art, it will not be described in detail here.

[0062] In some embodiments, after the power distribution equipment is entered, managing the southbound protocol model and sending it to the corresponding intelligent gateway includes:

[0063] Parsing the protocol point table of the intelligent gateway according to the point table document provided by the manufacturer;

[0064] Select the required acquisition variable, enter the starting address and register number of the acquisition variable and the coefficient of the acquisition variable;

[0065] Matching the IoT service attributes, matching the collected variables with the IoT service attributes one by one to generate a configuration file group, the configuration file group including an IoT registration-related configuration file, a thing model-related configuration file, and a southbound device communication data acquisition-related configuration file;

[0066] Scan the QR code with your mobile phone to query the basic information of the gateway from the device center. After querying the newly added gateway information in the device center, select the corresponding gateway. After the selection is completed, send the southbound protocol model to the debugging smart gateway.

[0067] Specifically, after the debugging equipment arrives, the material center will enter the primary and secondary equipment ledgers. After the primary and secondary equipment ledgers are entered, the southbound protocol model needs to be managed. This process is completed in five steps. In the first step, the debugging personnel parse the equipment protocol point table according to the point table document provided by the manufacturer. In the second step, the debugging personnel select the required acquisition variables, enter the starting address and register number of the variables, and the coefficients of the variables. In the third step, match the object model service attributes, and match the device variables with the IoT service attributes one by one. In the fourth step, generate a configuration file group, including IoT registration-related configuration files, object model-related configuration files, and southbound device communication data acquisition-related configuration files. Step 5: The debugging personnel scan the QR code of the smart gateway through the mobile phone EasyLink APP to query the basic information of the gateway from the device center. Scan the VPN card QR code to submit the registration to the IoT platform, query the newly added gateway information in the device center, select the corresponding gateway, and after the selection is completed, send the southbound protocol model to the debugging smart gateway.

[0068] In some embodiments, the obtaining of the communication protocol and interface standard of the power distribution device to formulate a corresponding consistency test standard includes:

[0069] Acquire the communication protocol and interface standard of each sensor of the power distribution equipment, acquire the information body address of each type of sensor according to the communication protocol and the interface standard, and unify the information body address of each sensor into a specified information body address;

[0070] After the functions of each sensor are triggered by the corresponding signal source, it is verified whether the information body address of the signal actually sent by each sensor is consistent with the specified information body address. After confirming that they are consistent, the specified information body address is used as the information body address of the consistency test standard.

[0071] Specifically, the original communication protocol between the end device and the edge device has no unified standard for the information body address. The present application scheme unifies the functional information body addresses of various types of sensors, and then triggers the corresponding functions through the signal source to verify whether the information body address of the actual signal sent is consistent with the specified information body address. On the other hand, the fields and bytes of the protocol are verified, thereby completing the formulation of consistency standards for communication protocols and interface standards.

[0072] S103. Perform forward and reverse tests on the communication protocol of the power distribution equipment according to the consistency test standard.

[0073] Since the process of performing forward and reverse testing of the communication protocol of the power distribution equipment is the content of the existing technology, it is mainly used to test the robustness of the protocol to ensure that there is no deviation in the understanding of the protocol by various manufacturers, and will not be repeated here.

[0074] S104: after the forward and reverse tests are passed, the power distribution equipment is subjected to protocol consistency verification, and after the verification is passed, the power distribution equipment is subjected to protocol comprehensive testing to obtain test results.

[0075] In some embodiments, after the verification is passed, performing a protocol comprehensive test on the power distribution equipment to obtain a test result includes:

[0076] Implement the MQTT protocol and test cases by simulation to verify the consistency verification results with the alternative protocol of the smart gateway;

[0077] Simulating the intelligent gateway to verify the protocol consistency of the end device;

[0078] Simulating the terminal device to verify the protocol consistency of the southbound protocol of the intelligent gateway;

[0079] The above verification results are integrated together to obtain the test results.

[0080] Specifically, the MQTT protocol and test case implementation of the simulated master station is to verify the northbound protocol consistency test with the smart gateway and verify the protocol consistency of gateways from different manufacturers. The purpose of simulating the smart gateway is to verify the protocol consistency of the end device. Specifically, the computer simulates the smart gateway device and communicates with the end device through various types of interfaces. The simulation of the end device is to verify the southbound protocol consistency of the smart gateway. The computer simulates the end device protocol and communicates with the smart gateway to verify the southbound protocol of the smart gateway.

[0081] In some further embodiments, the method further comprises generating protocol conformance test software based on the above test steps, and the test of the protocol conformance test software specifically comprises the following process:

[0082] Realize communication connection with the device under test through the main thread;

[0083] The receiving thread is responsible for receiving and subpacketizing the original data message. By monitoring the TCP 2404 port of the substation, the message data is received using a While loop. After subpacketization, the single-frame data is put into the message processing function to check the key items of the message, and the correct message is parsed to obtain the final result, which is displayed on the interface through message mapping;

[0084] The sending thread is responsible for encapsulating the final result into a frame format message of the application protocol to be sent and then sending it outward.

[0085] In this embodiment, the consistency test software includes a data communication module, a data parsing module, a test result recording module, and a message delivery module. The device under test establishes a link with the simulator through the communication module, and is processed by the message parsing module, and the corresponding reply message is sent through the message delivery module, and the test result is generated by the test result recording module. The test process of the protocol consistency test software is that for the TCP / IP transmission protocol, the test software uses a TCP-oriented Socket to achieve communication. The application completes the test through the following threads. The main thread is mainly responsible for the establishment of connection communication and the realization of software functions; the receiving thread is responsible for the reception and packet processing of data messages, and receives message data by listening to the TCP 2404 port of the substation using the While loop. After packetization, the single frame data is put into the message processing function to check the key items of the message, and the correct message is parsed and processed. The parsing result is displayed on the interface through the message mapping; the sending thread is responsible for encapsulating the original data into the application protocol data unit APDU frame format message to be sent, and sending the encapsulated message out.

[0086] It should be noted that the protection scope of the method described in the present invention is not limited to the execution order of the steps listed in this embodiment. All solutions implemented by adding, reducing or replacing steps in the prior art based on the principles of the present invention are included in the protection scope of the present invention.

[0087] The present invention provides a communication protocol detection system for a distribution network intelligent Internet of Things terminal, such as Figure 2 Said, including:

[0088] The information collection module 201 is used to collect basic operation information of the power distribution equipment to be tested through the intelligent gateway;

[0089] A standard formulation module 202 is used to perform a plug-and-play test on the power distribution equipment according to the basic operation information and complete the debugging. After the debugging is completed, the communication protocol and interface standard of the power distribution equipment are obtained to formulate a corresponding consistency test standard;

[0090] A forward and reverse test module 203, used for performing a forward and reverse test of the communication protocol of the power distribution equipment according to the consistency test standard;

[0091] The verification test module 204 is used to perform protocol consistency verification on the power distribution equipment after the forward and reverse tests are passed, and to perform protocol comprehensive test on the power distribution equipment after the verification is passed to obtain the test result.

[0092] It should be noted that the structure and principle of the communication protocol detection system of the distribution network intelligent Internet of Things terminal correspond one to one with the steps in the above-mentioned communication protocol detection method of the distribution network intelligent Internet of Things terminal, so they will not be repeated here.

[0093] It should be noted that it should be understood that the division of the various modules of the above system is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. For example, the x module can be a separately established processing element, or it can be integrated in a certain chip of the above system for implementation. In addition, it can also be stored in the memory of the above system in the form of program code, and called and executed by a certain processing element of the above system. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.

[0094] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), or one or more digital signal processors (DSP), or one or more field programmable gate arrays (FPGA). For another example, when a module above is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0095] It should be noted that the communication protocol detection system of the distribution network intelligent Internet of Things terminal of the present invention can implement the communication protocol detection method of the distribution network intelligent Internet of Things terminal of the present invention, but the implementation device of the communication protocol detection method of the distribution network intelligent Internet of Things terminal of the present invention includes but is not limited to the structure of the communication protocol detection system of the distribution network intelligent Internet of Things terminal listed in this embodiment. All structural deformations and replacements of the prior art made according to the principles of the present invention are included in the protection scope of the present invention.

[0096] In summary, the communication protocol detection method and system of the distribution network intelligent Internet of Things terminal of the present invention, by analyzing the communication protocol and interface standard of the communication module of the intelligent Internet of Things terminal, formulates and studies the consistency test standard of the communication of the intelligent Internet of Things terminal; uses the plug-and-play method to perform the protocol forward test, and then the protocol reverse test; tests the robustness of the protocol to ensure that there is no deviation in the understanding of the protocol by each manufacturer, and solidifies the final testing means into the communication protocol consistency detection software, forming the communication protocol detection technical specification of the distribution network intelligent Internet of Things terminal, which can be used for convenient expansion testing of different protocols, not only can unify the communication standards of different manufacturers, but also reduce the debugging workload of docking different modules of the equipment, and improve the testing efficiency; therefore, the present invention effectively overcomes the various shortcomings in the prior art and has a high industrial utilization value.

[0097] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A communication protocol detection method for a distribution network intelligent Internet of Things terminal, characterized in that: The following steps are involved: Collect basic operating information of the power distribution equipment to be tested through the intelligent gateway; Performing a plug-and-play test on the power distribution equipment according to the basic operation information and completing debugging, and after completing debugging, obtaining the communication protocol and interface standard of the power distribution equipment to formulate a corresponding consistency test standard; Performing forward and reverse tests on the communication protocol of the power distribution equipment according to the consistency test standard; After the forward and reverse tests are passed, the power distribution equipment is subjected to protocol consistency verification, and after the verification is passed, the power distribution equipment is subjected to protocol comprehensive testing to obtain test results.

2. The communication protocol detection method of the distribution network intelligent Internet of Things terminal according to claim 1 is characterized in that: The performing a plug-and-play test on the power distribution equipment and completing debugging according to the basic operation information includes: After the power distribution equipment is entered, the southbound protocol model is managed and sent to the corresponding intelligent gateway; According to the baud rate and communication address of the intelligent gateway when it leaves the factory, obtain the baud rate setting value of each serial port; After the smart gateway is powered on, the latest APP installation package of the smart gateway is sent to the smart gateway and stored to complete the configuration; After the configuration is completed, the intelligent gateway is subjected to data verification, and after the data verification passes, the configuration is saved and standardized debugging is performed.

3. The communication protocol detection method of the distribution network intelligent Internet of Things terminal according to claim 2 is characterized in that: After the power distribution equipment is entered, the southbound protocol model is managed and sent to the corresponding intelligent gateway, including: Parsing the protocol point table of the intelligent gateway according to the point table document provided by the manufacturer; Select the required acquisition variable, enter the starting address and register number of the acquisition variable and the coefficient of the acquisition variable; Matching the IoT service attributes, matching the collected variables with the IoT service attributes one by one to generate a configuration file group, the configuration file group including an IoT registration-related configuration file, a thing model-related configuration file, and a southbound device communication data acquisition-related configuration file; Scan the QR code with your mobile phone to query the basic information of the gateway from the device center. After querying the newly added gateway information in the device center, select the corresponding gateway. After the selection is completed, send the southbound protocol model to the debugging smart gateway.

4. The communication protocol detection method of the distribution network intelligent Internet of Things terminal according to claim 1 is characterized in that: The collecting of basic operation information of the power distribution equipment to be tested through the intelligent gateway includes: The on-site electrical quantity information and operating environment information of the power distribution equipment are collected through the corresponding type of power distribution Internet of Things sensor terminal, and the collected information is converted into a digital signal and sent to the intelligent gateway.

5. The communication protocol detection method of the distribution network intelligent Internet of Things terminal according to claim 1 is characterized in that: The obtaining of the communication protocol and interface standard of the power distribution equipment to formulate a corresponding consistency test standard includes: Acquire the communication protocol and interface standard of each sensor of the power distribution equipment, acquire the information body address of each type of sensor according to the communication protocol and the interface standard, and unify the information body address of each sensor into a specified information body address; After the functions of each sensor are triggered by the corresponding signal source, it is verified whether the information body address of the signal actually sent by each sensor is consistent with the specified information body address. After confirming that they are consistent, the specified information body address is used as the information body address of the consistency test standard.

6. The communication protocol detection method of the distribution network intelligent Internet of Things terminal according to claim 1 is characterized in that: After the verification is passed, the power distribution equipment is subjected to a protocol comprehensive test to obtain a test result, including: Implement the MQTT protocol and test cases by simulation to verify the consistency verification results with the alternative protocol of the smart gateway; Simulating the intelligent gateway to verify the protocol consistency of the end device; Simulating the terminal device to verify the protocol consistency of the southbound protocol of the intelligent gateway; The above verification results are integrated together to obtain the test results.

7. The communication protocol detection method of the distribution network intelligent Internet of Things terminal according to claim 1 is characterized in that: The method further comprises generating protocol consistency test software based on the above test steps, wherein the test of the protocol consistency test software specifically comprises the following process: Realize communication connection with the device under test through the main thread; The receiving thread is responsible for receiving and subpacketizing the original data message. By monitoring the TCP 2404 port of the substation, the message data is received using a While loop. After subpacketization, the single-frame data is put into the message processing function to check the key items of the message, and the correct message is parsed to obtain the final result, which is displayed on the interface through message mapping; The sending thread is responsible for encapsulating the final result into a frame format message of the application protocol to be sent and then sending it outward.

8. A communication protocol detection system for intelligent Internet of Things terminals in a distribution network, characterized in that: include: An information collection module is used to collect basic operating information of the power distribution equipment to be tested through an intelligent gateway; A standard formulation module, used to perform a plug-and-play test on the power distribution equipment according to the basic operation information and complete the debugging, and after the debugging is completed, obtain the communication protocol and interface standard of the power distribution equipment to formulate a corresponding consistency test standard; A forward and reverse test module, used for performing forward and reverse tests of the communication protocol of the power distribution equipment according to the consistency test standard; The verification test module is used to perform protocol consistency verification on the power distribution equipment after the forward and reverse tests are passed, and to perform protocol comprehensive test on the power distribution equipment after the verification is passed to obtain the test results.

Citation Information

Cited By

  • Digital meter data security consistency verification system and method

    CN121351160A