BPLC communication module single network networking consistency test method and related equipment

By presetting the protocol test unit and consistency evaluation module in the test cabinet, connecting the equipment to be tested using carrier power lines, generating simulated equipment address information and receiving associated messages, the problem of low test accuracy in the existing test methods is solved, and higher test accuracy and reliability are achieved.

CN119628684APending Publication Date: 2025-03-14ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411747690.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-02
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

The existing BPLC communication module single network consistency test method uses the same model of entity master-slave module for communication, and cannot listen to relevant communication messages, resulting in low test accuracy.

Method used

A single network consistency testing method for BPLC communication module is provided. By presetting a protocol test unit and a consistency evaluation module in the test cabinet, establishing a connection using carrier power lines, generating simulated device address information, sending this information to the equipment to be tested, receiving associated messages, and evaluating it through the consistency evaluation module to generate test results.

Benefits of technology

By directly obtaining and verifying communication messages, the test accuracy is improved and the reliability of the single-network consistency test of the BPLC communication module is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119628684A_ABST
    Figure CN119628684A_ABST
Patent Text Reader

Abstract

The invention relates to a BPLC communication module single network networking consistency test method and related equipment. The method comprises the following steps: in response to a test request initiated by a user, establishing connection between a test cabinet and a BPLC communication module of a to-be-tested device by using a carrier power line, generating simulation device address information according to the test request through a protocol test unit, sending the simulation device address information to the to-be-tested device, and sending the simulation device address information to the to-be-tested device. The simulation equipment address information is used for establishing communication between the to-be-tested equipment and the test cabinet body based on the simulation equipment address information so as to receive an association message fed back by the to-be-tested equipment to the test cabinet body, and performing consistency evaluation on the association message through the consistency evaluation module under the condition that the association message is received within a preset time, and generating a test result of the BPLC communication module of the to-be-tested device. Communication between entity master and slave modules of different models is realized by setting the test cabinet body, communication messages can be directly acquired and verified, and the test accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a BPLC communication module single network networking consistency test method, device, test cabinet, computer-readable storage medium and computer program product. Background Art

[0002] With the continuous development of smart grid technology, traditional narrowband carrier communication technology can no longer meet the needs of high-speed data collection construction in power grids, and BPLC communication has become the mainstream communication method for power line systems. Single-network networking consistency is the core function of the BPLC communication module. Whether its function is complete has an important impact on the practical application of the BPLC communication module. The existing BPLC communication module single-network networking consistency test method uses the same model of physical master-slave modules for communication, which cannot monitor related communication messages and has the problem of low test accuracy. Summary of the invention

[0003] Based on this, it is necessary to provide a BPLC communication module single network networking consistency test method, device, test cabinet, computer-readable storage medium and computer program product that can improve test accuracy in response to the above technical problems.

[0004] In a first aspect, the present application provides a BPLC communication module single network networking method, which is applied to a test cabinet, wherein the test cabinet is preset with a protocol test unit and a consistency evaluation module, and the method includes:

[0005] In response to a test request initiated by a user, a connection between the test cabinet and the BPLC communication module of the device to be tested is established using a carrier power line, and simulated device address information is generated according to the test request through a protocol test unit;

[0006] Sending simulated device address information to the device to be tested; the simulated device address information is used for the device to be tested to establish communication with the test cabinet based on the simulated device address information, so as to receive the associated message fed back by the device to be tested to the test cabinet;

[0007] When the associated message is received within the preset time, the associated message is evaluated for consistency by the consistency evaluation module to generate a test result of the BPLC communication module of the device to be tested.

[0008] In one of the embodiments, when the device to be tested is a central control device, and the test request is a test request of the central control device to access the network through a site;

[0009] Generate simulated device address information according to the test request through the protocol test unit, including:

[0010] Through the protocol test unit, the site device address information is simulated and generated according to the site network access test request of the central control device;

[0011] Send simulated device address information to the device under test, including:

[0012] Send an add slave node command to the central control device; the add slave node command carries the site device address information, and the add slave node command is used to instruct the central control device to establish communication with the test cabinet based on the site device address information, and feed back a central beacon to the test cabinet;

[0013] When the associated message is received within the preset time, the consistency evaluation module performs consistency evaluation on the associated message to generate the test result of the BPLC communication module of the device to be tested, including:

[0014] When the test cabinet receives the central beacon, it sends an association request frame to the device under test, and receives an association feedback message fed back by the device under test in response to the association request frame;

[0015] When the associated feedback message is received within the preset time, the associated feedback message is evaluated for consistency by the consistency evaluation module to generate a test result of the BPLC communication module of the central control device.

[0016] In one of the embodiments, when the test request is a central control device network access test request through level 1 single site;

[0017] The protocol test unit simulates and generates the site device address information according to the site network access test request of the central control device, including:

[0018] Through the protocol test unit, the target site device address information is simulated and generated according to the central control device through the level 1 single site network access test request;

[0019] Send the command to add a slave node to the central control device, including:

[0020] A first add slave node command is issued to the central control device; the first add slave node command carries the target site device address information, and the first add slave node command is used to instruct the central control device to establish communication with the test cabinet based on the target site device address information, and to feed back a central beacon to the test cabinet.

[0021] In one embodiment, when the test request is a central control device passing a level 1 multi-site network access test request;

[0022] The protocol test unit simulates and generates the site device address information according to the site network access test request of the central control device, including:

[0023] Through the protocol test unit, the non-target site device address information is simulated and generated according to the central control device passing the level 1 multi-site network access test request;

[0024] Send the command to add a slave node to the central control device, including:

[0025] A second add slave node command is sent to the central control device; the second add slave node command carries any non-target site device address information, and the second add slave node command is used to instruct the central control device to establish communication with the test cabinet based on the non-target site device address information and feedback the central beacon to the test cabinet.

[0026] In an exemplary embodiment, when the test request is a central control device network access test request through a multi-stage single site;

[0027] The protocol test unit simulates and generates the site device address information according to the site network access test request of the central control device, including:

[0028] Through the protocol test unit, the power terminal site equipment address information is simulated and generated according to the central control device through the multi-level single site network access test request;

[0029] Send the command to add a slave node to the central control device, including:

[0030] A third add slave node command is issued to the central control device; the third add slave node command carries the power terminal site device address information, and the third add slave node command is used to instruct the central control device to establish communication with the test cabinet based on the power terminal site device address information, and to feedback the central beacon to the test cabinet.

[0031] In one embodiment, the test cabinet is also preset with a transparent physical device. When the device to be tested is a power terminal device and the associated message is an associated request message, the protocol test unit generates simulated device address information according to the test request, including:

[0032] Generate simulated electric meter address information according to a test request initiated by the electric power terminal device through the protocol test unit;

[0033] Send simulated device address information to the device under test, including:

[0034] When receiving a meter reading request initiated by the power terminal device, sending the simulated meter address information to the power terminal device; the power terminal device is used to establish communication with the test cabinet based on the simulated meter address information;

[0035] When it is detected that the power terminal device and the test cabinet have successfully established communication, a central beacon or a proxy beacon is sent to the power terminal device through a transparent physical device; the power terminal device is used to generate an association request message under the instruction of the central beacon or the proxy beacon, and send the association request message to the test cabinet;

[0036] When the associated message is received within the preset time, the consistency evaluation module performs consistency evaluation on the associated message to generate the test result of the BPLC communication module of the device to be tested, including:

[0037] The association request message is received, and when the association request message is received within a preset time, the consistency evaluation module performs consistency evaluation on the association request message to generate a test result of the BPLC communication module of the power terminal device.

[0038] In one of the embodiments, when the test request is a network access test request by the power terminal device through an associated flag bit in a central beacon;

[0039] Sending a central beacon or proxy beacon to the power terminal device through a transparent physical device includes:

[0040] The central beacon is periodically sent to the power terminal device through the transparent physical device; the central beacon is used to instruct the power terminal device to generate an association request message and return the association request message to the test cabinet;

[0041] Receive an association request message, including:

[0042] When the start association flag of the central beacon appears to be 1 for the first time, an association request message is received.

[0043] In an exemplary embodiment, when the test request is a test request for the power terminal device to enter the network as a level 2 site;

[0044] Sending a central beacon or proxy beacon to the power terminal device through a transparent physical device includes:

[0045] The transparent physical device simulates the PCO to periodically send a proxy beacon to the power terminal device; the proxy beacon is used to instruct the power terminal device to generate an association request message and send the association request message to the test cabinet.

[0046] In one embodiment, when the test request is a test request for the power terminal device to pass as a level 15 site access test;

[0047] Sending a central beacon or proxy beacon to the power terminal device through a transparent physical device includes:

[0048] The proxy beacon is periodically sent to the power terminal device through the transparent physical device; the proxy beacon is used to instruct the power terminal device currently serving as the level 14 proxy node to generate an association request message and send an association request message to the test cabinet.

[0049] In one of the embodiments, when the test request is a test request for the power terminal device to allow the site to enter the network by functioning as a level 1 PCO;

[0050] Sending a central beacon or proxy beacon to the power terminal device through a transparent physical device includes:

[0051] Sending a central beacon to the power terminal device; the central beacon is used to instruct the power terminal device to generate an association request frame and send the association request frame to the test cabinet;

[0052] In response to the association request frame, a corresponding association confirmation frame is generated, and the association confirmation frame is returned to the power terminal device, so that the power terminal device successfully accesses the network;

[0053] The first central beacon is sent to the power terminal device through a transparent physical device simulating the CCO; the first central beacon is used to instruct the power terminal device to generate a discovery beacon message and send the discovery beacon message to the test cabinet;

[0054] When a discovery beacon message is received within a preset time, an association request is initiated to the power terminal device through the transparent physical device; the power terminal device is used to generate an association request message in response to the association request and send the association request message to the test cabinet.

[0055] In an exemplary embodiment, when the test request is a test request for the power terminal device to enable the site to enter the network by acting as a multi-level PCO function;

[0056] Sending a central beacon or proxy beacon to the power terminal device through a transparent physical device includes:

[0057] Sending a proxy beacon to the power terminal device; the proxy beacon is used to instruct the power terminal device to generate an association request frame and send the association request frame to the test cabinet;

[0058] In response to the association request frame, a corresponding association confirmation frame is generated, and the association confirmation frame is returned to the power terminal device, so that the power terminal device successfully accesses the network;

[0059] The transparent physical device simulates the PCO to send a first proxy beacon to the power terminal device; the first proxy beacon is used to instruct the power terminal device to generate a discovery beacon message and send the discovery beacon message to the test cabinet;

[0060] When a discovery beacon message is received within a preset time, an association request is initiated to the power terminal device through the transparent physical device; the power terminal device is used to generate an association request message in response to the association request and send the association request message to the test cabinet.

[0061] In the second aspect, the present application also provides a BPLC communication module single network networking consistency test device, which is applied to a test cabinet, and the test cabinet is preset with a protocol test unit and a consistency evaluation module, including:

[0062] A connection module, used to respond to a test request initiated by a user, establish a connection between the test cabinet and the BPLC communication module of the device to be tested by using a carrier power line, and generate simulated device address information according to the test request through a protocol test unit;

[0063] A sending module is used to send the simulated device address information to the device to be tested; the simulated device address information is used for the device to be tested to establish communication with the test cabinet based on the simulated device address information, so as to receive the associated message fed back by the device to be tested to the test cabinet;

[0064] The evaluation module is used to perform consistency evaluation on the associated message through the consistency evaluation module when the associated message is received within a preset time, and generate a test result of the BPLC communication module of the device to be tested.

[0065] In a third aspect, the present application further provides a test cabinet, including a transparent physical device, a protocol test unit, a consistency evaluation module, a memory and a processor, wherein the memory stores a computer program, and the processor implements the following steps when executing the computer program:

[0066] In response to a test request initiated by a user, a connection between the test cabinet and the BPLC communication module of the device to be tested is established using a carrier power line, and simulated device address information is generated according to the test request through a protocol test unit;

[0067] Sending simulated device address information to the device to be tested; the simulated device address information is used for the device to be tested to establish communication with the test cabinet based on the simulated device address information, so as to receive the associated message fed back by the device to be tested to the test cabinet;

[0068] When the associated message is received within the preset time, the associated message is evaluated for consistency by the consistency evaluation module to generate a test result of the BPLC communication module of the device to be tested.

[0069] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:

[0070] In response to a test request initiated by a user, a connection between the test cabinet and the BPLC communication module of the device to be tested is established using a carrier power line, and simulated device address information is generated according to the test request through a protocol test unit;

[0071] Sending simulated device address information to the device to be tested; the simulated device address information is used for the device to be tested to establish communication with the test cabinet based on the simulated device address information, so as to receive the associated message fed back by the device to be tested to the test cabinet;

[0072] When the associated message is received within the preset time, the associated message is evaluated for consistency by the consistency evaluation module to generate a test result of the BPLC communication module of the device to be tested.

[0073] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0074] In response to a test request initiated by a user, a connection between the test cabinet and the BPLC communication module of the device to be tested is established using a carrier power line, and simulated device address information is generated according to the test request through a protocol test unit;

[0075] Sending simulated device address information to the device to be tested; the simulated device address information is used for the device to be tested to establish communication with the test cabinet based on the simulated device address information, so as to receive the associated message fed back by the device to be tested to the test cabinet;

[0076] When the associated message is received within the preset time, the associated message is evaluated for consistency by the consistency evaluation module to generate a test result of the BPLC communication module of the device to be tested.

[0077] The above-mentioned BPLC communication module single network networking consistency test method, device, test cabinet, computer-readable storage medium and computer program product, by responding to the test request initiated by the user, using the carrier power line to establish the connection between the test cabinet and the BPLC communication module of the device to be tested, and generating the simulated device address information according to the test request through the protocol test unit, sending the simulated device address information to the device to be tested, the simulated device address information is used for the device to be tested to establish communication with the test cabinet based on the simulated device address information, so as to receive the associated message fed back by the device to be tested to the test cabinet, and when the associated message is received within the preset time, the consistency evaluation module performs consistency evaluation on the associated message, and generates the test result of the BPLC communication module of the device to be tested. By setting the test cabinet, the communication between the physical master and slave modules of different models is realized, and the relevant communication messages can be directly obtained and verified, which improves the test accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0079] Figure 1 An application environment diagram of a single network networking consistency test method for a BPLC communication module in one embodiment;

[0080] Figure 2 It is a flowchart of a single network networking consistency test method of a BPLC communication module in one embodiment;

[0081] Figure 3 A logical diagram of a CCO passing a level 1 single-site network access test in an embodiment;

[0082] Figure 4 A flowchart of a CCO passing a level 1 single-site network access test (permission) in one embodiment;

[0083] Figure 5 A flow chart of a CCO passing a level 1 single-site network access test (rejection) in another embodiment;

[0084] Figure 6 A logical diagram of a CCO passing a level 1 multi-site network access test in an embodiment;

[0085] Figure 7 A flowchart of a CCO passing a level 1 multi-site network access test (permission) in one embodiment;

[0086] Figure 8 A logical diagram of a CCO network access test through a multi-stage single site in one embodiment;

[0087] Fig. 9 A flowchart of a CCO passing a multi-stage single-site network access test (permission) in one embodiment;

[0088] Fig.10 A flowchart of a CCO passing a multi-stage single-site network access test (rejection) in another embodiment;

[0089] Fig.11 A logic diagram of a test for STA accessing the network through an associated flag bit in a central beacon in an embodiment;

[0090] Fig.12 It is a flow chart of a test of STA accessing the network through an associated flag bit in a central beacon in another embodiment;

[0091] Fig.13 A logic diagram of a STA in an embodiment passing a network access test as a level 2 station;

[0092] Fig.14 A flowchart of a test in which a STA enters the network as a level 2 station in another embodiment;

[0093] Fig.15 A logic diagram of a STA accessing the network as a level 15 station in an embodiment;

[0094] Fig.16 A flowchart of a test of a STA accessing a network as a level 15 station in another embodiment;

[0095] Fig.17 A logic diagram of a STA in one embodiment of the present invention that performs a test of station access to the network by functioning as a level 1 PCO;

[0096] Fig.18 A flowchart of a test in which a STA functions as a level 1 PCO to allow a station to enter a network in an embodiment;

[0097] Fig.19 A flowchart of a test in which a STA functions as a multi-stage PCO to allow a station to enter a network in an embodiment;

[0098] Fig. 20 It is a structural block diagram of a BPLC communication module single network networking consistency test device in one embodiment;

[0099] Fig.21 FIG. 4 is a diagram showing the internal structure of a test cabinet in an embodiment. DETAILED DESCRIPTION

[0100] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0101] The BPLC communication module single network networking consistency test method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the device to be tested 102 establishes a connection with the test cabinet 104 through the carrier power line, and the test cabinet includes a protocol test unit, a consistency evaluation module and a memory. The protocol test unit can generate the address information of the device to be tested that the device to be tested wants to communicate with. The device to be tested establishes communication with the test cabinet according to the address information. At the same time, the test cabinet 104 can directly capture the associated message during the communication process, and use the consistency evaluation module in the test cabinet 104 to evaluate the associated message. In response to the test request initiated by the user, the test cabinet 104 uses the carrier power line to establish a connection with the BPLC communication module of the device to be tested 102, and generates the simulated device address information according to the test request through the protocol test unit, and then sends the simulated device address information to the device to be tested 102. The device to be tested 102 establishes communication with the test cabinet 104 based on the simulated device address information to receive the associated message fed back by the device to be tested 102 to the test cabinet 104. When the associated message is received within a preset time, the associated message is evaluated for consistency through the consistency evaluation module to generate the test result of the BPLC communication module of the device to be tested. The device to be tested 102 may be a power terminal device, such as a voltmeter, an ammeter, etc., or a central control device, such as a monitoring and data acquisition device, an energy management device, a distributed control device, etc.

[0102] In an exemplary embodiment, Figure 2 As shown, a BPLC communication module single network networking consistency test method is provided, and the method is applied to Figure 1 The test cabinet in FIG. 1 is taken as an example to illustrate, including the following steps S201 to S203.

[0103] in:

[0104] Step S201, in response to a test request initiated by a user, a connection between a test cabinet and a BPLC communication module of a device to be tested is established using a carrier power line, and simulated device address information is generated according to the test request by a protocol test unit.

[0105] Among them, the BPLC (Broadband Power Line Communication) communication module can be understood as a communication device that uses power lines for data transmission and transmits digital signals through power lines.

[0106] For example, in response to a test request initiated by a user, the test cabinet 104 uses a carrier power line to establish a connection between the test cabinet 104 and the BPLC communication module of the device to be tested 102, and generates, through the protocol test unit, simulated device address information of a device with which the device to be tested wants to establish communication according to the test request. Using a carrier power line to connect the device to be tested and the test cabinet lays an environmental foundation for testing the communication between the BPLC communication module of the device to be tested and the test cabinet.

[0107] Step S202, sending simulated device address information to the device under test; the simulated device address information is used for the device under test to establish communication with the test cabinet based on the simulated device address information, so as to receive the associated message fed back by the device under test to the test cabinet.

[0108] The association message can be understood as an association feedback message or an association request message, wherein the association feedback message is generated by the device under test responding to a certain information sent by the test cabinet, and the association request message is a message generated by the device under test initiating an association request to the test cabinet.

[0109] Optionally, the test cabinet 104 sends the simulated device address information to the device under test 102, and the device under test 102 establishes communication with the test cabinet based on the received simulated device address information. After the communication is successfully established, the test cabinet 104 receives the associated message fed back by the device under test 102. The communication mechanism based on the simulated device address information improves the interaction efficiency between the test cabinet and the device under test.

[0110] Step S203: When the associated message is received within a preset time, the consistency evaluation module performs consistency evaluation on the associated message to generate a test result of the BPLC communication module of the device to be tested.

[0111] For example, when the associated message is received within the preset time, the associated message is evaluated for consistency through the consistency evaluation module to generate the test result of the BPLC communication module of the device to be tested. In other words, in fact, the test needs to meet two necessary conditions. One is that the time when the test cabinet receives the associated message cannot exceed the preset time range. Second, the associated message also needs to pass the consistency evaluation of the consistency evaluation module. At this time, the BPLC communication module test of the device to be tested passes; similarly, there are also two situations when the test fails. One is that the associated message is not received or the associated message is not received within the preset time. The second is that the associated message is received within the preset time, but the associated message does not pass the evaluation of the consistency evaluation module. The reliability and accuracy of the test results of the BPLC communication module of the device to be tested are ensured by the dual conditions of receiving the associated message within the preset time and performing the consistency evaluation.

[0112] In the above-mentioned BPLC communication module single network networking consistency test method, by responding to the test request initiated by the user, the connection between the test cabinet and the BPLC communication module of the device to be tested is established by using the carrier power line, and the simulated device address information is generated according to the test request by the protocol test unit, and the simulated device address information is sent to the device to be tested. The simulated device address information is used for the device to be tested to establish communication with the test cabinet based on the simulated device address information, so as to receive the associated message fed back by the device to be tested to the test cabinet, and when the associated message is received within the preset time, the consistency evaluation module performs consistency evaluation on the associated message, and generates the test result of the BPLC communication module of the device to be tested. By setting the test cabinet, the communication between the physical master and slave modules of different models is realized, and the relevant communication messages can be directly obtained and verified, which improves the test accuracy.

[0113] In one embodiment, when the device to be tested is a central control device, and the test request is a test request of the central control device to access the network through a site;

[0114] Generating simulated device address information according to the test request through the protocol test unit includes: generating the site device address information through the protocol test unit according to the site network access test request of the central control device;

[0115] Sending simulated device address information to the device to be tested includes: sending an add slave node command to the central control device; the add slave node command carries the site device address information, and the add slave node command is used to instruct the central control device to establish communication with the test cabinet based on the site device address information, and feed back a central beacon to the test cabinet;

[0116] When an associated message is received within a preset time, the associated message is evaluated for consistency by a consistency evaluation module to generate a test result of the BPLC communication module of the device to be tested, including: when the test cabinet receives a central beacon, an associated request frame is sent to the device to be tested, and an associated feedback message fed back by the device to be tested in response to the associated request frame is received; when an associated feedback message is received within a preset time, the associated feedback message is evaluated for consistency by a consistency evaluation module to generate a test result of the BPLC communication module of the central control device.

[0117] Optionally, when the device to be tested is a central control device, and the test request is a test request for the central control device to access the network through a site, the test cabinet 104 first passes through the protocol test unit, simulates and generates the site device address information according to the test request for the central control device to access the network through the site, and then sends an add slave node command to the central control device, wherein the add slave node command carries the site device address information, and the add slave node command is used to instruct the central control device to establish communication with the test cabinet 104 based on the site device address information, and feedback the central beacon to the test cabinet, and when the test cabinet 104 receives the central beacon, it sends an association request frame to the device to be tested 102, and receives an association feedback message fed back by the device to be tested in response to the association request frame, and when the association feedback message is received within a preset time, the consistency evaluation module performs a consistency evaluation on the association feedback message, and generates a test result of the BPLC communication module of the central control device. The test cabinet can efficiently and comprehensively evaluate the BPLC communication module of the central control device, ensure the performance and reliability of the device, and improve the test efficiency and test accuracy.

[0118] In an exemplary embodiment, when the test request is a central control device network access test request through a level 1 single site;

[0119] The method comprises: simulating and generating, by the protocol test unit, the address information of the site device according to the site network access test request of the central control device through the protocol test unit, including: simulating and generating, by the protocol test unit, the address information of the target site device according to the level 1 single site network access test request of the central control device through the protocol test unit;

[0120] Sending a slave node add command to the central control device includes: sending a first slave node add command to the central control device; the first slave node add command carries target site device address information, and the first slave node add command is used to instruct the central control device to establish communication with the test cabinet based on the target site device address information, and feed back a central beacon to the test cabinet.

[0121] For example, it is applied to Figure 3 In the environment shown, the test cabinet 104 serves as a STA (Station Device), the device to be tested 102 serves as a CCO (Central Control Organizer) to be tested, and the method for CCO to pass the level 1 single-site network access test includes two cases of allowing and rejecting, wherein (the following is a specific example of implementing the above method):

[0122] like Figure 4 As shown, a method for a CCO to pass the Level 1 single-site network access test (permitted) is provided. The test process of the method is as follows:

[0123] Process 1: Connect the device (i.e., test cabinet), and after power-on initialization, the software sets the DUT target carrier operating frequency band through the transparent physical device.

[0124] Process 2: The software (i.e., the test cabinet) sends the "add slave node" command to the CCO, sends the MAC address of the target network site to the CCO, and waits for "confirmation."

[0125] Process 3: After receiving the "central beacon", the software sends an "association request" frame and starts a timer for 15 seconds.

[0126] Process 4: If no "association confirmation" or "association summary" message with a "result" of 0 or 10 is received for the "association request" frame (within the set target frequency band) within the scheduled time, the test fails.

[0127] Process 5: After receiving the message, call the consistency evaluation module. If they are consistent, the test passes and the test ends.

[0128] like Figure 5 As shown, a method for a CCO to pass the Level 1 single-site network access test (rejection) is provided, and the test process of the method is as follows:

[0129] Process 1: Connect the device, power on and initialize it, and then the software sets the DUT target carrier operating frequency band through the transparent physical device.

[0130] Process 2: The software issues the "Add Slave Node" command, sends the MAC address of the random non-target network site to the CCO, and waits for "confirmation".

[0131] Process 3: After receiving the "central beacon", the software sends an "association request" frame and starts a timer for 15 seconds.

[0132] Process 4: Whether an "association confirmation" message with a "result" of 1 for the "association request" frame is received within the scheduled time.

[0133] Process 5: After receiving, call the consistency evaluation module. If they are consistent, the test passes and the test ends.

[0134] CCO conducted a comprehensive assessment of the access of legal and illegal devices through the Level 1 single-site network access test method. The accuracy and reliability of the test process were ensured through the application of efficient device connection, real-time response mechanism and consistency evaluation module. This method not only improves the access management capabilities of the device, but also enhances the security and stability of the system.

[0135] In one embodiment, when the test request is a central control device passing a level 1 multi-site network access test request;

[0136] The protocol test unit simulates and generates the site device address information according to the site network access test request of the central control device, including: the protocol test unit simulates and generates the non-target site device address information according to the level 1 multi-site network access test request of the central control device;

[0137] Sending an add slave node command to the central control device includes: sending a second add slave node command to the central control device; the second add slave node command carries any non-target site device address information, and the second add slave node command is used to instruct the central control device to establish communication with the test cabinet based on the non-target site device address information, and feedback the central beacon to the test cabinet.

[0138] Alternatively, if Figure 6 As shown, there is only one device under test 102 as the CCO under test, and the test cabinet 104 can be used as multiple STAs. Figure 7 As shown, a method for CCO to pass the level 1 multi-site network access test (permission) is provided, and the test process of the method is as follows (the following is a specific example of implementing the above method):

[0139] Process 1: Connect the device, power on and initialize it, and then the software sets the DUT target carrier operating frequency band through the transparent physical device.

[0140] Process 2: The software sends the "add slave node" command, sends the MAC address 000000000002-000000000010 to CCO, and waits for "confirmation".

[0141] Process 3: After receiving the "central beacon", the software sends an "association request" within the CSMA time slot and starts the timing for 15 seconds.

[0142] Process 4: Whether the "association confirmation" frame or "association summary" frame sent in response to the "association request" is received within the scheduled time.

[0143] Process 5: After receiving, call the consistency evaluation module, and the test passes if it complies.

[0144] The level 1 multi-site access test (permitted) method effectively supports the simultaneous access test of multiple devices, improving the connection efficiency and management capabilities of the system. The accuracy and reliability of the test process are ensured through real-time feedback and consistency evaluation mechanisms.

[0145] In one of the embodiments, when the test request is a central control device network access test request through a multi-stage single site;

[0146] The method comprises: simulating and generating, by the protocol test unit, the site device address information according to the site network access test request of the central control device through the protocol test unit, including: simulating and generating, by the protocol test unit, the power terminal site device address information according to the multi-level single site network access test request of the central control device through the protocol test unit;

[0147] Sending a command to add a slave node to the central control device includes: sending a third command to add a slave node to the central control device; the third command to add a slave node carries the power terminal site device address information, and the third command to add a slave node is used to instruct the central control device to establish communication with the test cabinet based on the power terminal site device address information, and to feedback the central beacon to the test cabinet.

[0148] For example, Figure 8 As shown, the device to be tested 102 is used as the CCO to be tested, and the test cabinet 104 is used as the STA, wherein the PCO (Physical Control Object) is located between the CCO to be tested and the STA, and serves as a medium for information exchange. Similarly, the central control device also has two conditions of permission and test through the multi-level single-site network access test, wherein (the following is a specific example of implementing the above method):

[0149] like Fig. 9 As shown, a method for CCO to pass the multi-level single-site network access test (permitted) is provided, and the test process of the method is as follows:

[0150] Process 1: Connect the device, power on and initialize it, then the software sends the "add slave node" command, sends the MAC addresses of table numbers 000000000002 and 000000000003 to CCO, and waits for "confirmation".

[0151] Process 2: After the software receives the "central beacon", it simulates the successful access of the STA device through a transparent physical device and starts the timing for 15 seconds.

[0152] Process 3: After the timing time is up, the software selects the CSMA time slot, sends the forwarded "association request" frame, and starts the timing for 10 seconds.

[0153] Process 4: Within the scheduled time, if the "association confirmation" frame is received, the consistency evaluation module is called, and the test passes if it meets the requirements.

[0154] like Fig.10 As shown, a method for CCO to pass the multi-level single-site network access test (rejection) is provided, and the test process of the method is as follows:

[0155] Process 1: Connect the device, power on and initialize it, then the software sends the "add slave node" command, sends the MAC address with table number 000000000002 to CCO, and waits for "confirmation".

[0156] Process 2: After the software "Central Beacon", after the simulated STA device successfully joins the network, start the timing for 15s.

[0157] Process 3: After the timing time is up, the software selects the CSMA time slot, sends the forwarded "association request" frame, and starts the timing for 10 seconds.

[0158] Process 4: Within the scheduled time, the association confirmation frame is received and the consistency evaluation module is called. If it meets the requirements, the test passes.

[0159] It responds to the access of legal and illegal equipment respectively, and ensures the reliability and safety of the power system and automation control system through precise testing procedures and sound evaluation mechanisms.

[0160] In an exemplary embodiment, the test cabinet is also preset with a transparent physical device, when the device to be tested is a power terminal device, and the associated message is an associated request message;

[0161] Generate simulated device address information according to the test request through the protocol test unit, including: generate simulated meter address information according to the test request initiated by the power terminal device through the protocol test unit; send simulated device address information to the device to be tested, including: in the case of receiving the meter reading request initiated by the power terminal device, send the simulated meter address information to the power terminal device; the power terminal device is used to establish communication with the test cabinet based on the simulated meter address information; in the case of detecting that the power terminal device and the test cabinet have successfully established communication, send a central beacon or a proxy beacon to the power terminal device through a transparent physical device; the power terminal device is used to generate an association request message under the instruction of the central beacon or the proxy beacon, and send the association request message to the test cabinet; in the case of receiving the association message within a preset time, perform consistency evaluation on the association message through a consistency evaluation module, and generate a test result of the BPLC communication module of the device to be tested, including: receive an association request message, and in the case of receiving the association request message within a preset time, perform consistency evaluation on the association request message through a consistency evaluation module, and generate a test result of the BPLC communication module of the power terminal device.

[0162] Optionally, when the device to be tested 102 is a power terminal device, and the associated message is an associated request message, the protocol test unit generates simulated meter address information according to the test request initiated by the power terminal device, and when receiving the meter reading request initiated by the power terminal device, sends the simulated meter address information to the power terminal device, wherein the power terminal device is used to establish communication with the test cabinet based on the simulated meter address information, and when it is detected that the power terminal device and the test cabinet have successfully established communication, a central beacon or a proxy beacon is sent to the power terminal device through a transparent physical device, and the power terminal device generates an associated request message under the instruction of the central beacon or the proxy beacon, and sends the associated request message to the test cabinet, and the test cabinet accepts the associated request message, and when the associated request message is received within a preset time, the consistency evaluation module performs consistency evaluation on the associated request message, and generates the test result of the BPLC communication module of the power terminal device. By optimizing the test process and improving the test accuracy and efficiency, the overall performance of the communication module test of the power terminal device can be effectively improved, and the reliability and stability of the power terminal device are guaranteed.

[0163] In one embodiment, when the test request is a network access test request by the power terminal device through the associated flag bit in the central beacon;

[0164] Generating simulated device address information according to the test request through the protocol test unit includes: generating simulated meter address information according to the network access test request of the power terminal device through the associated flag bit in the central beacon through the protocol test unit;

[0165] Sending simulated device address information to the device to be tested includes: sending simulated meter address information to the power terminal device when receiving a meter reading request initiated by the power terminal device; the power terminal device is used to establish communication with the test cabinet based on the simulated meter address information;

[0166] Sending a central beacon or a proxy beacon to a power terminal device through a transparent physical device includes: periodically sending a central beacon to the power terminal device through the transparent physical device; the central beacon is used to instruct the power terminal device to generate an association request message and return the association request message to the test cabinet;

[0167] Receiving an association request message includes: receiving the association request message when a start association flag of the central beacon appears as 1 for the first time.

[0168] For example, Fig.11 As shown in FIG. 1 , the test cabinet acts as the CCO, and the device to be tested acts as the STA to be tested, i.e., the power terminal device, and the two parties are connected via a carrier power line. Fig.12As shown, a method for testing a STA to access a network through an associated flag bit in a central beacon is provided. The testing process of the method is as follows (the following is a specific example):

[0169] Process 1: Connect the device, power on and initialize the software to simulate the meter. After receiving the meter reading request from the STA to be tested, it publishes the address to it.

[0170] Process 2: The software periodically sends a "central beacon" to the device under test through a transparent physical device. In the first five beacon cycles, the "start association flag" in the beacon frame payload is 0.

[0171] Process 3: The software receives the "association request" message from the site within the scheduled time.

[0172] Process 4: Starting from the 6th cycle, the "start association flag" in the beacon frame payload is 1, and the 15s timer is started to wait for the "association request" message.

[0173] Process 5: Within the scheduled time, the software receives the "association request" message sent by the site.

[0174] Process 6: After receiving, call the consistency evaluation module, and the test passes if it is consistent. This technical process significantly improves the test efficiency, accuracy and reliability of the device under test through efficient device initialization, dynamic beacon control and consistency evaluation mechanism.

[0175] In one of the embodiments, when the test request is a test request for the power terminal device to pass as a level 2 site access test;

[0176] Sending a central beacon or a proxy beacon to a power terminal device through a transparent physical device includes: simulating a PCO to periodically send a proxy beacon to the power terminal device through the transparent physical device; the proxy beacon is used to instruct the power terminal device to generate an association request message and send the association request message to the test cabinet.

[0177] Alternatively, if Fig.13 As shown in the figure, the test cabinet acts as the PCO, the device to be tested acts as the STA to be tested, and the carrier power line is used to connect the two parties. Fig.14 As shown, a method for a STA to pass the network access test as a level 2 station is provided. The test process of the method is as follows (the following is a specific example):

[0178] Process 1: Connect the device, power on and initialize the software to simulate the meter. After receiving the meter reading request from the STA to be tested, it publishes the address to it.

[0179] Process 2: The software simulates PCO through the transparent physical device platform to periodically send "proxy beacons" to the STA device under test, and enables the 15s timer at the same time.

[0180] Process 3: The software platform waits for the "association request" message sent by the STA to the PCO within the scheduled time.

[0181] Process 4: The software receives the "association request" message from the site within the scheduled time.

[0182] Process 5: After receiving, call the consistency evaluation module, and the test passes if it is consistent.

[0183] This process significantly improves the test efficiency, accuracy and reliability of the device under test through efficient device initialization, periodic beacon transmission and the application of timers, providing strong support for the communication module testing of power terminal equipment.

[0184] In one embodiment, when the test request is a test request for the power terminal device to pass as a level 15 site access test;

[0185] Sending a central beacon or a proxy beacon to a power terminal device through a transparent physical device includes: periodically sending a proxy beacon to the power terminal device through a transparent physical device; the proxy beacon is used to instruct the power terminal device currently serving as a level 14 proxy node to generate an association request message and send an association request message to a test cabinet.

[0186] For example, Fig.15 As shown in the figure, the test cabinet acts as the PCO, the device to be tested acts as the STA to be tested, and the carrier power line is used to connect the two parties. Fig.16 As shown, a method for a STA to pass the network access test as a level 15 station is provided. The test process of the method is as follows (the following is a specific example):

[0187] Process 1: Connect the device, power on and initialize the software to simulate the meter. After receiving the meter reading request from the STA to be tested, it publishes the address to it.

[0188] Process 2: The software periodically sends a "proxy beacon" to the STA device under test through a transparent physical device and enables a 15s timer.

[0189] Process 3: The software platform waits for the "association request" message sent by the STA14-level proxy node under test within the scheduled time.

[0190] Process 4: The software receives the "association request" message from the site within the scheduled time.

[0191] Process 5: After receiving, call the consistency evaluation module, and the test passes if it is consistent.

[0192] This process significantly improves the test efficiency, accuracy and reliability of the equipment under test through efficient equipment initialization, stable signal transmission, effective time management and consistency evaluation mechanism, and provides strong support for the communication module testing of power terminal equipment.

[0193] In one of the embodiments, when the test request is a test request for the power terminal device to allow the site to enter the network by functioning as a level 1 PCO;

[0194] Sending a central beacon or a proxy beacon to a power terminal device through a transparent physical device includes: sending a central beacon to the power terminal device; the central beacon is used to instruct the power terminal device to generate an association request frame, and send the association request frame to a test cabinet; generating a corresponding association confirmation frame in response to the association request frame, and returning the association confirmation frame to the power terminal device, so that the power terminal device successfully accesses the network; sending a first central beacon to the power terminal device by simulating CCO through a transparent physical device; the first central beacon is used to instruct the power terminal device to generate a discovery beacon message, and send the discovery beacon message to the test cabinet; when a discovery beacon message is received within a preset time, initiating an association request to the power terminal device through the transparent physical device; the power terminal device is used to generate an association request message in response to the association request, and send an association request message to the test cabinet.

[0195] Alternatively, if Fig.17 As shown, the test cabinet acts as CCO and STA, the device to be tested acts as STA to be tested, the CCO and STA to be tested are first connected using carrier power, and the STA to be tested and STA are connected using carrier power lines. Fig.18 As shown, a method for a STA to test a station accessing a network by acting as a level 1 PCO function, the test process of the method is as follows (the following is a specific example):

[0196] Process 1: Connect the device, power on and initialize the software to simulate the meter. After receiving the meter reading request from the STA to be tested, it publishes the address to it.

[0197] Process 2: The software sends a "central beacon" frame to the STA device under test. After receiving the "association request" frame, it replies with an "association confirmation" frame, allowing the station to successfully join the network.

[0198] Process 3: The software simulates CCO through transparent physical devices to send a "central beacon" frame that arranges the site to send a discovery beacon time slot and starts a 15s timing.

[0199] Process 4: The software receives the "discovery beacon" message sent by the site within the scheduled time.

[0200] Process 5: The software sends an “association request” through the transparent physical device and starts a 15s,timer.

[0201] Process 6: Within the scheduled time, the software receives the "association request" message sent by the site, and the software sends an "association confirmation" to start the 10s timing.

[0202] Process 7: Within the scheduled time, the software receives the "association request" message sent by the site.

[0203] Process 8: After receiving, call the consistency evaluation module, and the test passes if it is consistent.

[0204] 1. Through clear steps and signal exchange, the STA's network access time is significantly shortened and the test efficiency is improved.

[0205] 2. Through the central beacon and association confirmation mechanism, stable communication between the STA under test and the software is ensured, enhancing the reliability of the network.

[0206] 3. The application of timer enables the system to monitor the response of the equipment in real time to ensure the timeliness and accuracy of the test process.

[0207] 4. By monitoring the signal interaction at different stages, the comprehensive verification of the STA function to be tested is ensured, and its communication performance can be effectively evaluated.

[0208] 5. Through the application of consistency evaluation module, the scientificity and credibility of the test results are ensured and the interference of human factors is reduced.

[0209] In an exemplary embodiment, when the test request is a test request for the power terminal device to enable the site to enter the network by acting as a multi-level PCO function;

[0210] Sending a central beacon or a proxy beacon to a power terminal device through a transparent physical device includes: sending a proxy beacon to the power terminal device; the proxy beacon is used to instruct the power terminal device to generate an association request frame, and send the association request frame to a test cabinet; generating a corresponding association confirmation frame in response to the association request frame, and returning the association confirmation frame to the power terminal device, so that the power terminal device successfully accesses the network; sending a first proxy beacon to the power terminal device by simulating a PCO through a transparent physical device; the first proxy beacon is used to instruct the power terminal device to generate a discovery beacon message, and send the discovery beacon message to the test cabinet; when a discovery beacon message is received within a preset time, initiating an association request to the power terminal device through the transparent physical device; the power terminal device is used to generate an association request message in response to the association request, and send the association request message to the test cabinet.

[0211] For example, Fig.17 As shown, the test cabinet acts as CCO and STA, the device to be tested acts as STA to be tested, the CCO and STA to be tested are first connected using carrier power, and the STA to be tested and STA are connected using carrier power lines. Fig.19 As shown, a method for a STA to test a station accessing a network by acting as a multi-level PCO function, the test process of the method is as follows (the following is a specific example):

[0212] Process 1: Connect the device, power on and initialize the software to simulate the meter. After receiving the meter reading request from the STA to be tested, it publishes the address to it.

[0213] Process 21: The software periodically sends "proxy beacon" frames through transparent physical devices. After receiving the "association request" frame, it replies with an "association confirmation" frame, allowing the site to successfully join the network.

[0214] Process 3: The software simulates the PCO through a transparent physical device to send a "proxy beacon" frame that arranges the site to send a discovery beacon time slot and starts a 15s timing.

[0215] Process 4: The software receives the "discovery beacon" message sent by the site within the scheduled time.

[0216] Process 5: The software sends an "association request", starts for 15 seconds, and the timing is on. During the timing time, the software receives the "association request" message sent by the site.

[0217] Process six: The software sends an "association confirmation" and starts a 10s timer. During the timer, the software receives an "association request" message from the site.

[0218] Process seven: After receiving, call the consistency evaluation module, and the test passes if it is consistent.

[0219] 1. Through clear steps and signal exchange, the STA's network access time is significantly shortened and the test efficiency is improved.

[0220] 2. By periodically sending "proxy beacons" and the association confirmation mechanism, stable communication between the STA under test and the software is ensured, enhancing the reliability of the network.

[0221] 3. The application of timer enables the system to monitor the response of the equipment in real time to ensure the timeliness and accuracy of the test process.

[0222] 4. By monitoring the signal interaction at different stages, the comprehensive verification of the STA function to be tested is ensured, and its communication performance can be effectively evaluated.

[0223] 5. Through the application of consistency evaluation module, the scientificity and credibility of the test results are ensured and the interference of human factors is reduced.

[0224] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0225] Based on the same inventive concept, the embodiment of the present application also provides a BPLC communication module single network networking consistency test device for implementing the BPLC communication module single network networking consistency test method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more BPLC communication module single network networking consistency test device embodiments provided below can refer to the limitations of the BPLC communication module single network networking consistency test method above, and will not be repeated here.

[0226] In an exemplary embodiment, Fig. 20 As shown, a BPLC communication module single network networking consistency test device is provided, including: a connection module 2001, a sending module 2002 and an evaluation module 2003, wherein:

[0227] The connection module 2001 is used to respond to the test request initiated by the user, establish a connection between the test cabinet and the BPLC communication module of the device to be tested using the carrier power line, and generate simulated device address information according to the test request through the protocol test unit.

[0228] The sending module 2002 is used to send the simulated device address information to the device under test; the simulated device address information is used for the device under test to establish communication with the test cabinet based on the simulated device address information to receive the associated message fed back by the device under test to the test cabinet.

[0229] The evaluation module 2003 is used to perform consistency evaluation on the associated message through the consistency evaluation module when the associated message is received within a preset time, and generate a test result of the BPLC communication module of the device to be tested.

[0230] In one embodiment, when the device to be tested is a central control device, and the test request is a test request of the central control device to access the network through a site,

[0231] The connection module 2001 further includes: an address information generation submodule, which is used to simulate and generate the site device address information according to the site network access test request of the central control device through the protocol test unit;

[0232] The sending module 2002 further includes: a command issuing submodule, which is used to issue an add slave node command to the central control device; the add slave node command carries the site device address information, and the add slave node command is used to instruct the central control device to establish communication with the test cabinet based on the site device address information, and feed back a central beacon to the test cabinet;

[0233] The evaluation module 2003 also includes: a first evaluation submodule, which is used to send an association request frame to the device to be tested and receive an association feedback message that the device to be tested responds to the association request frame when the test cabinet receives the central beacon; when the association feedback message is received within a preset time, the consistency evaluation module performs a consistency evaluation on the association feedback message to generate a test result of the BPLC communication module of the central control device.

[0234] In one of the embodiments, when the test request is a test request for a central control device to access the network through a level 1 single-site, the address information generation submodule is also used to simulate the generation of target site device address information through a protocol test unit according to the central control device passing a level 1 single-site network access test request; the command issuance submodule is also used to issue a first add slave node command to the central control device; the first add slave node command carries the target site device address information, and the first add slave node command is used to instruct the central control device to establish communication with the test cabinet based on the target site device address information, and to feedback a central beacon to the test cabinet.

[0235] In an exemplary embodiment, when the test request is a test request for a central control device to access the network through a level 1 multi-site, the address information generation submodule is also used to simulate and generate non-target site device address information through a protocol test unit according to the central control device passing a level 1 multi-site network access test request; the command issuance submodule is also used to issue a second add slave node command to the central control device; the second add slave node command carries the address information of any non-target site device, and the second add slave node command is used to instruct the central control device to establish communication with the test cabinet based on the non-target site device address information, and to feedback the central beacon to the test cabinet.

[0236] In one embodiment, when the test request is a test request for a central control device to access the network through a multi-level single-site, the address information generation submodule is also used to simulate the generation of power terminal site device address information through a protocol test unit according to the central control device's multi-level single-site network access test request; the command issuance submodule is also used to issue a third add slave node command to the central control device; the third add slave node command carries the power terminal site device address information, and the third add slave node command is used to instruct the central control device to establish communication with the test cabinet based on the power terminal site device address information, and to feedback the central beacon to the test cabinet.

[0237] In one of the embodiments, the test cabinet is also preset with a transparent physical device, when the device to be tested is a power terminal device, and the associated message is an associated request message;

[0238] The connection module 2001 is also used to generate simulated electric meter address information according to the test request initiated by the electric power terminal device through the protocol test unit;

[0239] The sending module 2012 also includes:

[0240] The address information sending submodule is used to send the simulated meter address information to the power terminal device when receiving the meter reading number request initiated by the power terminal device; the power terminal device is used to establish communication with the test cabinet based on the simulated meter address information; the beacon sending submodule is used to send a central beacon or a proxy beacon to the power terminal device through a transparent physical device when it is detected that the power terminal device and the test cabinet have successfully established communication; the power terminal device is used to generate an association request message under the instruction of the central beacon or the proxy beacon, and send the association request message to the test cabinet;

[0241] The evaluation module 2003 also includes: a second evaluation submodule, which is used to receive an association request message, and when the association request message is received within a preset time, perform a consistency evaluation on the association request message through the consistency evaluation module to generate a test result of the BPLC communication module of the power terminal device.

[0242] In one of the embodiments, when the test request is a test request for the power terminal device to access the network through the association flag in the central beacon, the sending submodule is also used to periodically send the central beacon to the power terminal device through the transparent physical device; the central beacon is used to instruct the power terminal device to generate an association request message and return the association request message to the test cabinet; the second evaluation submodule is also used to receive the association request message when the start association flag of the central beacon appears 1 for the first time. In an exemplary embodiment, when the test request is a test request for the power terminal device to access the network as a level 2 site; the sending submodule is also used to simulate the PCO through the transparent physical device to periodically send the proxy beacon to the power terminal device; the proxy beacon is used to instruct the power terminal device to generate an association request message and send the association request message to the test cabinet.

[0243] In one embodiment, when the test request is a test request for the power terminal device to access the network as a level 15 site; the sending submodule is also used to periodically send a proxy beacon to the power terminal device through a transparent physical device; the proxy beacon is used to instruct the power terminal device currently acting as a level 14 proxy node to generate an association request message, and send the association request message to the test cabinet.

[0244] In one of the embodiments, when the test request is a test request for the power terminal device to enable the site to access the network by acting as a level 1 PCO function; the sending submodule is also used to send a central beacon to the power terminal device; the central beacon is used to instruct the power terminal device to generate an association request frame, and send the association request frame to the test cabinet; in response to the association request frame, a corresponding association confirmation frame is generated, and the association confirmation frame is returned to the power terminal device, so that the power terminal device successfully accesses the network; a first central beacon is sent to the power terminal device through a transparent physical device simulating CCO; the first central beacon is used to instruct the power terminal device to generate a discovery beacon message, and send the discovery beacon message to the test cabinet; when the discovery beacon message is received within a preset time, an association request is initiated to the power terminal device through the transparent physical device; the power terminal device is used to generate an association request message in response to the association request, and send an association request message to the test cabinet.

[0245] In an exemplary embodiment, when the test request is a test request for the power terminal device to enable the site to access the network by acting as a multi-level PCO function; the sending submodule is also used to send a proxy beacon to the power terminal device; the proxy beacon is used to instruct the power terminal device to generate an association request frame, and send the association request frame to the test cabinet; in response to the association request frame, a corresponding association confirmation frame is generated, and the association confirmation frame is returned to the power terminal device, so that the power terminal device successfully accesses the network; a first proxy beacon is sent to the power terminal device through a transparent physical device to simulate the PCO; the first proxy beacon is used to instruct the power terminal device to generate a discovery beacon message, and send the discovery beacon message to the test cabinet; when the discovery beacon message is received within a preset time, an association request is initiated to the power terminal device through the transparent physical device; the power terminal device is used to generate an association request message in response to the association request, and send an association request message to the test cabinet.

[0246] Each module in the above-mentioned BPLC communication module single network networking consistency test device can be implemented in whole or in part by software, hardware and their combination. The above-mentioned modules can be embedded in or independent of the processor of the test cabinet in the form of hardware, or can be stored in the memory of the test cabinet in the form of software, so that the processor can call and execute the corresponding operations of the above-mentioned modules.

[0247] In an exemplary embodiment, a test cabinet is provided. The test cabinet may be a server, and its internal structure diagram may be as shown in FIG. Fig.21 As shown. The test cabinet includes a transparent physical device, a protocol test unit, a consistency evaluation module, a memory and a processor. The transparent physical device and the protocol test unit are connected via a system bus. The transparent physical device of the test cabinet is used to simulate the function of the device, and the processor of the test cabinet is used to provide computing and control capabilities. The protocol test unit of the test cabinet has the function of generating different simulated device address information, and the consistency evaluation module of the test cabinet has the function of evaluating whether the acquired associated message is correct. The memory of the test cabinet includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the test cabinet is used to store test requests, simulated device address information, associated messages and test result data. When the computer program is executed by the processor, a BPLC communication module single network networking consistency test method is implemented.

[0248] Those skilled in the art will understand that Fig.21The structure shown in the figure is only a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the test cabinet to which the solution of the present application is applied. The specific test cabinet may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0249] In an exemplary embodiment, a test cabinet is provided, including a transparent physical device, a protocol test unit, a consistency evaluation module, a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the BPLC communication module single network networking consistency test method of the above embodiment is implemented.

[0250] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the BPLC communication module single network networking consistency test method of the above embodiment is implemented.

[0251] In one embodiment, a computer program product is provided, including a computer program, which, when executed by a processor, implements the BPLC communication module single network networking consistency test method of the above embodiment.

[0252] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0253] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0254] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0255] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A BPLC communication module single network networking consistency test method, characterized in that: Applied to a test cabinet, the test cabinet is preset with a protocol test unit and a consistency evaluation module, and the method includes: In response to a test request initiated by a user, a connection is established between the test cabinet and the BPLC communication module of the device to be tested by using a carrier power line, and simulated device address information is generated according to the test request by the protocol test unit; Sending the simulated device address information to the device to be tested; the simulated device address information is used by the device to be tested to establish communication with the test cabinet based on the simulated device address information, so as to receive an associated message fed back by the device to be tested to the test cabinet; When the associated message is received within a preset time, the consistency evaluation module performs consistency evaluation on the associated message to generate a test result of the BPLC communication module of the device to be tested.

2. The method according to claim 1, characterized in that In the case where the device to be tested is a central control device, and the test request is a test request for the central control device to access the network through a site; The generating the simulated device address information according to the test request by the protocol test unit includes: By means of the protocol testing unit, the site device address information is simulated and generated according to the site network access test request by the central control device; The sending the simulated device address information to the device to be tested includes: Sending an add slave node command to the central control device; the add slave node command carries the site device address information, and the add slave node command is used to instruct the central control device to establish communication with the test cabinet based on the site device address information, and to feed back a central beacon to the test cabinet; When the associated message is received within the preset time, the associated message is evaluated for consistency by the consistency evaluation module to generate a test result of the BPLC communication module of the device to be tested, including: When the test cabinet receives the central beacon, it sends an association request frame to the device to be tested, and receives an association feedback message fed back by the device to be tested in response to the association request frame; When the associated feedback message is received within a preset time, the associated feedback message is evaluated for consistency by the consistency evaluation module to generate a test result of the BPLC communication module of the central control device.

3. The method according to claim 2, characterized in that When the test request is a test request for the central control device to pass a level 1 single-site network access test; The step of simulating and generating the site device address information according to the site network access test request by the central control device through the protocol test unit includes: By means of the protocol testing unit, the target site device address information is simulated and generated according to the central control device through the level 1 single site network access test request; Sending a command to add a slave node to the central control device includes: A first add slave node command is issued to the central control device; the first add slave node command carries the target site device address information, and the first add slave node command is used to instruct the central control device to establish communication with the test cabinet based on the target site device address information, and to feed back the central beacon to the test cabinet.

4. The method according to claim 2, characterized in that: When the test request is a test request for the central control device to pass a level 1 multi-site network access test; The step of simulating and generating the site device address information according to the site network access test request by the central control device through the protocol test unit includes: By means of the protocol testing unit, the non-target site device address information is simulated and generated according to the central control device passing the level 1 multi-site network access test request; The sending of a command to add a slave node to the central control device includes: A second add slave node command is sent to the central control device; the second add slave node command carries any one of the non-target site device address information, and the second add slave node command is used to instruct the central control device to establish communication with the test cabinet based on the non-target site device address information, and to feed back the central beacon to the test cabinet.

5. The method according to claim 2, characterized in that: When the test request is a test request for the central control device to access the network through a multi-level single site; The step of simulating and generating the site device address information according to the site network access test request by the central control device through the protocol test unit includes: By means of the protocol testing unit, the power terminal site equipment address information is simulated and generated according to the central control device through the multi-level single site network access test request; The sending of a command to add a slave node to the central control device includes: A third add slave node command is issued to the central control device; the third add slave node command carries the power terminal site equipment address information, and the third add slave node command is used to instruct the central control device to establish communication with the test cabinet based on the power terminal site equipment address information, and to feed back the central beacon to the test cabinet.

6. The method according to claim 1, characterized in that The test cabinet is also preset with a transparent physical device, in the case where the device to be tested is a power terminal device, and the association message is an association request message; The generating the simulated device address information according to the test request by the protocol test unit includes: Generate simulated electric meter address information according to the test request initiated by the electric power terminal device through the protocol test unit; The sending the simulated device address information to the device to be tested includes: In the case of receiving a meter reading request initiated by the power terminal device, sending the simulated meter address information to the power terminal device; the power terminal device is used to establish communication with the test cabinet based on the simulated meter address information; When it is detected that the power terminal device successfully establishes communication with the test cabinet, a central beacon or a proxy beacon is sent to the power terminal device through the transparent physical device; the power terminal device is used to generate the association request message under the instruction of the central beacon or the proxy beacon, and send the association request message to the test cabinet; When the associated message is received within the preset time, the associated message is evaluated for consistency by the consistency evaluation module to generate a test result of the BPLC communication module of the device to be tested, including: The association request message is received, and when the association request message is received within a preset time, the consistency evaluation module performs a consistency evaluation on the association request message to generate a test result of the BPLC communication module of the power terminal device.

7. The method according to claim 6, characterized in that In the case where the test request is a network access test request by the power terminal device through an associated flag bit in a central beacon; The sending of a central beacon or a proxy beacon to the power terminal device through the transparent physical device comprises: Periodically sending a central beacon to the power terminal device through the transparent physical device; the central beacon is used to instruct the power terminal device to generate an association request message and return the association request message to the test cabinet; The receiving the association request message comprises: When the start association flag of the central beacon appears as 1 for the first time, the association request message is received.

8. The method according to claim 6, characterized in that In the case where the test request is a test request for the power terminal device to access the network as a level 2 site; The sending of a central beacon or a proxy beacon to the power terminal device through the transparent physical device comprises: The transparent physical device simulates the PCO to periodically send a proxy beacon to the power terminal device; the proxy beacon is used to instruct the power terminal device to generate an association request message and send the association request message to the test cabinet.

9. The method according to claim 6, characterized in that In the case where the test request is a test request for the power terminal device to pass the network access test as a level 15 site; The sending of a central beacon or a proxy beacon to the power terminal device through the transparent physical device comprises: The transparent physical device periodically sends a proxy beacon to the power terminal device; the proxy beacon is used to instruct the power terminal device currently serving as a level 14 proxy node to generate an association request message and send the association request message to the test cabinet.

10. The method according to claim 6, characterized in that In the case where the test request is a test request for the power terminal device to allow the site to access the network by functioning as a level 1 PCO; The sending of a central beacon or a proxy beacon to the power terminal device through the transparent physical device comprises: Sending a central beacon to the power terminal device; the central beacon is used to instruct the power terminal device to generate an association request frame and send the association request frame to the test cabinet; generating a corresponding association confirmation frame in response to the association request frame, and returning the association confirmation frame to the power terminal device, so that the power terminal device successfully accesses the network; Sending a first central beacon to the power terminal device by simulating the CCO through the transparent physical device; the first central beacon is used to instruct the power terminal device to generate a discovery beacon message and send the discovery beacon message to the test cabinet; When the discovery beacon message is received within the preset time, an association request is initiated to the power terminal device through the transparent physical device; the power terminal device is used to generate an association request message in response to the association request, and send the association request message to the test cabinet.

11. The method according to claim 6, characterized in that In the case where the test request is a test request for the power terminal device to allow a site to access the network by functioning as a multi-level PCO; The sending of a central beacon or a proxy beacon to the power terminal device through the transparent physical device comprises: Sending a proxy beacon to the power terminal device; the proxy beacon is used to instruct the power terminal device to generate an association request frame and send the association request frame to the test cabinet; generating a corresponding association confirmation frame in response to the association request frame, and returning the association confirmation frame to the power terminal device, so that the power terminal device successfully accesses the network; Sending a first proxy beacon to the power terminal device by simulating the PCO through the transparent physical device; the first proxy beacon is used to instruct the power terminal device to generate a discovery beacon message and send the discovery beacon message to the test cabinet; When the discovery beacon message is received within the preset time, an association request is initiated to the power terminal device through the transparent physical device; the power terminal device is used to generate an association request message in response to the association request, and send the association request message to the test cabinet.

Citation Information

Patent Citations

  • Low-voltage broadband power line carrier communication comprehensive test system

    CN110995314A

  • Dual-mode test system and method based on power line and wireless

    CN113938402A

  • All-optical network service testing method and apparatus, computer device and readable medium

    WO2023142907A1