Debugging method and device of switch of terminal equipment and electronic equipment

By determining label information and comparing the switches of the terminal equipment, generating debugging requests and executing remote control debugging instructions, the safety hazards of power grid caused by operators' misoperation are solved, and the safety and efficiency of power grid operation are improved.

CN119001429BActive Publication Date: 2025-01-14FOSHAN POWER SUPPLY BUREAU GUANGDONG POWER GRID
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411475929.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-22
Publication Date
2025-01-14
Estimated Expiration
2044-10-22

AI Technical Summary

Technical Problem

Operators are prone to misoperation or miscontrol of non-operation switches when using remote control technology to test terminal equipment, resulting in accidents and reducing the safety of distribution terminal equipment.

Method used

By determining the label information of the target switch to be tested, and when the label information contains preset label information, the model information of the target switch is compared with the topology diagram information, a debugging request is generated, the target switch position is positioned, and the remote control is carried out. The debugging instructions debug the target switch to ensure the accuracy and safety of operations.

Benefits of technology

It effectively avoids miscontrol of non-operating switches, improves the safety and reliability of remote control operations, ensures the safe and reliable operation of the power grid, and improves the efficiency of switch debugging.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119001429B_ABST
    Figure CN119001429B_ABST
Patent Text Reader

Abstract

The present application discloses a debugging method, device and electronic device for a switch of a terminal device, the method is applied to the field of electric power engineering, the method comprises: determining a target switch to be tested, and determining the label information of the target switch; when the label information contains preset label information, comparing the model information of the target switch with the information of the target switch in the target topology map, and obtaining a first comparison result; when the first comparison result indicates that the information of the target switch is the same, generating a debugging request, and locating the target position of the target switch in the target topology map; generating a remote control debugging instruction according to the target position and debugging the target switch to obtain a debugging result. Through the present application, the problem in the related art that when an operator performs a switch test on a terminal device based on remote control technology, the operator is prone to make an error operation or miscontrol a non-operation switch, resulting in an accident, and reducing the safety of the distribution network terminal device is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electric power engineering, and in particular to a method and device for debugging a switch of a terminal device, and electronic equipment. Background Art

[0002] Modern society has higher and higher requirements for the reliability of power supply of power grids, especially the reliability of power supply of distribution network automation systems. With the development of distribution network technology, the number of distribution network terminals is gradually increasing. When terminal equipment is connected to the grid, equipment debugging must be carried out. Remote control operation is a typical function of terminal equipment debugging and dispatching automation system. Remote control operation does not require going to the site of power equipment, and can use communication technology to remotely operate the terminal power equipment, effectively protecting the personal safety of operators. However, in actual production, due to the lack of corresponding safety mechanisms for remote control operation, it is difficult to avoid errors in remote control operation, which brings safety risks to the power grid system.

[0003] Due to the complexity of the distribution network automation system and the large number of terminal devices, switch debugging is required when the terminal devices are connected to the grid. Among the "three remote" tests of switch debugging, remote control has the highest risk factor. In actual production, unauthorized operators often mistakenly operate switches or professionals mistakenly operate non-operating switches, resulting in misoperation accidents and affecting the normal operation of the power grid.

[0004] In the related technology, when operators perform switch tests on terminal equipment based on remote control technology, they are prone to make mistakes in operation or mistakenly control non-operation switches, leading to accidents and reducing the safety of distribution network terminal equipment. No effective solution has been proposed so far. Summary of the invention

[0005] The main purpose of the present application is to provide a method, device and electronic equipment for debugging the switch of a terminal device, so as to solve the problem in the related technology that when the operator performs switch testing on the terminal device based on remote control technology, the operator is prone to make misoperations or miscontrol of non-operation switches, resulting in accidents and reducing the safety of the distribution network terminal equipment.

[0006] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a debugging method for a switch of a terminal device is provided, the method comprising: determining a target switch to be tested, and determining the label information of the target switch, wherein the target switch represents a switch that controls the terminal device; when the label information includes preset label information, comparing the model information of the target switch with the information of the target switch in a target topology map to obtain a first comparison result, wherein the target topology map represents the relationship between nodes, the terminal device and the distribution line in a distribution network automation system; when the first comparison result indicates that the information of the target switch is the same, generating a debugging request, and locating the target position of the target switch in the target topology map according to the debugging request; generating a remote control debugging instruction according to the target position, and debugging the target switch according to the remote control debugging instruction to obtain a debugging result.

[0007] Further, determining the label information of the target switch includes: determining a first switch set and a second switch set based on a target database, wherein the target database includes at least information of each terminal device in the distribution network automation system, the information of each terminal device includes at least switch information of each terminal device, the first switch set is a set of switches that have not been debugged, and the second switch set is a set of switches to be debugged within a preset time period; when the first switch set includes the target switch, or the second switch set includes the target switch, determining the label information of the target switch to be the preset label information.

[0008] Furthermore, before comparing the model information of the target switch with the information of the target switch in the target topology map, the method also includes: obtaining switch information of each terminal device in the distribution network automation system, wherein the switch information at least includes: switch operation status; for each terminal device in the distribution network automation system, obtaining the connection relationship between the terminal device in the distribution network and the node in the distribution network automation system through the business system; and constructing the target topology map based on the nodes in the distribution network automation system, the terminal device, the distribution line, the switch information of each terminal device and the connection relationship.

[0009] Furthermore, the model information of the target switch is compared with the information of the target switch in the target topology map to obtain a first comparison result, including: acquiring the model information of the target switch according to the actual production situation; determining the first switch information of the target switch according to the target topology map; comparing the model information of the target switch with the first switch information of the target switch to obtain the first comparison result.

[0010] Further, the remote control debugging instruction at least includes the following instructions: a first instruction and a second instruction, the first instruction is to transmit a preset signal to the target switch, the second instruction is to transmit an opening signal and a closing signal to the target switch, the target switch is debugged according to the remote control debugging instruction, and a debugging result is obtained, including: executing the first instruction; if the first response result does not exist or the response time of the first response result is longer than a preset time, taking the failure of debugging the target switch as the debugging result, wherein the first response result is the response result of the first instruction; if the first response result is a successful response, executing the second instruction; if the second response result exists and the response time of the second response result is shorter than a preset time, generating the debugging result according to the first response result and the second response result, and displaying the debugging result in the target device, wherein the second response result is the response result of the second instruction.

[0011] Furthermore, before determining the label information of the target switch, the method also includes: obtaining permission information, wherein the permission information includes operation permission information of each operator; obtaining login information of the target object, and obtaining the operation permission information of the target object based on the login information and the permission information; and when the operation permission information of the target object includes preset operation permissions, executing the step of determining the label information of the target switch.

[0012] Furthermore, before debugging the target switch according to the remote control debugging instruction to obtain the debugging result, the method also includes: verifying the IP information and group number information of the target switch to obtain the verification result; when the verification result is a passed verification, receiving the first operation password of the target object and the second operation password of the first object, wherein the first object is an object that supervises the remote control debugging operation of the target object; when the first operation password and the second operation password are both correct, executing the step of debugging the target switch according to the remote control debugging instruction to obtain the debugging result.

[0013] Furthermore, after comparing the model information of the target switch with the information of the target switch in the target topology map to obtain a first comparison result, the method further includes: comparing the model information of the target switch with the second switch information of the target switch in the target database to obtain a second comparison result; and when both the first comparison result and the second comparison result indicate that the information of the target switch is the same, executing the step of generating a debugging request.

[0014] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a debugging device for a switch of a terminal device is provided, the device comprising: a determination unit, used to determine a target switch to be tested, and determine the label information of the target switch, wherein the target switch represents a switch that controls the terminal device; a first comparison unit, used to compare the model information of the target switch with the information of the target switch in a target topology map when the label information contains preset label information, to obtain a first comparison result, wherein the target topology map represents the relationship between the nodes, the terminal device and the distribution line in the distribution network automation system; a positioning unit, used to generate a debugging request when the first comparison result indicates that the information of the target switch is the same, and locate the target position of the target switch in the target topology map according to the debugging request; a debugging unit, used to generate a remote control debugging instruction according to the target position, and debug the target switch according to the remote control debugging instruction to obtain a debugging result.

[0015] Furthermore, the determination unit includes: a first determination subunit, used to determine a first switch set and a second switch set based on a target database, wherein the target database includes at least information of each terminal device in the distribution network automation system, the information of each terminal device includes at least switch information of each terminal device, the first switch set is a set of switches that have not been debugged, and the second switch set is a set of switches to be debugged within a preset time period; a second determination subunit, used to determine that the label information of the target switch is the preset label information when the first switch set includes the target switch or the second switch set includes the target switch.

[0016] Furthermore, the device also includes: a first acquisition unit, used to acquire the switch information of each terminal device in the distribution network automation system before comparing the model information of the target switch with the information of the target switch in the target topology map, wherein the switch information at least includes: switch operation status; a second acquisition unit, used to acquire, for each terminal device in the distribution network automation system, the connection relationship between the terminal device in the distribution network and the node in the distribution network automation system through the business system; a construction unit, used to construct the target topology map based on the nodes in the distribution network automation system, the terminal device, the distribution line, the switch information of each terminal device and the connection relationship.

[0017] Furthermore, the first comparison unit includes: an acquisition subunit, used to obtain the model information of the target switch based on actual production conditions; a third determination subunit, used to determine the first switch information of the target switch based on the target topology diagram; and a comparison subunit, used to compare the model information of the target switch with the first switch information of the target switch to obtain the first comparison result.

[0018] Further, the remote control debugging instruction at least includes the following instructions: a first instruction and a second instruction, the first instruction is to transmit a preset signal to the target switch, and the second instruction is to transmit an opening signal and a closing signal to the target switch, and the debugging unit includes: a first execution subunit, used to execute the first instruction; a fourth determination subunit, used to, if the first response result does not exist or the response time of the first response result is longer than a preset time, take the failure of debugging the target switch as the debugging result, wherein the first response result is the response result of the first instruction; a second execution subunit, used to execute the second instruction if the first response result is a successful response; a generation subunit, used to, if the second response result exists and the response time of the second response result is shorter than a preset time, generate the debugging result according to the first response result and the second response result, and display the debugging result in the target device, wherein the second response result is the response result of the second instruction.

[0019] Furthermore, the device also includes: a third acquisition unit, used to acquire permission information before determining the label information of the target switch, wherein the permission information includes operation permission information of each operator; a fourth acquisition unit, used to acquire login information of the target object, and acquire the operation permission information of the target object based on the login information and the permission information; and a first execution unit, used to execute the step of determining the label information of the target switch when the operation permission information of the target object includes preset operation permissions.

[0020] Furthermore, the device also includes: a verification unit, which is used to verify the IP information and group number information of the target switch to obtain a verification result before debugging the target switch according to the remote control debugging instruction to obtain the debugging result; a receiving unit, which is used to receive the first operation password of the target object and the second operation password of the first object when the verification result is a passed verification, wherein the first object is an object that supervises the remote control debugging operation of the target object; a second execution unit, which is used to execute the step of debugging the target switch according to the remote control debugging instruction to obtain the debugging result when the first operation password and the second operation password are both correct.

[0021] Furthermore, the device also includes: a second comparing unit, used to compare the model information of the target switch with the information of the target switch in the target topology map to obtain a first comparison result, and then compare the model information of the target switch with the second switch information of the target switch in the target database to obtain a second comparison result; and a third execution unit, used to execute the step of generating a debugging request when both the first comparison result and the second comparison result indicate that the information of the target switch is the same.

[0022] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a computer program product is provided, including a computer program, which, when executed by a processor, implements the debugging method of the switch of the terminal device described in any one of the above items, and which, when executed by a processor, implements the steps of the debugging method of the switch of the terminal device described in each embodiment of the present application.

[0023] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes stored computer instructions, wherein when the computer instructions are executed by a processor, the debugging method of the switch of the terminal device described in any one of the above-mentioned items is implemented.

[0024] In order to achieve the above-mentioned purpose, according to one aspect of the present application, an electronic device is provided, including one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by one or more processors, the one or more processors implement the debugging method of the switch of the terminal device described in any one of the above-mentioned items.

[0025] Through the present application, the following steps are adopted: determining a target switch to be tested, and determining the label information of the target switch, wherein the target switch represents a switch that controls a terminal device; when the label information includes preset label information, comparing the model information of the target switch with the information of the target switch in a target topology map to obtain a first comparison result, wherein the target topology map represents the relationship between nodes, the terminal device and the distribution line in a distribution network automation system; when the first comparison result indicates that the information of the target switch is the same, generating a debugging request, and locating the target position of the target switch in the target topology map according to the debugging request; generating a remote control debugging instruction according to the target position, and debugging the target switch according to the remote control debugging instruction to obtain a debugging result, which solves the problem in the related art that when an operator performs a switch test on a terminal device based on remote control technology, the operator is prone to make an error operation or mistakenly control a non-operation switch, resulting in an accident, thereby reducing the safety of the distribution network terminal device. By determining the label information of the target switch to be tested, the switches to be tested can be filtered, and the target switches that can be debugged by remote control operation can be screened out. The target switch to be tested can be checked for image-model attribute association, which can ensure that the status, parameters, configuration and other information of the target switch to be tested are accurate, avoiding the problem of miscontrol of non-operation switches, resulting in the failure of some switches to operate normally, and causing large-scale power outages, thereby improving the safety and reliability of remote control operation and ensuring the safe and reliable operation of the power grid. At the same time, by determining the target position of the target switch and generating remote control debugging instructions, a series of debugging operations on the target switch can be automatically executed to obtain the debugging results of the target switch, thereby improving the efficiency of switch debugging. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0027] Figure 1 is a flow chart of a method for debugging a switch of a terminal device provided in Embodiment 1 of the present application;

[0028] Figure 2 The following is a schematic diagram of an optional method for debugging a switch of a terminal device according to the first embodiment of the present application. Figure 1 ;

[0029] Figure 3 The following is a schematic diagram of an optional method for debugging a switch of a terminal device according to the first embodiment of the present application. Figure 2 ;

[0030] Figure 4The following is a schematic diagram of an optional method for debugging a switch of a terminal device according to the first embodiment of the present application. Figure 3 ;

[0031] Figure 5 is a schematic diagram of a debugging device for a switch of a terminal device provided in Embodiment 2 of the present application;

[0032] Figure 6 This is a schematic diagram of the debugging electronic device of the switch of the terminal device provided in Example 5 of the present application. DETAILED DESCRIPTION

[0033] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0034] It should be noted that the user information (including but not limited to user device information, user personal information, collected data, used data, generated data, processed data, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, collected information, used information, generated information, processed information, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data are in compliance with the relevant laws, regulations and standards of relevant countries and regions, necessary confidentiality measures are taken, and public order and good customs are not violated, and corresponding operation entrances are provided for users to choose to authorize or refuse. For example, an interface is set up between this system and relevant users or institutions. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or institution through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or institution.

[0035] It should be noted that this application provides users with corresponding operation entrances for them to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered.

[0036] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0037] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0038] Embodiment 1

[0039] The present invention is described below in conjunction with preferred implementation steps. Figure 1 is a flow chart of a method for debugging a switch of a terminal device provided in accordance with the first embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:

[0040] Step S101, determining a target switch to be tested, and determining label information of the target switch, wherein the target switch represents a switch for controlling a terminal device.

[0041] The debugging method of the switch of the terminal equipment provided in the first embodiment of the present application is applied to the distribution network automation system, and the method can be used to automatically debug the switches of the terminal equipment in different geographical locations in the distribution network automation system. Automated debugging refers to the remote monitoring of the terminal equipment by the master station system of the distribution network by collecting the telecontrol information transmitted by the terminal equipment in the distribution network automation system. The telecontrol information is usually transmitted remotely in the form of information points. The master station and the terminal equipment first agree on the meaning of the information points and compile a three-remote information point table. The two ends then perform secondary wiring, make a transfer table, and enter the database according to the information point table. In order to ensure the correctness of each configuration, the master station and the terminal shall perform point-to-point work after all the work is completed, that is, each point in the information point table shall be subjected to a transmission test, and the master station and the terminal equipment shall check point by point by phone whether the transmitted information points are correct.

[0042] In the first embodiment of the present invention, in order to automatically debug the switch of the terminal device in the distribution network automation system, it is necessary to obtain the target switch to be tested in the distribution network automation system and determine the label information of the target switch to be tested, so as to determine whether the target switch has remote control authority based on the label information of the target switch, and then determine the test method for testing the target switch.

[0043] It should be noted that the number of target switches in the first embodiment may be one or more, and is not specifically limited in the first embodiment.

[0044] Step S102, when the tag information includes preset tag information, the model information of the target switch is compared with the information of the target switch in the target topology map to obtain a first comparison result, wherein the target topology map represents the relationship between nodes, terminal devices and distribution lines in the distribution network automation system.

[0045] In the first embodiment of the present invention, the target switch has preset label information. The preset label information indicates that the target switch is allowed to be remotely operated in the distribution network automation system to debug the target switch. In the case where the target switch has preset label information, the relevant information of the target switch is subjected to a graph-model attribute association check, that is, the model information of the target switch in the actual situation is compared with the relevant information of the target switch in the target topology diagram of the distribution network automation system to see whether they are consistent, and the above-mentioned first comparison result is obtained, wherein the first comparison result may be that the model information of the target switch and the relevant information of the target switch in the target topology diagram are consistent, or that the model information of the target switch and the relevant information of the target switch in the target topology diagram are inconsistent. The target topology diagram is a graphical representation of the connection mode and layout of the terminal equipment in the distribution network automation system. The distribution network automation system refers to the management system of the power transmission and distribution network from the substation to the user end in the power system.

[0046] Step S103 : when the first comparison result indicates that the information of the target switch is the same, a debugging request is generated, and a target position of the target switch is located in the target topology map according to the debugging request.

[0047] In the first embodiment of the present invention, in order to save the time of manually locating the target switch to be tested during the remote control debugging of the switch and improve the efficiency of switch debugging, it is necessary to generate a debugging request based on the target switch whose model information and relevant information in the target topology map are consistent, so as to locate the target switch in the debugging request in the target topology map.

[0048] For example, the schematic diagram of the target location in the target topology map can be as follows: Figure 2 As shown, it includes switch 201, switch 202, switch 203 and switch 204. If the debugging request includes switch 201, the position of switch 201 can be located in the target topology map, that is, the above-mentioned target position.

[0049] Step S104, generating a remote control debugging instruction according to the target position, and debugging the target switch according to the remote control debugging instruction to obtain a debugging result.

[0050] In the first embodiment, in order to remotely control the target switch to be tested, a preset operation needs to be performed at the target position where the target switch is located in the target topology map, and a remote control debugging instruction is generated through the preset operation, so that the target switch to be tested is remotely debugged through the remote control debugging instruction to obtain the above debugging result. Exemplarily, the preset operation can be an operation of controlling the right button of the mouse to be pressed, and the above remote control debugging instruction can be generated and executed by executing the preset operation.

[0051] In summary, the debugging method for the switch of a terminal device provided in the first embodiment of the present application determines the target switch to be tested and determines the label information of the target switch, wherein the target switch represents the switch that controls the terminal device; when the label information includes preset label information, the model information of the target switch and the information of the target switch in the target topology map are compared to obtain a first comparison result, wherein the target topology map represents the relationship between nodes, terminal devices and distribution lines in the distribution network automation system; when the first comparison result indicates that the information of the target switch is the same, a debugging request is generated, and the target position of the target switch is located in the target topology map according to the debugging request; a remote control debugging instruction is generated according to the target position, and the target switch is debugged according to the remote control debugging instruction to obtain a debugging result, which solves the problem in the related technology that when the operator performs switch testing on the terminal device based on remote control technology, the operator is prone to make misoperations or miscontrol of non-operated switches, resulting in accidents, thereby reducing the safety of the distribution network terminal device. By determining the label information of the target switch to be tested, the switches to be tested can be filtered, and the target switches that can be debugged by remote control operation can be screened out. The target switch to be tested can be checked for image-model attribute association, which can ensure that the status, parameters, configuration and other information of the target switch to be tested are accurate, avoiding the problem of miscontrol of non-operation switches, resulting in the failure of some switches to operate normally, and causing large-scale power outages, thereby improving the safety and reliability of remote control operation and ensuring the safe and reliable operation of the power grid. At the same time, by determining the target position of the target switch and generating remote control debugging instructions, a series of debugging operations on the target switch can be automatically executed to obtain the debugging results of the target switch, thereby improving the efficiency of switch debugging.

[0052] Optionally, in the debugging method for the switch of a terminal device provided in Example 1 of the present application, determining the label information of the target switch includes: determining a first switch set and a second switch set based on a target database, wherein the target database includes at least information about each terminal device in the distribution network automation system, and the information of each terminal device includes at least switch information of each terminal device, the first switch set is a set of switches that have not been debugged, and the second switch set is a set of switches to be debugged within a preset time period; when the first switch set includes the target switch, or the second switch set includes the target switch, determining that the label information of the target switch is preset label information.

[0053] In the first embodiment, in order to ensure the security of terminal devices in the distribution network automation system, it is necessary to associate the data in the target database, determine the attribute information of each switch according to the data in the target database, and thus determine the target switch to be tested according to the attribute information of each switch.

[0054] In an optional embodiment, the preset tag information includes at least one of the following: "undebugged", "automatic debugging". The newly put into use switch to be debugged in the distribution network automation system has the attribute of "undebugged" in the target database, so that the tag information of each target switch is determined based on the attribute information of each target switch in the target database to determine whether it contains "undebugged". For some switches that temporarily need remote control, an "automatic debugging" sign is usually hung, so that the distribution network automation system has the authority to remotely control the switches that temporarily need remote control. The tag information of the target switch can be as follows: Figure 3 As shown, the label information of the switch "17T1" is "undebugged", Ia, Ib and Ic represent the current information of the switch "17T1", and "17T11", "#17", "#18" and "#19" represent other devices in the distribution network automation system.

[0055] Exemplarily, the target database is queried for newly put-into-use switches (i.e., the above-mentioned switches that have not been debugged) to obtain the above-mentioned first switch set, and the switches in the target database that temporarily need to be remotely controlled (i.e., the above-mentioned switches to be debugged within the preset time period, the preset time period can be adjusted according to the actual production situation, for example, 10 minutes, 1 hour, etc., which are not specifically limited in the first embodiment) to obtain the above-mentioned second switch set. In the case where the target switch belongs to the first switch set, a signboard with "Not debugged" is hung on the target switch, that is, the label information of the above-mentioned target switch is the preset label information; or in the case where the target switch belongs to the second switch set, a signboard with "Automated debugging" is hung on the target switch, that is, the label information of the above-mentioned target switch is the preset label information.

[0056] Optionally, in the debugging method of the switch of the terminal device provided in Example 1 of the present application, before comparing the model information of the target switch with the information of the target switch in the target topology map, the above method also includes: obtaining the switch information of each terminal device in the distribution network automation system, wherein the switch information at least includes: the operating status of the switch; for each terminal device in the distribution network automation system, obtaining the connection relationship between the terminal device and the node in the distribution network automation system through the business system; and constructing the target topology map based on the nodes, terminal devices, distribution lines, and switch information and connection relationships of each terminal device in the distribution network automation system.

[0057] In the first embodiment of the present invention, in order to improve the efficiency of switch debugging, a target topology map of each terminal device and each switch in the distribution network automation system can be pre-built, so that the position of the target switch can be located according to the target topology map to reduce manual operations and improve the efficiency of switch debugging. In addition, the information of the target switch to be tested can be verified according to the target topology map to improve the accuracy of determining the target switch to be tested and the safety of the distribution network automation system.

[0058] In an optional embodiment, the operating status, switch type, rated voltage, rated current, circuit breaker capacity, number of switch operations, switch control mode and other parameter information of the switch of each terminal device can be obtained from the distribution network automation system. Then, the distribution line and electrical connection relationship, that is, the connection relationship between the above-mentioned terminal device and the nodes in the distribution network automation system, can be obtained through the geographic information system (or GIS system, which is a system for storing, analyzing and displaying geographic space data) and the common information model (or CIM model, which is a model for managing and integrating power system data, and can integrate various data of the power system (such as equipment, lines, substations, etc.) to form a unified data model) (that is, the above-mentioned business system). Finally, the above-mentioned target topology diagram is constructed based on the switch information and electrical connection relationship of each node, each terminal device, distribution line, and each terminal device in the distribution network automation system.

[0059] Optionally, in the debugging method of the switch of the terminal device provided in the first embodiment of the present application, the model information of the target switch is compared with the information of the target switch in the target topology map to obtain a first comparison result, including: obtaining the model information of the target switch according to the actual production situation; determining the first switch information of the target switch according to the target topology map; comparing the model information of the target switch with the first switch information of the target switch to obtain a first comparison result.

[0060] In the first embodiment, in order to improve the accuracy of determining the target switch to be tested, it is necessary to perform a pattern attribute correlation check on the target switch to be tested.

[0061] In an optional embodiment, the model information of the target switch in the actual production environment can be determined based on the GIS system and the CIM model, for example, the number information of the target switch, the switch type of the target switch, the state of the target switch, the specific location of the target switch, the signal information of the target switch, the current information of the target switch, etc. Then, the relevant information of the target switch is determined in the target topology map, that is, the first switch information mentioned above, for example, the number information of the target switch, the switch type of the target switch, the state of the target switch, the connection line of the target switch, the specific location of the target switch, the current information of the target switch, the voltage information of the target switch, etc. Finally, the model information of the target switch is compared with the first switch information of the target switch in the target topology map to obtain the first comparison result mentioned above.

[0062] Exemplarily, situations in which the first comparison result of the model information of the target switch and the relevant information of the target switch in the target topology map is inconsistent may include: switch 01 is inconsistent with the substation in the target topology map, switch 01 cannot be found in the target topology map, the installation position of switch 01 in the target topology map is inconsistent, and the IP port information of switch 01 is incorrect, etc.

[0063] Optionally, in the debugging method of the switch of the terminal device provided in Example 1 of the present application, the above-mentioned remote control debugging instruction includes at least the following instructions: a first instruction and a second instruction, the above-mentioned first instruction is to transmit a preset signal to the target switch, and the above-mentioned second instruction is to transmit an opening signal and a closing signal to the target switch, and the target switch is debugged according to the remote control debugging instruction to obtain a debugging result, including: executing the first instruction; when the first response result does not exist or the response time of the first response result is longer than the preset time, taking the failure of debugging the target switch as the debugging result, wherein the first response result is the response result of the first instruction; when the first response result is a successful response, executing the second instruction; when the second response result exists and the response time of the second response result is shorter than the preset time, generating a debugging result based on the first response result and the second response result, and displaying the debugging result in the target device, wherein the second response result is the response result of the second instruction.

[0064] In the first embodiment, in order to improve the efficiency of switch debugging, a series of remote control debugging instructions can be automatically executed to debug the target switch to obtain the above debugging results.

[0065] In an optional embodiment, a response test may be performed on the target switch, that is, a preset signal (that is, the first instruction mentioned above) is sent to the target switch to test whether the target switch can respond to the preset signal. If the target switch can respond to the preset signal, a first response result is generated by the target switch and sent to the distribution network automation system; if the target switch fails and cannot respond to the preset signal, the first response result cannot be generated, the debugging of the target switch is terminated, and the failure of the target switch debugging is determined as the above-mentioned debugging result; or if the target switch has responded to the preset signal, but the time used to generate the first response result exceeds the preset time, the debugging of the target switch is also terminated, and the failure of the target switch debugging is determined as the above-mentioned debugging result.

[0066] Then, when the first response result is received and the response time of the first response result is less than the preset time, a closing instruction and an opening instruction are sent to the target switch in sequence (i.e., the second instruction mentioned above, the order of the closing instruction and the opening instruction in the second instruction can be flexibly adjusted according to the actual production situation, and is not specifically limited in this embodiment 1). After the target switch receives the closing instruction, it responds to the closing instruction and adjusts the operating state of the target switch itself; after the target switch receives the opening instruction, it responds to the opening instruction and adjusts the operating state of the target switch itself. The above-mentioned second response result is generated according to the response of the target switch to the closing instruction and the opening instruction respectively, and returned to the distribution network automation system. If the distribution network automation system receives the second response result and the response time of the second response result is within the preset time, it is determined that the target switch is successfully debugged, and the successful debugging is determined as the above-mentioned debugging result; if the distribution network automation system does not receive the second response result, or the response time of the second response result exceeds the preset time, it is determined that the debugging of the target switch fails, and the debugging failure is determined as the above-mentioned debugging result.

[0067] Optionally, in the debugging method of the switch of the terminal device provided in the first embodiment of the present application, before determining the label information of the target switch, the above method also includes: obtaining permission information, wherein the permission information includes operation permission information of each operator; obtaining login information of the target object, and obtaining the operation permission information of the target object based on the login information and the permission information; when the operation permission information of the target object includes preset operation permissions, executing the step of determining the label information of the target switch.

[0068] In the first embodiment, in order to prevent the operator from causing safety problems in the distribution network automation system due to erroneous operations, the authority of the operator who performs remote control debugging can be restricted.

[0069] In an optional embodiment, the permission information of each operator (i.e., the above-mentioned acquisition permission information) can be pre-configured in the distribution network automation system. Then, the operator (i.e., the above-mentioned target object) logs in using the target object's own user name and password (i.e., the above-mentioned login information). After the target object successfully logs in, the operating permissions (i.e., the above-mentioned operating permission information) possessed by the target object are determined in the configured permission information according to the target object's login information. Finally, it is determined whether the target object's operating permission information includes remote control permissions (i.e., the above-mentioned preset operating permissions. In addition to remote control permissions, the preset operating permissions may also include other permissions for operating power terminal equipment in the field of power engineering, which are not specifically limited in this embodiment one). In the case where the target object has the preset operating permissions, the target object executes subsequent operations on the target switch to be tested in the distribution network automation system (for example, the above-mentioned step of determining the label information of the target switch).

[0070] By grouping those with remote control operation authority, the control authority of system maintenance personnel, distribution network dispatching personnel and authorized system maintenance remote control personnel and distribution network dispatching remote control personnel can be restricted to prevent misoperation caused by human factors.

[0071] Optionally, in the debugging method for the switch of the terminal device provided in Example 1 of the present application, before debugging the target switch according to the remote control debugging instruction to obtain the debugging result, the above method also includes: verifying the IP information and group number information of the target switch to obtain a verification result; when the verification result is a passed verification, receiving a first operation password of the target object and a second operation password of the first object, wherein the first object is an object that supervises the remote control debugging operation of the target object; when the first operation password and the second operation password are both correct, executing the step of debugging the target switch according to the remote control debugging instruction to obtain the debugging result.

[0072] In an optional embodiment, before remotely debugging the target switch, it is necessary to determine whether the IP information and group number information of the target switch are correct. Then, if the IP information and group number information of the target switch are correct, the operator (i.e., the target object mentioned above) needs to pre-set a unique operation password (i.e., the first operation password mentioned above, the first operation password of the target object can be the same as the login password of the target object, or it can be different from the login password of the target object) before the operation can be performed. At the same time, the supervisor also needs to enter his own operation password (i.e., the second operation password mentioned above) for monitoring, thereby effectively preventing unauthorized operators from remotely controlling and avoiding the occurrence of misoperation accidents.

[0073] Optionally, in the debugging method for the switch of a terminal device provided in Example 1 of the present application, after comparing the model information of the target switch with the information of the target switch in the target topology map to obtain a first comparison result, the method further includes: comparing the model information of the target switch with the second switch information of the target switch in the target database to obtain a second comparison result; when both the first comparison result and the second comparison result indicate that the information of the target switch is the same, executing the step of generating a debugging request.

[0074] In the first embodiment of the present invention, in order to ensure that the target switch for executing the remote control debugging command is the switch to be tested and to improve the security of the distribution network automation system, it is necessary to perform a comprehensive comparison of the database fields on the target switch after performing a graphic model attribute association check on the target switch, and execute the remote control debugging command on the target switch when the graphic model attribute association check passes and the comprehensive comparison of the database fields succeeds.

[0075] In an optional embodiment, the model information of the target switch in the GIS system and the MIS system can be compared with the second switch information of the target switch stored in the target database to obtain a second comparison result. Then, when both the first comparison result and the second comparison result indicate that the information of the target switch is the same, the step of generating a debugging request is performed. Exemplarily, the target switches that have passed the image model attribute association check and the database field comprehensive comparison can be determined at 21:00 every day, and debugging requests are generated based on these target switches, and remote control debugging instructions are executed on these target switches on the next day.

[0076] Exemplarily, situations in which the second comparison result between the model information of the target switch and the second switch information of the target switch in the target database is inconsistent may include: switch 01 does not exist in the target database, the installation location of switch 01 in the target database is inconsistent with the model information of the target switch in the GIS system, and the IP port information of switch 01 is inconsistent with the information recorded in the target database, etc.

[0077] Optionally, in the first embodiment, the process of remotely debugging the target switch in the distribution network automation system of the present solution can be as follows: Figure 4As shown. Add personnel groups on the distribution network automation system management authority page to separate the authority of system maintenance personnel, system maintenance remote control personnel, distribution network dispatching personnel and distribution network dispatching remote control personnel. The operator (i.e. the target object mentioned above) determines the corresponding operation authority of the target object when the user name and password are successfully logged in. Determine the newly put-in-place switch to be debugged in the target database, and automatically hang the "undebugged" label (i.e. the preset label information mentioned above). Only switches with this label are allowed to have the remote control function. For some switches that need to be remotely controlled temporarily, they are usually hung with the "automated debugging" label (i.e. the preset label information mentioned above) to have remote control authority. Establish a graphic model attribute association check and database field comprehensive comparison mechanism. After the graphic model attribute association check passes and the database field comprehensive comparison is consistent, it is transmitted to the distribution network automation system to generate a debugging work order list (i.e. the debugging request mentioned above). Automatically push the map according to the distribution network automation system debugging work order list to accurately locate the target position of the target switch to be debugged to avoid adjusting the wrong switch, and also save the time of manually locating and debugging the switch. Using the remote control sequential control interface, the operator must first check the switch information of the target switch to be debugged, enter the IP and group number information for verification, and enter the operator's own password before the operation can be performed. The supervisor must also enter his own password for remote control monitoring, effectively preventing unauthorized operators from remote control. On the basis of passing the password verification, the target switch is remotely debugged by executing the above remote control debugging instructions with one click. Finally, add relevant information such as remote control preset, remote control execution, and remote control return to the distribution network automation system debugging interface alarm window.

[0078] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0079] Embodiment 2

[0080] Embodiment 2 of the present application also provides a debugging device for a switch of a terminal device. It should be noted that the debugging device for a switch of a terminal device of Embodiment 2 of the present application can be used to execute the debugging method for a switch of a terminal device provided in Embodiment 1 of the present application. The debugging device for a switch of a terminal device provided in Embodiment 2 of the present application is introduced below.

[0081] Figure 5 Schematic diagram of a switch debugging device of a terminal device according to Embodiment 2 of the present application. Figure 5 As shown, the device includes: a determination unit 501, a first comparison unit 502, a positioning unit 503 and a debugging unit 504.

[0082] Specifically, the determining unit 501 is used to determine a target switch to be tested and determine label information of the target switch, wherein the target switch represents a switch that controls the terminal device.

[0083] The first comparison unit 502 is used to compare the model information of the target switch with the information of the target switch in the target topology map when the tag information includes preset tag information, so as to obtain a first comparison result, wherein the target topology map represents the relationship between nodes, terminal devices and distribution lines in the distribution network automation system.

[0084] The positioning unit 503 is used to generate a debugging request when the first comparison result indicates that the information of the target switch is the same, and locate the target position of the target switch in the target topology map according to the debugging request.

[0085] The debugging unit 504 is used to generate a remote control debugging instruction according to the target position, and debug the target switch according to the remote control debugging instruction to obtain a debugging result.

[0086] The debugging device for the switch of a terminal device provided in the second embodiment of the present application determines the target switch to be tested and determines the label information of the target switch through a determination unit 501, wherein the target switch represents the switch that controls the terminal device; the first comparison unit 502 compares the model information of the target switch with the information of the target switch in the target topology map when the label information contains preset label information, and obtains a first comparison result, wherein the target topology map represents the relationship between nodes, terminal devices and distribution lines in the distribution network automation system; the positioning unit 503 generates a debugging request when the first comparison result indicates that the information of the target switch is the same, and locates the target position of the target switch in the target topology map according to the debugging request; the debugging unit 504 generates a remote control debugging instruction according to the target position, and debugs the target switch according to the remote control debugging instruction to obtain a debugging result, which solves the problem in the related art that when the operator performs switch testing on the terminal device based on the remote control technology, the operator is prone to make an error operation or mistakenly control a non-operation switch, resulting in an accident, thereby reducing the safety of the distribution network terminal device. By determining the label information of the target switch to be tested, the switches to be tested can be filtered, and the target switches that can be debugged by remote control operation can be screened out. The target switch to be tested can be checked for image-model attribute association, which can ensure that the status, parameters, configuration and other information of the target switch to be tested are accurate, avoiding the problem of miscontrol of non-operation switches, resulting in the failure of some switches to operate normally, and causing large-scale power outages, thereby improving the safety and reliability of remote control operation and ensuring the safe and reliable operation of the power grid. At the same time, by determining the target position of the target switch and generating remote control debugging instructions, a series of debugging operations on the target switch can be automatically executed to obtain the debugging results of the target switch, thereby improving the efficiency of switch debugging.

[0087] Optionally, in the debugging device for the switch of the terminal device provided in Example 2 of the present application, the above-mentioned determination unit 501 includes: a first determination subunit, used to determine the first switch set and the second switch set based on the target database, wherein the target database at least includes information of each terminal device in the distribution network automation system, and the information of each terminal device at least includes switch information of each terminal device, the first switch set is a set of undebugged switches, and the second switch set is a set of switches to be debugged within a preset time period; a second determination subunit, used to determine that the label information of the target switch is preset label information when the first switch set includes the target switch, or the second switch set includes the target switch.

[0088] Optionally, in the debugging device for the switch of the terminal device provided in Example 2 of the present application, the above-mentioned device also includes: a first acquisition unit, used to obtain the switch information of each terminal device in the distribution network automation system before comparing the model information of the target switch with the information of the target switch in the target topology map, wherein the switch information at least includes: the operating status of the switch; a second acquisition unit, used to obtain, for each terminal device in the distribution network automation system, the connection relationship between the terminal device in the distribution network and the node in the distribution network automation system through the business system; a construction unit, used to construct the target topology map based on the switch information and connection relationship of the nodes, terminal devices, distribution lines, and each terminal device in the distribution network automation system.

[0089] Optionally, in the debugging device of the switch of the terminal equipment provided in Example 2 of the present application, the above-mentioned first comparison unit 502 includes: an acquisition subunit, used to obtain the model information of the target switch based on the actual production situation; a third determination subunit, used to determine the first switch information of the target switch based on the target topology map; a comparison subunit, used to compare the model information of the target switch with the first switch information of the target switch to obtain a first comparison result.

[0090] Optionally, in the debugging device for the switch of the terminal device provided in Example 2 of the present application, the above-mentioned remote control debugging instruction includes at least the following instructions: a first instruction and a second instruction, the above-mentioned first instruction is to transmit a preset signal to the target switch, and the above-mentioned second instruction is to transmit an opening signal and a closing signal to the target switch, and the above-mentioned debugging unit 504 includes: a first execution subunit, used to execute the first instruction; a fourth determination subunit, used to, when the first response result does not exist or the response time of the first response result is longer than the preset time, take the failure of the target switch debugging as the debugging result, wherein the first response result is the response result of the first instruction; a second execution subunit, used to execute the second instruction when the first response result is a successful response; a generation subunit, used to, when the second response result exists and the response time of the second response result is shorter than the preset time, generate a debugging result based on the first response result and the second response result, and display the debugging result in the target device, wherein the second response result is the response result of the second instruction.

[0091] Optionally, in the debugging device for the switch of the terminal equipment provided in Example 2 of the present application, the above-mentioned device also includes: a third acquisition unit, used to obtain permission information before determining the label information of the target switch, wherein the permission information includes operation permission information of each operator; a fourth acquisition unit, used to obtain login information of the target object, and obtain the operation permission information of the target object based on the login information and the permission information; a first execution unit, used to execute the step of determining the label information of the target switch when the operation permission information of the target object includes preset operation permissions.

[0092] Optionally, in the debugging device for the switch of the terminal equipment provided in Example 2 of the present application, the above-mentioned device also includes: a verification unit, which is used to verify the IP information and group number information of the target switch to obtain a verification result before debugging the target switch according to the remote control debugging instruction to obtain the debugging result; a receiving unit, which is used to receive the first operation password of the target object and the second operation password of the first object when the verification result is a passed verification, wherein the first object is an object for supervising the remote control debugging operation of the target object; a second execution unit, which is used to execute the step of debugging the target switch according to the remote control debugging instruction to obtain the debugging result when both the first operation password and the second operation password are correct.

[0093] Optionally, in the debugging device for the switch of the terminal device provided in Example 2 of the present application, the above-mentioned device also includes: a second comparison unit, used to compare the model information of the target switch with the information of the target switch in the target topology map to obtain a first comparison result, and then compare the model information of the target switch with the second switch information of the target switch in the target database to obtain a second comparison result; a third execution unit, used to execute the step of generating a debugging request when both the first comparison result and the second comparison result indicate that the information of the target switch is the same.

[0094] The debugging device of the switch of the terminal device includes a processor and a memory. The above-mentioned determination unit 501, first comparison unit 502, positioning unit 503 and debugging unit 504 are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0095] The processor includes a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the security of the distribution network terminal equipment can be improved by adjusting the kernel parameters.

[0096] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0097] Embodiment 3 of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, a method for debugging a switch of a terminal device is implemented.

[0098] A fourth embodiment of the present invention provides a processor, which is used to run a program, wherein the program executes a debugging method for a switch of a terminal device when the program is running.

[0099] like Figure 6As shown, embodiment 5 of the present invention provides an electronic device, the device includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program: determining a target switch to be tested, and determining label information of the target switch, wherein the target switch represents a switch that controls a terminal device; when the label information includes preset label information, comparing the model information of the target switch with the information of the target switch in a target topology map to obtain a first comparison result, wherein the target topology map represents the relationship between nodes, terminal devices, and distribution lines in a distribution network automation system; when the first comparison result indicates that the information of the target switch is the same, generating a debugging request, and locating a target position of the target switch in the target topology map according to the debugging request; generating a remote control debugging instruction according to the target position, and debugging the target switch according to the remote control debugging instruction to obtain a debugging result.

[0100] When the processor executes the program, the following steps are also implemented: determining the label information of the target switch, including: determining a first switch set and a second switch set based on a target database, wherein the target database includes at least information about each terminal device in the distribution network automation system, and the information of each terminal device includes at least switch information of each terminal device, the first switch set is a set of switches that have not been debugged, and the second switch set is a set of switches to be debugged within a preset time period; when the first switch set includes the target switch, or the second switch set includes the target switch, determining that the label information of the target switch is preset label information.

[0101] When the processor executes the program, the following steps are also implemented: before comparing the model information of the target switch with the information of the target switch in the target topology map, the above method also includes: obtaining the switch information of each terminal device in the distribution network automation system, wherein the switch information at least includes: the switch operation status; for each terminal device in the distribution network automation system, obtaining the connection relationship between the terminal device in the distribution network and the node in the distribution network automation system through the business system; constructing the target topology map based on the switch information and connection relationship of the nodes, terminal devices, distribution lines, and each terminal device in the distribution network automation system.

[0102] When the processor executes the program, the following steps are also implemented: comparing the model information of the target switch with the information of the target switch in the target topology map to obtain a first comparison result, including: acquiring the model information of the target switch according to the actual production situation; determining the first switch information of the target switch according to the target topology map; comparing the model information of the target switch with the first switch information of the target switch to obtain a first comparison result.

[0103] When the processor executes the program, the following steps are also implemented: the above-mentioned remote control debugging instruction includes at least the following instructions: a first instruction and a second instruction, the above-mentioned first instruction is to transmit a preset signal to the target switch, and the above-mentioned second instruction is to transmit an opening signal and a closing signal to the target switch, and the target switch is debugged according to the remote control debugging instruction to obtain a debugging result, including: executing the first instruction; when the first response result does not exist or the response time of the first response result is longer than the preset time, taking the failure of debugging the target switch as the debugging result, wherein the first response result is the response result of the first instruction; when the first response result is a successful response, executing the second instruction; when the second response result exists and the response time of the second response result is shorter than the preset time, generating a debugging result according to the first response result and the second response result, and displaying the debugging result in the target device, wherein the second response result is the response result of the second instruction.

[0104] When the processor executes the program, the following steps are also implemented: before determining the label information of the target switch, the above method also includes: obtaining permission information, wherein the permission information includes operation permission information of each operator; obtaining login information of the target object, and obtaining the operation permission information of the target object based on the login information and the permission information; when the operation permission information of the target object includes preset operation permissions, executing the step of determining the label information of the target switch.

[0105] The processor also implements the following steps when executing the program: before debugging the target switch according to the remote control debugging instruction and obtaining the debugging result, the above method also includes: verifying the IP information and group number information of the target switch to obtain the verification result; when the verification result is that the verification passes, receiving the first operation password of the target object and the second operation password of the first object, wherein the first object is the object that supervises the remote control debugging operation of the target object; when the first operation password and the second operation password are both correct, executing the step of debugging the target switch according to the remote control debugging instruction to obtain the debugging result.

[0106] When the processor executes the program, the following steps are also implemented: after comparing the model information of the target switch with the information of the target switch in the target topology map to obtain a first comparison result, the above method also includes: comparing the model information of the target switch with the second switch information of the target switch in the target database to obtain a second comparison result; when the first comparison result and the second comparison result both indicate that the information of the target switch is the same, the step of generating a debugging request is executed.

[0107] The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0108] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: determining a target switch to be tested, and determining label information of the target switch, wherein the target switch represents a switch that controls a terminal device; when the label information includes preset label information, comparing the model information of the target switch with the information of the target switch in a target topology map to obtain a first comparison result, wherein the target topology map represents the relationship between nodes, terminal devices and distribution lines in a distribution network automation system; when the first comparison result indicates that the information of the target switch is the same, generating a debugging request, and locating a target position of the target switch in the target topology map according to the debugging request; generating a remote control debugging instruction according to the target position, and debugging the target switch according to the remote control debugging instruction to obtain a debugging result.

[0109] When executed on a data processing device, it is also suitable for executing a program initialized with the following method steps: determining the label information of the target switch, including: determining a first switch set and a second switch set based on a target database, wherein the target database at least includes information of each terminal device in the distribution network automation system, and the information of each terminal device at least includes switch information of each terminal device, the first switch set is a set of switches that have not been debugged, and the second switch set is a set of switches to be debugged within a preset time period; when the first switch set contains the target switch, or the second switch set contains the target switch, determining that the label information of the target switch is preset label information.

[0110] When executed on a data processing device, it is also suitable for executing a program that initializes the following method steps: before comparing the model information of the target switch with the information of the target switch in the target topology map, the above method also includes: obtaining the switch information of each terminal device in the distribution network automation system, wherein the switch information at least includes: the switch operation status; for each terminal device in the distribution network automation system, obtaining the connection relationship between the terminal device in the distribution network and the node in the distribution network automation system through the business system; constructing the target topology map based on the switch information and connection relationship of the nodes, terminal devices, distribution lines, and each terminal device in the distribution network automation system.

[0111] When executed on a data processing device, it is also suitable for executing an initialized program having the following method steps: comparing the model information of the target switch with the information of the target switch in the target topology map to obtain a first comparison result, including: obtaining the model information of the target switch according to the actual production situation; determining the first switch information of the target switch according to the target topology map; comparing the model information of the target switch with the first switch information of the target switch to obtain a first comparison result.

[0112] When executed on a data processing device, it is also suitable for executing a program initialized with the following method steps: the above-mentioned remote control debugging instruction at least includes the following instructions: a first instruction and a second instruction, the above-mentioned first instruction is to transmit a preset signal to the target switch, and the above-mentioned second instruction is to transmit an opening signal and a closing signal to the target switch, and the target switch is debugged according to the remote control debugging instruction to obtain a debugging result, including: executing the first instruction; if the first response result does not exist, or the response time of the first response result is longer than the preset time, taking the failure of debugging the target switch as the debugging result, wherein the first response result is the response result of the first instruction; if the first response result is a successful response, executing the second instruction; if the second response result exists and the response time of the second response result is shorter than the preset time, generating a debugging result according to the first response result and the second response result, and displaying the debugging result in the target device, wherein the second response result is the response result of the second instruction.

[0113] When executed on a data processing device, it is also suitable for executing a program initialized with the following method steps: before determining the label information of the target switch, the above method also includes: obtaining permission information, wherein the permission information includes operation permission information of each operator; obtaining login information of the target object, and obtaining the operation permission information of the target object based on the login information and the permission information; when the operation permission information of the target object includes preset operation permissions, executing the step of determining the label information of the target switch.

[0114] When executed on a data processing device, it is also suitable for executing an initialized program having the following method steps: before debugging the target switch according to the remote control debugging instruction and obtaining the debugging result, the above method also includes: verifying the IP information and group number information of the target switch to obtain the verification result; when the verification result is that the verification passes, receiving the first operation password of the target object and the second operation password of the first object, wherein the first object is an object for supervising the remote control debugging operation of the target object; when the first operation password and the second operation password are both correct, executing the step of debugging the target switch according to the remote control debugging instruction to obtain the debugging result.

[0115] When executed on a data processing device, it is also suitable for executing a program that is initialized with the following method steps: after comparing the model information of the target switch with the information of the target switch in the target topology map to obtain a first comparison result, the above method also includes: comparing the model information of the target switch with the second switch information of the target switch in the target database to obtain a second comparison result; when the first comparison result and the second comparison result both indicate that the information of the target switch is the same, executing the step of generating a debugging request.

[0116] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0117] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0118] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0119] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0120] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0121] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0122] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0123] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0124] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0125] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for debugging a switch of a terminal device, characterized in that: include: Determine a target switch to be tested, and determine label information of the target switch, wherein the target switch represents a switch that controls a terminal device; In the case where the tag information includes preset tag information, the model information of the target switch is compared with the information of the target switch in the target topology map to obtain a first comparison result, wherein the target topology map represents the relationship between the nodes in the distribution network automation system, the terminal devices and the distribution lines; If the first comparison result indicates that the information of the target switches is the same, generating a debugging request, and locating a target position of the target switch in the target topology map according to the debugging request; A remote control debugging instruction is generated according to the target position, and the target switch is debugged according to the remote control debugging instruction to obtain a debugging result.

2. The method according to claim 1, characterized in that Determining the label information of the target switch includes: Determine a first switch set and a second switch set according to a target database, wherein the target database includes at least information of each terminal device in the distribution network automation system, the information of each terminal device includes at least switch information of each terminal device, the first switch set is a set of switches that have not been debugged, and the second switch set is a set of switches to be debugged within a preset time period; When the first switch set includes the target switch, or the second switch set includes the target switch, it is determined that the label information of the target switch is the preset label information.

3. The method according to claim 1, characterized in that Before comparing the model information of the target switch with the information of the target switch in the target topology map, the method further includes: Obtaining switch information of each terminal device in the distribution network automation system, wherein the switch information at least includes: switch operation status; For each terminal device in the distribution network automation system, obtaining a connection relationship between the terminal device and a node in the distribution network automation system through a business system; The target topology diagram is constructed according to the nodes in the distribution network automation system, the terminal devices, the distribution lines, the switch information of each terminal device and the connection relationship.

4. The method according to claim 3, characterized in that Comparing the model information of the target switch with the information of the target switch in the target topology map to obtain a first comparison result includes: Acquiring model information of the target switch according to a preset information system; Determining first switch information of the target switch according to the target topology map; The model information of the target switch is compared with the first switch information of the target switch to obtain the first comparison result.

5. The method according to claim 1, characterized in that The remote control debugging instruction at least includes the following instructions: a first instruction and a second instruction, wherein the first instruction is to transmit a preset signal to the target switch, and the second instruction is to transmit an opening signal and a closing signal to the target switch, and the target switch is debugged according to the remote control debugging instruction to obtain a debugging result, including: executing the first instruction; In the case where the first response result does not exist or the response time of the first response result is longer than the preset time, taking the target switch debugging failure as the debugging result, wherein the first response result is the response result of the first instruction; If the first response result is a successful response, executing the second instruction; When a second response result exists and a response time of the second response result is less than a preset time, the debugging result is generated based on the first response result and the second response result, and the debugging result is displayed on the target device, wherein the second response result is a response result of the second instruction.

6. The method according to claim 1, characterized in that Before determining the label information of the target switch, the method further includes: Acquiring authority information, wherein the authority information includes operation authority information of each operator; Obtaining login information of the target object, and obtaining operation permission information of the target object based on the login information and the permission information; In a case where the operation permission information of the target object includes a preset operation permission, a step of determining the label information of the target switch is performed.

7. The method according to claim 6, characterized in that Before debugging the target switch according to the remote control debugging instruction to obtain the debugging result, the method further includes: Verify the IP information and group number information of the target switch to obtain a verification result; When the verification result is that the verification is passed, receiving a first operation password of the target object and a second operation password of the first object, wherein the first object is an object that supervises the remote control debugging operation of the target object; When the first operation password and the second operation password are both correct, the step of debugging the target switch according to the remote control debugging instruction to obtain a debugging result is performed.

8. The method according to claim 2, characterized in that: After comparing the model information of the target switch with the information of the target switch in the target topology map to obtain a first comparison result, the method further includes: Comparing the model information of the target switch with the second switch information of the target switch in the target database to obtain a second comparison result; When both the first comparison result and the second comparison result indicate that the information of the target switch is the same, a step of generating a debugging request is performed.

9. A debugging device for a switch of a terminal device, characterized in that: include: A determination unit, configured to determine a target switch to be tested and determine label information of the target switch, wherein the target switch represents a switch that controls a terminal device; A first comparison unit, configured to compare the model information of the target switch with the information of the target switch in a target topology map to obtain a first comparison result when the tag information includes preset tag information, wherein the target topology map represents the relationship between the node, the terminal device and the distribution line in the distribution network automation system; a positioning unit, configured to generate a debugging request when the first comparison result indicates that the information of the target switch is the same, and locate the target position of the target switch in the target topology map according to the debugging request; The debugging unit is used to generate a remote control debugging instruction according to the target position, and debug the target switch according to the remote control debugging instruction to obtain a debugging result.

10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the debugging method of the switch of the terminal device as described in any one of claims 1 to 8.

Citation Information

Patent Citations

  • Power distribution network three-remote switch remote control anti-error enhancement verification method

    CN110994800A

  • Power distribution network topology model generation method and terminal equipment

    CN113507117A