Method and system for testing compliance and consistency of electrical acquisition full-link messages in low-voltage transformer area

By using concentrators, collectors and smart meters in low-voltage table areas to conduct full-link message compliance and consistency testing, the problem of the inability to conduct on-site interconnection tests in the existing technology is solved, and the accuracy of positioning equipment abnormalities is achieved , improve operation and maintenance efficiency and test accuracy.

CN119276693APending Publication Date: 2025-01-07STATE GRID JIANGSU ELECTRIC POWER CO LTD MARKETING SERVICE CENT +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411410102.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-10
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

The existing technology cannot conduct on-site interconnection tests of full-link power line communication equipment in low-voltage table areas, resulting in inconvenience of operation and maintenance personnel when detecting equipment, and the accuracy of the test results is affected by the simulation model, which may not match the on-site results. .

Method used

Adopt the power consumption information collection system including a concentrator, collector and smart meter. The CCO module processes test messages, verify the compliance and consistency of messages, determine abnormal devices, and realize full-link message compliance and Consistency testing methods and systems.

Benefits of technology

It can directly conduct interconnection tests of full-link equipment on site, accurately locate abnormal packets, improve operation and maintenance efficiency, improve communication success rate, reduce test costs, and obtain more accurate test results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119276693A_ABST
    Figure CN119276693A_ABST
Patent Text Reader

Abstract

The invention discloses a low-voltage transformer area electricity acquisition full-link message compliance and consistency test method and system. The method comprises the following steps: acquiring an electricity utilization information acquisition service test case; sending an electricity utilization information acquisition message instruction and a test message instruction to the concentrator through the abnormal message diagnostic instrument; the method comprises the following steps: collecting a receiving message and a sending message of each device of a whole link, firstly verifying the format and the structure of the message, judging whether the format and the structure of the message meet standard requirements, and analyzing the message; carrying out consistency verification on received and sent message contents, and determining an abnormal message generation device according to the time sequence, the non-compliant message position information and the content inconsistent message position information; and outputting the abnormal message to generate equipment information. According to the invention, message consistency and compliance detection can be carried out on the whole link of the low-voltage transformer area, abnormal message generation equipment can be rapidly positioned, the method can be used for interconnection and intercommunication test, and the communication success rate is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of power line communication system interconnection and interoperability testing, and relates to a method and system for testing compliance and consistency of full-link messages of low-voltage power procurement in an area. Background Art

[0002] HPLC communication technology is a power line broadband carrier communication standard independently developed by the State Grid Corporation of China. Currently, this communication technology is far ahead of other countries in the world and has achieved excellent field application results. my country is also far ahead of other countries in the research and development and application of power line broadband carrier communication operation and maintenance equipment.

[0003] At present, the operation and maintenance equipment used by power grid companies mainly include metering field operation terminals, collection fault identification modules, reading controllers and other equipment. The operation and maintenance tools are not easy to operate, lack the collection full-link message consistency and compliance detection function under actual business needs, and do not support on-site interconnection and interoperability testing, which brings great inconvenience to users, collection and operation and maintenance personnel.

[0004] Prior art document 1 (CN107294563A) discloses a method and system for testing the interoperability performance of low-voltage power line carrier communication. The method includes: verifying the consistency of the communication language and interaction process between the device under test and the standard device, determining the protocol consistency performance of the device under test; verifying whether the transmission performance and receiving performance of the device under test meet the standard requirements, and determining the communication performance; verifying the compatibility of the device under test with the standard device in the simulation environment, and determining the interoperability performance; and judging the interoperability performance of low-voltage power line carrier communication based on the protocol consistency performance, communication performance and interoperability performance.

[0005] Prior art document 2 (CN112711919A) discloses a low-voltage power line broadband carrier communication protocol consistency test system and method. The system includes: a software platform, which is used to manage test cases, select case runs, and record system operation logs, and calculate the consistency of the behavior of the broadband carrier communication device to be tested with the standard protocol; a transparent physical access unit, which is responsible for sending test commands to the carrier channel and reporting the communication message of the carrier channel to the software platform; a carrier bus channel access unit, which is used to simulate the on-site carrier communication scene and provide a test environment for the broadband carrier communication device to be tested; a device application interface monitoring unit, which is used to simulate the upper application service of the broadband carrier communication device to be tested, and monitor the communication behavior and business behavior of the broadband carrier communication device to be tested.

[0006] However, the above-mentioned existing technology can only be used for the interoperability performance test of a single power line broadband carrier device at a time, and can only be used in the laboratory. Each experiment can only test a single device, and the equipment of the entire link must be disassembled and returned to the laboratory for separate experiments. It cannot be used for on-site testing of all equipment in the entire link of the low-voltage substation. All nodes except the device to be tested are completed by simulation, including the simulation of test scenarios, such as interference noise, attenuation of the carrier channel, etc. The communication behavior of all communication nodes except the broadband carrier communication device to be tested in a specific scenario is realized through simulation. The accuracy of the test results is affected by the simulation model and may not match the on-site results. Summary of the invention

[0007] In order to solve the problem that the existing operation and maintenance devices do not support on-site interconnection and interoperability testing, the present invention provides a method and system for testing the compliance and consistency of the full-link message of low-voltage power procurement in a substation.

[0008] The first aspect of the present invention provides a low-voltage area power collection full-link message compliance and consistency test method, the power consumption information collection system includes a concentrator, a collector and a smart meter, the concentrator includes a CCO (concentrator carrier communication) module, and the method includes:

[0009] Step 1: Obtain a test case set for the electricity consumption information collection business;

[0010] Step 2: Select a test case from the power consumption information collection service test case set, convert the test case into a test message instruction, send the test message instruction to the concentrator, and the concentrator processes the test message instruction according to the preset logic;

[0011] Step 3: Collect the received messages and sent messages corresponding to the CCO module, the collector and the smart meter, and verify whether the message format and message structure of the received messages and the sent messages are compliant, to obtain a first compliance verification result;

[0012] Step 4: Parse the received message and the sent message to obtain the received message content and the sent message content, and perform consistency verification on the received message content and the sent message content to obtain a first content consistency verification result;

[0013] Step 5: Determine the device generating the abnormal message according to the first compliance verification result and the first content consistency verification result.

[0014] Preferably, the test case set includes test cases generated based on meter reading and event reporting and a compliance message library consisting of receiving and sending compliance messages constructed according to the uplink and downlink communication specifications of different devices, and the compliance message library serves as a basis for judging compliance.

[0015] Preferably, in step 2, the test message instruction is sent to the concentrator, which processes the test message instruction and sends it to the CCO module, which sends it to the collector, which sends it to the smart meter, the smart meter responds and reports it to the collector, which reports it to the CCO module, and the CCO module reports it to the concentrator.

[0016] Preferably, step 3 comprises:

[0017] Step 3.1: Collect the downlink received message of the CCO module, and compare the message format and message structure of the downlink received message of the CCO module with the CCO downlink received reference message in the compliance message library to obtain a second compliance verification result;

[0018] Step 3.2: Collect the downlink transmission message of the CCO module, and compare the message format and message structure of the downlink transmission message of the CCO module with the CCO downlink transmission benchmark message in the compliance message library to obtain a third compliance verification result;

[0019] Step 3.3: Collect the downlink received message of the collector, and compare the message format and message structure of the downlink received message of the collector with the downlink sent and received message of the collector in the compliance message library to obtain a fourth compliance verification result;

[0020] Step 3.4: Collect the downlink sent message of the collector, and compare the message format and message structure of the downlink sent message of the collector with the downlink sent benchmark message of the collector in the compliance message library to obtain the fifth compliance verification result;

[0021] Step 3.5: Collect the received message of the smart meter, and compare the message format and message structure of the received message of the smart meter with the downlink received reference message of the smart meter in the compliance message library to obtain the sixth compliance verification result;

[0022] Step 3.6: Collect the uplink received message of the collector, and compare the message format and message structure of the uplink received message of the collector with the uplink received reference message of the collector in the compliance message library to obtain the seventh compliance verification result;

[0023] Step 3.7: the collector sends an uplink message, and compares the message format and message structure of the collector's uplink message with the collector's uplink sending benchmark message in the compliance message library to obtain an eighth compliance verification result;

[0024] Step 3.8: Collect the uplink received message of the CCO module, and compare the message format and message structure of the uplink received message of the CCO module with the uplink received reference message of the CCO module in the compliance message library to obtain the ninth compliance verification result;

[0025] Step 3.9: Collect the uplink sent message of the CCO module, and compare the message format and message structure of the uplink sent message of the CCO module with the uplink sent benchmark message of the CCO module in the compliance message library to obtain the tenth compliance verification result.

[0026] Preferably, step 4 comprises:

[0027] Parse the messages collected in steps 3.1 to 3.9 respectively to obtain the corresponding message contents;

[0028] Performing message content consistency verification on the downlink received message of the CCO module and the test case to obtain a second content consistency verification result;

[0029] Performing message content consistency verification on the downlink sent message of the CCO module and the downlink sent message of the CCO module to obtain a third content consistency verification result;

[0030] Performing message content consistency verification on the downlink sent message of the CCO module and the downlink received message of the collector to obtain a fourth content consistency verification result;

[0031] Performing message content consistency determination on the downlink received message of the collector and the downlink sent message of the collector to obtain a fifth content consistency verification result;

[0032] Performing message content consistency determination on the received message of the smart meter and the uplink received message of the collector to obtain a sixth content consistency verification result;

[0033] Performing message content consistency determination on the uplink received message of the collector and the uplink sent message of the collector to obtain a seventh content consistency verification result;

[0034] Performing message content consistency determination on the uplink sent message of the collector and the uplink received message of the CCO module to obtain an eighth content consistency verification result;

[0035] A message content consistency determination is performed on the uplink received message of the CCO module and the uplink sent message of the CCO module to obtain a ninth content consistency verification result.

[0036] Preferably, the first compliance verification result includes the second compliance verification result to the tenth compliance verification result, the first content consistency verification result includes the second content consistency verification result to the ninth content consistency verification result, and step 5 includes:

[0037] If the second compliance verification result is that the downlink received message of the CCO module is not compliant, or the second content consistency verification result is that the downlink received message of the CCO module is inconsistent with the message content of the test case, the concentrator is determined to be a message abnormal device;

[0038] If the fifth compliance verification result is that the collector's downlink received message is compliant, and the sixth content consistency verification result is that the message contents of the collector's downlink received message and the collector's downlink sent message are inconsistent, or the fifth compliance verification result is that the collector's downlink sent message is non-compliant, then the collector is determined to be a message abnormality device; and / or, if the seventh compliance verification result is that the collector's uplink received message is compliant and the seventh content consistency verification result is that the collector's uplink received message and the collector's uplink sent message are inconsistent, or the seventh compliance verification result is that the collector's uplink sent message is non-compliant, then the collector is determined to be a message abnormality device;

[0039] If the sixth compliance verification result is that the received message of the smart meter is compliant, and the seventh content consistency verification result is that the message contents of the received message of the smart meter and the uplink received message of the collector are inconsistent, or the sixth compliance verification result is that the uplink received message of the collector is not compliant, then the smart meter is determined to be a message abnormal device;

[0040] If the eighth compliance verification result is that the uplink message sent by the collector is compliant and the eighth content consistency verification result is that the message content of the uplink message sent by the collector is inconsistent with the uplink received message of the CCO module, then the power line communication environment is determined to be abnormal; and / or, if the third compliance verification result is that the downlink message sent by the CCO module is compliant, and the fourth content consistency verification result is that the message content of the downlink message sent by the CCO module is inconsistent with the downlink received message of the collector, then the power line communication environment is determined to be abnormal;

[0041] If the second compliance verification result is that the downlink message sent by the CCO module is compliant and the third content consistency verification result is that the downlink message sent by the CCO module and the content of the downlink message sent by the CCO module are inconsistent, or the second compliance verification result is that the downlink message sent by the CCO module is not compliant, then the CCO module is determined to be a message abnormality device; and / or, if the tenth compliance verification result is that the uplink received message of the CCO module is compliant and the ninth content consistency verification result is that the message content of the uplink received message of the CCO module and the uplink sent message of the CCO module are inconsistent, or the tenth compliance verification result is that the uplink sent message of the CCO module is not compliant, then the CCO module is determined to be a message abnormality device.

[0042] Preferably, after step 5, the method further comprises outputting the message anomaly generating device determined in step 5, and displaying the abnormal message information.

[0043] Preferably, before step 1, the method further comprises constructing a test case set for the electricity consumption information collection service in combination with the service requirements and processes.

[0044] The second aspect of the present invention provides a low-voltage substation power procurement full-link message compliance and consistency testing system, including a first message monitoring device, a second message monitoring device and an abnormal message diagnostic instrument. Among them, the first message monitoring device is connected to the serial port between the concentrator and the CCO module to collect serial port message information. The second message monitoring device is connected to the serial port between the carrier module of the collector or the carrier meter and the smart meter to collect serial port message information. The first message monitoring device and the second message monitoring device upload the parsed message content and the message compliance judgment result to the abnormal message diagnostic instrument, and the abnormal message diagnostic instrument determines the device with message abnormality. Among them, the abnormal message diagnostic instrument includes an acquisition module, a transceiver module and a determination module. An acquisition module is used to acquire a set of test cases for the electricity consumption information collection service; a transceiver module is used to select test cases from the set of test cases for the electricity consumption information collection service, and convert the test cases into test message instructions, and send the test message instructions and the electricity consumption information collection message instructions to the concentrator, and the concentrator processes the test message instructions according to a preset logic; a determination module is used to determine the abnormal message generating device according to the first compliance verification result and the first content consistency verification result uploaded by the first message monitoring device, and the first compliance verification result and the first content consistency verification result uploaded by the second message monitoring device. The first message monitoring device and the second message monitoring device both include a first verification module and a second verification module. The first verification module in the first message monitoring device is used to collect the received message and the sent message corresponding to the CCO module, and verify whether the message format and the message structure of the received message and the sent message are compliant, and obtain a first compliance verification result;

[0045] The second verification module in the first message monitoring device is used to parse the message received and the message sent by the CCO module to obtain the content of the received message and the content of the sent message, and to verify the consistency of the content of the received message and the content of the sent message to obtain a first content consistency verification result;

[0046] The first verification module in the second message monitoring device is used to collect the received messages and sent messages corresponding to the collector and the smart meter, and verify whether the message format and message structure of the received messages and the sent messages are compliant, to obtain a first compliance verification result;

[0047] The second verification module in the second message monitoring device is used to parse the messages received and sent by the collector and the smart meter, obtain the content of the received message and the content of the sent message, and verify the consistency of the received message content and the sent message content to obtain the first content consistency verification result.

[0048] Preferably, the abnormal message diagnostic instrument is one, which is communicatively connected to the first message monitoring device and the second message monitoring device respectively.

[0049] Preferably, the abnormal message diagnostic instrument includes a first abnormal message diagnostic instrument and a second abnormal message diagnostic instrument. The first abnormal message diagnostic instrument is connected to the first message monitoring device to receive the compliance verification result and the message consistency verification result uploaded by the first message monitoring device; the second message monitoring device is connected to the second message monitoring device to receive the compliance verification result and the message consistency verification result uploaded by the second message monitoring device; the second abnormal message diagnostic instrument is connected to the first abnormal message diagnostic instrument via a 4G network.

[0050] The third aspect of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the computer program is loaded into the processor, the computer program implements the above-mentioned low-voltage substation power procurement full-link message compliance and consistency testing method.

[0051] The fourth invention of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the above-mentioned low-voltage substation power procurement full-link message compliance and consistency testing method.

[0052] Compared with the prior art, the beneficial effects of the present invention include at least:

[0053] The present invention detects the compliance and consistency of the entire link message of low-voltage power consumption information collection, can be used for interconnection testing, can accurately locate the device where the message abnormality occurs, assist operation and maintenance personnel, improve the efficiency of handling problems, greatly improve the interconnection capability of low-voltage equipment, improve the communication success rate, and effectively support the improvement of the power consumption information collection system and equipment performance monitoring work.

[0054] The present invention can be directly used for on-site testing. The test environment is an actual communication environment. On-site testing of all devices in the entire link of the low-voltage substation can be completed simultaneously, truly reflecting the interconnection and interoperability performance of the entire link. At the same time, the message compliance and consistency of all single devices in the entire link of the low-voltage substation are tested, and the test efficiency is higher. The test is an on-site test, without the need for simulation, with lower costs and more accurate test results. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:

[0056] Figure 1 It is a schematic diagram of a low-voltage area power procurement full-link compliance and consistency detection technology flow chart provided by an embodiment of the present invention;

[0057] Figure 2 It is a schematic diagram of the principle diagram of a low-voltage substation power procurement full-link compliance and consistency detection device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0058] In order to more clearly illustrate the technical solution of the present invention, the present invention will be further described below; obviously, the following description is only a part of the embodiments, and for ordinary technicians in the field, the technical solution of the present invention can also be applied to other similar scenarios based on these without creative work; in order to more clearly illustrate the technical solution of the present invention, the technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings:

[0059] like Figure 1 and Figure 2 As shown, embodiment 1 of the present invention provides a low-voltage substation power procurement full-link message compliance and consistency testing method, which is applied to an electricity consumption information collection system. The electricity consumption information collection system includes a concentrator, a collector and a smart meter, and the concentrator includes a CCO module.

[0060] It can be understood that the collector is used to convert serial communication into HPLC communication, and the collector can be a carrier module, so that the collector and the smart meter can form a carrier meter. The power consumption information collection system can include a concentrator and a carrier meter.

[0061] The method comprises the following steps:

[0062] Step 1: Obtain the test case for the electricity consumption information collection service.

[0063] Preferably, the test case set includes test cases generated according to meter reading and event reporting.

[0064] Before step 1, the method also includes formulating a test case set according to the business requirements and processes of electricity consumption information collection, including meter reading, event reporting, etc., and using the test cases in turn to detect the compliance and consistency of the entire link message.

[0065] Preferably, each test case in the test case set also includes corresponding test messages and a message compliance library. The construction of the message compliance library is based on the State Grid's "Electric Power User Electricity Consumption Information Collection System" series of standards and the uplink and downlink communication protocol standards of the concentrator, CCO, collector, and smart meter to build compliant receiving and sending messages for each device, and use this as the benchmark message to build a compliance message library.

[0066] Preferably, a prompt word template is constructed according to business requirements and processes, and the prompt word template is input into a large language model, which instructs the large language model to automatically generate test cases required by the prompt word template. The test cases include test cases that meet the message standards and test cases that do not meet the message standards. In this way, the compliance and consistency of the message can be tested more comprehensively and accurately, and the manual generation of test cases can be reduced, thereby improving the test rate.

[0067] Step 2: Select a test case from the power consumption information collection service test case set, and convert the test case into a test message instruction. After there are no unfinished instructions in the monitoring concentrator, send the test message instruction to the concentrator, and the concentrator processes the test message instruction according to the preset logic.

[0068] After monitoring that there are no unfinished commands in the concentrator, a test message command is sent to the concentrator to avoid command conflicts or data errors.

[0069] In step 2, the test message command is sent to the concentrator, which processes the message command and sends it to the CCO module, which sends it to the collector, which sends it to the smart meter, and the smart meter responds and reports it to the collector, which reports it to the CCO module, which reports it to the concentrator. In this way, some functions of the master station can be simulated to receive and send concentrator messages instead of the master station.

[0070] Step 3: Collect the received messages and sent messages corresponding to the CCO module, collector and smart meter, and verify whether the message format and message structure of the received messages and the sent messages are compliant to obtain a first compliance verification result.

[0071] Specifically, the received and sent messages of all devices in the entire link, including the concentrator carrier communication module CCO, the collector, and the smart meter, are collected. The message format and structure are first verified and compared with the benchmark messages in the compliance message library. According to the message format specification, the message structure is segmented, each segment is a label, and the message length is used as the first label. The collected message is compared with the benchmark message according to each label to determine whether it meets the specification requirements.

[0072] Furthermore, the verification of the message format and structure includes: performing a syntax check on the message; if the message follows the correct syntax rules, detecting whether the message contains all necessary elements and fields, and whether the organization structure of the message is correct; for example, whether the first bit of the message is the data defined in the preset standard; checking whether the data type of each field in the message is correct; checking whether the corresponding field value in the message is within the allowed range; checking whether the optional fields in the message exist, and if so, checking whether their values ​​meet the preset standards; checking whether the message uses the correct encoding and character set; checking whether the field values ​​in the message meet specific conditional logic or dependencies; checking whether the message meets the requirements of secure transmission, such as encryption, signing, etc.; checking whether the message can be correctly parsed by different versions of the system, that is, the compatibility check of the message.

[0073] Preferably, the entire link is monitored for messages, and when a message is detected, a message collection operation is performed.

[0074] The step 3 specifically includes the following steps according to the time sequence:

[0075] Step 3.1: Collect the downlink received message of the CCO module, and compare the message format and message structure of the downlink received message of the CCO module with the CCO downlink received reference message in the compliance message library to obtain a second compliance verification result;

[0076] Step 3.2: Collect the downlink transmission message of the CCO module, and compare the message format and message structure of the downlink transmission message of the CCO module with the CCO downlink transmission benchmark message in the compliance message library to obtain a third compliance verification result;

[0077] Step 3.3: Collect the downlink received message of the collector, and compare the message format and message structure of the downlink received message of the collector with the downlink sent and received message of the collector in the compliance message library to obtain a fourth compliance verification result;

[0078] Step 3.4: Collect the downlink sent message of the collector, and compare the message format and message structure of the downlink sent message of the collector with the downlink sent benchmark message of the collector in the compliance message library to obtain the fifth compliance verification result;

[0079] Step 3.5: Collect the received message of the smart meter, and compare the message format and message structure of the received message of the smart meter with the downlink received reference message of the smart meter in the compliance message library to obtain the sixth compliance verification result;

[0080] Step 3.6: Collect the uplink received message of the collector, and compare the message format and message structure of the uplink received message of the collector with the uplink received reference message of the collector in the compliance message library to obtain the seventh compliance verification result;

[0081] Step 3.7: the collector sends an uplink message, and compares the message format and message structure of the collector's uplink message with the collector's uplink sending benchmark message in the compliance message library to obtain an eighth compliance verification result;

[0082] Step 3.8: Collect the uplink received message of the CCO module, and compare the message format and message structure of the uplink received message of the CCO module with the uplink received reference message of the CCO module in the compliance message library to obtain the ninth compliance verification result;

[0083] Step 3.9: Collect the uplink sent message of the CCO module, and compare the message format and message structure of the uplink sent message of the CCO module with the uplink sent benchmark message of the CCO module in the compliance message library to obtain the tenth compliance verification result.

[0084] Step 4: Parse the received message and the sent message to obtain the received message content and the sent message content, and perform consistency verification on the received message content and the sent message content to obtain a first content consistency verification result.

[0085] Preferably, the received message information is stored according to the receiving time sequence, and the consistency of the received and sent message contents is verified.

[0086] Specifically, step 4 includes:

[0087] Parse the messages collected in steps 3.1 to 3.9 respectively to obtain the corresponding message contents;

[0088] Performing message content consistency verification on the downlink received message of the CCO module and the test case to obtain a second content consistency verification result;

[0089] Performing message content consistency verification on the downlink sent message of the CCO module and the downlink sent message of the CCO module to obtain a third content consistency verification result;

[0090] Performing message content consistency verification on the downlink sent message of the CCO module and the downlink received message of the collector to obtain a fourth content consistency verification result;

[0091] Performing message content consistency determination on the downlink received message of the collector and the downlink sent message of the collector to obtain a fifth content consistency verification result;

[0092] Performing message content consistency determination on the received message of the smart meter and the uplink received message of the collector to obtain a sixth content consistency verification result;

[0093] Performing message content consistency determination on the uplink received message of the collector and the uplink sent message of the collector to obtain a seventh content consistency verification result;

[0094] Performing message content consistency determination on the uplink sent message of the collector and the uplink received message of the CCO module to obtain an eighth content consistency verification result;

[0095] A message content consistency determination is performed on the uplink received message of the CCO module and the uplink sent message of the CCO module to obtain a ninth content consistency verification result.

[0096] Step 5: Determine the device generating the abnormal message according to the first compliance verification result and the first content consistency verification result.

[0097] Specifically, the device generating the abnormal message is determined based on the time sequence, the location information of the non-compliant message, and the location information of the message with inconsistent content.

[0098] Preferably, the first compliance verification result includes the second compliance verification result to the tenth compliance verification result, and the first content consistency verification result includes the second content consistency verification result to the ninth content consistency verification result.

[0099] In step 5, if the second compliance verification result is that the downlink received message of the CCO module is non-compliant, or the second content consistency verification result is that the downlink received message of the CCO module is inconsistent with the message content of the test case, the concentrator is determined to be a message abnormality device.

[0100] If the fifth compliance verification result is that the collector's downlink received message is compliant, and the sixth content consistency verification result is that the message contents of the collector's downlink received message and the collector's downlink sent message are inconsistent, or the fifth compliance verification result is that the collector's downlink sent message is non-compliant, then the collector is determined to be a message abnormality device; and / or, if the seventh compliance verification result is that the collector's uplink received message is compliant and the seventh content consistency verification result is that the collector's uplink received message and the collector's uplink sent message are inconsistent, or the seventh compliance verification result is that the collector's uplink sent message is non-compliant, then the collector is determined to be a message abnormality device.

[0101] If the sixth compliance verification result is that the received message of the smart meter is compliant, and the seventh content consistency verification result is that the message content of the received message of the smart meter and the uplink received message of the collector are inconsistent, or the sixth compliance verification result is that the uplink received message of the collector is not compliant, then the smart meter is determined to be a message abnormality device.

[0102] If the eighth compliance verification result is that the uplink message sent by the collector is compliant and the eighth content consistency verification result is that the message content of the uplink message sent by the collector is inconsistent with the uplink received message of the CCO module, then the power line communication environment is determined to be abnormal; and / or, if the third compliance verification result is that the downlink message sent by the CCO module is compliant and the fourth content consistency verification result is that the message content of the downlink message sent by the CCO module is inconsistent with the downlink received message of the collector, then the power line communication environment is determined to be abnormal.

[0103] If the second compliance verification result is that the downlink message sent by the CCO module is compliant and the third content consistency verification result is that the downlink message sent by the CCO module and the content of the downlink message sent by the CCO module are inconsistent, or the second compliance verification result is that the downlink message sent by the CCO module is not compliant, then the CCO module is determined to be a message abnormality device; and / or, if the tenth compliance verification result is that the uplink received message of the CCO module is compliant and the ninth content consistency verification result is that the message content of the uplink received message of the CCO module and the uplink sent message of the CCO module are inconsistent, or the tenth compliance verification result is that the uplink sent message of the CCO module is not compliant, then the CCO module is determined to be a message abnormality device.

[0104] Preferably, after step 5, the method further comprises outputting the determined message anomaly generating device and displaying detailed abnormal message information, i.e., non-compliance or inconsistency information. In this way, generating detailed abnormal message information can record the test results and problems found, and provide a feedback mechanism to improve message design.

[0105] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0106] Embodiment 2 of the present invention provides a low-voltage substation power procurement full-link message compliance and consistency test system, which runs the low-voltage substation power procurement full-link message compliance and consistency test method as described in Embodiment 1, and the system includes a first message monitoring device, a second message monitoring device and an abnormal message diagnostic instrument. The first message monitoring device is connected to the serial port between the concentrator and the CCO module to collect serial port message information; the second message monitoring device is connected to the serial port between the carrier module of the collector or the carrier meter and the smart meter to collect serial port message information; the first message monitoring device and the second message monitoring device upload the parsed message content and the message compliance determination result to the abnormal message diagnostic instrument, and the abnormal message diagnostic instrument determines the device with the message abnormality;

[0107] Among them, the abnormal message diagnostic instrument includes an acquisition module, a transceiver module and a determination module. The acquisition module is used to acquire a set of test cases for the power consumption information collection service. The transceiver module is used to select test cases from the set of test cases for the power consumption information collection service, and convert the test cases into test message instructions, and send the test message instructions and the power consumption information collection message instructions to the concentrator, and the concentrator processes the test message instructions according to the preset logic. The determination module is used to determine the abnormal message generating device according to the first compliance verification result and the first content consistency verification result uploaded by the first message monitoring device, and the first compliance verification result and the first content consistency verification result uploaded by the second message monitoring device.

[0108] The first message monitoring device and the second message monitoring device both include a first verification module and a second verification module. The first verification module in the first message monitoring device is used to collect the received messages and sent messages corresponding to the CCO module, and verify whether the message formats and message structures of the received messages and the sent messages are compliant, and obtain a first compliance verification result. The second verification module in the first message monitoring device is used to parse the received messages and sent messages of the CCO module, obtain the received message content and the sent message content, and perform consistency verification on the received message content and the sent message content, and obtain a first content consistency verification result. The first verification module in the second message monitoring device is used to collect the received messages and sent messages corresponding to the collector and the smart meter, and verify whether the message formats and message structures of the received messages and the sent messages are compliant, and obtain a first compliance verification result. The second verification module in the second message monitoring device is used to parse the received messages and sent messages of the collector and the smart meter, obtain the received message content and the sent message content, and perform consistency verification on the received message content and the sent message content, and obtain a first content consistency verification result.

[0109] Preferably, the abnormal message diagnostic instrument is one, which is communicatively connected to the first message monitoring device and the second message monitoring device respectively.

[0110] Preferably, the abnormal message diagnostic instrument includes a first abnormal message diagnostic instrument and a second abnormal message diagnostic instrument, the first abnormal message diagnostic instrument is connected to the first message monitoring device, and receives the compliance verification result and the message consistency verification result uploaded by the first message monitoring device. The second message monitoring device is connected to the second message monitoring device, and receives the compliance verification result and the message consistency verification result uploaded by the second message monitoring device. The second abnormal message diagnostic instrument is connected to the first abnormal message diagnostic instrument via a 4G network.

[0111] like Figure 2As shown, the low-voltage substation power procurement full-link message compliance and consistency test system of the present invention includes 2 message monitoring devices and 2 abnormal message diagnostic instruments. The message monitoring device has the functions of message collection, compliance judgment and content analysis, and has a 232 serial conversion interface access between the concentrator and the CCO module, a 485 serial conversion interface access between the concentrator (the carrier meter is a carrier module) and the smart meter, a strong power interface access to the power line, and a Bluetooth or USB interface to communicate with the abnormal message diagnostic instrument; the abnormal message diagnostic instrument has human-computer interaction, master station simulation, 4G, Bluetooth or USB communication functions, and can communicate with the concentrator and the abnormal message diagnostic instrument through 4G. The test case set can be pre-set in the abnormal message diagnostic instrument. The test case set can also be stored in the server, and the test device obtains it from the server.

[0112] In the specific implementation, a message monitoring device is connected to the power line of the CCO module to collect HPLC message information, and is connected to the serial port between the concentrator and the CCO module to collect serial port message information. At the same time, it is connected to an abnormal message diagnostic instrument via Bluetooth or USB to upload the parsed message content and message compliance judgment results to the abnormal message diagnostic instrument. The first abnormal message diagnostic instrument gives a judgment on whether there are abnormal message devices including the concentrator and the CCO module.

[0113] The second message monitoring device is connected to the power line on the collector (or carrier meter) side to collect HPLC message information, and is connected to the serial port between the collector (or carrier module of the carrier meter) and the smart meter to collect serial port message information. At the same time, it is connected to the second abnormal message diagnostic instrument via Bluetooth or USB to upload the parsed message content and message compliance judgment results to the second abnormal message diagnostic instrument. The second abnormal message diagnostic instrument determines whether there is a message abnormality. The equipment includes the collector (or carrier module of the carrier meter) and the smart meter.

[0114] The second abnormal message diagnostic instrument is connected to the first abnormal message diagnostic instrument via a 4G network to jointly determine whether there is an abnormality in the power line channel communication environment that causes the abnormal message phenomenon, and sends the determination result of the second abnormal message diagnostic instrument to the first abnormal message diagnostic instrument for display.

[0115] In specific implementation, the message monitoring device can also be equipped with a built-in 4G module, the second abnormal message diagnostic instrument can be eliminated, and the second message monitoring device can be directly connected to the first abnormal message diagnostic instrument via 4G, and the message information can be directly transmitted to the first abnormal message diagnostic instrument, so that all diagnostic tasks can be completed by one abnormal message diagnostic instrument.

[0116] In specific implementation, all functions of two message monitoring devices and two abnormal message diagnostic instruments can be integrated into one message monitoring device, and one message monitoring device can be used to complete all steps of the low-voltage substation power procurement full-link message compliance and consistency testing method provided in Example 1.

[0117] Embodiment 3 of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is loaded into the processor, the method for testing the compliance and consistency of the full-link message of low-voltage substation power procurement described in Embodiment 1 is implemented.

[0118] Embodiment 4 of the present invention provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements a low-voltage substation power procurement full-link message compliance and consistency testing method according to Embodiment 1.

[0119] The beneficial effect of the present invention is that, compared with the prior art,

[0120] From the above, it can be seen that the present invention monitors the consistency and compliance of the message content of the entire link of the low-voltage substation. When it is monitored that the data of a certain link does not meet the regulations, the equipment in the previous link is detected, so as to locate the faulty link of the acquisition link, automatically troubleshoot the fault and display the erroneous link in the meter reading link, thereby improving the accuracy and efficiency of fault diagnosis.

[0121] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

[0122] The applicant of the present invention has made a detailed explanation and description of the implementation examples of the present invention in conjunction with the drawings in the specification. However, those skilled in the art should understand that the above implementation examples are only preferred implementation schemes of the present invention, and the detailed description is only to help readers better understand the spirit of the present invention, but not to limit the scope of protection of the present invention. On the contrary, any improvements or modifications based on the inventive spirit of the present invention should fall within the scope of protection of the present invention.

Claims

1. A low-voltage area power collection full-link message compliance and consistency test method, applied to the power consumption information collection system, the power consumption information collection system includes a concentrator, a collector and a smart meter, the concentrator includes a CCO module, characterized in that: The method comprises: Step 1: Obtain a test case set for the electricity consumption information collection business; Step 2: Select a test case from the power consumption information collection service test case set, convert the test case into a test message instruction, send the test message instruction to the concentrator, and the concentrator processes the test message instruction according to the preset logic; Step 3: Collect the received messages and sent messages corresponding to the CCO module, the collector and the smart meter, and verify whether the message format and message structure of the received messages and the sent messages are compliant, to obtain a first compliance verification result; Step 4: Parse the received message and the sent message to obtain the received message content and the sent message content, and perform consistency verification on the received message content and the sent message content to obtain a first content consistency verification result; Step 5: Determine the device generating the abnormal message according to the first compliance verification result and the first content consistency verification result.

2. The low-voltage area power procurement full-link message compliance and consistency testing method according to claim 1 is characterized in that: The test case set includes test cases generated based on meter reading and event reporting, as well as a compliance message library consisting of receiving and sending compliance messages built according to the uplink and downlink communication specifications of different devices. The compliance message library serves as a basis for judging compliance.

3. The low-voltage area power procurement full-link message compliance and consistency testing method according to claim 2 is characterized in that: In step 2, the test message instruction is sent to the concentrator, which processes the test message instruction and sends it to the CCO module, which sends it to the collector, which sends it to the smart meter, the smart meter responds and reports it to the collector, which reports it to the CCO module, and the CCO module reports it to the concentrator.

4. The low-voltage area power procurement full-link message compliance and consistency testing method as claimed in claim 3 is characterized in that: Step 3 includes: Step 3.1: Collect the downlink received message of the CCO module, and compare the message format and message structure of the downlink received message of the CCO module with the CCO downlink received reference message in the compliance message library to obtain a second compliance verification result; Step 3.2: Collect the downlink transmission message of the CCO module, and compare the message format and message structure of the downlink transmission message of the CCO module with the CCO downlink transmission benchmark message in the compliance message library to obtain a third compliance verification result; Step 3.3: Collect the downlink received message of the collector, and compare the message format and message structure of the downlink received message of the collector with the downlink sent and received message of the collector in the compliance message library to obtain a fourth compliance verification result; Step 3.4: Collect the downlink sent message of the collector, and compare the message format and message structure of the downlink sent message of the collector with the downlink sent benchmark message of the collector in the compliance message library to obtain the fifth compliance verification result; Step 3.5: Collect the received message of the smart meter, and compare the message format and message structure of the received message of the smart meter with the downlink received reference message of the smart meter in the compliance message library to obtain the sixth compliance verification result; Step 3.6: Collect the uplink received message of the collector, and compare the message format and message structure of the uplink received message of the collector with the uplink received reference message of the collector in the compliance message library to obtain the seventh compliance verification result; Step 3.7: the collector sends an uplink message, and compares the message format and message structure of the collector's uplink message with the collector's uplink sending benchmark message in the compliance message library to obtain an eighth compliance verification result; Step 3.8: Collect the uplink received message of the CCO module, and compare the message format and message structure of the uplink received message of the CCO module with the uplink received reference message of the CCO module in the compliance message library to obtain the ninth compliance verification result; Step 3.9: Collect the uplink sent message of the CCO module, and compare the message format and message structure of the uplink sent message of the CCO module with the uplink sent reference message of the CCO module in the compliance message library to obtain the tenth compliance verification result.

5. The low-voltage area power procurement full-link message compliance and consistency testing method as claimed in claim 4 is characterized in that: Step 4 includes: Parse the messages collected in steps 3.1 to 3.9 respectively to obtain the corresponding message contents; Performing message content consistency verification on the downlink received message of the CCO module and the test case to obtain a second content consistency verification result; Performing message content consistency verification on the downlink sent message of the CCO module and the downlink sent message of the CCO module to obtain a third content consistency verification result; Performing message content consistency verification on the downlink sent message of the CCO module and the downlink received message of the collector to obtain a fourth content consistency verification result; Performing message content consistency determination on the downlink received message of the collector and the downlink sent message of the collector to obtain a fifth content consistency verification result; Performing message content consistency determination on the received message of the smart meter and the uplink received message of the collector to obtain a sixth content consistency verification result; Performing message content consistency determination on the uplink received message of the collector and the uplink sent message of the collector to obtain a seventh content consistency verification result; Performing message content consistency determination on the uplink sent message of the collector and the uplink received message of the CCO module to obtain an eighth content consistency verification result; A message content consistency determination is performed on the uplink received message of the CCO module and the uplink sent message of the CCO module to obtain a ninth content consistency verification result.

6. The low-voltage area power procurement full-link message compliance and consistency testing method according to claim 5 is characterized in that: The first compliance verification result includes the second compliance verification result to the tenth compliance verification result, the first content consistency verification result includes the second content consistency verification result to the ninth content consistency verification result, and step 5 includes: If the second compliance verification result is that the downlink received message of the CCO module is not compliant, or the second content consistency verification result is that the downlink received message of the CCO module is inconsistent with the message content of the test case, the concentrator is determined to be a message abnormal device; If the fifth compliance verification result is that the collector's downlink received message is compliant, and the sixth content consistency verification result is that the message contents of the collector's downlink received message and the collector's downlink sent message are inconsistent, or the fifth compliance verification result is that the collector's downlink sent message is non-compliant, then the collector is determined to be a message abnormality device; and / or, if the seventh compliance verification result is that the collector's uplink received message is compliant and the seventh content consistency verification result is that the collector's uplink received message and the collector's uplink sent message are inconsistent, or the seventh compliance verification result is that the collector's uplink sent message is non-compliant, then the collector is determined to be a message abnormality device; If the sixth compliance verification result is that the received message of the smart meter is compliant, and the seventh content consistency verification result is that the message contents of the received message of the smart meter and the uplink received message of the collector are inconsistent, or the sixth compliance verification result is that the uplink received message of the collector is not compliant, then the smart meter is determined to be a message abnormal device; If the eighth compliance verification result is that the uplink message sent by the collector is compliant and the eighth content consistency verification result is that the message content of the uplink message sent by the collector is inconsistent with the uplink received message of the CCO module, then the power line communication environment is determined to be abnormal; and / or, if the third compliance verification result is that the downlink message sent by the CCO module is compliant, and the fourth content consistency verification result is that the message content of the downlink message sent by the CCO module is inconsistent with the downlink received message of the collector, then the power line communication environment is determined to be abnormal; If the second compliance verification result is that the downlink message sent by the CCO module is compliant and the third content consistency verification result is that the downlink message sent by the CCO module and the content of the downlink message sent by the CCO module are inconsistent, or the second compliance verification result is that the downlink message sent by the CCO module is not compliant, then the CCO module is determined to be a message abnormality device; and / or, if the tenth compliance verification result is that the uplink received message of the CCO module is compliant and the ninth content consistency verification result is that the message content of the uplink received message of the CCO module and the uplink sent message of the CCO module are inconsistent, or the tenth compliance verification result is that the uplink sent message of the CCO module is not compliant, then the CCO module is determined to be a message abnormality device.

7. The low-voltage area power procurement full-link message compliance and consistency testing method according to any one of claims 1 to 6, characterized in that: After step 5, the method further includes outputting the message anomaly generating device determined in step 5 and displaying the abnormal message information.

8. The low-voltage area power procurement full-link message compliance and consistency testing method according to claim 7 is characterized in that: Prior to step 1, the method further includes constructing a test case set for the electricity consumption information collection business in combination with business requirements and processes.

9. A low-voltage area power procurement full-link message compliance and consistency testing system, comprising a first message monitoring device, a second message monitoring device and an abnormal message diagnostic instrument, characterized in that: The first message monitoring device is connected to the serial port between the concentrator and the CCO module to collect serial port message information; The second message monitoring device is connected to the serial port between the carrier module of the collector or carrier meter and the smart meter to collect serial port message information; The first message monitoring device and the second message monitoring device upload the parsed message content and the message compliance determination result to the abnormal message diagnostic instrument, and the abnormal message diagnostic instrument determines the device with abnormal message; Among them, the abnormal message diagnostic instrument includes an acquisition module, a transceiver module and a determination module; An acquisition module is used to acquire a test case set for the electricity consumption information collection business; The transceiver module is used to select a test case from the power consumption information collection service test case set, convert the test case into a test message instruction, send the test message instruction and the power consumption information collection message instruction to the concentrator, and the concentrator processes the test message instruction according to the preset logic; A determination module, used to determine the abnormal message generating device according to the first compliance verification result and the first content consistency verification result uploaded by the first message monitoring device, and the first compliance verification result and the first content consistency verification result uploaded by the second message monitoring device; the first message monitoring device and the second message monitoring device both include a first verification module and a second verification module; The first verification module in the first message monitoring device is used to collect the received messages and the sent messages corresponding to the CCO module, and verify whether the message format and the message structure of the received messages and the sent messages are compliant, to obtain a first compliance verification result; The second verification module in the first message monitoring device is used to parse the message received and the message sent by the CCO module to obtain the content of the received message and the content of the sent message, and to verify the consistency of the content of the received message and the content of the sent message to obtain a first content consistency verification result; The first verification module in the second message monitoring device is used to collect the received messages and sent messages corresponding to the collector and the smart meter, and verify whether the message format and message structure of the received messages and the sent messages are compliant, to obtain a first compliance verification result; The second verification module in the second message monitoring device is used to parse the messages received and sent by the collector and the smart meter, obtain the content of the received message and the content of the sent message, and verify the consistency of the received message content and the sent message content to obtain the first content consistency verification result.

10. The low-voltage area power procurement full-link message compliance and consistency testing system as described in claim 9 is characterized by: The abnormal message diagnostic instrument is in one unit and is respectively connected to the first message monitoring device and the second message monitoring device for communication.

11. The low voltage area power procurement full link message compliance and consistency testing system as claimed in claim 9, characterized in that: The abnormal message diagnostic instrument comprises a first abnormal message diagnostic instrument and a second abnormal message diagnostic instrument, the first abnormal message diagnostic instrument is connected to the first message monitoring device, and receives the compliance verification result and the message consistency verification result uploaded by the first message monitoring device; The second message monitoring device is connected to the second message monitoring device to receive the compliance verification result and the message consistency verification result uploaded by the second message monitoring device; the second abnormal message diagnostic instrument is connected to the first abnormal message diagnostic instrument via a 4G network.

12. An electronic device, comprising a processor and a storage medium; characterized in that: The storage medium is used to store instructions; The processor is used to operate according to the instructions to execute the steps of the low-voltage substation power procurement full-link message consistency testing method according to any one of claims 1 to 8.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the low-voltage substation power procurement full-link message compliance and consistency testing method described in any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Low-voltage power line carrier communication interconnection performance testing method and system

    CN107294563A

  • Wire icing forecasting method and system based on medium and small scale mode coupling

    CN112711919A