A communication configuration method and device for distribution network loop network differential protection, electronic equipment and storage medium

By automatically disconnecting and restoring the fiber optic links of the differential protection device and updating the static routing table, the adaptiveness problem of the differential protection communication configuration in the distribution network ring network is solved, achieving efficient and reliable communication configuration when equipment is replaced due to faults, reducing operation and maintenance costs and improving power supply reliability.

CN122137459APending Publication Date: 2026-06-02POWER DISPATCHING CONTROL CENT OF GUANGDONG POWER GRID CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
POWER DISPATCHING CONTROL CENT OF GUANGDONG POWER GRID CO LTD
Filing Date
2026-03-11
Publication Date
2026-06-02

Smart Images

  • Figure CN122137459A_ABST
    Figure CN122137459A_ABST
Patent Text Reader

Abstract

This invention discloses a communication configuration method, device, electronic equipment, and storage medium for differential protection of distribution network ring networks, belonging to the field of power automation technology. The method includes: disconnecting all differential protection circuits within the first target differential ring where the fault differential protection device is located; disconnecting the optical fiber link between the fault protection device and other differential protection devices; after replacing the fault differential protection device with a new differential protection device, restoring the optical fiber link between the new differential protection device and other differential protection devices; controlling the static routing table corresponding to the first target differential ring to be updated, setting the differential protection activation identifier of the first target differential ring in the static routing table, and the differential protection activation identifier of each differential protection device within the first target differential ring, to the corresponding activation status identifier. Therefore, by implementing this invention, the problems of existing technologies that rely on manual on-site parameter setting, resulting in high cost and low reliability can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power automation technology, and in particular to a communication configuration method, device, electronic equipment, and storage medium for differential protection of distribution network ring networks. Background Technology

[0002] When a ring network technology scheme is adopted for multi-terminal differential protection of distribution network, each differential protection device is installed at the substation or branch line point. All protection devices are connected through a fiber optic ring network scheme. Each differential protection device sends its own information to the differential protection devices of other nodes through the ring network. The differential protection device of each node can obtain the analog and switching information of all nodes in the ring network, realize independent differential protection calculation of each node, and thus realize the differential protection function of the entire distribution network.

[0003] However, due to the complex topology of distribution network lines, dynamic and ever-changing operating conditions, and frequent equipment failures and replacements, the number of nodes, communication links, and data interaction requirements within the ring network need to be reconfigured. Traditional static communication configuration relies on manual on-site parameter setting, which not only struggles to adapt to real-time changes in topology and operating conditions but also carries risks such as configuration lag and parameter mismatch. This significantly increases the time and labor costs of on-site maintenance and easily leads to serious problems such as differential protection malfunctions and failures to operate, directly threatening the reliability of distribution network power supply and equipment safety. Summary of the Invention

[0004] This invention provides a communication configuration method, device, electronic equipment, and storage medium for differential protection of distribution network ring networks, which can solve the problems of high cost and low reliability caused by relying on manual on-site parameter setting in the prior art.

[0005] To address the aforementioned technical problems, embodiments of the present invention provide a communication configuration method for differential protection of distribution network ring networks, including: When a differential protection device malfunctions and needs to be replaced, the differential ring where the malfunctioning differential protection device is located is designated as the first target differential ring, and the differential protection circuits of all differential protection devices within the first target differential ring are disconnected; wherein, a differential ring contains several differential protection devices, and the differential protection devices within the same differential ring communicate with each other; Take other normal differential protection devices in the first target differential ring as the first target differential protection devices, control the power supply of the fault protection device to shut down, disconnect the optical fiber link between the fault protection device and each first target differential protection device, and interrupt the communication between the first target differential protection device and other differential protection devices. After replacing the faulty differential protection device with a new differential protection device, restore the fiber optic link connection between the new differential protection device and each first target differential protection device, and restore the differential protection circuit and communication of all differential protection devices in the first target differential ring. The static routing table corresponding to the first target differential ring is updated, and the differential protection activation flag of the first target differential ring and the differential protection activation flag of each differential protection device in the first target differential ring are set to the corresponding activation status flags.

[0006] As a preferred option, it also includes: When a differential protection device needs to be repaired, the differential ring where the differential protection device under repair is located is taken as the second target differential ring. The differential protection circuit corresponding to the differential protection device under repair is cut off, and the differential protection device under repair is controlled to broadcast a first data frame containing a preset first maintenance flag bit in the second target differential ring. The first maintenance flag bit is used to indicate that the differential protection device under repair is in maintenance status. The other differential protection devices in the second target differential ring are taken as the second target differential protection devices. When the second target differential protection device receives the first data frame, it determines the first differential protection logic corresponding to the second target differential ring according to the electrical quantity information of each second target differential protection device, and performs corresponding differential protection according to the first differential protection logic. After the differential protection device is repaired, the repaired differential protection device is controlled to broadcast a second data frame containing a preset second maintenance flag bit in the second target differential loop; wherein, the second maintenance flag bit is used to indicate that the repair of the differential protection device has been completed. After the second target differential protection device receives the second data frame, it determines the second differential protection logic corresponding to the second target differential ring based on the electrical quantity information of each second target differential protection device and the overhauled differential protection device, and performs corresponding differential protection according to the second differential protection logic.

[0007] As a preferred option, it also includes: When a differential protection device needs to be removed from the differential ring, the differential ring where the differential protection device is removed is designated as the third target differential ring, and the differential protection circuits of all differential protection devices in the third target differential ring are disconnected. The other differential protection devices within the third target differential ring are used as the third target differential protection devices. The power supply of the device for removing the differential protection device is turned off, the fiber optic link between the removed differential protection device and each third target differential protection device is disconnected, and the communication between the third target differential protection device and other differential protection devices is interrupted. After removing the differential protection device from the third target differential ring, restore the fiber optic link connection between each third target differential protection device, and restore the differential protection circuit and communication of each third target differential protection device in the third target differential ring; The static routing table corresponding to the third target differential ring is updated, the information on removing differential protection devices in the static routing table is removed, and the differential protection activation flag of the third target differential ring in the static routing table and the differential protection activation flag of each third target differential protection device in the third target differential ring are set to the corresponding activation status flag.

[0008] As a preferred option, it also includes: When a differential protection device needs to be added to a differential ring, the differential ring that needs to be added to the differential ring is designated as the fourth target differential ring, and the differential protection circuits of all differential protection devices in the fourth target differential ring are disconnected. Disconnect the fiber optic link between the two differential protection devices at both ends of the branch where the new differential protection device is located, connect the two fiber optic ports of the new differential protection device to the disconnected fiber optic ports of the two differential protection devices respectively, and restore the differential protection circuit and communication of all differential protection devices in the fourth target differential ring. The static routing table corresponding to the fourth target differential ring is updated. Information about the newly added differential protection device is added to the static routing table. The differential protection activation identifier of the fourth target differential ring and the differential protection activation identifier of all differential protection devices in the fourth target differential ring are set to the corresponding activation status identifiers.

[0009] Based on the above embodiments, another embodiment of the present invention provides a communication configuration device for differential protection of distribution network ring network, including: a differential protection circuit disconnection module, a communication interruption module, a communication recovery module, and a static routing table update module; The differential protection circuit disconnection module is used to, when a differential protection device fails and needs to be replaced, designate the differential ring where the faulty differential protection device is located as the first target differential ring and disconnect the differential protection circuits of all differential protection devices within the first target differential ring; wherein, a differential ring contains a number of differential protection devices, and the differential protection devices within the same differential ring communicate with each other; The communication interruption module is used to treat other normal differential protection devices in the first target differential ring as the first target differential protection devices, control the power supply of the fault protection device to shut down, disconnect the optical fiber link connection between the fault protection device and each first target differential protection device, and interrupt the communication between the first target differential protection device and other differential protection devices. The communication recovery module is used to restore the fiber optic link connection between the new differential protection device and each first target differential protection device after the faulty differential protection device is replaced with a new differential protection device, and to restore the differential protection circuit and communication of all differential protection devices in the first target differential ring. The static routing table update module is used to control the static routing table corresponding to the first target differential ring to be updated, and to set the differential protection activation flag of the first target differential ring in the static routing table, as well as the differential protection activation flag of each differential protection device in the first target differential ring, to the corresponding activation status flag.

[0010] As a preferred option, it also includes: a differential protection device maintenance module; The differential protection device maintenance module is used to, when a differential protection device needs maintenance, take the differential loop where the differential protection device under maintenance is located as the second target differential loop, disconnect the differential protection circuit corresponding to the differential protection device under maintenance, and control the differential protection device under maintenance to broadcast a first data frame containing a preset first maintenance flag bit in the second target differential loop; wherein, the first maintenance flag bit is used to indicate that the differential protection device under maintenance is in maintenance status; The other differential protection devices in the second target differential ring are taken as the second target differential protection devices. When the second target differential protection device receives the first data frame, it determines the first differential protection logic corresponding to the second target differential ring according to the electrical quantity information of each second target differential protection device, and performs corresponding differential protection according to the first differential protection logic. After the differential protection device is repaired, the repaired differential protection device is controlled to broadcast a second data frame containing a preset second maintenance flag bit in the second target differential loop; wherein, the second maintenance flag bit is used to indicate that the repair of the differential protection device has been completed. After the second target differential protection device receives the second data frame, it determines the second differential protection logic corresponding to the second target differential ring based on the electrical quantity information of each second target differential protection device and the overhauled differential protection device, and performs corresponding differential protection according to the second differential protection logic.

[0011] As a preferred option, it also includes: a differential protection device removal module; The differential protection device removal module is used to, when a differential protection device needs to be removed from the differential ring, designate the differential ring where the differential protection device is located as the third target differential ring, and cut off the differential protection circuits of all differential protection devices in the third target differential ring. The other differential protection devices within the third target differential ring are used as the third target differential protection devices. The power supply of the device for removing the differential protection device is turned off, the fiber optic link between the removed differential protection device and each third target differential protection device is disconnected, and the communication between the third target differential protection device and other differential protection devices is interrupted. After removing the differential protection device from the third target differential ring, restore the fiber optic link connection between each third target differential protection device, and restore the differential protection circuit and communication of each third target differential protection device in the third target differential ring; The static routing table corresponding to the third target differential ring is updated, the information on removing differential protection devices in the static routing table is removed, and the differential protection activation flag of the third target differential ring in the static routing table and the differential protection activation flag of each third target differential protection device in the third target differential ring are set to the corresponding activation status flag.

[0012] As a preferred option, it also includes: adding a new module to the differential protection device; The differential protection device addition module is used to designate the differential ring requiring the addition of a differential protection device as the fourth target differential ring when a new differential protection device needs to be added within a differential ring, and to cut off the differential protection circuits of all differential protection devices within the fourth target differential ring. Disconnect the fiber optic link between the two differential protection devices at both ends of the branch where the new differential protection device is located, connect the two fiber optic ports of the new differential protection device to the disconnected fiber optic ports of the two differential protection devices respectively, and restore the differential protection circuit and communication of all differential protection devices in the fourth target differential ring. The static routing table corresponding to the fourth target differential ring is updated. Information about the newly added differential protection device is added to the static routing table. The differential protection activation identifier of the fourth target differential ring and the differential protection activation identifier of all differential protection devices in the fourth target differential ring are set to the corresponding activation status identifiers.

[0013] Based on the above embodiments, another embodiment of the present invention provides an electronic device, the device including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, it implements the communication configuration method for differential protection of distribution network ring network described in the above embodiments of the invention.

[0014] Based on the above embodiments, another embodiment of the present invention provides a storage medium, the storage medium including a stored computer program, wherein, when the computer program is running, it controls the device where the storage medium is located to execute the communication configuration method for differential protection of distribution network ring network described in the above embodiments of the invention.

[0015] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: This invention provides a communication configuration method for differential protection in a distribution network ring network. When a differential protection device fails and needs to be replaced, the differential ring containing the faulty differential protection device is designated as the first target differential ring, and the differential protection circuits of all differential protection devices within the first target differential ring are disconnected. A differential ring contains several differential protection devices, and these devices communicate with each other. Other normal differential protection devices within the first target differential ring are designated as first target differential protection devices. The power supply to the faulty protection device is shut down, disconnecting the faulty protection device from each of the first target differential protection devices. The fiber optic link connection between the first target differential protection device and other differential protection devices is interrupted. After replacing the faulty differential protection device with a new one, the fiber optic link connection between the new differential protection device and each of the first target differential protection devices is restored, and the differential protection loops and communication of all differential protection devices within the first target differential ring are restored. The static routing table corresponding to the first target differential ring is updated, and the differential protection activation identifier of the first target differential ring and the differential protection activation identifier of each differential protection device within the first target differential ring are set to the corresponding activation status identifier. Through this invention, automated communication configuration of distribution network ring network differential protection can be achieved in the scenario of equipment fault replacement, saving labor costs, improving efficiency, and ensuring the reliability of power supply and equipment safety of the distribution network. Attached Figure Description

[0016] Figure 1 This is a flowchart illustrating a communication configuration method for differential protection of a distribution network ring network according to an embodiment of the present invention; Figure 2 This is a diagram showing the installation and configuration of differential protection for distribution networks; Figure 3 This is a connection diagram for multi-terminal differential protection in a ring network configuration; Figure 4 This is a flowchart illustrating the adaptive configuration mechanism of ring network differential protection; Figure 5 This is a structural diagram of the upgrade and expansion of the multi-terminal differential protection system for the distribution network; Figure 6 This is a flowchart illustrating the fault node replacement and adaptive configuration security scheme for ring network differential protection. Figure 7 This is a flowchart illustrating the topology simplification and adaptive configuration reconfiguration scheme for ring network differential protection. Figure 8 This is a schematic diagram of the ring network differential protection topology extension and adaptive configuration adaptation scheme; Figure 9 This is a schematic diagram of the communication configuration device for differential protection of a distribution network ring network according to an embodiment of the present invention. Detailed Implementation

[0017] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0018] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the application; the terms “comprising” and “having”, and any variations thereof, in the specification, claims, and foregoing description of the drawings are intended to cover non-exclusive inclusion.

[0019] In the description of the embodiments of this application, technical terms such as "first" and "second" are used only to distinguish different objects and should not be construed as indicating or implying relative importance or implicitly specifying the number, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, "multiple" means two or more, unless otherwise explicitly defined.

[0020] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0021] In the description of the embodiments in this application, the term "and / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Additionally, the character " / " in this document generally indicates that the preceding and following related objects have an "or" relationship.

[0022] In the description of the embodiments of this application, the terms "multiple" and "several" refer to two or more (including two), similarly, "multiple groups" refer to two or more (including two groups), and "multiple pieces" refer to two or more (including two pieces).

[0023] In the description of the embodiments of this application, unless otherwise expressly specified and limited, technical terms such as "installation," "connection," "joining," and "fixing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. For those skilled in the art, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.

[0024] Example 1 Please refer to Figure 1 To address the problems of high cost and low reliability associated with manual on-site parameter setting in existing technologies, this invention provides a flowchart illustrating a communication configuration method for distribution network ring network differential protection. The core of this invention is to explain the automatic communication configuration and safety measures operation methods under five scenarios: normal operation of ring network distribution network differential protection, equipment failure, line maintenance, load transfer, and line expansion.

[0025] In a preferred embodiment, the adaptive configuration mechanism of the ring network differential protection under normal operating conditions is first explained. Please refer to... Figure 2 and Figure 3 , Figure 2 This is a diagram showing the installation and configuration of differential protection for distribution networks. Figure 3 This is a connection diagram for multi-terminal differential protection in a ring network configuration. The normal operating condition serves as the baseline operating scenario for the distribution network ring network differential protection system. The core of its adaptive communication configuration mechanism lies in constructing a fully automated system of "node interconnection - setting anchoring - route self-awareness - configuration self-closing loop." Through standardized protocol logic and dynamic topology awareness capabilities, it achieves deep coupling and adaptation between the protection system and the ring network topology. A typical wiring diagram of a distribution network line is shown below. Figure 2 and Figure 3 As shown, the system includes the line, substation outgoing switch Unit1, four branch switches Unit2, Unit3, Unit5, and Unit6, and one sectionalizing switch Unit4. Differential protection devices are deployed at each node, and a closed communication link is formed through an optical fiber ring network.

[0026] Specifically, under normal operating conditions, the steady-state differential action equation for multi-terminal differential protection is: (1) The differential equation is a phase-separated differential equation, in which: ∈{A,B,C}, Let be the differential current, For the current vectors of each side of the line, , represents the sum of the vectors on each side; For braking current, , representing the sum of the current scalars on each side; This is the proportional braking coefficient for the differential equation, typically taken as 0.6. Set the differential current starting value.

[0027] Differential loop 1 includes Unit 1, Unit 2, Unit 3, and Unit 4. Unit 1 is installed at the outgoing line switches of the substation. Voltage transformers (PTs) and current transformers (CTs) are installed at each node to collect the three-phase voltage of the 10kV busbar and the three-phase current of the outgoing line switches. The switching signals are directly connected to the switching input / output module of the protection device via hardwiring. The device converts them into digital logic signals (0 / 1) to realize the status monitoring and tripping / closing control of the outgoing line switches. The current calibration is as follows: Similarly, the currents at Unit 2, Unit 3, and Unit 4 are respectively , , , =| + + + The differential protection devices at all nodes independently calculate the differential current. Under conditions of no fault within the zone or a fault outside the zone, =0, when there is a fault in the area. >0, after the differential action of each node, its respective switch is turned off.

[0028] Please refer to Figure 4 The diagram below shows the flow chart of the adaptive configuration mechanism for ring network differential protection. The specific configuration flow is as follows: (1) Equipment deployment and global interconnection architecture construction: Each switching node is equipped with high-precision voltage transformers (PTs) and current transformers (CTs) to achieve synchronous acquisition and digital conversion of voltage and current signals. Differential protection devices (Unit 1 to Unit 6) are deployed at corresponding nodes, forming a fiber optic ring network through the device's AB optical ports in a "series closed-loop" manner, creating a peer-to-peer data exchange channel across all nodes. Simultaneously, all protection devices are interconnected with the distribution automation master station via industrial Ethernet (wired) or 5G / 4G (wireless) links, establishing a three-level status monitoring and control system of "master station-device-link," providing support for visualization of the configuration process and precise operation and maintenance decisions. This architecture ensures millisecond-level, full-domain sharing of electrical quantity data and achieves full-dimensional traceability of the system's operating status.

[0029] (2) Topology adaptation tuning of basic values: Based on the "dual-ring zone coordination" characteristic of the ring network (Ring 1 covers Units 1, 2, 3, and 4; Ring 2 covers Units 4, 5, and 6), the core settings of each device are differentiated to ensure that the basic parameters accurately match the functional zone requirements of the ring network. As shown in Table 1 below, in a typical wiring diagram, the Unit 1 bay number is set to 1, the Ring 1 differential protection setting is 1, and the Ring 2 differential protection setting is 0; the Unit 2 bay number is set to 2, the Ring 1 differential protection setting is 1, and the Ring 2 differential protection setting is 0; the Unit 3 bay number is set to 3, the Ring 1 differential protection setting is 1, and the Ring 2 differential protection setting is 0; the Unit 4 bay number is set to 4, the Ring 1 differential protection setting is 1, and the Ring 2 differential protection setting is 1; the Unit 5 bay number is set to 5, the Ring 1 differential protection setting is 0, and the Ring 2 differential protection setting is 1; the Unit 6 bay number is set to 6, the Ring 1 differential protection setting is 0, and the Ring 2 differential protection setting is 1. The routing table refresh settings are all set to 0. Table 1 Differential Protection Core Setting Table (3) Real-time generation and adaptive updating of dynamic routing tables: Each differential protection device continuously analyzes the standardized data frames transmitted within the ring network, extracting core fields such as destination MAC, Ethernet frame type, application identifier, and communication configuration information. It automatically senses key parameters of other nodes within the ring network, including their "identity identifier (interval number)," "ring network affiliation (ring 1 / ring 2 operational status)," and "communication status," thereby generating a dynamic routing table containing the core attributes of all nodes. As shown in Table 2 below, the dynamic routing table records the interval number, application identifier, destination MAC, ring 1 differential protection activation, and ring 2 differential protection activation for each device.

[0030] The routing table has a "topology following" feature: when a new device is connected, its data frames are captured by other nodes in the ring network, and the relevant information is automatically added to the routing table to achieve plug-and-play identification of the node's identity; when a device fails or exits, other nodes automatically delete the corresponding routing entry after passing the "message timeout detection mechanism" to ensure that the routing information is consistent with the ring network topology in real time. Table 2 Dynamic Routing Table for Protection Devices (4) Security synchronization mechanism for static routing tables: The static routing table, serving as the "baseline data source" for the communication configuration of protection devices, possesses a "steady-state locking" characteristic, updating only when the routing table refresh function is triggered, ensuring the stability of configuration parameters. Leveraging Unit4's core position in the "dual-ring interconnection," its "routing table refresh" setting is set to 1 via distribution automation master station commands or local maintenance operations, triggering the dual-ring configuration synchronization process: Units 1 through 4 within Ring 1 synchronously enter the "routing refresh state," synchronizing the Ring 1 node data from the dynamic routing table to the static routing table; Units 4 through 6 within Ring 2 synchronously enter the "routing refresh state," synchronizing the Ring 2 node data from the dynamic routing table to the static routing table.

[0031] Among them, "routing table refresh" is one of the differential protection settings. When this setting is set to 1, the synchronization process is triggered. There is a communication configuration information in the communication message, which adopts a precise bit encoding design. Bit 2 represents the routing table refresh status (1 for enabled, 0 for disabled). When the device in the same differential ring receives "routing table refresh" set to 1, it synchronously enters the "routing refresh state" and synchronizes the corresponding differential ring node data in the dynamic routing table to the static routing table.

[0032] The selection of the synchronization ring network is strictly determined based on the ring network affiliation attribute of the trigger node. First, the ring network partitions are defined: Differential Ring 1 includes Unit1, Unit2, Unit3, and Unit4; Differential Ring 2 includes Unit4, Unit5, and Unit6. Unit4 is a node shared by both rings and has affiliation attributes to both Ring 1 and Ring 2. The synchronization selection logic is as follows: If the trigger node is a dedicated node of Ring 1 (Unit1, Unit2, Unit3), only the synchronization process of Differential Ring 1 is activated, and the Ring 1 nodes (Unit1, Unit2, Unit3, Unit4) synchronize data to the static routing table. If the trigger node is a dedicated node of Ring 2 (Unit5, Unit6), only the synchronization process of Differential Ring 2 is activated, and the Ring 2 nodes (Unit4, Unit5, Unit6) synchronize data to the static routing table. If the trigger node is Unit4, because it belongs to both rings, independent synchronization of both rings will be initiated simultaneously.

[0033] To avoid the risk of protection malfunction during the configuration process, the system logic automatically blocks the differential protection during synchronization; after synchronization is completed, the Unit4 "routing table refresh" setting is set to 0, the static routing table is locked and kept in a steady state, the dual-ring protection device is released from blocking, and the protection ready state is restored.

[0034] (5) Autonomous completion of adaptive communication configuration: Each protection device autonomously configures and adapts its data subscription logic based on a static routing table, establishing data subscription relationships only with other nodes within the same ring. This achieves precise matching of communication links without manual intervention. Taking Unit 1 as an example, with Ring 1 differential protection enabled and Ring 2 differential protection disabled, the device automatically identifies cooperating nodes within Ring 1 (Unit 2, Unit 3, and Unit 4). Through dual matching of destination MAC addresses and application identifiers, it accurately locates the data source and constructs a subscription link, completing the closed-loop communication configuration. Unit 1 needs to subscribe to data from Unit 2, Unit 3, and Unit 4. The destination MAC address for subscribed Unit 2 is 01-0C-CD-04-00-02, and the application identifier is 0x4002; the destination MAC address for subscribed Unit 3 is 01-0C-CD-04-00-03, and the application identifier is 0x4003; the destination MAC address for subscribed Unit 4 is 01-0C-CD-04-00-04, and the application identifier is 0x4004.

[0035] (6) Multi-terminal data synchronization and differential protection calculation: Each device receives standardized data frames from nodes in the same node based on the subscription link, and analyzes the core data such as sampling delay (internal signal processing delay), transmission delay correction domain (FTCF, including node dwell and path transmission delay), instantaneous voltage and current values ​​(Ia / Ib / Ic / I0, Ua / Ub / Uc), and switching quantities. The sampling data from different nodes is time-axis calibrated using an "interpolation resampling" algorithm to eliminate transmission delay differences and achieve full-domain data synchronization. Combined with the switching quantity status, the operating conditions of the distribution network are determined. Finally, differential protection logic calculations are performed based on the synchronized full-domain electrical quantity data, achieving millisecond-level accurate identification and rapid isolation of faults across the entire distribution network.

[0036] In another preferred embodiment, the following describes the safety scheme for fault node replacement and adaptive configuration of the ring network differential protection under equipment failure conditions: Please refer to... Figure 5 This is a structural diagram of the upgrade and expansion of multi-terminal differential protection in a distribution network. Targeting the scenario of replacing faulty ring network differential protection devices, this invention, with "safety interlocking priority and configuration adaptive recovery" as its core, constructs a standardized operating system for the entire process, enabling rapid replacement of faulty equipment and seamless integration of system functions. Please refer to... Figure 6This is a flowchart illustrating the fault node replacement and adaptive configuration security scheme for ring network differential protection. Taking the fault replacement of Unit 3 (fault differential protection device) in differential ring 1 (the first target differential ring) as an example, the configuration process includes the following specific steps: S1. When a differential protection device fails and needs to be replaced, the differential ring where the faulty differential protection device is located is taken as the first target differential ring, and the differential protection circuits of all differential protection devices in the first target differential ring are disconnected; wherein, a differential ring contains a number of differential protection devices, and the differential protection devices in the same differential ring communicate with each other. Specifically, for step S1 above, firstly, the differential protection function of the differential loop is deactivated. A command is remotely issued from the distribution automation master station to set the "differential protection soft pressure plate" of all protection devices within differential loop 1 to the deactivated state, thus completely cutting off the differential protection operation circuit of loop 1. This operation establishes a safe operating boundary at the system level, preventing maloperation of protection devices due to abnormal data interaction during subsequent topology changes and equipment connections.

[0037] The differential protection soft switch is a virtual control switch configured via software in the distribution network ring network differential protection device. Its core function is to control the "engagement" or "disengagement" of the differential protection action circuit, essentially acting as a "software master switch" for the differential protection function. There are two ways to configure it. (1) Remote settings for distribution automation master station: Operation path: Main station system → Ring network differential protection control module → Select target differential ring (such as ring 1, ring 2) → Check all protection devices in the ring → Issue the "Differential protection soft pressure plate exit / enter" command → Wait for device feedback status confirmation.

[0038] (2) Local settings for protection devices: Operation path: Open the local operation interface of the protection device (panel buttons) → enter the "Settings Configuration / Protection Function" menu → find the "Differential Protection Soft Pressure Plate" option → select "Exit" (0) or "Enter" (1) → save settings and confirm.

[0039] S2. Take other normal differential protection devices in the first target differential ring as the first target differential protection devices, control the power supply of the fault protection device to shut down, disconnect the optical fiber link between the fault protection device and each first target differential protection device, and interrupt the communication between the first target differential protection device and other differential protection devices. Specifically, for step S2 above, equipment disassembly and status monitoring are performed. First, the power supply of the faulty Unit 3 is turned off, and the fiber optic links of its A and B optical ports are disconnected. The remaining protection devices in Ring 1 (Unit 1, Unit 2, Unit 4, i.e., the first target differential protection devices) immediately trigger the "ring network node communication interruption" alarm signal through the "message timeout detection mechanism" and automatically lock their own differential protection; the distribution automation master station captures the alarm information in real time and updates the topology anomaly status of Ring 1 synchronously, realizing visualized control of the operation process.

[0040] S3. After replacing the faulty differential protection device with a new differential protection device, restore the fiber optic link connection between the new differential protection device and each first target differential protection device, and restore the differential protection circuit and communication of all differential protection devices in the first target differential ring. Specifically, for step S3 above, new equipment is deployed and basic settings are replicated. After replacing the new differential protection device and powering it on, the core settings are adjusted according to the original faulty equipment parameters: the interval number is set to 3, the differential protection of ring 1 is set to 1, the differential protection of ring 2 is set to 0, and the routing table is refreshed to an initial value of 0. After restoring the fiber optic connection of the A and B ports of the new Unit 3, the remaining nodes of ring 1 detect the signal and the "communication interruption alarm" automatically resets. The distribution network automation master station confirms that the link connectivity is normal.

[0041] S4. Control the static routing table corresponding to the first target differential ring to be updated, and set the differential protection activation flag of the first target differential ring in the static routing table and the differential protection activation flag of each differential protection device in the first target differential ring to the corresponding activation status flag.

[0042] Specifically, step S4 above includes the following steps: (1) Perform route synchronization and configuration data partition update: By setting the "routing table refresh" setting of any protection device in Ring 1 to 1 through master station commands or local operations, the static routing table synchronization process of Ring 1 is triggered: The synchronization range is locked, with only nodes within differential ring 1 (Unit1, Unit2, Unit4, and the new Unit3) entering the "route refresh state," isolating them from differential ring 2. Static routing table synchronization involves synchronizing core parameters from each dynamic routing table to the static routing table of each node. During synchronization, the differential protection function of all participating nodes remains locked to avoid the risk of erroneous operation caused by parameter fluctuations. After synchronization is complete, the "route table refresh" setting is set to 0, and the static routing table is locked into a steady state.

[0043] (2) Configuration recovery and adaptive matching of communication links: The new Unit3 automatically identifies cooperating nodes in the same ring (Unit1, Unit2, Unit4) based on the "Ring 1 Differential Protection Enabled = 1" flag in the static routing table. Through dual matching of "Destination MAC + Application Identifier", it accurately subscribes to the data link of the corresponding node. The entire process does not require manual intervention and realizes closed-loop recovery of communication configuration.

[0044] The destination MAC address of the subscribed Unit1 is 01-0C-CD-04-00-01, and the application identifier is 0x4001; the destination MAC address of the subscribed Unit2 is 01-0C-CD-04-00-02, and the application identifier is 0x4002; the destination MAC address of the subscribed Unit4 is 01-0C-CD-04-00-04, and the application identifier is 0x4004.

[0045] (3) Reactivation of differential protection function: The distribution automation master station remotely puts the "differential protection soft pressure plate" of all protection devices in Ring 1 into the active state, and the devices are unlocked, and the differential protection system of Ring 1 resumes normal operation.

[0046] Preferably, the method further includes: when a differential protection device needs maintenance, designating the differential loop containing the differential protection device under maintenance as the second target differential loop, disconnecting the differential protection circuit corresponding to the differential protection device under maintenance, and controlling the differential protection device under maintenance to broadcast a first data frame containing a preset first maintenance flag bit within the second target differential loop; wherein, the first maintenance flag bit is used to indicate that the differential protection device under maintenance is in a maintenance state; designating other differential protection devices within the second target differential loop as second target differential protection devices, and when the second target differential protection device receives the first data frame, determining the second target differential protection device based on the electrical quantity information of each second target differential protection device. The first differential protection logic corresponding to the dynamic ring is used, and corresponding differential protection is performed according to the first differential protection logic; after the maintenance of the differential protection device is completed, the maintenance-upgraded differential protection device is controlled to broadcast a second data frame containing a preset second maintenance flag bit in the second target differential ring; wherein, the second maintenance flag bit is used to indicate that the maintenance of the differential protection device has been completed; when the second target differential protection device receives the second data frame, it determines the second differential protection logic corresponding to the second target differential ring according to the electrical quantity information of each second target differential protection device and the maintenance-upgraded differential protection device, and performs corresponding differential protection according to the second differential protection logic.

[0047] In another preferred embodiment, the following provides a detailed description of the ring network differential protection maintenance isolation and topology adaptive configuration scheme under branch line maintenance conditions: For branch line maintenance scenarios, this invention focuses on "precise isolation of maintenance areas and continued protection in non-maintenance areas." Through adaptive sensing of node status and dynamic adjustment of calculation logic, it achieves synergistic compatibility between maintenance operations and system protection. The following detailed explanation uses the maintenance of a branch line in Unit 3 (maintenance differential protection device) of differential loop 1 (second differential loop) as an example, following the operational logic: (1) Protection and isolation of the target node for maintenance: Maintenance personnel operated the "maintenance check plate" of Unit3 on-site to put it into the active state. This operation triggered Unit3 to automatically perform two core actions: first, it immediately deactivated its own differential protection function and cut off the local protection output circuit; second, it synchronized its own maintenance status to the entire ring network by carrying the "maintenance flag bit" (set to 1, i.e., the first maintenance flag bit) in the "status quantity" field (i.e., broadcasting a data frame containing the preset first maintenance flag bit in the second target differential ring), providing a trigger signal for the logic adjustment of other nodes.

[0048] (2) Protection continuation in non-maintenance areas: The remaining nodes (Unit1, Unit2, Unit4) within differential ring 1 continuously parse the first data frame. After capturing the "maintenance flag" of Unit3, they automatically initiate the calculation logic adaptation process: in the differential protection calculation module, the analog quantities (voltage, current) and switching quantities corresponding to Unit3 are removed in real time, and they are no longer included in the calculation scope of core parameters such as differential current and braking current. At this time, ring 1 is automatically reconstructed into a simplified topology of "Unit1-Unit2-Unit4", and the differential protection function of the remaining nodes continues to operate normally, ensuring that the distribution network lines in non-maintenance areas are still under effective protection coverage.

[0049] (3) Automatic configuration recovery upon completion of maintenance: After the branch line maintenance work is completed, the maintenance personnel remove the safety measures and set the "maintenance pressure plate" of Unit3 to the off state. Unit3 then restores its differential protection function to the ready state and updates the "maintenance flag bit" to 0 (i.e., the second maintenance flag bit) in the data frame.

[0050] After Unit 1, Unit 2, and Unit 4 detect the exit of Unit 3's "maintenance flag," the differential protection calculation module automatically triggers data recovery logic: it re-incorporates the voltage, current, and switching data of Unit 3 into the calculation system, restoring the original ring network topology protection logic of "Unit 1-Unit 2-Unit 3-Unit 4." The entire process requires no manual reconfiguration of routing tables or subscription relationships; relying on the automatic sensing of data frame status bits and the adaptive adjustment of the calculation module, seamless restoration of the Ring 1 protection configuration is achieved.

[0051] Preferably, it further includes: when a differential protection device needs to be removed from the differential ring, designating the differential ring where the removed differential protection device is located as the third target differential ring, and cutting off the differential protection circuits of all differential protection devices within the third target differential ring; designating the other differential protection devices within the third target differential ring as third target differential protection devices, controlling the power supply of the device removing the differential protection device to be turned off, disconnecting the fiber optic link connection between the removed differential protection device and each third target differential protection device, and interrupting the communication between the third target differential protection devices and other differential protection devices; when... After the differential protection device is removed from the third target differential ring, the fiber optic link connection between each third target differential protection device is restored, and the differential protection circuit and communication of each third target differential protection device in the third target differential ring are restored; the static routing table corresponding to the third target differential ring is updated, the information of the removed differential protection device in the static routing table is removed, and the differential protection activation identifier of the third target differential ring in the static routing table, as well as the differential protection activation identifier of each third target differential protection device in the third target differential ring, are set to the corresponding activation status identifier.

[0052] In another preferred embodiment, the following provides a detailed description of the ring network differential protection topology simplification and adaptive configuration reconfiguration scheme under branch line load transfer conditions: Please refer to Figure 7 This is a flowchart illustrating the topology simplification and adaptive configuration reconfiguration scheme for ring network differential protection. Addressing scenarios where branch line load transfer leads to equipment exiting the ring network, this scheme centers on "safe disconnection - topology continuation - configuration adaptation." Through link reconfiguration and dynamic route updates, it achieves precise adaptation of the protection system after load transfer. The following detailed explanation uses the branch line load transfer (removal of Unit 3) of Differential Ring 1 (the third target differential ring) as an example, arranged according to the operation sequence: (1) Differential protection function deactivated: By remotely issuing commands from the distribution automation master station, the "differential protection soft pressure plate" of all protection devices in differential ring 1 is set to the off state, thus completely cutting off the protection action circuit of ring 1. This operation avoids data interaction anomalies and protection maloperation caused by incomplete topology during subsequent equipment removal and link adjustment, and establishes a safety benchmark for load transfer operations.

[0053] (2) Equipment removal and ring network link reconnection: Power off Unit3, disconnect the fiber optic cables from its A and B ports, remove Unit3, and after the remaining protection devices in Ring 1 (Unit1, Unit2, Unit4) trigger the "Ring Network Node Communication Interruption" alarm after message timeout detection, they automatically lock their own differential protection; then, the fiber optic cables at both ends originally connected to Unit3 are spliced ​​to ensure that the fiber optic closed-loop structure of differential ring 1 is not interrupted, and the distribution automation master station executes the system node deletion operation of Unit3 and updates the topology view of ring 1 synchronously.

[0054] (3) Routing table synchronization data update: By setting the "routing table refresh" setting of any protection device in Ring 1 (except Unit 4) to 1 through master station commands or local operations, the static routing table synchronization process of Ring 1 is triggered. The synchronization range is locked, with only the remaining nodes within Ring 1 (Unit1, Unit2, and Unit4) entering the "route refresh state" to maintain isolation from Ring 2. During data updates, the dynamic routing table automatically removes entries from Unit3, retaining only data from Unit1, Unit2, Unit4, Unit5, and Unit6 nodes, and synchronously writes this data to the static routing table of each node. During synchronization, the differential protection function of all participating nodes remains locked to prevent misjudgments caused by routing data fluctuations. After synchronization is complete, the "route table refresh" setting is set to 0, and the static routing table locks the simplified topology parameters. Please refer to Table 3 below for the device's dynamic routing table after removing Unit3. Table 3. Device dynamic routing table after removing Unit3 (3) Communication adaptive configuration is completed autonomously: Within Ring 1, nodes Unit1, Unit2, and Unit4 automatically initiate communication configuration reconfiguration based on the updated static routing table: Unit1 identifies that nodes in the same loop have become Unit2 and Unit4, and then precisely subscribes to their data links; Unit2 synchronously subscribes to the data of Unit1 and Unit4, and Unit4 subscribes to the data of Unit1 and Unit2. The entire process requires no manual intervention, achieving adaptive matching of communication links after topology simplification, and synchronous recovery of communication interruption alarm signals.

[0055] (4) Protect data synchronization and logical adjustment: Based on the reconstructed subscription relationship, each protection device sequentially parses the sampling delay, transmission delay correction domain, instantaneous voltage and current values, and switching information in the received data frames. Through "interpolation resampling" technology, the sampling data from different nodes is calibrated along the time axis to eliminate transmission delay differences and achieve full-domain data synchronization. Simultaneously, the differential protection calculation logic is automatically adjusted, performing differential protection calculations based on the "Unit1-Unit2-Unit4" topology, using core parameters such as differential current and braking current.

[0056] (5) Reactivation of differential protection function: The distribution network automation master station remotely puts the "differential protection soft pressure plate" of all protection devices in Ring 1 into the active state, and the devices are unlocked, and the differential protection system of Ring 1 resumes normal operation.

[0057] Preferably, the method further includes: when a differential protection device needs to be added to a differential ring, designating the differential ring requiring the addition of the differential protection device as the fourth target differential ring, and disconnecting the differential protection circuits of all differential protection devices in the fourth target differential ring; disconnecting the fiber optic link between the two differential protection devices at both ends of the branch where the added differential protection device is located, connecting the two fiber optic ports of the added differential protection device to the disconnected fiber optic ports of the two differential protection devices respectively, and restoring the differential protection circuits and communication of all differential protection devices in the fourth target differential ring; controlling the static routing table corresponding to the fourth target differential ring to be updated, adding the information of the added differential protection device to the static routing table, and setting the differential protection activation identifier of the fourth target differential ring and the differential protection activation identifiers of all differential protection devices in the fourth target differential ring to the corresponding activation status identifiers in the static routing table.

[0058] In another preferred embodiment, the following provides a detailed description of the ring network differential protection topology expansion and adaptive configuration adaptation scheme under the condition of distribution network line expansion: Please refer to Figure 8 This diagram illustrates a ring network differential protection topology expansion and adaptive configuration adaptation scheme. Designed for scenarios involving the addition of branch nodes during distribution network line expansion, this scheme centers on "safe shutdown - link access - configuration expansion." Through dynamic ring network topology sensing and adaptive updating of routing parameters, it achieves rapid integration of new nodes and precise adaptation to the protection system. The following detailed explanation uses the addition of Unit 7 between Unit 5 and Unit 6 of differential ring 2 (the fourth target differential ring) as an example, following the operational sequence: (1) Differential protection function deactivated: By remotely issuing commands from the distribution automation master station, the "differential protection soft pressure plate" of all protection devices within differential ring 2 is set to the off state, thus completely cutting off the differential protection operation circuit of ring 2. This operation can avoid data interaction disorder caused by topology reconstruction during subsequent fiber optic cable cutting and new equipment access, establishing a safety barrier for expansion operations at the system level and eliminating the risk of protection malfunction.

[0059] (2) Link adjustment and new equipment access deployment: Disconnect the original fiber optic link connecting Unit5 and Unit6, and build a new link according to the ring network topology expansion requirements: connect the A optical port of Unit5 to the B optical port of the newly added device Unit7, and connect the B optical port of Unit6 to the A optical port of Unit7, ensuring that differential ring 2 forms a new closed-loop structure of "Unit4-Unit5-Unit7-Unit6-Unit4". Simultaneously, the distribution network automation master station performs a node addition operation, entering the basic information of Unit7 (interval number 7, etc.) into the system topology database.

[0060] (2) Routing table synchronization data update: By using master station commands or local operations, the "routing table refresh" setting of any protection device in Ring 2 (except Unit 4) is set to 1, triggering the Ring 2 static routing table synchronization process: only nodes within Ring 2 (Unit 4, Unit 5, Unit 6, and the newly added Unit 7) enter the "routing refresh state," and the dynamic routing table automatically adds the core parameters of Unit 7 and synchronously writes them into the static routing tables of each node. During synchronization, the differential protection functions of all participating nodes remain locked to prevent misjudgments caused by routing data fluctuations; after synchronization is completed, the "routing table refresh" setting is set to 0, the static routing table locks the extended steady-state parameters, and the dynamic routing table of the device after adding Unit 7 is shown in Table 4 below. Table 4 Dynamic routing table for devices after adding Unit7 (3) Autonomous completion of adaptive communication configuration: Based on the updated static routing table, all nodes within Ring 2 automatically initiate communication configuration reconfiguration: Unit4 identifies cooperating nodes within the same ring and updates them to Unit5, Unit6, and Unit7. Through dual matching of "destination MAC + application identifier," it accurately subscribes to the data links of these three nodes. Unit5 synchronously subscribes to the data of Unit4, Unit6, and Unit7, while Unit6 subscribes to the data of Unit4, Unit5, and Unit7. A newly added Unit7 subscribes to the data of Unit4, Unit5, and Unit6. The entire process requires no manual intervention, achieving adaptive matching of communication links after topology expansion.

[0061] (4) Protect data synchronization and logical adjustment: Based on the reconstructed subscription relationship, each protection device sequentially parses the sampling delay, transmission delay correction domain, instantaneous voltage and current values, and switching information in the received data frames. Through "interpolation resampling" technology, the sampling data at all links, including Unit 7, is time-axis calibrated to eliminate transmission delay differences caused by new links, achieving full-domain data synchronization and alignment. Simultaneously, the differential protection calculation logic is automatically adjusted, performing core parameter calculations based on the extended topology of "Unit 4-Unit 5-Unit 7-Unit 6," ensuring that the protection criteria are accurately adapted to the current topology.

[0062] (5) Reactivation of differential protection function: The differential protection soft pressure plate of the differential ring 2 differential protection device is activated by the distribution network automation master station, and the differential protection function of differential ring 2 is activated.

[0063] Therefore, this invention provides a communication configuration method for differential protection of distribution network ring networks. Due to the complexity of distribution network lines and their variable operating modes, frequent equipment failures, line maintenance, load transfers, and line expansions occur, causing changes in the data of differential protection devices within the ring network under various circumstances. Normal data configuration cannot meet the data communication requirements of various operating conditions. Therefore, this invention elucidates the implementation methods of mechanisms such as automatic generation of dynamic routing tables, static routing table partition synchronization, and adaptive matching of communication subscription relationships for ring network distribution network differential protection data under various operating conditions. This effectively reduces the workload of on-site maintenance, achieving configuration-free operation under various operating conditions. Simultaneously, it proposes safety measures and operating methods during the configuration generation process to avoid differential protection malfunctions, providing a theoretical basis for the operation procedures of ring network differential protection and improving the operation and maintenance efficiency of differential protection equipment for frontline personnel.

[0064] Example 2 Please refer to Figure 9 This is a schematic diagram of the communication configuration device for differential protection of a distribution network ring network according to an embodiment of the present invention. The device includes: a differential protection circuit disconnection module, a communication interruption module, a communication recovery module, and a static routing table update module. The differential protection circuit disconnection module is used to, when a differential protection device fails and needs to be replaced, designate the differential ring where the faulty differential protection device is located as the first target differential ring and disconnect the differential protection circuits of all differential protection devices within the first target differential ring; wherein, a differential ring contains a number of differential protection devices, and the differential protection devices within the same differential ring communicate with each other; The communication interruption module is used to treat other normal differential protection devices in the first target differential ring as the first target differential protection devices, control the power supply of the fault protection device to shut down, disconnect the optical fiber link connection between the fault protection device and each first target differential protection device, and interrupt the communication between the first target differential protection device and other differential protection devices. The communication recovery module is used to restore the fiber optic link connection between the new differential protection device and each first target differential protection device after the faulty differential protection device is replaced with a new differential protection device, and to restore the differential protection circuit and communication of all differential protection devices in the first target differential ring. The static routing table update module is used to control the static routing table corresponding to the first target differential ring to be updated, and to set the differential protection activation flag of the first target differential ring in the static routing table, as well as the differential protection activation flag of each differential protection device in the first target differential ring, to the corresponding activation status flag.

[0065] Preferably, it also includes: a differential protection device maintenance module; The differential protection device maintenance module is used to, when a differential protection device needs maintenance, take the differential loop where the differential protection device under maintenance is located as the second target differential loop, disconnect the differential protection circuit corresponding to the differential protection device under maintenance, and control the differential protection device under maintenance to broadcast a first data frame containing a preset first maintenance flag bit in the second target differential loop; wherein, the first maintenance flag bit is used to indicate that the differential protection device under maintenance is in maintenance status; The other differential protection devices in the second target differential ring are taken as the second target differential protection devices. When the second target differential protection device receives the first data frame, it determines the first differential protection logic corresponding to the second target differential ring according to the electrical quantity information of each second target differential protection device, and performs corresponding differential protection according to the first differential protection logic. After the differential protection device is repaired, the repaired differential protection device is controlled to broadcast a second data frame containing a preset second maintenance flag bit in the second target differential loop; wherein, the second maintenance flag bit is used to indicate that the repair of the differential protection device has been completed. After the second target differential protection device receives the second data frame, it determines the second differential protection logic corresponding to the second target differential ring based on the electrical quantity information of each second target differential protection device and the overhauled differential protection device, and performs corresponding differential protection according to the second differential protection logic.

[0066] Preferably, it also includes: a differential protection device removal module; The differential protection device removal module is used to, when a differential protection device needs to be removed from the differential ring, designate the differential ring where the differential protection device is located as the third target differential ring, and cut off the differential protection circuits of all differential protection devices in the third target differential ring. The other differential protection devices within the third target differential ring are used as the third target differential protection devices. The power supply of the device for removing the differential protection device is turned off, the fiber optic link between the removed differential protection device and each third target differential protection device is disconnected, and the communication between the third target differential protection device and other differential protection devices is interrupted. After removing the differential protection device from the third target differential ring, restore the fiber optic link connection between each third target differential protection device, and restore the differential protection circuit and communication of each third target differential protection device in the third target differential ring; The static routing table corresponding to the third target differential ring is updated, the information on removing differential protection devices in the static routing table is removed, and the differential protection activation flag of the third target differential ring in the static routing table and the differential protection activation flag of each third target differential protection device in the third target differential ring are set to the corresponding activation status flag.

[0067] Preferably, it also includes: a new module for the differential protection device; The differential protection device addition module is used to designate the differential ring requiring the addition of a differential protection device as the fourth target differential ring when a new differential protection device needs to be added within a differential ring, and to cut off the differential protection circuits of all differential protection devices within the fourth target differential ring. Disconnect the fiber optic link between the two differential protection devices at both ends of the branch where the new differential protection device is located, connect the two fiber optic ports of the new differential protection device to the disconnected fiber optic ports of the two differential protection devices respectively, and restore the differential protection circuit and communication of all differential protection devices in the fourth target differential ring. The static routing table corresponding to the fourth target differential ring is updated. Information about the newly added differential protection device is added to the static routing table. The differential protection activation identifier of the fourth target differential ring and the differential protection activation identifier of all differential protection devices in the fourth target differential ring are set to the corresponding activation status identifiers.

[0068] It should be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Furthermore, in the accompanying drawings of the device embodiments provided by this invention, the connection relationships between modules indicate that they have communication connections, which can be specifically implemented as one or more communication buses or signal lines. Those skilled in the art can understand and implement this without any creative effort.

[0069] Those skilled in the art will clearly understand that, for convenience and brevity, the specific working process of the device described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0070] Example 3 Accordingly, embodiments of the present invention provide an electronic device, the device including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein when the processor executes the computer program, it implements the communication configuration method for differential protection of distribution network ring network described in the above embodiments of the invention.

[0071] The electronic device may be a desktop computer, laptop, handheld computer, or cloud server, etc. The device may include, but is not limited to, a processor and a memory.

[0072] The processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor. The processor is the control center of the device, connecting various parts of the device via various interfaces and lines.

[0073] Example 4 Accordingly, embodiments of the present invention provide a storage medium, the storage medium including a stored computer program, wherein, when the computer program is running, it controls the device where the storage medium is located to execute the communication configuration method for differential protection of distribution network ring network described in the above embodiments of the invention.

[0074] The memory can be used to store the computer program. The processor implements various functions of the device by running or executing the computer program stored in the memory and calling data stored in the memory. The memory may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function, etc.; the data storage area may store data created based on the use of the mobile phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as hard disk, RAM, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0075] The storage medium is a computer-readable storage medium, and the computer program is stored in the computer-readable storage medium. When executed by a processor, the computer program can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content included in the computer-readable medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.

[0076] The above description represents the preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of the present invention, and these improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A communication configuration method for differential protection of a distribution network ring network, characterized in that, include: When a differential protection device malfunctions and needs to be replaced, the differential ring where the malfunctioning differential protection device is located is designated as the first target differential ring, and the differential protection circuits of all differential protection devices within the first target differential ring are disconnected; wherein, a differential ring contains several differential protection devices, and the differential protection devices within the same differential ring communicate with each other; Take other normal differential protection devices in the first target differential ring as the first target differential protection devices, control the power supply of the fault protection device to shut down, disconnect the optical fiber link between the fault protection device and each first target differential protection device, and interrupt the communication between the first target differential protection device and other differential protection devices. After replacing the faulty differential protection device with a new differential protection device, restore the fiber optic link connection between the new differential protection device and each first target differential protection device, and restore the differential protection circuit and communication of all differential protection devices in the first target differential ring. The static routing table corresponding to the first target differential ring is updated, and the differential protection activation flag of the first target differential ring and the differential protection activation flag of each differential protection device in the first target differential ring are set to the corresponding activation status flags.

2. The communication configuration method for differential protection of distribution network ring networks as described in claim 1, characterized in that, Also includes: When a differential protection device needs to be repaired, the differential ring where the differential protection device under repair is located is taken as the second target differential ring. The differential protection circuit corresponding to the differential protection device under repair is cut off, and the differential protection device under repair is controlled to broadcast a first data frame containing a preset first maintenance flag bit in the second target differential ring. The first maintenance flag bit is used to indicate that the differential protection device under repair is in maintenance status. The other differential protection devices in the second target differential ring are taken as the second target differential protection devices. When the second target differential protection device receives the first data frame, it determines the first differential protection logic corresponding to the second target differential ring according to the electrical quantity information of each second target differential protection device, and performs corresponding differential protection according to the first differential protection logic. After the differential protection device is repaired, the repaired differential protection device is controlled to broadcast a second data frame containing a preset second maintenance flag bit in the second target differential loop; wherein, the second maintenance flag bit is used to indicate that the repair of the differential protection device has been completed. After the second target differential protection device receives the second data frame, it determines the second differential protection logic corresponding to the second target differential ring based on the electrical quantity information of each second target differential protection device and the overhauled differential protection device, and performs corresponding differential protection according to the second differential protection logic.

3. The communication configuration method for differential protection of distribution network ring networks as described in claim 1, characterized in that, Also includes: When a differential protection device needs to be removed from the differential ring, the differential ring where the differential protection device is removed is designated as the third target differential ring, and the differential protection circuits of all differential protection devices in the third target differential ring are disconnected. The other differential protection devices within the third target differential ring are used as the third target differential protection devices. The power supply of the device for removing the differential protection device is turned off, the fiber optic link between the removed differential protection device and each third target differential protection device is disconnected, and the communication between the third target differential protection device and other differential protection devices is interrupted. After removing the differential protection device from the third target differential ring, restore the fiber optic link connection between each third target differential protection device, and restore the differential protection circuit and communication of each third target differential protection device in the third target differential ring; The static routing table corresponding to the third target differential ring is updated, the information on removing differential protection devices in the static routing table is removed, and the differential protection activation flag of the third target differential ring in the static routing table and the differential protection activation flag of each third target differential protection device in the third target differential ring are set to the corresponding activation status flag.

4. The communication configuration method for differential protection of distribution network ring networks as described in claim 1, characterized in that, Also includes: When a differential protection device needs to be added to a differential ring, the differential ring that needs to be added to the differential ring is designated as the fourth target differential ring, and the differential protection circuits of all differential protection devices in the fourth target differential ring are disconnected. Disconnect the fiber optic link between the two differential protection devices at both ends of the branch where the new differential protection device is located, connect the two fiber optic ports of the new differential protection device to the disconnected fiber optic ports of the two differential protection devices respectively, and restore the differential protection circuit and communication of all differential protection devices in the fourth target differential ring. The static routing table corresponding to the fourth target differential ring is updated. Information about the newly added differential protection device is added to the static routing table. The differential protection activation identifier of the fourth target differential ring and the differential protection activation identifier of all differential protection devices in the fourth target differential ring are set to the corresponding activation status identifiers.

5. A communication configuration device for differential protection of a distribution network ring network, characterized in that, include: Differential protection circuit disconnection module, communication interruption module, communication recovery module, and static routing table update module; The differential protection circuit disconnection module is used to, when a differential protection device fails and needs to be replaced, designate the differential ring where the faulty differential protection device is located as the first target differential ring and disconnect the differential protection circuits of all differential protection devices within the first target differential ring; wherein, a differential ring contains a number of differential protection devices, and the differential protection devices within the same differential ring communicate with each other; The communication interruption module is used to treat other normal differential protection devices in the first target differential ring as the first target differential protection devices, control the power supply of the fault protection device to shut down, disconnect the optical fiber link connection between the fault protection device and each first target differential protection device, and interrupt the communication between the first target differential protection device and other differential protection devices. The communication recovery module is used to restore the fiber optic link connection between the new differential protection device and each first target differential protection device after the faulty differential protection device is replaced with a new differential protection device, and to restore the differential protection circuit and communication of all differential protection devices in the first target differential ring. The static routing table update module is used to control the static routing table corresponding to the first target differential ring to be updated, and to set the differential protection activation flag of the first target differential ring in the static routing table, as well as the differential protection activation flag of each differential protection device in the first target differential ring, to the corresponding activation status flag.

6. The communication configuration device for differential protection of distribution network ring networks as described in claim 5, characterized in that, Also includes: Differential protection device maintenance module; The differential protection device maintenance module is used to, when a differential protection device needs maintenance, take the differential loop where the differential protection device under maintenance is located as the second target differential loop, disconnect the differential protection circuit corresponding to the differential protection device under maintenance, and control the differential protection device under maintenance to broadcast a first data frame containing a preset first maintenance flag bit in the second target differential loop; wherein, the first maintenance flag bit is used to indicate that the differential protection device under maintenance is in maintenance status; The other differential protection devices in the second target differential ring are taken as the second target differential protection devices. When the second target differential protection device receives the first data frame, it determines the first differential protection logic corresponding to the second target differential ring according to the electrical quantity information of each second target differential protection device, and performs corresponding differential protection according to the first differential protection logic. After the differential protection device is repaired, the repaired differential protection device is controlled to broadcast a second data frame containing a preset second maintenance flag bit in the second target differential loop; wherein, the second maintenance flag bit is used to indicate that the repair of the differential protection device has been completed. After the second target differential protection device receives the second data frame, it determines the second differential protection logic corresponding to the second target differential ring based on the electrical quantity information of each second target differential protection device and the overhauled differential protection device, and performs corresponding differential protection according to the second differential protection logic.

7. The communication configuration device for differential protection of distribution network ring network as described in claim 5, characterized in that, Also includes: Differential protection device removal module; The differential protection device removal module is used to, when a differential protection device needs to be removed from the differential ring, designate the differential ring where the differential protection device is located as the third target differential ring, and cut off the differential protection circuits of all differential protection devices in the third target differential ring. The other differential protection devices within the third target differential ring are used as the third target differential protection devices. The power supply of the device for removing the differential protection device is turned off, the fiber optic link between the removed differential protection device and each third target differential protection device is disconnected, and the communication between the third target differential protection device and other differential protection devices is interrupted. After removing the differential protection device from the third target differential ring, restore the fiber optic link connection between each third target differential protection device, and restore the differential protection circuit and communication of each third target differential protection device in the third target differential ring; The static routing table corresponding to the third target differential ring is updated, the information on removing differential protection devices in the static routing table is removed, and the differential protection activation flag of the third target differential ring in the static routing table and the differential protection activation flag of each third target differential protection device in the third target differential ring are set to the corresponding activation status flag.

8. The communication configuration device for differential protection of distribution network ring networks as described in claim 5, characterized in that, Also includes: New modules added to differential protection devices; The differential protection device addition module is used to designate the differential ring requiring the addition of a differential protection device as the fourth target differential ring when a new differential protection device needs to be added within a differential ring, and to cut off the differential protection circuits of all differential protection devices within the fourth target differential ring. Disconnect the fiber optic link between the two differential protection devices at both ends of the branch where the new differential protection device is located, connect the two fiber optic ports of the new differential protection device to the disconnected fiber optic ports of the two differential protection devices respectively, and restore the differential protection circuit and communication of all differential protection devices in the fourth target differential ring. The static routing table corresponding to the fourth target differential ring is updated. Information about the newly added differential protection device is added to the static routing table. The differential protection activation identifier of the fourth target differential ring and the differential protection activation identifier of all differential protection devices in the fourth target differential ring are set to the corresponding activation status identifiers.

9. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to implement the communication configuration method for differential protection of distribution network ring networks as described in any one of claims 1 to 4.

10. A storage medium, characterized in that, The storage medium includes a stored computer program, wherein, when the computer program is executed, it controls the device where the storage medium is located to perform the communication configuration method for differential protection of distribution network ring networks as described in any one of claims 1 to 4.