Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
At present, in the testing process of the self-healing protection technology of the power distribution network, a traditional relay protection tester needs to be completely relied on, and a test environment needs to be manually set up for testing. Especially in the field test process, the test can not be carried out in many areas due to the restriction of communication blind areas.
The power self-healing test method provided by the application can be applied to the application environment shown in fig. 1. The master station can be electrically connected or in communication connection with the tester, the tester can be electrically connected with the terminal to be tested, and the terminal to be tested can control the on-off state of a switch in the power circuit. The master station can be used for processing data, such as generating a test script, generating a self-healing test result and the like; the tester can output an analog voltage signal and/or an analog current signal to the test script, so that the terminal to be tested can be tested. The Terminal to be tested may be, but is not limited to, various Distribution automation terminals and various self-healing protection devices, such as FTU (Feeder Terminal Unit, Distribution switch monitoring Terminal), DTU (Data Transfer Unit, Data transmission Unit), and TTU (Distribution Transformer Supervisory Terminal).
In one embodiment, as shown in fig. 2, a power self-healing test method is provided, which is described by taking the method as an example for the master station in fig. 1, and includes the following steps:
step 210, respectively generating a test script and a target switch signal corresponding to each terminal to be tested according to the power line topological graph, the target fault terminal and the target fault type; the test script includes a normal test timing, a fault test timing, and an isolation test timing.
The power line topological graph can be used for indicating the topological structure of each power distribution automation terminal in the power system, and the terminal to be tested can be part or all of the power distribution automation terminals in the power line topological graph. The target fault terminal is a power distribution automatic terminal simulating a fault; the target fault type is a specific type of fault which appears in a simulation mode; the target switch signal is a prediction remote control action for realizing fault self-healing of the terminal to be tested when the target fault terminal has a fault of a target fault type.
Specifically, the master station may respectively determine the test script corresponding to each terminal to be tested and the target switch signal corresponding to each terminal to be tested according to the power line topology, the target fault terminal, and the type of the target fault terminal by using a correlation algorithm. The test script can comprise a normal test time sequence, a fault test time sequence and an isolation test time sequence, wherein the normal test time sequence can be a voltage signal and/or a current signal of the terminal to be tested before a target fault terminal fails, and the voltage and current change of the terminal to be tested before the fault occurs can be simulated through the normal test time sequence; the fault test time sequence can be a voltage signal and/or a current signal of the terminal to be tested when a target fault terminal fails, and the voltage and current change of the terminal to be tested when the fault occurs can be simulated through the fault test time sequence; the isolation test time sequence can be a voltage signal and/or a current signal of the terminal to be tested when the target fault terminal is subjected to fault isolation, and the voltage and current change of the terminal to be tested when the fault is isolated can be simulated through the isolation test time sequence.
According to the self-healing protection technical principle, when the fault terminal and the fault type are known, each node in the test line can be calculated according to the self-healing protection technical principle, namely the voltage and current change of each terminal to be tested before, during and during fault isolation, and the action protection logic of the terminal to be tested.
Step 220, transmitting the test script to a corresponding tester; the test script is used for indicating the tester to respectively output a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested and acquiring an actual switch signal of the terminal to be tested.
The actual switch signal is a switch control signal transmitted to the switch when the terminal to be tested identifies that the power system has a fault.
Specifically, the master station transmits each test script to the corresponding tester, and the test scripts can be issued asynchronously or synchronously to each tester. Furthermore, the master station can be in communication connection with the tester, so that the test script can be issued to the tester through a network; the master station can also be electrically connected with the tester, so that the test script can be issued to the tester through a serial port and the like; the master station can also issue the test script through an intermediate device, such as a Universal Serial Bus (USB) Memory, a secure digital Memory (SD) card, and the like, and the master station can transmit the test script to the intermediate device, and the intermediate device can be electrically connected to the tester, so that the test script on the intermediate device can be transmitted to the tester.
The master station tests and transmits each test script to the corresponding tester, and the test scripts instruct the tester to respectively output a normal test time sequence, a fault test time sequence and an isolation test time sequence to the electrically connected terminal to be tested, so that the occurrence of faults can be simulated. And the terminal to be tested receives the normal test time sequence, the fault test time sequence and the isolation test time sequence, and outputs an actual switch signal according to the received test time sequence so as to complete the remote control protection action. The tester can receive an actual switch signal transmitted by the terminal to be tested, and further, the tester can transmit a corresponding switch feedback signal to the terminal to be tested according to the received actual switch signal so as to simulate the operation state of the switch, thereby reducing the influence of the electric self-healing test on the electric power system.
And step 230, receiving the actual switching signals transmitted by each tester, matching the actual switching signals with the target switching signals, and obtaining a self-healing test result according to the matching result.
Specifically, the master station can receive actual switch signals of each terminal to be tested, which are respectively transmitted by each tester, match each actual switch signal with a corresponding target switch signal, and compare the predicted remote control action (namely, the target switch signal) of each terminal to be tested with the actual remote control action (namely, the actual switch signal) recorded by the tester, so that whether the self-healing function of each terminal to be tested is correct can be judged, and then the test of the self-healing function is realized. The self-healing test result may be used to indicate a matching result between an actual switch signal of each terminal to be tested and a corresponding target switch signal, for example, the self-healing test result may include a terminal to be tested where the actual switch signal matches the target switch signal, or may include a terminal to be tested where the actual switch signal does not match the target switch signal, or may include a matching condition of each terminal to be tested.
The electric power self-healing test method comprises the following steps: respectively generating a test script and a target switch signal corresponding to each terminal to be tested according to the power line topological graph, the target fault terminal and the target fault type; the test script comprises a normal test time sequence, a fault test time sequence and an isolation test time sequence; transmitting the test script to a corresponding tester; the test script is used for indicating the tester to respectively output a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested and acquiring an actual switch signal of the terminal to be tested; and receiving the actual switching signals transmitted by each tester, matching the actual switching signals with the target switching signals, and obtaining a self-healing test result according to the matching result. In the application, the test script and the target switch signal corresponding to each terminal to be tested can be automatically generated through the power line topological graph, the target fault terminal and the target fault type, the test script is issued to each tester, manual calculation is not needed, subjective errors are avoided, and therefore the test efficiency of the self-healing test and the accuracy of the self-healing test result can be improved.
In one embodiment, the test script further comprises a start time; the starting time of each test script is the same;
the test script is also used for indicating the tester to respectively output a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested when the satellite synchronization time reaches the starting time.
The starting time may be a time when the self-healing test is started, for example, a time when the tester is instructed to transmit the test timing sequence to the terminal to be tested.
Specifically, each test script can comprise starting time, and the starting time of each test script can be the same, so that multiple testers can work at the same time, and synchronous testing is realized. Specifically, the test script is used for indicating the tester to respectively output a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested when the satellite synchronization time reaches the starting time. According to the method, the testers are synchronized by satellite time according to the appointed time for issuing the test script, work simultaneously, and output analog voltage signals and analog current signals to the corresponding terminal to be tested according to the test script.
In the self-healing power test method, the test script further comprises a starting time; the starting time of each test script is the same; the test script is also used for indicating the tester to respectively output a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested when the satellite synchronization time reaches the starting time, and through the satellite time synchronization, the remote synchronous test of a plurality of testers can be realized, so that the electric power self-healing test gets rid of the dependence on field communication conditions, the influence of the communication conditions on test results and test efficiency is avoided, the test efficiency and test accuracy can be further improved, and the full coverage of distributed scene tests of laboratory detection, warehouse debugging and field engineering is realized.
In one embodiment, the method further comprises:
and acquiring a fault type set, sequencing all fault types in the fault type set, and sequentially confirming all fault types as target fault types according to the sequenced sequence.
The fault type set may include one or more fault types, and the fault types in the fault type set may be obtained through presetting, manual selection, or random selection.
Specifically, the master station obtains the fault type set, and sorts the fault types in the fault type set, for example, the fault types may be sorted according to identifiers (such as names, numbers, and the like) of the fault types, or may be sorted according to the occurrence frequency of each fault type in the power system. The master station sequentially confirms the sequenced fault types as target fault types, and for each target fault type, the following steps can be executed: the method comprises the steps of generating a test script and a target switch signal corresponding to each terminal to be tested according to a power line topological graph, a target fault terminal and a target fault type, so that simulation can be performed on each fault type in a fault type set, and reliability of power self-healing test is improved.
In one embodiment, the method further comprises the steps of:
and sequentially confirming each terminal to be detected as a target fault terminal.
The terminal to be tested can be obtained through presetting, manual selection or random selection.
Specifically, the master station sequentially confirms each terminal to be tested as a target fault terminal, and for each target fault terminal, the following steps may be performed: the method comprises the steps of generating a test script and a target switch signal corresponding to each terminal to be tested according to a power line topological graph, a target fault terminal and a target fault type, so that the fault condition of each terminal to be tested can be simulated, and the reliability of the power self-healing test is improved.
In one embodiment, each terminal to be tested corresponds to each node in the power line topological graph one by one;
the method comprises the steps of respectively generating a test script and a target switch signal corresponding to each terminal to be tested according to a power line topological graph, a target fault terminal and a target fault type, and comprises the following steps:
recursion is carried out on the power line topological graph until all nodes of the power line topological graph are traversed, and the following steps are executed respectively aiming at the current nodes in each recursion:
acquiring a relative position between a current node and a fault node and an absolute position between the current node and a root node in a power line topological graph; the fault node is a node corresponding to a target fault terminal in the power line topological graph;
and processing the relative position, the absolute position and the target fault type by adopting a self-healing logic algorithm to obtain a test script and a target switch signal corresponding to the current node.
Specifically, the power line topology map may include one or more nodes, and each node may correspond to each terminal to be tested one to one, that is, only one node in the power line topology map may correspond to the same terminal to be tested. Further, the number of nodes in the power line topology map may be greater than or equal to the number of terminals to be tested.
The master station recurses the power line topological graph from a starting node until each node in the power line topological graph is traversed, wherein the starting node can be any node in the power line topological graph. Specifically, during each recursion, the master station may obtain, for the current node, the relative position between the current node and the failed node in the power line topology, and the absolute position of the current node in the power line topology, i.e., the position of the current node relative to the root node.
The master station can process the relative position, the absolute position and the target fault type by adopting a self-healing logic algorithm to obtain a test script corresponding to the current node and a target switch signal corresponding to the current node, and confirms the test script and the target switch signal corresponding to the current node as the test script and the target switch signal of the terminal to be tested corresponding to the current node.
The master station recurses the power circuit topological graph and traverses all nodes in the power circuit topological graph, so that the test script and the target switch signal corresponding to each terminal to be tested can be obtained.
In one embodiment, the step of recursively traversing the nodes of the power line topology graph comprises:
and acquiring a root node, and performing recursion by taking the root node as an initial node until all nodes are traversed.
Specifically, the root node can be used as a starting node of the recursion, and the power line topological graph is recurred from the root node until the traversal is completed. Further, before recursive process of the power line topology diagram, the method may further include the steps of: and converting the topological graph of the power line into a topological graph of a tree-fork structure.
In an example, a flowchart of the step of generating a test script and a target switch signal corresponding to each terminal to be tested according to the power line topology, the target fault terminal, and the target fault type may be as shown in fig. 3, and includes:
step 310, constructing a power line topological graph;
step 320, completing fixed value parameters of topological nodes in the topological graph of the power line;
step 330, setting target failure equipment and a target failure type;
step 340, calculating current signals, voltage signals and action protection of each terminal to be tested before and during fault isolation according to a self-healing principle;
and 350, generating a test script corresponding to each terminal to be tested.
The fixed value parameter in step 320 may be obtained according to an actual situation, and is used to configure each tester participating in the test. After the fixed value parameters are determined, the test script and the action protection (namely, the target switch signal) of each terminal to be tested can be obtained according to the target fault point and the target fault type. The flow chart of step 340 can be shown in fig. 4, and includes:
step 410, converting the topological graph of the power line into a tree-fork structure;
step 420, acquiring a root node in the power line topological graph;
step 430, acquiring the relative positions of the current node and the fault node, and the position (i.e. absolute position) of the current node in the topological graph;
step 440, processing the relative position and the absolute position according to a self-healing logic algorithm, and analyzing current signals, voltage signals and action protection of the current node before, during and after the fault;
step 450, generating a test script of the current node according to the current signal and the voltage signal of the current node before, during and after the fault, and taking the action protection as test result judgment data;
step 460, judging whether the current node has a child node; if yes, go to step 330 until all child nodes are recursively analyzed; if not, the process is ended.
According to the electric power self-healing test method, manual calculation of test data and operation can be reduced, so that the test can be more convenient and faster, dependence on test field communication conditions is reduced, and the electric power self-healing test efficiency and test applicability are improved.
In one embodiment, as shown in fig. 5, a method for self-healing power test is provided, which is described by taking the method as an example for being applied to the main tester in fig. 1, and includes the following steps:
step 510, receiving a test script transmitted by a master station; the test script is obtained by the master station according to the power line topological graph, the target fault terminal and the target fault type; the test script includes a normal test timing, a fault test timing, and an isolation test timing.
Step 520, respectively outputting a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested, acquiring an actual switch signal of the terminal to be tested, and transmitting the actual switch signal to the master station; the actual switch signal is used for instructing the master station to match the actual switch signal with the target switch signal, and a self-healing test result is obtained according to a matching result.
Specifically, the tester can receive a test script issued by the master station, and simultaneously, the tester can electrically access to the corresponding terminal to be tested, and the tester can analyze the test script to obtain a normal test time sequence, a fault test time sequence and an isolation test time sequence. The tester respectively outputs analog voltage signals and/or analog current signals to the terminal to be tested according to each test time sequence so as to simulate the occurrence of faults. And the terminal to be tested respectively receives the normal test time sequence, the fault test time sequence and the isolation test time sequence, and outputs an actual switch signal according to the received test time sequence so as to complete the remote control protection action. The tester collects actual switching signals output by the terminal to be tested and transmits the actual signals to the master station.
In one embodiment, the test script may also include a start time;
the steps of respectively outputting the normal test time sequence, the fault test time sequence and the isolation test time sequence to the terminal to be tested comprise:
and when the satellite synchronization time reaches the starting time, respectively outputting a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested.
Specifically, the tester parses the test script to obtain the start time.
In one embodiment, the step of transmitting the actual switching signal to the master station may comprise:
and generating a test result and a record file according to the actual switching signal, and respectively transmitting the test result and the upload file to the master station.
In one example, as shown in fig. 6, the power self-healing test method may include:
step 610, downloading a test script;
step 620, analyzing the test script and obtaining a starting time, a normal test time sequence, a fault test time sequence and an isolation test time sequence;
step 630, electrically connecting the tester with the terminal to be tested;
step 640, setting a PPM trigger event, and waiting for a synchronous trigger test;
step 650, outputting voltage and current to the terminal to be tested according to the test script, and recording the actual remote control operation of the terminal to be tested;
and 660, generating a test record according to the actual remote control operation, uploading the test record to the master station, and finishing the test.
It should be understood that although the various steps in the flow charts of fig. 2-6 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-6 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 7, there is provided a power self-healing test apparatus implemented from a perspective of a master station, including:
the test script generation module is used for respectively generating a test script and a target switch signal corresponding to each terminal to be tested according to the power line topological graph, the target fault terminal and the target fault type; the test script comprises a normal test time sequence, a fault test time sequence and an isolation test time sequence;
the test script transmission module is used for transmitting the test script to the corresponding tester; the test script is used for indicating the tester to respectively output a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested and acquiring an actual switch signal of the terminal to be tested;
and the matching module is used for receiving the actual switching signals transmitted by each tester, matching the actual switching signals with the target switching signals and obtaining a self-healing test result according to the matching result.
In one embodiment, the test script further comprises a start time; the starting time of each test script is the same;
the test script is also used for indicating the tester to respectively output a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested when the satellite synchronization time reaches the starting time.
In one embodiment, the power self-healing test device further includes:
and the target fault type confirming module is used for acquiring the fault type set, sequencing all fault types in the fault type set and sequentially confirming all fault types as target fault types according to the sequenced sequence.
In one embodiment, each terminal to be tested corresponds to each node in the power line topological graph one by one;
the test script generation module comprises: the recursion unit is used for recursing the power line topological graph until all nodes of the power line topological graph are traversed, and the following steps are executed respectively aiming at the current node in each recursion:
acquiring a relative position between a current node and a fault node and an absolute position between the current node and a root node in a power line topological graph; the fault node is a node corresponding to a target fault terminal in the power line topological graph;
and processing the relative position, the absolute position and the target fault type by adopting a self-healing logic algorithm to obtain a test script and a target switch signal corresponding to the current node.
In an embodiment, the recursion unit is further configured to obtain a root node, and perform recursion with the root node as a starting node until nodes are traversed.
In one embodiment, as shown in fig. 8, there is provided a power self-healing test device implemented from the perspective of a tester, including:
the test script receiving module is used for receiving the test script transmitted by the master station; the test script is obtained by the master station according to the power line topological graph, the target fault terminal and the target fault type; the test script comprises a normal test time sequence, a fault test time sequence and an isolation test time sequence;
the time sequence output module is used for respectively outputting a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested and acquiring an actual switching signal of the terminal to be tested;
the actual switch signal transmission module is used for transmitting an actual switch signal to the master station; the actual switch signal is used for instructing the master station to match the actual switch signal with the target switch signal, and a self-healing test result is obtained according to a matching result.
In one embodiment, the test script may also include a start time;
and the time sequence output module is also used for respectively outputting a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested when the satellite synchronization time reaches the starting time.
In one embodiment, the actual switching signal transmission module is further configured to generate a test result and a record file according to the actual switching signal, and transmit the test result and the upload file to the master station respectively.
For specific limitations of the power self-healing test device, reference may be made to the above limitations of the power self-healing test method, which are not described herein again. All or part of each module in the power self-healing testing device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, there is provided a primary station comprising a processor which when executing a computer program performs the steps of:
respectively generating a test script and a target switch signal corresponding to each terminal to be tested according to the power line topological graph, the target fault terminal and the target fault type; the test script comprises a normal test time sequence, a fault test time sequence and an isolation test time sequence;
transmitting the test script to a corresponding tester; the test script is used for indicating the tester to respectively output a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested and acquiring an actual switch signal of the terminal to be tested;
and receiving the actual switching signals transmitted by each tester, matching the actual switching signals with the target switching signals, and obtaining a self-healing test result according to the matching result.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the test script also comprises starting time; the starting time of each test script is the same;
the test script is also used for indicating the tester to respectively output a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested when the satellite synchronization time reaches the starting time.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
and acquiring a fault type set, sequencing all fault types in the fault type set, and sequentially confirming all fault types as target fault types according to the sequenced sequence.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
recursion is carried out on the power line topological graph until all nodes of the power line topological graph are traversed, and the following steps are executed respectively aiming at the current nodes in each recursion:
acquiring a relative position between a current node and a fault node and an absolute position between the current node and a root node in a power line topological graph; the fault node is a node corresponding to a target fault terminal in the power line topological graph; each terminal to be tested corresponds to each node in the topological graph of the power line one by one;
and processing the relative position, the absolute position and the target fault type by adopting a self-healing logic algorithm to obtain a test script and a target switch signal corresponding to the current node.
In one embodiment, the processor, when executing the computer program, further performs the steps of: and acquiring a root node, and performing recursion by taking the root node as an initial node until all nodes are traversed.
In one embodiment, a tester is provided, as shown in fig. 9, which may include a voltage current signal output module and a switch simulation module; the switch simulation module comprises a remote signaling interface, a remote signaling interface and an input interface;
the voltage and current output module of the tester is used for being connected with a voltage and current signal line of the terminal to be tested, the remote signaling branch interface and the remote signaling closing interface of the tester are both used for being connected with the terminal to be tested, and the open interface of the tester is used for being connected with the remote control output interface of the terminal to be tested, so that the actual switch signal of the terminal to be tested can be recorded. Further, the tester may further include a GPS (global positioning System) module.
The tester realizes the following steps when executing the computer program:
receiving a test script transmitted by a master station; the test script is obtained by the master station according to the power line topological graph, the target fault terminal and the target fault type; the test script comprises a normal test time sequence, a fault test time sequence and an isolation test time sequence;
respectively outputting a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested, and acquiring an actual switching signal of the terminal to be tested;
transmitting the actual switching signal to a master station; the actual switch signal is used for instructing the master station to match the actual switch signal with the target switch signal, and a self-healing test result is obtained according to a matching result.
In one embodiment, the test script may also include a start time;
the tester also realizes the following steps when executing the computer program:
and when the satellite synchronization time reaches the starting time, respectively outputting a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested.
In one embodiment, the computer program when executed by the tester further performs the steps of:
and generating a test result and a record file according to the actual switching signal, and respectively transmitting the test result and the upload file to the master station.
In one embodiment, there is provided a power self-healing test system, including the master station in any of the above embodiments, and the tester in any of the above embodiments; the main station is connected with the tester and used for connecting the terminal to be tested.
Specifically, the number of the testers in the power self-healing test system can be determined according to the number of the terminals to be tested, and further, the number of the testers can be equal to the number of the terminals to be tested. When a plurality of terminals to be tested need to be tested, each tester is connected with each terminal to be tested in a one-to-one correspondence mode.
The test scripts of each tester can comprise starting time, and the starting time can be the same, so that each tester can be started at the same time, and the test scripts are executed to simulate faults. In one example, the starting of each tester in the power self-healing test system may be as shown in fig. 10, and includes:
step 910, confirming that each tester is in a ready state;
step 920, each tester receives the test scripts respectively, and the starting time of each test script is the same;
step 930, each tester synchronizes time through the GPS;
step 940, judging whether the GPS synchronization time reaches the starting time, if so, entering step 950, and if not, entering step 940;
at step 950, the tester executes the test script.
In one embodiment, there is provided a computer readable storage medium implemented from a primary station perspective, having a computer program stored thereon, which when executed by a processor, performs the steps of:
respectively generating a test script and a target switch signal corresponding to each terminal to be tested according to the power line topological graph, the target fault terminal and the target fault type; the test script comprises a normal test time sequence, a fault test time sequence and an isolation test time sequence;
transmitting the test script to a corresponding tester; the test script is used for indicating the tester to respectively output a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested and acquiring an actual switch signal of the terminal to be tested;
and receiving the actual switching signals transmitted by each tester, matching the actual switching signals with the target switching signals, and obtaining a self-healing test result according to the matching result.
In one embodiment, the test script further comprises a start time; the starting time of each test script is the same;
the test script is also used for indicating the tester to respectively output a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested when the satellite synchronization time reaches the starting time.
In one embodiment, the computer program when executed by the processor further performs the steps of: and acquiring a fault type set, sequencing all fault types in the fault type set, and sequentially confirming all fault types as target fault types according to the sequenced sequence.
In one embodiment, each terminal to be tested corresponds to each node in the power line topological graph one by one; the computer program when executed by the processor further realizes the steps of:
the method comprises the steps of respectively generating a test script and a target switch signal corresponding to each terminal to be tested according to a power line topological graph, a target fault terminal and a target fault type, and comprises the following steps:
recursion is carried out on the power line topological graph until all nodes of the power line topological graph are traversed, and the following steps are executed respectively aiming at the current nodes in each recursion:
acquiring a relative position between a current node and a fault node and an absolute position between the current node and a root node in a power line topological graph; the fault node is a node corresponding to a target fault terminal in the power line topological graph;
and processing the relative position, the absolute position and the target fault type by adopting a self-healing logic algorithm to obtain a test script and a target switch signal corresponding to the current node.
In one embodiment, the computer program when executed by the processor further performs the steps of: and acquiring a root node, and performing recursion by taking the root node as an initial node until all nodes are traversed.
In one embodiment, there is provided a computer-readable storage medium implemented from a tester perspective, having a computer program stored thereon, the computer program when executed by a processor implementing the steps of:
receiving a test script transmitted by a master station; the test script is obtained by the master station according to the power line topological graph, the target fault terminal and the target fault type; the test script comprises a normal test time sequence, a fault test time sequence and an isolation test time sequence;
respectively outputting a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested, and acquiring an actual switching signal of the terminal to be tested;
transmitting the actual switching signal to a master station; the actual switch signal is used for instructing the master station to match the actual switch signal with the target switch signal, and a self-healing test result is obtained according to a matching result.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and when the satellite synchronization time reaches the starting time, respectively outputting a normal test time sequence, a fault test time sequence and an isolation test time sequence to the terminal to be tested.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and generating a test result and a record file according to the actual switching signal, and respectively transmitting the test result and the upload file to the master station.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in the embodiments provided herein may include at least one of non-volatile and volatile memory. Non-volatile memory may include Read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical memory, among others. Volatile Memory may include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), for example.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.