Feeder automation function test method and device, equipment and storage medium
By configuring a preset communication protocol in the distribution network and using the master station simulation model of the management process module to test the feeder automation function, the problem of high testing costs caused by changes in the distribution network structure is solved, and low-cost testing without upgrades or maintenance is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CYG SUNRI CO LTD
- Filing Date
- 2025-12-16
- Publication Date
- 2026-04-21
AI Technical Summary
The cost of testing feeder automation functions at distribution substations is high due to the frequent changes in the distribution network structure, mainly because the complex structure of distribution substations requires frequent upgrades and maintenance.
By acquiring the preset communication protocol of the power distribution master station, configuring the preset communication protocol for the internal communication module, and establishing a link connection with the management process module based on the preset communication protocol, the feeder automation function test is carried out using the master station simulation model in the management process module, which reduces the testing cost when the power distribution network structure changes.
This eliminates the need for upgrades and maintenance of the distribution master station when the distribution network structure changes, reducing the cost of testing feeder automation functions.
Smart Images

Figure CN121907907A_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of power distribution automation testing technology, and in particular relates to a method for testing the automation functions of feeders, as well as the testing device, equipment and storage medium thereof. Background Technology
[0002] Distribution networks directly serve users and permeate all aspects of social production and daily life. The quality and reliability of power supply from distribution networks are directly related to the power quality for users. Distribution automation is based on the primary network structure and equipment of distribution networks, comprehensively utilizes computer, information, and communication technologies, and integrates information with relevant application systems to achieve the detection, control, and rapid fault isolation of distribution networks, thereby improving power supply reliability, power quality, and enhancing the efficiency and effectiveness of power grid operation.
[0003] Feeder automation (FA) is one of the important functions of distribution network automation systems. It uses automated devices or systems to monitor the operation of distribution lines in real time, detect line faults in a timely manner, locate and isolate faulty areas, and restore power supply to non-faulty areas.
[0004] Currently, feeder automation function testing of the distribution network is mainly conducted using the distribution master station. Because the structure of the distribution network frequently changes, upgrades and maintenance of the distribution master station are often required to enable feeder automation testing. However, the complex structure of the distribution master station makes upgrades and maintenance costly, resulting in high costs for feeder automation function testing of the distribution network. Summary of the Invention
[0005] In view of the above, embodiments of this application provide a method for testing the automated functions of a feeder, as well as a testing apparatus, device, and storage medium, to overcome the problems of the prior art.
[0006] In a first aspect, embodiments of this application provide a method for testing the function of a feeder automation system, applied to an internal communication module in a power distribution terminal device. The power distribution terminal device further includes a management process module connected to the internal communication module. The management process module is configured with a master station simulation model corresponding to a power distribution master station. The power distribution master station is used to connect to the internal communication module and form a power distribution network with the power distribution terminal device. The method for testing the function of the feeder automation system includes: The preset communication protocol of the power distribution master station is obtained, and the preset communication protocol is configured for the internal communication module. The management process module is configured with the preset communication protocol. Based on the preset communication protocol, a link establishment request is sent to the management process module, so that the management process module establishes a link connection with the internal communication module according to the link establishment request and the preset communication protocol, and sends a link establishment confirmation message to the internal communication module based on the preset communication protocol. In response to the link establishment confirmation message returned by the management process module, point table information is sent to the management process module based on the preset communication protocol, so that the management process module performs feeder automation function testing on the distribution network based on the master station simulation model and the point table information, obtains the test results, and sends the test results to the internal communication module based on the preset communication protocol. The point table information is obtained based on the interval equipment reported by the interval equipment connected to the internal communication module. Receive the test results returned by the management process module.
[0007] In some optional embodiments, before sending the point table information to the management process module based on the preset communication protocol, the feeder automation function testing method further includes: Determine whether the point table information reported by the interval device has undergone a sudden change; Sending point table information to the management process module based on the preset communication protocol includes: When it is determined that the point table information reported by the interval device has changed abruptly, the point table information is sent to the management process module based on the preset communication protocol.
[0008] In some optional embodiments, determining whether the point table information reported by the interval device has undergone a sudden change includes: Obtain the information difference of the point table information reported by the interval device at any adjacent time; When the information difference is greater than or equal to the information difference threshold, it is determined that the point table information reported by the interval device has undergone a sudden change. When there is no information difference greater than or equal to the information difference threshold, it is determined that the point table information reported by the interval device has not undergone a sudden change.
[0009] In some optional embodiments, sending the point table information to the management process module based on the preset communication protocol further includes: When it is determined that the point table information reported by the interval device has not changed abruptly, the point table information is sent to the management process module according to the preset communication protocol and at preset time intervals.
[0010] In some optional embodiments, the feeder automation function testing method further includes: In response to receiving a remote control command sent by the management process module, a remote control execution message is generated. The remote control command is generated when the management process module passes the feeder automation function test of the distribution network. The remote control execution message is sent to the interval device so that the interval device performs the corresponding remote control operation according to the remote control execution message, and if the execution of the remote control operation fails, the execution failure reply information is sent to the internal communication module. In response to the received execution failure reply information, a corresponding execution failure record is generated.
[0011] In some optional embodiments, before generating the remote control execution message, the feeder automation function test method further includes: Determine whether the interval device has the conditions to perform the remote control operation; The generation of the remote control execution message includes: When it is determined that the interval device has the conditions to perform the remote control operation, the remote control execution message is generated.
[0012] In some optional embodiments, determining whether the interval device has the conditions to perform the remote control operation includes: Generate a remote control preset message, which is used to verify whether the interval device has the conditions to perform the remote control operation; The remote control preset message is sent to the interval device so that the interval device verifies whether it has the conditions to perform the remote control operation based on the remote control preset message, and sends the verification result to the internal communication module. The verification result includes a first verification result indicating that the interval device has the conditions to perform the remote control operation, or a second verification result indicating that the interval device does not have the conditions to perform the remote control operation. Upon receiving the first verification result, it is determined that the interval device has the conditions to perform the remote control operation; If neither the first verification result nor the second verification result is received, or if the second verification result is received, it is determined that the interval device does not meet the conditions for performing the remote control operation.
[0013] Secondly, embodiments of this application provide a feeder automation function testing device, applied to an internal communication module in a power distribution terminal equipment. The power distribution terminal equipment further includes a management process module connected to the internal communication module. The management process module is configured with a master station simulation model corresponding to a power distribution master station. The power distribution master station is used to connect to the internal communication module and form a power distribution network with the power distribution terminal equipment. The feeder automation function testing device includes: The acquisition module is used to acquire the preset communication protocol of the power distribution master station, so as to configure the preset communication protocol for the internal communication module. The management process module is configured with the preset communication protocol. The first sending module is used to send a link establishment request to the management process module based on the preset communication protocol, so that the management process module establishes a link connection with the internal communication module according to the link establishment request and the preset communication protocol, and sends a link establishment confirmation message to the internal communication module based on the preset communication protocol. The second sending module is used to respond to the link establishment confirmation message returned by the management process module, and send point table information to the management process module based on the preset communication protocol, so that the management process module performs feeder automation function testing on the distribution network based on the master station simulation model and the point table information, obtains test results, and sends the test results to the internal communication module based on the preset communication protocol. The point table information is obtained based on the interval equipment reported by the interval equipment connected to the internal communication module. A receiving module is used to receive the test results returned by the management process module.
[0014] Thirdly, embodiments of this application provide a power distribution terminal device, including: Memory; One or more processors are coupled to the memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the one or more processors, the one or more applications being configured to perform the feeder automation functional testing method as provided in the first aspect above.
[0015] Fourthly, embodiments of this application provide a computer-readable storage medium storing program code, which can be called by a processor to execute the feeder automation function testing method provided in the first aspect above.
[0016] Fifthly, embodiments of this application provide a computer program product that, when run on a computer device, causes the computer device to perform the feeder automation function testing method provided in the first aspect above.
[0017] The solution provided in this application obtains the preset communication protocol of the distribution master station, configures the preset communication protocol for the internal communication module, and configures the management process module with the preset communication protocol. Based on the preset communication protocol, the management process module sends a link establishment request to the management process module, enabling the management process module to establish a link connection with the internal communication module according to the link establishment request and the preset communication protocol. The management process module then sends a link establishment confirmation message to the internal communication module based on the preset communication protocol. In response to the link establishment confirmation message returned by the management process module, the management process module sends point table information to the management process module based on the preset communication protocol. This enables the management process module to perform feeder automation function testing on the distribution network based on the master station simulation model and the point table information, obtain test results, and send the test results back to the internal communication module based on the preset communication protocol. The point table information is obtained from the reports of the interval devices connected to the internal communication module. The management process module also receives the test results returned by the management process module. This achieves feeder automation function testing on the distribution network based on the master station simulation model in the management process module. When the structure of the distribution network changes, there is no need to upgrade and maintain the distribution master station, reducing the cost of feeder automation function testing on the distribution network. Attached Figure Description
[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0019] Figure 1 This illustration shows a scenario diagram of a power distribution network provided in an embodiment of this application.
[0020] Figure 2 A flowchart illustrating a feeder automation function testing method provided in an embodiment of this application is shown.
[0021] Figure 3 This paper illustrates another flowchart of the feeder automation function testing method provided in an embodiment of this application.
[0022] Figure 4 A structural block diagram of a feeder automation functional testing device provided in an embodiment of this application is shown.
[0023] Figure 5 A functional block diagram of a power distribution terminal device provided in an embodiment of this application is shown.
[0024] Figure 6 This application illustrates a computer-readable storage medium for storing or carrying program code that implements the feeder automation function testing method provided in this application.
[0025] Figure 7 This application illustrates a computer program product for storing or carrying program code that implements the feeder automation function testing method provided in this application. Detailed Implementation
[0026] To make the inventive objectives, features, and advantages of this application more apparent and understandable, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the embodiments described below are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0027] It should be understood that, when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0028] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the application. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0029] It should also be further understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0030] Furthermore, in the description of this application, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0031] Distribution networks directly serve users and permeate all aspects of social production and daily life. The quality and reliability of power supply from distribution networks are directly related to the power quality for users. Distribution automation is based on the primary network structure and equipment of distribution networks, comprehensively utilizes computer, information, and communication technologies, and integrates information with relevant application systems to achieve the detection, control, and rapid fault isolation of distribution networks, thereby improving power supply reliability, power quality, and enhancing the efficiency and effectiveness of power grid operation.
[0032] Feeder automation (FA) is one of the important functions of distribution network automation systems. It uses automated devices or systems to monitor the operation of distribution lines in real time, detect line faults in a timely manner, locate and isolate faulty areas, and restore power supply to non-faulty areas.
[0033] Currently, feeder automation function testing of the distribution network is mainly conducted using the distribution master station. Because the structure of the distribution network frequently changes, upgrades and maintenance of the distribution master station are often required to enable feeder automation testing. However, the complex structure of the distribution master station makes upgrades and maintenance costly, resulting in high costs for feeder automation function testing of the distribution network.
[0034] To address the aforementioned issues, the feeder automation function testing method, testing apparatus, equipment, and storage medium provided in this application acquire the preset communication protocol of the distribution master station, configure the preset communication protocol for the internal communication module, configure the management process module with the preset communication protocol, and send a link establishment request to the management process module based on the preset communication protocol. This allows the management process module to establish a link connection with the internal communication module based on the preset communication protocol, and send a link establishment confirmation message to the internal communication module based on the preset communication protocol. In response to the link establishment confirmation message returned by the management process module, the connection is established based on the preset communication protocol. The protocol sends point table information to the management process module, enabling the management process module to perform feeder automation function tests on the distribution network based on the master station simulation model and the point table information. The module obtains the test results and sends them to the internal communication module based on the preset communication protocol. The point table information is obtained from the reports of the interval devices connected to the internal communication module. The module also receives the test results returned by the management process module. This enables feeder automation function tests on the distribution network based on the master station simulation model in the management process module. When the structure of the distribution network changes, there is no need to upgrade and maintain the distribution master station, thus reducing the cost of feeder automation function tests on the distribution network.
[0035] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0036] Please see Figure 1 This illustration shows an application scenario diagram of a power distribution network provided in the embodiments of this application. The power distribution network may include a power distribution terminal device 100, a power distribution master station 200, and a bay device 300. The power distribution terminal device 100 is communicatively connected to the power distribution master station 200 and the bay device 300, and interacts with the power distribution master station 200 and the bay device 300 for data exchange.
[0037] The power distribution terminal equipment 100 may include a management process module 101 and an internal communication module 102. The management process module 101 may be connected to the internal communication module 102. The internal communication module 102 may be communicatively connected to the power distribution master station 200 and the bay device 300, and may interact with the power distribution master station 200 and the bay device 300 for data exchange.
[0038] The distribution terminal equipment 100 can be any one of the following: a distribution terminal unit (DTU), a feeder terminal unit (FTU), or a distribution transformer supervisory terminal unit (TTU), etc., without any limitation here.
[0039] The distribution master station 200 can be the center of the distribution network. The distribution master station 200 is responsible for data aggregation, analysis and decision-making. The distribution master station 200 can be any of the following: master station server, communication interface equipment or human-computer interaction equipment, etc. There is no limitation here.
[0040] The isolation device 300 can be a device used for isolation and control of circuits in the power distribution network. For example, the isolation device 300 can be at least one of circuit breakers, disconnect switches or current transformers, etc., without limitation.
[0041] In some implementations, the management process module 101 may be configured with a master station simulation model corresponding to the distribution master station 200. The master station simulation model can be used to simulate the functions of the distribution master station 200. The distribution master station 200 may be configured with a preset communication protocol, and the management process module 101 may be configured with a preset communication protocol.
[0042] The preset communication protocol can be any of the following: IEC 60870-5-101 protocol, IEC 60870-5-104 protocol, DNP3 protocol, Cyclic Data Transmission (CDT) protocol, etc., without any limitation here.
[0043] Please see Figure 2 This document illustrates a flowchart of a feeder automation function testing method provided in one embodiment of this application. In a specific embodiment, the feeder automation function testing method can be applied to, for example... Figure 1 The internal communication module 102 of the distribution terminal equipment 100 in the distribution network shown will be used as an example below to explain... Figure 2 The process shown is described in detail. The feeder automation function test method may include the following steps 401 to 404.
[0044] Step 401: Obtain the preset communication protocol of the power distribution master station.
[0045] In this embodiment of the application, when a user needs to perform feeder automation function testing on the distribution network, a test command can be sent to the internal communication module. After receiving the test command, the internal communication module can obtain the preset communication protocol of the distribution master station and configure the preset communication protocol for the internal communication module according to the preset communication protocol.
[0046] In some implementations, when a user needs to perform feeder automation function tests on the distribution network, they can send a test command to the internal communication module. After receiving the test command, the internal communication module can send a retrieval command to the distribution master station. After receiving the retrieval command, the distribution master station sends a preset communication protocol to the internal communication module, and the internal communication module receives the preset communication protocol returned by the distribution master station.
[0047] In some implementations, when a user needs to test the feeder automation function of the distribution network, they can send a test command to the internal communication module. After receiving the test command, the internal communication module can generate a prompt message and receive the preset communication protocol of the distribution master station uploaded by the user according to the prompt message.
[0048] The prompt message can be used to prompt the user to upload the preset communication protocol of the power distribution master station to the internal communication module. The prompt message can be at least one of the following: sound prompt, text prompt, or light prompt, etc., without limitation.
[0049] Step 402: Send a link establishment request to the management process module based on the preset communication protocol.
[0050] In this embodiment, the internal communication module obtains the preset communication protocol of the power distribution master station. After configuring the preset communication protocol for the internal communication module, it can send a link establishment request to the management process module based on the preset communication protocol. After receiving the link establishment request, the management process module can establish a link connection with the internal communication module based on the preset communication protocol and send a link establishment confirmation message to the internal communication module based on the preset communication protocol. The internal communication module receives the link establishment confirmation message returned by the management process module.
[0051] The management process module can be configured with a preset communication protocol, and the link establishment confirmation message can be used to indicate that the management process module has established a communication link with the internal communication module.
[0052] As an example, a link establishment request can be a request message with the identifier 0xaa.
[0053] Step 403: In response to the link establishment confirmation message returned by the management process module, send point table information to the management process module based on the preset communication protocol.
[0054] In this embodiment, the internal communication module sends a link establishment request to the management process module based on a preset communication protocol. This allows the management process module to establish a link connection with the internal communication module based on the preset communication protocol and send a link establishment confirmation message to the internal communication module. In response to the link establishment confirmation message returned by the management process module, the management process module sends point table information to the management process module based on the preset communication protocol. Upon receiving the point table information, the management process module inputs the point table information into the master station simulation model. Upon receiving the point table information, the master station simulation model performs feeder automation function tests on the distribution network based on the point table information, obtains the test results, and sends the test results to the internal communication module based on the preset communication protocol. The internal communication module receives the test results returned by the management process module.
[0055] The management process module can be pre-configured with a master station simulation model corresponding to the power distribution master station, and the point table information can be reported based on the interval equipment connected to the internal communication module.
[0056] Test results may include a first test result indicating that the feeder automation function test of the distribution network is qualified, or a second test result indicating that the feeder automation function test of the distribution network is unqualified.
[0057] The point information can be any of the following: remote signaling point information or telemetry point information; no limitation is made here.
[0058] As an example, remote signaling point information can be reported using a message identified by ASDU 0x01, and remote signaling point information can be reported using a message identified by ASDU 0x0D.
[0059] In some implementations, the internal communication module sends a link establishment request to the management process module based on a preset communication protocol. The management process module then establishes a link connection with the internal communication module according to the link establishment request and sends a link establishment confirmation message to the internal communication module. In response to the link establishment confirmation message returned by the management process module, the management process module sends point table information to the management process module at preset time intervals according to the preset communication protocol. Upon receiving the point table information, the management process module can input the point table information into the master station simulation model. The master station simulation model, upon receiving the point table information, can perform feeder automation function tests on the distribution network based on the point table information, obtain the test results, and send the test results to the internal communication module according to the preset communication protocol. The internal communication module receives the test results returned by the management process module. Reporting point table information to the management process module at preset time intervals reduces the number of simulations required by the master station simulation model, which helps reduce system resource consumption.
[0060] The preset duration can be set by the user according to the needs of the feeder automation function test. For example, the preset duration can be 5 minutes, 8 minutes, 10 minutes, etc., and there is no limitation here.
[0061] In some implementations, the internal communication module sends a link establishment request to the management process module based on a preset communication protocol. This allows the management process module to establish a link connection with the internal communication module based on the preset communication protocol and send a link establishment confirmation message to the internal communication module. In response to the link establishment confirmation message returned by the management process module, the module can determine whether the point table information reported by the interval device has undergone a sudden change. If a sudden change is detected, the module can send the point table information to the management process module based on the preset communication protocol. Upon receiving the point table information, the management process module can input it into the master station simulation model. The master station simulation model, upon receiving the point table information, can perform feeder automation function tests on the distribution network based on the point table information, obtain test results, and send the test results to the internal communication module based on the preset communication protocol. The internal communication module receives the test results returned by the management process module. Reporting point table information to the management process module when a sudden change is received from the point table information uploaded by the interval device reduces the number of simulations required by the master station simulation model, thus reducing system resource consumption.
[0062] The internal communication module can calculate the information difference between the point table information reported by the interval device at any adjacent time, and determine whether the point table information reported by the interval device has changed abruptly based on the information difference.
[0063] When an information difference is greater than or equal to an information difference threshold, it is determined that a sudden change has occurred in the point table information reported by the interval device; when no information difference is greater than or equal to the information difference threshold, it is determined that no sudden change has occurred in the point table information reported by the interval device. Based on the information difference between point table information reported by the interval device at adjacent times, the accuracy of determining whether a sudden change has occurred in the point table information reported by the interval device is improved.
[0064] The information difference threshold can be used to characterize the maximum information difference between the point table information reported by the interval device without any sudden changes.
[0065] As one implementation method, the point table information can be remote signaling point table information. When the remote signaling point table information changes abruptly, remote signaling point table information identified as COS can be sent to the management process module.
[0066] In one implementation, the point table information can be telemetry point table information, which can be checked every second to determine whether a sudden change has occurred. When a sudden change is detected, the telemetry dead zone value of the telemetry point table information is sent to the management process module as telemetry point table information.
[0067] In some implementations, the internal communication module sends a link establishment request to the management process module based on a preset communication protocol. This allows the management process module to establish a link connection with the internal communication module based on the preset communication protocol and send a link establishment confirmation message. In response to the confirmation message returned by the management process module, the module can determine whether the point table information reported by the interval device has undergone a sudden change. If no change is found, the module can send the point table information to the management process module at preset time intervals based on the preset communication protocol. Upon receiving the point table information, the management process module can input it into the master station simulation model. The master station simulation model, upon receiving the point table information, can perform feeder automation function tests on the distribution network based on the information, obtain test results, and send these results to the internal communication module based on the preset communication protocol. The internal communication module receives the test results returned by the management process module. Reporting point table information to the management process module at preset time intervals when a sudden change is received from the interval device reduces the number of simulations required by the master station simulation model, further reducing system resource consumption.
[0068] Step 404: Receive the test results returned by the management process module.
[0069] In this embodiment, the internal communication module responds to the link establishment confirmation message returned by the management process module and sends point table information to the management process module based on a preset communication protocol. This enables the management process module to perform feeder automation function testing on the distribution network based on the master station simulation model and the point table information, obtain test results, and send the test results back to the internal communication module based on the preset communication protocol. After that, the module can receive the test results returned by the management process module. This realizes the feeder automation function testing of the distribution network based on the master station simulation model in the management process module. When the structure of the distribution network changes, there is no need to upgrade and maintain the distribution master station, which reduces the cost of performing feeder automation function testing on the distribution network.
[0070] The solution provided in this application obtains the preset communication protocol of the distribution master station, configures the preset communication protocol for the internal communication module, and configures the management process module with the preset communication protocol. Based on the preset communication protocol, the management process module sends a link establishment request to the management process module, enabling the management process module to establish a link connection with the internal communication module according to the link establishment request and the preset communication protocol. The management process module then sends a link establishment confirmation message to the internal communication module based on the preset communication protocol. In response to the link establishment confirmation message returned by the management process module, the management process module sends point table information to the management process module based on the preset communication protocol. This enables the management process module to perform feeder automation function testing on the distribution network based on the master station simulation model and the point table information, obtain test results, and send the test results back to the internal communication module based on the preset communication protocol. The point table information is obtained from the reports of the interval devices connected to the internal communication module. The management process module also receives the test results returned by the management process module. This achieves feeder automation function testing on the distribution network based on the master station simulation model in the management process module. When the structure of the distribution network changes, there is no need to upgrade and maintain the distribution master station, reducing the cost of feeder automation function testing on the distribution network.
[0071] Please see Figure 3 This illustrates a flowchart of a feeder automation function testing method provided in another embodiment of this application. In a specific embodiment, the feeder automation function testing method can be applied to, for example... Figure 1 The internal communication module 102 of the distribution terminal equipment 100 in the distribution network shown will be used as an example below to explain... Figure 3 The process shown is described in detail. The feeder automation function test method may include the following steps 501 to 507.
[0072] Step 501: Obtain the preset communication protocol of the power distribution master station.
[0073] Step 502: Send a link establishment request to the management process module based on the preset communication protocol.
[0074] Step 503: In response to the link establishment confirmation message returned by the management process module, send point table information to the management process module based on the preset communication protocol.
[0075] Step 504: Receive the test results returned by the management process module.
[0076] In this embodiment, steps 501, 502, 503, and 504 can be found in the corresponding steps of the aforementioned embodiments, and will not be repeated here.
[0077] Step 505: In response to receiving the remote control command sent by the management process module, generate a remote control execution message.
[0078] In this embodiment, after receiving the test results returned by the management process module, the internal communication module can generate a remote control execution message in response to receiving the remote control command sent by the management process module.
[0079] Among them, the remote control command can be generated when the management process module passes the feeder automation function test of the distribution network, and the remote control execution message can be used to instruct the bay equipment to perform the corresponding remote control operation.
[0080] Remote control operation can include any one of the following: switch opening and closing operation, transformer control operation, protection and security device control operation, capacitor and reactor switching operation, etc., without limitation here.
[0081] In some implementations, after receiving the test results returned by the management process module, the internal communication module can, in response to receiving the remote control command sent by the management process module, determine whether the interval device has the conditions to perform remote control operations. If the conditions for remote control operations are determined to be met, a remote control execution message is generated. Generating the remote control execution message when the conditions for remote control operations are determined to be met avoids sending a remote control execution message to the interval device when the conditions for remote control operations are not met, which could lead to forced execution of remote control operations, potentially damaging the interval device and increasing security risks.
[0082] The internal communication module can generate remote control preset messages and send them to the interval device. After receiving the remote control preset messages, the interval device checks whether it has the conditions to perform remote control operations based on the remote control preset messages, obtains the verification result, and sends the verification result to the internal communication module. After receiving the verification result, the internal communication module can determine whether the interval device has the conditions to perform remote control operations based on the verification result.
[0083] The remote control preset message can be used to verify whether the interval device has the conditions to perform remote control operation. The verification result can include a first verification result indicating that the interval device has the conditions to perform remote control operation, or a second verification result indicating that the interval device does not have the conditions to perform remote control operation.
[0084] When the internal communication module receives the first verification result, it determines that the interval device meets the conditions for performing remote control operation; when the internal communication module does not receive the first verification result or the second verification result, or receives the second verification result, it determines that the interval device does not meet the conditions for performing remote control operation. Judging whether the interval device meets the conditions for remote control operation based on the remote control preset message improves the accuracy of judging the remote control operation conditions of the interval device.
[0085] Step 506: Send a remote control execution message to the interval device.
[0086] In this embodiment, after receiving the remote control command sent by the management process module, the internal communication module generates a remote control execution message and sends the remote control execution message to the interval device. After receiving the remote control execution message, the interval device can perform the corresponding remote control operation and send an execution failure reply information to the internal communication module if the execution of the remote control operation fails. The internal communication module receives the execution failure reply information returned by the interval device.
[0087] Among them, the execution failure response information can be used to indicate that the interval device failed to perform remote control operation.
[0088] Step 507: In response to the received execution failure reply information, generate the corresponding execution failure record.
[0089] In this embodiment, the internal communication module sends a remote control execution message to the interval device, so that the interval device can perform the corresponding remote control operation according to the remote control execution message. If the execution of the remote control operation fails, the interval device sends an execution failure reply message to the internal communication module. In response to the received execution failure reply message, the module can generate an execution failure record containing the execution failure reply message. This allows users to trace the feeder automation function test process of the distribution network based on the execution failure record, which is beneficial to improving the user experience during the feeder automation function test of the distribution network.
[0090] In some implementations, after receiving the test results returned by the management process module, the internal communication module can respond to the remote control command sent by the management process module, determine whether the interval device has the conditions to perform remote control operation, and when it is determined that the interval device does not have the conditions to perform remote control operation, it can generate a corresponding preset failure record so that the user can trace the feeder automation function test process of the distribution network according to the preset failure record, which is conducive to improving the user experience during the feeder automation function test of the distribution network.
[0091] The solution provided in this embodiment acquires the preset communication protocol of the distribution master station, sends a link establishment request to the management process module based on the preset communication protocol, and responds to the link establishment confirmation message returned by the management process module. It then sends point table information to the management process module based on the preset communication protocol, receives the test results returned by the management process module, generates a remote control execution message in response to the received remote control command from the management process module, and sends the remote control execution message to the interval equipment. In response to the received execution failure reply information, it generates a corresponding execution failure record. This enables feeder automation function testing of the distribution network based on the master station simulation model in the management process module. When the structure of the distribution network changes, there is no need to upgrade or maintain the distribution master station, reducing the cost of testing the feeder automation function of the distribution network.
[0092] Furthermore, in response to the received execution failure reply information, an execution failure record containing the execution failure reply information is generated so that users can trace the feeder automation function testing process of the distribution network based on the execution failure record, which helps to improve the user experience during the feeder automation function testing process of the distribution network.
[0093] Please see Figure 4 This illustrates a feeder automation function testing apparatus 600 provided in one embodiment of this application. The feeder automation function testing apparatus 600 can be applied to applications such as... Figure 1 The internal communication module 102 of the distribution terminal equipment 100 in the distribution network shown will be used as an example below to explain... Figure 4 The feeder automation function test device 600 shown will be described in detail. The feeder automation function test device 600 may include an acquisition module 601, a first transmission module 602, a second transmission module 603, and a receiving module 604.
[0094] The acquisition module 601 can be used to acquire the preset communication protocol of the distribution master station to configure the preset communication protocol for the internal communication module. The management process module can be configured with the preset communication protocol. The first sending module 602 can be used to send a link establishment request to the management process module based on the preset communication protocol, so that the management process module can establish a link connection with the internal communication module based on the preset communication protocol according to the link establishment request, and send a link establishment confirmation message to the internal communication module based on the preset communication protocol. The second sending module 603 can be used to respond to the link establishment confirmation message returned by the management process module and send point table information to the management process module based on the preset communication protocol, so that the management process module can perform feeder automation function tests on the distribution network based on the master station simulation model and point table information, obtain test results, and send the test results to the internal communication module based on the preset communication protocol. The point table information can be obtained based on the reporting of the bay equipment connected to the internal communication module. The receiving module 604 can be used to receive the test results returned by the management process module.
[0095] In some embodiments, the feeder automation function test apparatus 600 may further include a first determining module.
[0096] The first determining module can be used to determine whether the point table information reported by the interval device has changed abruptly before the second sending module 603 sends the point table information to the management process module based on the preset communication protocol.
[0097] In some implementations, the second transmitting module 603 may include the first transmitting unit.
[0098] The first sending unit can be used to send point table information to the management process module based on a preset communication protocol when the point table information reported by the interval device changes abruptly.
[0099] In some implementations, the first determining module may include an acquisition subunit, a first determining subunit, and a second determining subunit.
[0100] The acquisition subunit can be used to acquire the information difference between the point table information reported by the interval device at any adjacent time; the first determination subunit can be used to determine that the point table information reported by the interval device has undergone a sudden change when there is an information difference greater than or equal to the information difference threshold; the second determination subunit can be used to determine that the point table information reported by the interval device has not undergone a sudden change when there is no information difference greater than or equal to the information difference threshold.
[0101] In some implementations, the second transmitting module 603 may further include a second transmitting unit.
[0102] The second sending unit can be used to send point table information to the management process module according to a preset time interval based on a preset communication protocol when the point table information reported by the determined interval device does not change.
[0103] In some implementations, the feeder automation function testing device 600 may further include a first generation module, a third transmission module, and a second generation module.
[0104] The first generation module can be used to generate a remote control execution message in response to receiving a remote control command sent by the management process module. The remote control command can be generated when the management process module passes the feeder automation function test of the distribution network. The third sending module can be used to send the remote control execution message to the bay device so that the bay device can perform the corresponding remote control operation according to the remote control execution message, and send an execution failure reply information to the internal communication module when the execution of the remote control operation fails. The second generation module can be used to generate a corresponding execution failure record in response to the received execution failure reply information.
[0105] In some implementations, the feeder automation function test apparatus 600 may also include a second determination module.
[0106] The second determining module can be used to determine whether the interval device has the conditions to perform remote control operation before the first generating module generates the remote control execution message.
[0107] In some implementations, the first generation module may include a first generation unit.
[0108] The first generation unit can be used to generate a remote control execution message when it is determined that the interval device has the conditions to perform remote control operation.
[0109] In some implementations, the second determining module may include a second generating unit, a third sending unit, a first determining unit, and a second determining unit.
[0110] The second generation unit can be used to generate a remote control preset message, which can be used to verify whether the interval device has the conditions to perform remote control operation; the third sending unit can be used to send the remote control preset message to the interval device, so that the interval device can verify whether it has the conditions to perform remote control operation according to the remote control preset message, and send the verification result to the internal communication module. The verification result can include a first verification result indicating that the interval device has the conditions to perform remote control operation, or a second verification result indicating that the interval device does not have the conditions to perform remote control operation; the first determining unit can be used to determine that the interval device has the conditions to perform remote control operation when the first verification result is received; the second determining unit can be used to determine that the interval device does not have the conditions to perform remote control operation when the first verification result and the second verification result are not received, or when the second verification result is received.
[0111] The solution provided in this embodiment obtains the preset communication protocol of the distribution master station, configures the preset communication protocol for the internal communication module, configures the management process module with the preset communication protocol, and sends a link establishment request to the management process module based on the preset communication protocol. The management process module then establishes a link connection with the internal communication module based on the preset communication protocol according to the link establishment request, and sends a link establishment confirmation message to the internal communication module based on the preset communication protocol. In response to the link establishment confirmation message returned by the management process module, the management process module sends point table information to the management process module based on the preset communication protocol. This allows the management process module to perform feeder automation function testing on the distribution network based on the master station simulation model and the point table information, obtain test results, and send the test results back to the internal communication module based on the preset communication protocol. The point table information is obtained from reports by the interval devices connected to the internal communication module. The management process module also receives the test results returned by the management process module. This achieves feeder automation function testing of the distribution network based on the master station simulation model in the management process module. When the structure of the distribution network changes, there is no need to upgrade or maintain the distribution master station, reducing the cost of feeder automation function testing of the distribution network.
[0112] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For device embodiments, since they are basically similar to method embodiments, the description is relatively simple; relevant parts can be referred to in the descriptions of the method embodiments. Any processing method described in the method embodiments can be implemented in the device embodiments through corresponding processing modules, and will not be elaborated upon further in the device embodiments.
[0113] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0114] Please see Figure 5 The diagram illustrates a functional block diagram of a power distribution terminal device 700 provided in an embodiment of this application. The power distribution terminal device 700 may include one or more of the following components: a memory 701, a processor 702, and one or more application programs. One or more application programs may be stored in the memory 701 and configured to be executed by one or more processors 702. One or more application programs are configured to perform the methods described in the foregoing method embodiments.
[0115] Memory 701 may include random access memory (RAM) or read-only memory. Memory 701 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 701 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as obtaining a preset communication protocol, configuring a preset communication protocol, sending a link establishment request, establishing a link connection, sending a link establishment confirmation message, returning a link establishment confirmation message, sending point table information, performing feeder automation function testing, obtaining test results, sending test results, reporting point table information, receiving test results, determining whether a mutation has occurred, determining that a mutation has occurred, obtaining information difference, determining that no change has occurred, sending remote control commands, generating remote control execution messages, generating remote control commands, sending remote control execution messages, sending execution failure reply information, receiving execution failure reply information, generating execution failure records, determining whether conditions are met, determining that conditions are met, generating remote control preset messages, sending remote control preset messages, sending verification results, receiving first verification results, receiving second verification results, and determining that conditions are not met, etc.), and instructions for implementing the various method embodiments described below. The data storage area can also store data created by the power distribution terminal equipment 700 during use (such as power distribution terminal equipment, internal communication module, management process module, power distribution master station, master station simulation model, power distribution network, preset communication protocol, link establishment request, link connection, link establishment confirmation message, point table information, test results, interval equipment, any adjacent time, information difference, information difference threshold, preset duration, remote control command, remote control execution message, remote control operation, execution failure reply information, execution failure record, remote control preset message, verification result, first verification result and second verification result), etc.
[0116] The processor 702 may include one or more processing cores. The processor 702 connects to various parts within the power distribution terminal equipment 700 using various interfaces and lines. It executes various functions and processes data of the power distribution terminal equipment 700 by running or executing instructions, programs, code sets, or instruction sets stored in the memory 701, and by calling data stored in the memory 701. Optionally, the processor 702 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 702 may integrate one or a combination of several of the following: Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the displayed content; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 702 and may be implemented separately using a communication chip.
[0117] Please refer to Figure 6 This diagram illustrates a structural block diagram of a computer-readable storage medium provided in an embodiment of this application. The computer-readable storage medium 800 stores program code 801, which can be called by a processor to execute the methods described in the above method embodiments.
[0118] The computer-readable storage medium 800 may be an electronic memory such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk, or ROM. Optionally, the computer-readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer-readable storage medium 800 has storage space for program code 801 that performs any of the method steps described above. This program code can be read from or written to one or more computer program products. The program code 801 may, for example, be compressed in a suitable form.
[0119] Please refer to Figure 7This diagram illustrates a structural block diagram of a computer program product 900 provided in an embodiment of this application. The computer program product 900 includes a computer program / instructions 901, which is stored in a computer-readable storage medium of a computer device. When the computer program product 900 runs on the computer device, the processor of the computer device reads the computer program / instructions 901 from the computer-readable storage medium, and executes the computer program / instructions 901, causing the computer device to perform the methods described in the above-described method embodiments.
[0120] The solution provided in this embodiment obtains the preset communication protocol of the distribution master station, configures the preset communication protocol for the internal communication module, configures the management process module with the preset communication protocol, and sends a link establishment request to the management process module based on the preset communication protocol. The management process module then establishes a link connection with the internal communication module based on the preset communication protocol according to the link establishment request, and sends a link establishment confirmation message to the internal communication module based on the preset communication protocol. In response to the link establishment confirmation message returned by the management process module, the management process module sends point table information to the management process module based on the preset communication protocol. This allows the management process module to perform feeder automation function testing on the distribution network based on the master station simulation model and the point table information, obtain test results, and send the test results back to the internal communication module based on the preset communication protocol. The point table information is obtained from reports by the interval devices connected to the internal communication module. The management process module also receives the test results returned by the management process module. This achieves feeder automation function testing of the distribution network based on the master station simulation model in the management process module. When the structure of the distribution network changes, there is no need to upgrade or maintain the distribution master station, reducing the cost of feeder automation function testing of the distribution network.
[0121] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.
Claims
1. A method for testing the automated functions of a feeder, characterized in that, An internal communication module is applied in a power distribution terminal device, the power distribution terminal device further includes a management process module connected to the internal communication module, the management process module is configured with a master station simulation model corresponding to the power distribution master station, the power distribution master station is used to connect to the internal communication module and form a power distribution network with the power distribution terminal device, the feeder automation function test method includes: The preset communication protocol of the power distribution master station is obtained, and the preset communication protocol is configured for the internal communication module. The management process module is configured with the preset communication protocol. Based on the preset communication protocol, a link establishment request is sent to the management process module, so that the management process module establishes a link connection with the internal communication module according to the link establishment request and the preset communication protocol, and sends a link establishment confirmation message to the internal communication module based on the preset communication protocol. In response to the link establishment confirmation message returned by the management process module, point table information is sent to the management process module based on the preset communication protocol, so that the management process module performs feeder automation function testing on the distribution network based on the master station simulation model and the point table information, obtains the test results, and sends the test results to the internal communication module based on the preset communication protocol. The point table information is obtained based on the interval equipment reported by the interval equipment connected to the internal communication module. Receive the test results returned by the management process module.
2. The feeder automation function testing method according to claim 1, characterized in that, Before sending the point table information to the management process module based on the preset communication protocol, the feeder automation function testing method further includes: Determine whether the point table information reported by the interval device has undergone a sudden change; Sending point table information to the management process module based on the preset communication protocol includes: When it is determined that the point table information reported by the interval device has changed abruptly, the point table information is sent to the management process module based on the preset communication protocol.
3. The feeder automation function testing method according to claim 2, characterized in that, Determining whether the point table information reported by the interval device has undergone a sudden change includes: Obtain the information difference of the point table information reported by the interval device at any adjacent time; When the information difference is greater than or equal to the information difference threshold, it is determined that the point table information reported by the interval device has undergone a sudden change. When there is no information difference greater than or equal to the information difference threshold, it is determined that the point table information reported by the interval device has not undergone a sudden change.
4. The feeder automation function testing method according to claim 2, characterized in that, The step of sending point table information to the management process module based on the preset communication protocol also includes: When it is determined that the point table information reported by the interval device has not changed abruptly, the point table information is sent to the management process module according to the preset communication protocol and at preset time intervals.
5. The feeder automation function test method according to any one of claims 1 to 4, characterized in that, Also includes: In response to receiving a remote control command sent by the management process module, a remote control execution message is generated. The remote control command is generated when the management process module passes the feeder automation function test of the distribution network. The remote control execution message is sent to the interval device so that the interval device performs the corresponding remote control operation according to the remote control execution message, and if the execution of the remote control operation fails, the execution failure reply information is sent to the internal communication module. In response to the received execution failure reply information, a corresponding execution failure record is generated.
6. The feeder automation function testing method according to claim 5, characterized in that, Before generating the remote control execution message, the feeder automation function test method further includes: Determine whether the interval device has the conditions to perform the remote control operation; The generation of the remote control execution message includes: When it is determined that the interval device has the conditions to perform the remote control operation, the remote control execution message is generated.
7. The feeder automation function testing method according to claim 6, characterized in that, The step of determining whether the interval device meets the conditions for performing the remote control operation includes: Generate a remote control preset message, which is used to verify whether the interval device has the conditions to perform the remote control operation; The remote control preset message is sent to the interval device so that the interval device verifies whether it has the conditions to perform the remote control operation based on the remote control preset message, and sends the verification result to the internal communication module. The verification result includes a first verification result indicating that the interval device has the conditions to perform the remote control operation, or a second verification result indicating that the interval device does not have the conditions to perform the remote control operation. Upon receiving the first verification result, it is determined that the interval device has the conditions to perform the remote control operation; If neither the first verification result nor the second verification result is received, or if the second verification result is received, it is determined that the interval device does not meet the conditions for performing the remote control operation.
8. A feeder automation function testing device, characterized in that, An internal communication module is applied in a power distribution terminal device. The power distribution terminal device further includes a management process module connected to the internal communication module. The management process module is configured with a master station simulation model corresponding to the power distribution master station. The power distribution master station is used to connect to the internal communication module and form a power distribution network with the power distribution terminal device. The feeder automation function testing device includes: The acquisition module is used to acquire the preset communication protocol of the power distribution master station, so as to configure the preset communication protocol for the internal communication module. The management process module is configured with the preset communication protocol. The first sending module is used to send a link establishment request to the management process module based on the preset communication protocol, so that the management process module establishes a link connection with the internal communication module according to the link establishment request and the preset communication protocol, and sends a link establishment confirmation message to the internal communication module based on the preset communication protocol. The second sending module is used to respond to the link establishment confirmation message returned by the management process module, and send point table information to the management process module based on the preset communication protocol, so that the management process module performs feeder automation function testing on the distribution network based on the master station simulation model and the point table information, obtains test results, and sends the test results to the internal communication module based on the preset communication protocol. The point table information is obtained based on the interval equipment reported by the interval equipment connected to the internal communication module. A receiving module is used to receive the test results returned by the management process module.
9. A power distribution terminal device, characterized in that, include: Memory; One or more processors are coupled to the memory; One or more applications, wherein the one or more applications are stored in the memory and configured to be executed by one or more processors, the one or more applications being configured to perform the feeder automation functional test method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium contains program code that can be called by a processor to execute the feeder automation function test method as described in any one of claims 1 to 7.