Communication fault location method, device and electronic equipment based on distribution network

By generating and propagating lock values ​​in the distribution network to locate communication faults, the problem of low positioning efficiency of communication faults in the distribution network is solved, and the effect of automated troubleshooting and reducing labor costs is achieved.

CN119135517BActive Publication Date: 2025-02-25ZHONGSHAN POWER SUPPLY BUREAU OF GUANGDONG POWER GRID
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411616636.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-13
Publication Date
2025-02-25
Estimated Expiration
2044-11-13

AI Technical Summary

Technical Problem

In the distribution network, when a device encounters communication failure, it is difficult for the existing technology to efficiently locate the fault, resulting in a long recovery time and affecting the safe operation of the power grid.

Method used

By generating the lock value of the N-bit binary string, it indicates the device that has a communication failure. The first bit of the lock value is the target preset value and is sent to the device other than the first device in the distribution network. Receive the result to determine the location of the fault.

Benefits of technology

It realizes automatic detection of communication faults of distribution networks without manual intervention, reduces the labor cost required for troubleshooting, and improves the operating efficiency and fault self-healing ability of distribution networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119135517B_ABST
    Figure CN119135517B_ABST
Patent Text Reader

Abstract

The present application discloses a communication fault location method, device and electronic device based on a distribution network, and relates to the technical field of distribution network and the technical field of digital information transmission. The method includes: when a communication fault is detected in the Ith device in the distribution network, a blocking value of the Ith device is generated, wherein the blocking value is an N-bit binary string, the value on the Ith bit of the blocking value is a target preset value, and I is a positive integer less than or equal to N; the blocking value of the Ith device is sent to devices other than the Ith device in the distribution network; according to the reception result of the blocking value by the devices other than the Ith device in the distribution network, the communication fault location in the distribution network is determined. The present application solves the technical problem of poor communication fault location efficiency in the prior art when a communication fault occurs in a device in the distribution network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power distribution network and the technical field of digital information transmission, and in particular to a communication fault location method, device and electronic equipment based on a power distribution network. Background Art

[0002] The distribution network is an important part of the power system, and its operating stability directly affects the reliability of the power system. With the acceleration of urbanization, the scale and complexity of the distribution network are increasing, and the frequency of faults is also increasing. In order to improve the operating efficiency and reliability of the distribution network and reduce the impact of faults, distribution network automation technology has emerged. Among them, the intelligent distributed system is an important distribution network automation technology. It realizes rapid fault location and isolation in a distributed manner, improves the self-healing ability and operating efficiency of the distribution network. Power system protection technology is an important means to ensure the safe and stable operation of the distribution network. It monitors and analyzes the operating status of the distribution network in real time, timely discovers and handles potential faults, prevents faults from expanding, and ensures the safe operation of the distribution network.

[0003] However, with the development of intelligent power system, the communication between power equipment is more and more, various communication signals and data transmission rates are getting faster and faster, the communication volume is getting larger and larger, and the probability of failure in the communication network is also increasing. When a failure occurs in the communication network, the various devices cannot communicate with each other and cannot be restored in time, which has a serious impact. It is difficult to analyze the cause of the failure and the failure recovery time is long, which brings hidden dangers to the safe operation of the power grid. Therefore, a method of real-time monitoring of whether the communication network has a failure and timely handling of the failure is needed.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The present application provides a communication fault location method, device and electronic device based on a distribution network, so as to at least solve the technical problem of poor communication fault location efficiency existing in the prior art when a communication fault occurs in a device in the distribution network.

[0006] According to one aspect of the present application, a method for locating communication faults based on a distribution network is provided, which is applied to a distribution network composed of at least N devices, where N is an integer greater than 1, wherein a direct communication connection or an indirect communication connection is established between different devices among the N devices, and the method for locating communication faults based on the distribution network includes: when a communication fault is detected in an Ith device in the distribution network, a locking value for the Ith device is generated, wherein the locking value is an N-bit binary string, the value on the Ith bit of the locking value is a target preset value, and I is a positive integer less than or equal to N; the locking value of the Ith device is sent to devices other than the Ith device in the distribution network; and the communication fault location in the distribution network is determined based on the reception result of the locking value by the devices other than the Ith device in the distribution network.

[0007] Optionally, before generating the locking value of the Ith device, the communication fault locating method based on the distribution network also includes: controlling the Ith device and the first device to send heartbeat messages to each other, wherein the first device is a device in the distribution network that is directly communicatively connected to the Ith device; when the Ith device does not receive the heartbeat message from the first device for more than a preset time, or when the first device does not receive the heartbeat message from the Ith device for more than a preset time, it is determined that a communication failure occurs between the Ith device and the first device.

[0008] Optionally, generating a locking value for the Ith device includes: allocating a corresponding placeholder for the Ith device according to the order of the Ith device in N devices, wherein the placeholder corresponding to the Ith device is the Ith placeholder in the N-bit string; generating a locking value for the Ith device according to the placeholder corresponding to the Ith device.

[0009] Optionally, based on the placeholder corresponding to the Ith device, a locking value of the Ith device is generated, including: obtaining an initial binary string of N bits, wherein each bit of the initial binary string is an initial preset value, and the initial preset value is different from a target preset value; using the placeholder corresponding to the Ith device as the target placeholder; modifying the initial preset value on the target placeholder in the initial binary string to the target preset value; and using the modified initial binary string as the locking value of the Ith device.

[0010] Optionally, after determining the location of the communication fault in the distribution network based on the reception result of the locking value by devices other than the Ith device in the distribution network, the communication fault locating method based on the distribution network also includes: detecting whether the communication fault of the Ith device has returned to normal; when the communication fault of the Ith device has returned to normal, generating a reset value for the Ith device, wherein the reset value is an N-bit binary string with an initial preset value at the Ith bit; and sending the reset value of the Ith device to devices other than the Ith device in the distribution network.

[0011] Optionally, the communication fault locating method based on the distribution network also includes: when communication faults occur in X devices among the N devices, all the initial preset values ​​on the X placeholders corresponding to the X devices in the initial binary string are modified to target preset values ​​to obtain a target locking value corresponding to the X devices, where X is an integer greater than 1 and less than or equal to N.

[0012] Optionally, the communication fault location in the distribution network is determined based on the reception result of the locking value by devices other than the Ith device in the distribution network, including: taking the device in the distribution network that successfully receives the locking value as the second device; taking the device in the distribution network that fails to successfully receive the locking value as the third device; and determining the communication fault location in the distribution network based on the topological relationship among the second device, the third device and the Ith device in the distribution network.

[0013] According to another aspect of the present application, a communication fault locating device based on a distribution network is also provided, which is applied to a distribution network composed of at least N devices, N is an integer greater than 1, wherein a direct communication connection or an indirect communication connection is established between different devices among the N devices, and the communication fault locating device based on the distribution network includes: a first processing unit, which is used to generate a locking value of the Ith device when a communication fault is detected in the Ith device in the distribution network, wherein the locking value is an N-bit binary string, the value on the Ith bit of the locking value is a target preset value, and I is a positive integer less than or equal to N; a second processing unit, which is used to send the locking value of the Ith device to devices other than the Ith device in the distribution network; and a third processing unit, which is used to determine the communication fault location in the distribution network based on the reception result of the locking value by devices other than the Ith device in the distribution network.

[0014] According to another aspect of the present application, an electronic device is also provided, wherein the electronic device includes 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 execute any one of the above-mentioned communication fault location methods based on the distribution network.

[0015] According to another aspect of the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is executed, the device where the computer-readable storage medium is located executes any one of the above-mentioned methods for locating communication faults based on the distribution network.

[0016] In the present application, a blocking value is generated for a device with a communication fault. When a communication fault is detected in the Ith device in the distribution network, a blocking value for the Ith device is generated, wherein the blocking value is an N-bit binary string, the value on the Ith bit of the blocking value is a target preset value, and I is a positive integer less than or equal to N. Then, the blocking value of the Ith device is sent to devices other than the Ith device in the distribution network, and the communication fault location in the distribution network is determined according to the reception result of the blocking value by the devices other than the Ith device in the distribution network.

[0017] As can be seen from the above, in the present application, when a device in the distribution network has a communication failure, the device will generate a blocking value and send the blocking value to each device in the distribution network (for example, the blocking value of the Ith device is sent to devices other than the Ith device in the distribution network). Moreover, the blocking value of each device is related to the order of the device in the N devices (for example, the value at the Ith bit of the blocking value of the Ith device is the target preset value). Therefore, after the device with normal communication receives the blocking value, it only needs to parse the blocking value to determine which device in the distribution network has a communication failure according to the position of the target preset value in the blocking value in the binary string.

[0018] It can be seen that the technical solution of the present application achieves the purpose of automatically troubleshooting communication faults in the distribution network without human intervention, and realizes the technical effect of reducing the labor cost required for troubleshooting communication faults in the distribution network, thereby solving the technical problem of poor efficiency in locating communication faults that exists in the prior art when communication faults occur in equipment in the distribution network. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0020] Figure 1 is a flow chart of an optional communication fault location method based on a distribution network according to an embodiment of the present application;

[0021] Figure 2 is a schematic diagram of an optional distribution network topology diagram according to an embodiment of the present application;

[0022] Figure 3 is a schematic diagram of an optional locking value according to an embodiment of the present application;

[0023] Figure 4 is a flow chart of a method for transmitting a blocking value and a reset value of a distribution network according to an embodiment of the present application;

[0024] Figure 5 It is a schematic diagram of an optional communication fault location device based on a distribution network according to an embodiment of the present application. DETAILED DESCRIPTION

[0025] 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.

[0026] 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 interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. 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.

[0027] It should also be noted that the information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) collected by this application are 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 the relevant regions, necessary confidentiality measures are taken, and public order and good customs are not violated, and corresponding operation portals 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.

[0028] According to an embodiment of the present application, an embodiment of a communication fault location method based on a distribution network is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0029] Figure 1 is a flow chart of an optional communication fault location method based on a distribution network according to an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:

[0030] Step S101, when a communication failure is detected in an Ith device in the distribution network, a blocking value of the Ith device is generated.

[0031] In an optional embodiment, a distribution network management system can be used as the execution subject of the communication fault location method based on the distribution network in the embodiment of the present application, wherein the distribution network management system can be a software system or an embedded system combining software and hardware. In addition, it can be understood by those skilled in the art that, in addition to using the above-mentioned distribution network management system as the execution subject, the execution subject of the communication fault location method based on the distribution network in the present application can also be other devices or equipment, and the embodiment of the present application does not specifically limit this. For the convenience of description, the distribution network management system is used as the execution subject below.

[0032] In step S101, the distribution network is composed of at least N devices, where N is an integer greater than 1, and direct or indirect communication connections are established between different devices in the N devices. The N devices may be various devices such as ordinary switches, substations, transformers, tie switches, and power-consuming devices in the distribution network.

[0033] In addition, the locking value of the Ith device is an N-bit binary string, the value on the Ith bit of the locking value is the target preset value, and I is a positive integer less than or equal to N.

[0034] Optionally, taking N=8 as an example, the distribution network includes 8 devices, and direct communication connections or indirect communication connections can be established between different devices among the 8 devices. Figure 2 As shown, a direct communication connection is established between adjacent devices among the 8 devices (for example, device A and device B), and an indirect communication connection is established between non-adjacent devices among the 8 devices (for example, device A and device C, device A and device D).

[0035] Optionally, it is assumed that under normal conditions, communication messages can be exchanged between device C and device B, that is, device C can receive messages sent by device B, and device B can receive messages sent by device C. On this basis, if the distribution network management system detects that device B cannot receive messages sent by device C, or device C cannot receive messages sent by device B, then device B and device C are devices with communication failures, and the cause of the communication failure may be a device failure in device B, a device failure in device C, or a failure in the communication link between device B and device C.

[0036] Optionally, taking the device B having the communication failure as an example, the device B is the second device in the distribution network. Figure 3 As shown, the locking value of device B can be: 00000010, that is, 1 represents the target preset value. For the binary string "00000010", the second bit from right to left is the target preset value "1".

[0037] It should be noted that N=8 is only an example. In practical applications, N may also be other values, for example, 64, 128, or any integer greater than 1.

[0038] Step S102: Send the locking value of the Ith device to devices other than the Ith device in the distribution network.

[0039] Optionally, as in the above example, devices B and C with communication failures will send their corresponding blocking values ​​to other devices in the distribution network except themselves. Here, three situations can be introduced:

[0040] In the first case, assuming that device B itself has a device failure, but device C has not a device failure, the blocking value of device B cannot be sent to other devices, while the blocking value of device C can be received by devices other than device B and device A in the distribution network.

[0041] In the second case, assuming that device C itself has a device failure, but device B has not, the locking value of device B can be received by device A, while the locking value of device C cannot be sent to other devices.

[0042] In the third case, assuming that the communication link between device B and device C fails, the blocking value of device B can be received by device A, and the blocking value of device C can be received by devices other than device B and device A in the distribution network.

[0043] Of course, in extreme cases, there is another situation, that is, both device B and device C have device failures at the same time. In this case, according to the solution of this application, the purpose of locating the communication fault can actually be achieved. Since device B has a device failure, device A cannot communicate with device B; since device C has a device failure, device D cannot communicate with device C. On this basis, device D and device A will also generate blocking values. The distribution network management system can determine that the location of the communication fault is between device A and device D based on the blocking values ​​generated by device A and device D, combined with which devices have received the blocking values ​​generated by device A and which devices have received the blocking values ​​generated by device B.

[0044] Step S103: determining the communication fault location in the distribution network according to the reception result of the blocking value by the devices other than the Ith device in the distribution network.

[0045] Optionally, as in the above example, the distribution network management system can determine which device has a communication failure by analyzing the locking value, and by judging which devices have received the locking value and which devices have not received the locking value, the specific communication fault location in the distribution network can be further determined.

[0046] Based on the contents of the above steps S101 to S103, it can be known that in the present application, a blocking value is generated for a device with a communication fault. When a communication fault is detected in the Ith device in the distribution network, a blocking value for the Ith device is generated, wherein the blocking value is an N-bit binary string, the value on the Ith bit of the blocking value is the target preset value, and I is a positive integer less than or equal to N. Then, the blocking value of the Ith device is sent to devices other than the Ith device in the distribution network, and the communication fault location in the distribution network is determined according to the reception result of the blocking value by the devices other than the Ith device in the distribution network.

[0047] As can be seen from the above, in the present application, when a device in the distribution network has a communication failure, the device will generate a blocking value and send the blocking value to each device in the distribution network (for example, the blocking value of the Ith device is sent to devices other than the Ith device in the distribution network). Moreover, the blocking value of each device is related to the order of the device in the N devices (for example, the value at the Ith bit of the blocking value of the Ith device is the target preset value). Therefore, after the device with normal communication receives the blocking value, it only needs to parse the blocking value to determine which device in the distribution network has a communication failure according to the position of the target preset value in the blocking value in the binary string.

[0048] It can be seen that the technical solution of the present application achieves the purpose of automatically troubleshooting communication faults in the distribution network without human intervention, and realizes the technical effect of reducing the labor cost required for troubleshooting communication faults in the distribution network, thereby solving the technical problem of poor efficiency in locating communication faults that exists in the prior art when communication faults occur in equipment in the distribution network.

[0049] In an optional embodiment, before generating the locking value of the Ith device, the distribution network management system can control the Ith device and the first device to send heartbeat messages to each other, wherein the first device is a device in the distribution network that is directly connected to the Ith device in communication. If the Ith device does not receive the heartbeat message of the first device for more than a preset time, or the first device does not receive the heartbeat message of the Ith device for more than a preset time, it is determined that a communication failure occurs between the Ith device and the first device.

[0050] Optionally, the distribution network management system may detect whether a communication failure occurs in a device in the distribution network by means of a heartbeat message.

[0051] For example, Figure 2 As shown, device A and device B send heartbeat messages to each other. Assuming that the frequency of sending heartbeat messages is once every 5 minutes, considering the impact of network delay, the preset duration is set to 8 minutes. If device A has not received the heartbeat message sent by device B for more than 8 minutes, the distribution network management system determines that both device A and device B are devices with communication failures. Similarly, if device B has not received the heartbeat message sent by device A for more than 8 minutes, the distribution network management system will also determine that both device A and device B are devices with communication failures.

[0052] From the above content, it can be seen that the present application adopts a mechanism in which adjacent devices send heartbeat messages to each other, which can actively detect devices with communication failures, improve the timeliness of alarms for communication failures, and eliminate the need to manually check the communication status of each device, thereby reducing the detection cost of device communication failures.

[0053] In an optional embodiment, when generating the blocking value of the Ith device, the distribution network management system may allocate a corresponding placeholder for the Ith device according to the order of the Ith device in the N devices, wherein the placeholder corresponding to the Ith device is the Ith placeholder in the N-bit string. Then, the distribution network management system may also generate the blocking value of the Ith device according to the placeholder corresponding to the Ith device.

[0054] Optionally, Figure 2 Assume that the second device in the distribution network (i.e. Figure 2 If a communication failure occurs to the device B in the N-bit string, the placeholder corresponding to the device B is the second placeholder in the N-bit string (usually in order from right to left). Subsequently, the distribution network management system can generate the blocking value of the device B according to the placeholder corresponding to the device B.

[0055] It should be noted that the present application binds the order of the communication fault devices among N devices with the placeholders corresponding to the communication fault devices, so that the generated locking values ​​of the communication fault devices are also bound to the order of the communication fault devices among the N devices. Then, when any locking value is obtained, it is possible to reversely analyze which of the N devices the communication fault device is based on the locking value.

[0056] In an optional embodiment, in the process of generating the blocking value of the Ith device according to the placeholder corresponding to the Ith device, the distribution network management system can obtain an N-bit initial binary string, wherein each bit of the initial binary string is an initial preset value, and the initial preset value is different from the target preset value. Then, the distribution network management system can use the placeholder corresponding to the Ith device as the target placeholder, then modify the initial preset value on the target placeholder in the initial binary string to the target preset value, and finally use the modified initial binary string as the blocking value of the Ith device.

[0057] Optionally, when the target preset value is “1”, the initial preset value is “0”; when the target preset value is “0”, the initial preset value is “1”.

[0058] Taking the initial preset value of "0" as an example, when N=8, the initial binary string is "00000000". Assuming that the position corresponding to device B with communication failure is the second position from right to left in the N-bit string, when generating the blocking value of device B, the "0" on the second position from right to left in the initial binary string is changed to "1", so as to obtain the blocking value of device B "00000010".

[0059] In an optional embodiment, after determining the communication fault location in the distribution network according to the reception result of the blocking value by the device other than the I device in the distribution network, the communication fault location method based on the distribution network further includes: the distribution network management system can detect whether the communication fault of the I device is restored to normal, and then generate a reset value of the I device when the communication fault of the I device is restored to normal, wherein the reset value is an N-bit binary string with the initial preset value at the Ith bit. Subsequently, the distribution network management system sends the reset value of the I device to the devices other than the I device in the distribution network.

[0060] Optionally, after determining the location of the communication fault in the distribution network, the distribution network management system can attempt to repair the communication fault by restarting the communication fault device, etc., and of course the communication fault can also be repaired manually. During the repair process of the communication fault, the distribution network management system can also detect whether the communication fault device has returned to normal. If the communication fault device has returned to normal, a reset value for the device is generated. Taking the above-mentioned device B as an example, the reset value of device B is "00000000". In addition, the distribution network management system can also send the reset value of device B to all devices in the distribution network except device B, so that other devices in the distribution network can learn that device B has restored normal communication.

[0061] From the above content, it can be seen that through the design of the reset value, when a device in the distribution network resumes normal communication, the communication interaction between the device and other devices can be automatically restored. This process does not require human intervention, thereby improving the operating efficiency and fault self-healing ability of the distribution network.

[0062] In an optional embodiment, when communication failure occurs in X devices among N devices, the distribution network management system may modify all initial preset values ​​on the X placeholders corresponding to the X devices in the initial binary string to target preset values, and obtain a target locking value corresponding to the X devices, where X is an integer greater than 1 and less than or equal to N.

[0063] Alternatively, if Figure 2 As shown, if device A and device B cannot complete the communication interaction, it means that both device A and device B are devices with communication failures. On this basis, the initial preset values ​​on the corresponding placeholders of device A and device B are modified to the target preset values. Taking the initial preset value as "0" and the target preset value as "1" as an example, the target locking value corresponding to device A and device B is "00000011".

[0064] It can be seen from the above content that no matter how many devices among the N devices have communication anomalies, through the technical solution of the present application, the devices with communication anomalies can be located and marked by generating locking values.

[0065] In an optional embodiment, the communication fault location in the distribution network is determined based on the reception result of the locking value by devices other than the Ith device in the distribution network, including: taking the device in the distribution network that successfully receives the locking value as the second device; taking the device in the distribution network that fails to successfully receive the locking value as the third device; and determining the communication fault location in the distribution network based on the topological relationship among the second device, the third device and the Ith device in the distribution network.

[0066] Alternatively, if Figure 2 As shown, assuming that both device B and device C generate blocking values, and the blocking value of device B is only received by device A, and the blocking value of device C is received by each device in the distribution network except device B and device A, the distribution network management system can determine that there is no device failure between device B and device C, and the location of the communication failure is on the link between device B and device C.

[0067] As can be seen from the above, in the present application, when a device in the distribution network has a communication failure, the device will generate a blocking value and send the blocking value to each device in the distribution network (for example, the blocking value of the Ith device is sent to devices other than the Ith device in the distribution network). Moreover, the blocking value of each device is related to the order of the device in the N devices (for example, the value at the Ith bit of the blocking value of the Ith device is the target preset value). Therefore, after the device with normal communication receives the blocking value of the device with communication failure, it only needs to parse the blocking value to determine which device in the distribution network has a communication failure according to the position of the target preset value in the blocking value in the binary string.

[0068] In an optional embodiment, Figure 4 4 is a flow chart of a method for transmitting a blocking value and a reset value of a distribution network according to an embodiment of the present application, as shown in FIG. 4 , including the following steps:

[0069] Step S401, setting up a "lockout value" and a "reset value".

[0070] Optionally, in the distribution network, each device has a unique device ID, for example, the device ID is A, B, C, D, E. At the same time, the "target preset value" is set to "1", and the initial preset value is set to "0". When the communication between any two devices is interrupted, the device will generate its own "lockout value". Among them, the "lockout value" is an N-bit binary string, and the "lockout value" of the I-th device is a binary string with the I-th bit being "1". If the communication failure of the I-th device is repaired, the "reset value" of the I-th device is generated, and the "reset value" of the I-th device is a binary string with the I-th bit being modified to "0".

[0071] Step S402, using the GOOSE signal to transmit the "locking value" and the "reset value".

[0072] Optionally, in the distribution network, devices communicate with each other via GOOSE signals. The "lockout value" of a device can be sent to its adjacent devices via GOOSE signals. For example, device A is adjacent to device B, and the "lockout value" of device A is sent to device B. If device B receives this "lockout value", then device B sends the "lockout value" to device C, which is also directly connected to device B, and so on, until all devices in the entire distribution network have received this "lockout value". Similarly, the "reset value" of a device will also be sent to its adjacent devices via GOOSE signals to achieve the reset of the entire distribution network communication system.

[0073] Step S403, realizing the full-line locking function.

[0074] Optionally, when any device in the distribution network detects a communication failure, the device with the communication failure will generate its own "lockout value", so that all devices in the entire distribution network will temporarily exit the communication system and enable the backup protection function. When the communication is restored, the device will generate a "reset value" to restore the communication system of the entire distribution network.

[0075] Step S404, locating the communication fault device and the communication fault position.

[0076] Optionally, by detecting the "lockout value" of each device, it is possible to locate which devices in the distribution network have experienced communication interruption. This is because when a device generates a "lockout value", it means that the device has exited the distribution network communication system, so it can be inferred that the communication between the device and the outside world may have been interrupted. At the same time, based on the reception result of the lockout value by each device in the distribution network, the location of the communication fault in the distribution network can also be determined.

[0077] From the above content, it can be seen that this application has achieved the purpose of quickly locating communication faults in the distribution network by introducing the concepts of "lockout value" and "reset value", thereby ensuring the stable operation of the distribution network. At the same time, through the "lockout value", it is possible to clearly know which device has experienced a communication interruption, which provides great convenience for communication maintenance. In addition, through the "reset value", the lockout value of the entire line can be restored, which solves the problem that information mutual transmission cannot be effectively restored. Without manual intervention, it can greatly improve the operating efficiency and self-healing ability of the distribution network.

[0078] According to another aspect of the present application, a communication fault location device based on a distribution network is also provided, which is applied to a distribution network composed of at least N devices, where N is an integer greater than 1, wherein a direct communication connection or an indirect communication connection is established between different devices among the N devices.

[0079] Optionally, Figure 5 is a schematic diagram of an optional communication fault location device based on a distribution network according to an embodiment of the present application, such as Figure 5 As shown, it includes: a first processing unit 501, a second processing unit 502, and a third processing unit 503.

[0080] The first processing unit 501 is used to generate a locking value of the Ith device when a communication fault is detected in the Ith device in the distribution network, wherein the locking value is an N-bit binary string, the value at the Ith bit of the locking value is the target preset value, and I is a positive integer less than or equal to N; the second processing unit 502 is used to send the locking value of the Ith device to devices other than the Ith device in the distribution network; the third processing unit 503 is used to determine the location of the communication fault in the distribution network according to the reception result of the locking value by the devices other than the Ith device in the distribution network.

[0081] Optionally, the communication fault location device based on the power distribution network further includes: a control unit and a determination unit. The control unit is used to control the Ith device and the first device to send heartbeat messages to each other, wherein the first device is a device in the power distribution network that is directly connected to the Ith device in communication; the determination unit is used to determine that a communication fault occurs between the Ith device and the first device when the Ith device does not receive the heartbeat message from the first device for more than a preset time, or when the first device does not receive the heartbeat message from the Ith device for more than a preset time.

[0082] Optionally, the first processing unit 501 includes: a first processing subunit and a second processing subunit. The first processing subunit is used to allocate a corresponding placeholder to the Ith device according to the order of the Ith device in the N devices, wherein the placeholder corresponding to the Ith device is the Ith placeholder in the N-bit string; and the second processing subunit is used to generate a locking value for the Ith device according to the placeholder corresponding to the Ith device.

[0083] Optionally, the second processing subunit includes: an acquisition module, a first processing module, a second processing module, and a third processing module. The acquisition module is used to acquire an N-bit initial binary string, wherein each bit of the initial binary string is an initial preset value, and the initial preset value is different from the target preset value; the first processing module is used to use the placeholder corresponding to the I-th device as the target placeholder; the second processing module is used to modify the initial preset value on the target placeholder in the initial binary string to the target preset value; and the third processing module is used to use the modified initial binary string as the locking value of the I-th device.

[0084] Optionally, the communication fault locating device based on the distribution network further includes: a detection unit, a reset value generating unit and a sending unit. The detection unit is used to detect whether the communication fault of the Ith device has returned to normal; the reset value generating unit is used to generate a reset value of the Ith device when the communication fault of the Ith device has returned to normal, wherein the reset value is an N-bit binary string with an initial preset value at the Ith bit; and the sending unit is used to send the reset value of the Ith device to devices other than the Ith device in the distribution network.

[0085] Optionally, the communication fault locating device based on the distribution network also includes: a target locking value generating unit, which is used to modify all the initial preset values ​​on the X placeholders corresponding to the X devices in the initial binary string to target preset values ​​when communication faults occur in X devices among the N devices, so as to obtain the target locking value corresponding to the X devices in common, wherein X is an integer greater than 1 and less than or equal to N.

[0086] Optionally, the third processing unit includes: a third processing subunit, a fourth processing subunit and a fifth processing subunit. The third processing subunit is used to take the device that successfully receives the blocking value in the distribution network as the second device; the fourth processing subunit is used to take the device that fails to successfully receive the blocking value in the distribution network as the third device; and the fifth processing subunit is used to determine the communication fault location in the distribution network according to the topological relationship among the second device, the third device and the first device in the distribution network.

[0087] According to another aspect of the present application, an electronic device is also provided, wherein the electronic device includes 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 execute any one of the above-mentioned communication fault location methods based on the distribution network.

[0088] According to another aspect of the present application, a computer-readable storage medium is provided, characterized in that a computer program is stored in the computer-readable storage medium, wherein when the computer program is executed, the device where the computer-readable storage medium is located executes any one of the above-mentioned communication fault location methods based on the distribution network.

[0089] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0090] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0091] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0092] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0093] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0094] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0095] The above are only preferred implementations of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A communication fault location method based on a distribution network, applied to a distribution network composed of at least N devices, N is an integer greater than 1, characterized in that: A direct communication connection or an indirect communication connection is established between different devices among the N devices, and the communication fault location method based on the distribution network includes: When a communication failure is detected between an Ith device and a first device in the distribution network, a blocking value of the Ith device and a blocking value of the first device are generated, wherein the blocking value is an N-bit binary string, the value of the Ith bit of the blocking value of the Ith device is a target preset value, I is a positive integer less than or equal to N, the value of the Jth bit of the blocking value of the first device is the target preset value, the first device belongs to the Jth device among the N devices, and J is a positive integer less than or equal to N; Sending the blocking value of the first device to devices other than the first device in the distribution network; sending the blocking value of the first device to devices other than the first device in the distribution network; The communication fault location in the distribution network is determined based on the reception results of the locking value of the I device by devices other than the I device in the distribution network, and the reception results of the locking value of the first device by devices other than the first device in the distribution network.

2. The method for locating communication faults based on distribution network according to claim 1, characterized in that: Before generating the blocking value of the I-th device, the communication fault locating method based on the distribution network further includes: Controlling the first device and the first device to send heartbeat messages to each other, wherein the first device is a device in the distribution network that is directly connected to the first device for communication; When the Ith device does not receive the heartbeat message of the first device for more than a preset time period, or when the first device does not receive the heartbeat message of the Ith device for more than the preset time period, it is determined that a communication failure occurs between the Ith device and the first device.

3. The method for locating communication faults based on distribution network according to claim 1, characterized in that: Generating a locking value of the I-th device, comprising: Allocating a corresponding placeholder to the Ith device according to the order of the Ith device in the N devices, wherein the placeholder corresponding to the Ith device is the Ith placeholder in the N-bit string; Generate a locking value for the Ith device according to the placeholder corresponding to the Ith device.

4. The method for locating communication faults based on distribution network according to claim 3, characterized in that: Generating a locking value of the I-th device according to the placeholder corresponding to the I-th device includes: Obtaining an N-bit initial binary string, wherein each bit of the initial binary string is an initial preset value, and the initial preset value is different from the target preset value; Using the placeholder corresponding to the I-th device as the target placeholder; Modify the initial preset value of the target placeholder in the initial binary string to the target preset value; The modified initial binary string is used as the locking value of the I-th device.

5. The method for locating communication faults based on distribution network according to claim 4, characterized in that: After determining the communication fault location in the distribution network according to the reception result of the blocking value by the device other than the I device in the distribution network, the communication fault location method based on the distribution network further includes: Detecting whether the communication failure of the Ith device is restored to normal; When the communication failure of the I-th device is restored to normal, generating a reset value of the I-th device, wherein the reset value is an N-bit binary string with the initial preset value at the I-th bit; The reset value of the Ith device is sent to devices other than the Ith device in the distribution network.

6. The method for locating communication faults based on distribution network according to claim 4, characterized in that: The communication fault location method based on the distribution network also includes: In the event that communication failures occur in X devices among the N devices, all initial preset values ​​on the X placeholders corresponding to the X devices in the initial binary string are modified to the target preset values ​​to obtain a target locking value corresponding to the X devices, where X is an integer greater than 1 and less than or equal to N.

7. The method for locating communication faults based on distribution network according to claim 4, characterized in that: Determining a communication fault location in the distribution network according to a reception result of a blocking value of the first device by a device other than the first device in the distribution network and a reception result of a blocking value of the first device by a device other than the first device in the distribution network, comprising: Using a device in the distribution network that successfully receives the blocking value of the first device as a second device; Using a device in the distribution network that has not successfully received the blocking value of the first device as a third device; taking a device in the distribution network that successfully receives the blocking value of the first device as a fourth device; taking a device in the distribution network that has not successfully received the blocking value of the first device as a fifth device; Determine a communication fault location in the distribution network according to a topological relationship among the second device, the third device, the fourth device, the fifth device, the first device, and the first device in the distribution network.

8. A communication fault location device based on a distribution network, applied to a distribution network composed of at least N devices, where N is an integer greater than 1, characterized in that: A direct communication connection or an indirect communication connection is established between different devices among the N devices, and the communication fault locating device based on the distribution network includes: a first processing unit, configured to generate a blocking value of the Ith device and a blocking value of the first device when a communication failure is detected between the Ith device and the first device in the distribution network, wherein the blocking value of the Ith device is an N-bit binary string, the value at the Ith bit of the blocking value is a target preset value, I is a positive integer less than or equal to N, the value at the Jth bit of the blocking value of the first device is the target preset value, the first device belongs to the Jth device among the N devices, and J is a positive integer less than or equal to N; a second processing unit, configured to send the blocking value of the first device to devices other than the first device in the distribution network; and send the blocking value of the first device to devices other than the first device in the distribution network; and a third processing unit, for determining a communication fault location in the distribution network based on a reception result of a blocking value of the Ith device by devices other than the Ith device in the distribution network, and a reception result of a blocking value of the first device by devices other than the first device in the distribution network.

9. 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 execute the communication fault location method based on the distribution network as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located executes the communication fault location method based on the distribution network according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Fault diagnosis method of power distribution network in power distribution system

    CN106849354A

  • Low-voltage distribution area topology level identification method, device and equipment based on synchronous counting method

    CN111404270A