Communication repair method, device, medium and terminal for automatic communication networking of transformer area
Patent Information
- Application Number
- CN202310813798.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-04
- Publication Date
- 2026-09-25
- Estimated Expiration
- 2043-07-04
AI Technical Summary
[0034]在通信过程中,通过将每一个节点对应的台区终端的优先级因子经过排序得到的优先级序列表发送至每一个台区终端保存起来,当通信过程中台区默认网关存在异常的时候,对台区默认网关的异常情况进行修复,当确认台区默认网关掉线的时候,及时选择优先级序列表中优先级最高的台区终端作为更新后的台区默认网关并完成注册组网,以保证通信过程正常进行,而当确认是台区终端Ne异常的时候,则将台区终端Ne异常上报至主站之后继续正常通信,能够自适应切换网关,解决网关异常情况下台区设备数据不能上送主站的问题,并且能够在台区通信系统中主动识别异常网络节点,并报告主站,无需人工排查,简化运维,促进台区智能化发展,及时处理通信过程中的异常情况,有效解决台区组网通信中网关异常而导致通信中断的问题。
Smart Images

Figure CN116684257B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of communication technology, and in particular relates to a communication repair method, device, medium and terminal for automatic networking of communication in a transformer substation. Background Technology
[0002] WaveMesh-STD, as a standard networking method, is suitable for tree network topologies. In power distribution network communication scenarios, it often manifests as a master-slave communication model. Essentially, it consists of nodes (NODEs) and gateways (ROOTs), with ROOTs as the master and NODEs as the slaves, enabling bidirectional data communication. Data transmission can be initiated by any node or gateway, and data relay and routing can occur between nodes.
[0003] With the development of smart devices in distribution centers, LoRa has been widely used as a common distribution center networking solution. However, the quality of LoRa communication is affected by the current gateway signal. How to avoid communication interruption caused by abnormal gateway signal in distribution center networking is one of the key issues that need to be solved. Summary of the Invention
[0004] In view of the shortcomings of the prior art described above, the purpose of this invention is to provide a communication repair method, device, medium and terminal for automatic networking of transformer substations, which is used to solve the problem of communication interruption caused by gateway abnormality in transformer substation networking communication in the prior art.
[0005] To achieve the above and other related objectives, the present invention provides a communication repair method for automatic networking of transformer substations, comprising:
[0006] During the communication process between the area terminal and the area default gateway, the area default gateway sends a heartbeat message to each of the area terminals every heartbeat cycle. The area default gateway is a terminal of one of the nodes in the area network topology, and the area terminal is a terminal of the other nodes in the area network topology other than the node corresponding to the area default gateway.
[0007] When at least one of the transformer area terminals Ne does not receive the heartbeat message within the maximum no-communication time, the transformer area terminal Ne sends a default gateway disconnection message to the alternative gateway terminal Nμ, where the alternative gateway terminal Nμ is the terminal of the node with the highest priority among the transformer area terminals.
[0008] The alternative gateway terminal Nμ sends the default gateway disconnection message to the default gateway of the distribution area, and restores communication after communication repair based on the response of the default gateway of the distribution area.
[0009] Optionally, before the area terminal and the area default gateway communicate, the following further steps are included:
[0010] Register each of the aforementioned terminal units in the aforementioned terminal unit's default gateway, and obtain the priority factor of each of the aforementioned terminal units through the aforementioned default gateway;
[0011] The default gateway of the distribution area sorts the priority factors of each terminal in the distribution area to generate a priority sequence table, and sends the priority sequence table to each terminal in the distribution area.
[0012] Send the addresses of the terminals corresponding to all nodes in the priority sequence table to each terminal in the region.
[0013] Optionally, registering each of the transformer area terminals in the transformer area default gateway and obtaining the priority factor of each transformer area terminal through the transformer area default gateway includes:
[0014] The default gateway of the distribution area broadcasts time synchronization to each terminal in the distribution area.
[0015] Receive a time-stamped registration message sent by each of the aforementioned terminal units;
[0016] The time-stamped registration message is parsed to obtain the node information of each of the transformer area terminals. The default gateway of the transformer area performs adaptive priority calculation on the node information of each transformer area terminal to obtain the priority factor of each transformer area terminal.
[0017] Optionally, the calculation process for the priority factor of each of the aforementioned terminal areas satisfies the following formula:
[0018]
[0019] Where x represents the node order corresponding to the terminal in the distribution area, F x The priority factor, a, represents the priority factor of the terminal unit in the area corresponding to node NODEs_x. x This represents the ID information corresponding to the NODEs_x node, t sx The time at which the default gateway of the distribution area receives the time-stamped registration message sent by the terminal of the distribution area corresponding to the NODEs_x node, t bx This indicates the time stamp of the time when the terminal in the area corresponding to the NODEs_x node sends the time-stamped registration message.
[0020] Optionally, the communication restoration process after performing communication repair based on the response of the default gateway of the distribution area includes:
[0021] When the alternative gateway terminal Nμ receives the response from the default gateway of the area, it determines that the area terminal Ne is abnormal. The default gateway of the area records the abnormal node corresponding to the area terminal Ne and reports it to the main station.
[0022] When the alternative gateway terminal Nμ does not receive a response from the default gateway of the area, it waits for the maximum no-communication time.
[0023] When a preset percentage of terminals in the distribution area report that the default gateway for the distribution area has gone offline during the maximum period of no communication, it is determined that the default gateway for the distribution area has gone offline.
[0024] The alternative gateway terminal Nμ is used as the updated default gateway for the area, and the remaining terminals in the area are registered in the updated default gateway to restore the communication mode after network formation.
[0025] Optionally, after the terminal in the distribution area completes network registration and restores communication mode with the updated default gateway, the updated default gateway reports to the main station that the default gateway is abnormal.
[0026] Optionally, the maximum no-communication time is 25 min to 35 min, and the preset ratio is 2 / 3 to 1.
[0027] This invention provides a communication repair device for automatic networking of communication in a transformer substation, comprising:
[0028] The time synchronization module is used to send a heartbeat message to each of the terminals in the distribution area after every heartbeat cycle during the communication process between the terminal and the default gateway in the distribution area. The default gateway is a terminal of one of the nodes in the distribution area network topology, and the terminal is a terminal of the other nodes in the distribution area network topology except for the node corresponding to the default gateway.
[0029] The disconnection detection module, when at least one of the transformer area terminals Ne does not receive the heartbeat message within the maximum no-communication time, the transformer area terminal Ne sends a default gateway disconnection message to the alternative gateway terminal Nμ, where the alternative gateway terminal Nμ is the terminal of the node with the highest priority among the transformer area terminals;
[0030] The communication repair module is used to send the default gateway disconnection message to the default gateway of the distribution area through the alternative gateway terminal Nμ, and restore the communication process after performing communication repair based on the response of the default gateway of the distribution area.
[0031] The present invention provides a storage medium storing a computer program thereon, which, when executed by a processor, implements the above-described communication repair method for automatic networking of substation communications.
[0032] The present invention provides a terminal, comprising: a processor and a memory; the memory is used to store a computer program; the processor is used to execute the computer program stored in the memory, so that the terminal performs the above-described automatic network formation communication repair method for substation communication.
[0033] As described above, the communication repair method, apparatus, medium, and terminal for automatic networking of transformer substations according to the present invention have the following beneficial effects:
[0034] During communication, a priority sequence table, obtained by sorting the priority factors of each node's corresponding area terminal, is sent to each area terminal for storage. When the area's default gateway malfunctions during communication, the malfunction is repaired. If the area's default gateway is confirmed to be offline, the area terminal with the highest priority in the priority sequence table is selected as the updated default gateway and registration is completed to ensure normal communication. If the malfunction is confirmed to be in area terminal Ne, the malfunction is reported to the master station, and normal communication continues. This system can adaptively switch gateways, solving the problem of data not being sent to the master station when the gateway is malfunctioning. Furthermore, it can proactively identify abnormal network nodes in the area communication system and report them to the master station without manual troubleshooting, simplifying operation and maintenance, promoting the intelligent development of the area, and promptly handling abnormal situations during communication, effectively solving the problem of communication interruption caused by gateway malfunctions in area network communication. Attached Figure Description
[0035] Figure 1 The flowchart shown is a communication repair method for automatic networking of transformer area communication according to the present invention.
[0036] Figure 2 The flowchart shown is a process for registering and networking in the automatic networking method for substation communication of the present invention.
[0037] Figure 3 This diagram illustrates the registration process of a transformer terminal in the default gateway of a transformer area in the communication repair method for automatic networking of transformer area communication according to the present invention.
[0038] Figure 4 The diagram shows the working process of the automatic networking and communication repair method for transformer area communication according to the present invention in the networking mode, communication mode and abnormal mode of the transformer area network topology.
[0039] Figure 5 The diagram shown is a structural block diagram of the communication repair device for automatic networking of transformer area communications according to the present invention. Detailed Implementation
[0040] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, unless otherwise specified, the following embodiments and features described therein can be combined with each other.
[0041] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Therefore, the drawings only show the components related to the present invention and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0042] The present invention discloses a communication repair method, apparatus, medium, and terminal for automatic networking of distribution area communication. During the communication process, a priority sequence table obtained by sorting the priority factors of each distribution area terminal corresponding to each node is sent to each distribution area terminal and stored. When the default gateway of the distribution area is abnormal during the communication process, the abnormality of the default gateway is repaired. When it is confirmed that the default gateway of the distribution area is offline, the distribution area terminal with the highest priority in the priority sequence table is selected as the updated default gateway and registration and networking are completed to ensure that the communication process continues normally. When it is confirmed that the abnormality of distribution area terminal Ne is reported to the master station, the abnormality of distribution area terminal Ne is reported and normal communication continues. It can adaptively switch gateways, solve the problem that the data of distribution area devices cannot be sent to the master station when the gateway is abnormal. It can also actively identify abnormal network nodes in the distribution area communication system and report to the master station without manual investigation, simplifying operation and maintenance, promoting the intelligent development of distribution areas, and timely handling of abnormal situations in the communication process, effectively solving the problem of communication interruption caused by gateway abnormalities in distribution area networking communication.
[0043] like Figure 1 As shown, in one embodiment, the communication repair method for automatic networking of transformer substations according to the present invention refers to... Figure 1 It includes the following steps:
[0044] S101. During the communication process between the area terminal and the area default gateway, the area default gateway sends a heartbeat message to each of the area terminals every heartbeat cycle. The area default gateway is a terminal of one of the nodes in the area network topology, and the area terminal is a terminal of the other nodes in the area network topology besides the node corresponding to the area default gateway.
[0045] During the communication process between the default gateway of the distribution area and multiple distribution area terminals, the entire distribution area network topology nodes enter the normal communication mode. During the communication process, the default gateway of the distribution area sends a heartbeat message to each distribution area terminal every heartbeat cycle, so as to determine whether there is any abnormality in the communication process based on the feedback from the distribution area terminals.
[0046] S102. When at least one of the transformer area terminals Ne does not receive the heartbeat message within the maximum no-communication time, the transformer area terminal Ne sends a default gateway disconnection message to the alternative gateway terminal Nμ, where the alternative gateway terminal Nμ is the terminal of the node with the highest priority among the transformer area terminals.
[0047] When at least one of the aforementioned transformer area terminals Ne does not receive a heartbeat message from the default gateway within the maximum no-communication time, the entire transformer area network topology nodes enter an abnormal mode. In this case, transformer area terminal Ne sends a default gateway disconnection message to the highest priority alternative gateway terminal Nμ among all transformer area terminals to further confirm the abnormality in the communication process.
[0048] S103. The alternative gateway terminal Nμ sends the default gateway disconnection message to the default gateway of the distribution area, and performs communication repair and resumes communication based on the response of the default gateway of the distribution area.
[0049] In this embodiment, during the network communication process in the distribution area, one node from all nodes in the distribution area network topology is selected as the default gateway, and the terminals corresponding to the remaining nodes are designated as distribution area terminals to facilitate network communication. During communication, the default gateway sends a heartbeat message to each distribution area terminal every heartbeat cycle to determine whether there is an anomaly in the communication based on the feedback from the distribution area terminals. When at least one distribution area terminal Ne does not receive a heartbeat message from the default gateway within the maximum no-communication time, it can be determined that there is an anomaly in the communication process, and the entire distribution area topology network enters an abnormal mode. Subsequently, distribution area terminal Ne sends a default gateway disconnection message to the highest priority alternative gateway terminal Nμ, and the alternative gateway terminal Nμ sends the default gateway disconnection message to the default gateway so that communication can be repaired and communication restored based on the response of the default gateway.
[0050] In one embodiment of the present invention, reference is made to Figure 2 Before step S101, the process also includes registration and network setup, specifically including the following steps:
[0051] S201. Register each of the aforementioned terminal units in the aforementioned terminal unit's default gateway, and obtain the priority factor of each terminal unit through the aforementioned default gateway.
[0052] In one embodiment of the present invention, step S201 includes the following process:
[0053] The default gateway of the distribution area broadcasts time synchronization to each terminal in the distribution area.
[0054] Receive a time-stamped registration message sent by each of the aforementioned terminal units;
[0055] The time-stamped registration message is parsed to obtain the node information of each of the transformer area terminals. The default gateway of the transformer area performs adaptive priority calculation on the node information of each transformer area terminal to obtain the priority factor of each transformer area terminal.
[0056] In one embodiment of the present invention, the calculation process of the priority factor for each of the transformer area terminals satisfies the following formula:
[0057]
[0058] Where x represents the node order corresponding to the terminal in the distribution area, F x The priority factor, a, represents the priority factor of the terminal unit in the area corresponding to node NODEs_x. x This represents the ID information corresponding to the NODEs_x node, t sx The time at which the default gateway of the distribution area receives the time-stamped registration message sent by the terminal of the distribution area corresponding to the NODEs_x node, t bx This indicates the time stamp of the time when the terminal in the area corresponding to the NODEs_x node sends the time-stamped registration message.
[0059] S202, the default gateway of the distribution area sorts the priority factors of each of the distribution area terminals to generate a priority sequence table, and sends the priority sequence table to each of the distribution area terminals.
[0060] S203. Send the addresses of the terminals corresponding to all nodes in the priority sequence table to each terminal in the distribution area.
[0061] For example, refer to Figure 3 and Figure 4In the network topology of the distribution area, the terminal at the topology node NODEs_1 is set as the default gateway of the distribution area and named ROOTs_1. ROOTs_1 is the master, and the terminals at other nodes NODEs_x (x = 2, 3, 4, ...) in the network topology are the slaves, where x is a positive integer. When ROOTs_1 broadcasts to the slave terminals, it receives time-stamped registration messages sent by the slave terminals, parses the registration messages one by one, records the information of the slave nodes NODEs_x (x = 2, 3, 4, ...), and performs adaptive priority calculation on the received NODEs_x information to obtain the priority factor F. x Based on priority factor F x The nodes corresponding to all station terminals are prioritized and a priority sequence table is generated. The node with the highest priority, μ = min(F2, ..., Fn), is the node that the next gateway inherits from. The terminal addresses (N2, ..., Nn) at the nodes in the relevant priority sequence table are then distributed to all registered station terminals.
[0062] In one embodiment of the present invention, in step S103, the communication repair and communication restoration process based on the response of the default gateway of the distribution area includes:
[0063] When the alternative gateway terminal Nμ receives the response from the default gateway of the area, it determines that the area terminal Ne is abnormal. The default gateway of the area records the abnormal node corresponding to the area terminal Ne and reports it to the main station.
[0064] When the alternative gateway terminal Nμ does not receive a response from the default gateway of the area, it waits for the maximum no-communication time.
[0065] When a preset percentage of terminals in the distribution area report that the default gateway for the distribution area has gone offline during the maximum period of no communication, it is determined that the default gateway for the distribution area has gone offline.
[0066] The alternative gateway terminal Nμ is used as the updated default gateway for the area, and the remaining terminals in the area are registered in the updated default gateway to restore the communication mode after network formation.
[0067] In one embodiment of the present invention, after the substation terminal and the updated substation default gateway have completed network registration and resumed communication mode, the updated substation default gateway reports to the main station that the substation default gateway is abnormal.
[0068] In one embodiment of the present invention, the maximum no-communication time is 25 min to 35 min, and the preset ratio is 2 / 3 to 1.
[0069] For example, refer to Figure 4In abnormal mode, the substation terminal Ne sends a ROOTs_1 disconnection message to the backup gateway terminal Nμ, which is the highest priority slave node. The backup gateway terminal Nμ reports the ROOTs_1 disconnection message to ROOTs_1. If it receives a response from ROOTs_1, it determines that the substation terminal Ne is abnormal, and ROOTs_1 records the abnormal node Ne and reports it to the master station. If it does not receive a response from ROOTs_1, and after waiting for 30 minutes, if more than 2 / 3 of the devices report that ROOTs_1 is abnormal, then ROOTs_1 is considered to be offline. According to the priority sequence table, the backup gateway terminal Nμ is designated as the new gateway, i.e., the updated default gateway for the substation, denoted as ROOTs_2. ROOTs_2 sends broadcast messages to the substation terminals at other nodes in the topology, switching to network mode. After the substation terminals at each topology node complete the network formation, they enter communication mode and report the ROOTs_1 node abnormality to the master station.
[0070] It should be noted that the scope of protection of the automatic networking and communication repair method for transformer substations described in this invention is not limited to the order of steps listed in this embodiment. Any solution implemented by adding, subtracting, or replacing steps in the prior art based on the principles of this invention is included within the scope of protection of this invention.
[0071] This invention also discloses a communication repair device for automatic networking of transformer substations, with reference to... Figure 5 ,include:
[0072] The time synchronization module 501 is used to send a heartbeat message to each of the terminals in the distribution area after every heartbeat cycle during the communication process between the distribution area terminal and the distribution area default gateway. The distribution area default gateway is a terminal of one of the nodes in the distribution area network topology, and the distribution area terminal is a terminal of other nodes in the distribution area network topology other than the node corresponding to the distribution area default gateway.
[0073] The disconnection detection module 502, when at least one of the transformer area terminals Ne does not receive the heartbeat message within the maximum no-communication time, the transformer area terminal Ne sends a default gateway disconnection message to the alternative gateway terminal Nμ, where the alternative gateway terminal Nμ is the terminal of the node with the highest priority among the transformer area terminals;
[0074] The communication repair module 503 is used to send the default gateway disconnection message to the default gateway of the distribution area through the alternative gateway terminal Nμ, and restore the communication process after performing communication repair based on the response of the default gateway of the distribution area.
[0075] It should be noted that the division of the various modules in the above device is merely a logical functional division. In actual implementation, they can be fully or partially integrated into a single physical entity, or they can be physically separated. Furthermore, these modules can be implemented entirely in software via processing element calls; they can be fully implemented in hardware; or some modules can be implemented by processing element calls to software, while others are implemented in hardware. For example, module x can be a separate processing element, or it can be integrated into a chip in the above device. Alternatively, it can be stored as program code in the memory of the above device, and its function can be called and executed by a processing element of the device. The implementation of other modules is similar. Moreover, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element mentioned here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each of the above modules can be completed through the integrated logic circuits in the hardware of the processor element or through software instructions.
[0076] For example, these modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more Digital Signal Processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs). As another example, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a system-on-a-chip (SOC).
[0077] The storage medium of this invention stores a computer program, which, when executed by a processor, implements the aforementioned communication repair method for automatic network formation in substation communication. The storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disk, USB flash drive, memory card, or optical disk.
[0078] The terminal of the present invention includes a processor and a memory.
[0079] The memory is used to store computer programs. Preferably, the memory includes various media capable of storing program code, such as ROM, RAM, magnetic disk, USB flash drive, memory card, or optical disk.
[0080] The processor is connected to the memory and is used to execute the computer program stored in the memory so that the terminal performs the communication repair method for automatic networking of station area communication described above.
[0081] Preferably, the processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0082] It should be noted that the communication repair device for automatic networking of transformer substations of the present invention can implement the communication repair method for automatic networking of transformer substations of the present invention. However, the implementation device for the communication repair method for automatic networking of transformer substations of the present invention includes, but is not limited to, the structure of the communication repair device for automatic networking of transformer substations listed in this embodiment. All structural modifications and substitutions of the prior art made according to the principle of the present invention are included within the protection scope of the present invention.
[0083] In summary, the communication repair method, apparatus, medium, and terminal for automatic network formation in transformer substations of the present invention, during the communication process, sends a priority sequence table obtained by sorting the priority factors of the transformer substations corresponding to each node to each transformer substation and stores it. When the default gateway of the transformer substation is abnormal during the communication process, the abnormality of the default gateway is repaired. When it is confirmed that the default gateway of the transformer substation is offline, the transformer substation with the highest priority in the priority sequence table is selected as the updated default gateway and registration and network formation are completed in a timely manner to ensure that the communication process continues normally. When it is confirmed that the abnormality of transformer substation terminal Ne is the fault, the abnormality of transformer substation terminal Ne is reported to the master station and normal communication continues. It can adaptively switch gateways, solve the problem that transformer substation equipment data cannot be sent to the master station when the gateway is abnormal, and can actively identify abnormal network nodes in the transformer substation communication system and report to the master station without manual investigation, simplifying operation and maintenance, promoting the intelligent development of transformer substations, and handling abnormal situations in the communication process in a timely manner, effectively solving the problem of communication interruption caused by gateway abnormalities in transformer substation network communication. Therefore, the present invention effectively overcomes the various shortcomings of the prior art and has high industrial application value.
[0084] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in the present invention should still be covered by the claims of the present invention.
Claims
1. A communication repair method for automatic networking of transformer substations, characterized in that, include: During the communication process between the area terminal and the area default gateway, the area default gateway sends a heartbeat message to each of the area terminals every heartbeat cycle. The area default gateway is a terminal of one of the nodes in the area network topology, and the area terminal is a terminal of the other nodes in the area network topology other than the node corresponding to the area default gateway. When at least one of the transformer area terminals Ne does not receive the heartbeat message within the maximum no-communication time, the transformer area terminal Ne sends a default gateway disconnection message to the alternative gateway terminal Nμ, where the alternative gateway terminal Nμ is the terminal of the node with the highest priority among the transformer area terminals. The alternative gateway terminal Nμ sends the default gateway disconnection message to the default gateway of the distribution area, and then restores communication after performing communication repair based on the response of the default gateway. The terminals with the highest priority in the distribution area are obtained by sorting them according to a priority factor. The calculation process of the priority factor for each distribution area terminal satisfies the following formula: Where x represents the node sequence corresponding to the terminal in the distribution area. The priority factor represents the terminal in the area corresponding to node NODEs_x. This indicates the ID information corresponding to the NODEs_x node. This indicates the time at which the default gateway of the distribution area receives the time-stamped registration message sent by the terminal in the distribution area corresponding to the NODEs_x node. This indicates the time stamp of the time when the terminal in the area corresponding to the NODEs_x node sends the time-stamped registration message.
2. The communication repair method for automatic networking of transformer substations according to claim 1, characterized in that, Before the area terminal and the area default gateway communicate, the following steps are also included: Register each of the aforementioned terminal units in the aforementioned terminal unit's default gateway, and obtain the priority factor of each of the aforementioned terminal units through the aforementioned default gateway; The default gateway of the distribution area sorts the priority factors of each terminal in the distribution area to generate a priority sequence table, and sends the priority sequence table to each terminal in the distribution area. Send the addresses of the terminals corresponding to all nodes in the priority sequence table to each terminal in the region.
3. The communication repair method for automatic networking of transformer substations according to claim 2, characterized in that, The step of registering each of the transformer area terminals in the transformer area default gateway and obtaining the priority factor of each of the transformer area terminals through the transformer area default gateway includes: The default gateway of the distribution area broadcasts time synchronization to each terminal in the distribution area. Receive a time-stamped registration message sent by each of the aforementioned terminal units; The time-stamped registration message is parsed to obtain the node information of each of the transformer area terminals. The default gateway of the transformer area performs adaptive priority calculation on the node information of each transformer area terminal to obtain the priority factor of each transformer area terminal.
4. The communication repair method for automatic networking of transformer substations according to claim 2, characterized in that, The communication restoration process after repairing communication based on the response from the default gateway of the transformer area includes: When the alternative gateway terminal Nμ receives the response from the default gateway of the area, it determines that the area terminal Ne is abnormal. The default gateway of the area records the abnormal node corresponding to the area terminal Ne and reports it to the main station. When the alternative gateway terminal Nμ does not receive a response from the default gateway of the area, it waits for the maximum no-communication time. When a preset percentage of terminals in the distribution area report that the default gateway for the distribution area has gone offline during the maximum period of no communication, it is determined that the default gateway for the distribution area has gone offline. The alternative gateway terminal Nμ is used as the updated default gateway for the area, and the remaining terminals in the area are registered in the updated default gateway to restore the communication mode after network formation.
5. The communication repair method for automatic networking of transformer substations according to claim 4, characterized in that, After the terminal in the distribution area completes network registration and restores communication mode with the updated default gateway, the updated default gateway reports an anomaly to the main station.
6. The communication repair method for automatic networking of transformer substations according to claim 4, characterized in that, The maximum no-communication time is 25 to 35 minutes, and the preset ratio is 2 / 3 to 1.
7. A communication repair device for automatic networking of transformer substations, characterized in that, include: The time synchronization module is used to send a heartbeat message to each of the terminals in the distribution area after every heartbeat cycle during the communication process between the terminal and the default gateway in the distribution area. The default gateway is a terminal of one of the nodes in the distribution area network topology, and the terminal is a terminal of the other nodes in the distribution area network topology except the node corresponding to the default gateway. The disconnection detection module, when at least one of the transformer area terminals Ne does not receive the heartbeat message within the maximum no-communication time, the transformer area terminal Ne sends a default gateway disconnection message to the alternative gateway terminal Nμ, where the alternative gateway terminal Nμ is the terminal of the node with the highest priority among the transformer area terminals; The communication repair module is used to send the default gateway disconnection message to the default gateway of the distribution area through the alternative gateway terminal Nμ, and restore the communication process after performing communication repair based on the response of the default gateway of the distribution area. The terminals with the highest priority in the distribution area are obtained by sorting them according to a priority factor. The calculation process of the priority factor for each distribution area terminal satisfies the following formula: Where x represents the node sequence corresponding to the terminal in the distribution area. The priority factor represents the terminal in the area corresponding to node NODEs_x. This indicates the ID information corresponding to the NODEs_x node. This indicates the time at which the default gateway of the distribution area receives the time-stamped registration message sent by the terminal in the distribution area corresponding to the NODEs_x node. This indicates the time stamp of the time when the terminal in the area corresponding to the NODEs_x node sends the time-stamped registration message.
8. A storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the communication repair method for automatic networking of substation communication as described in any one of claims 1 to 6.
9. A terminal, characterized in that, include: Processor and memory; The memory is used to store computer programs; The processor is used to execute the computer program stored in the memory, so that the terminal performs the communication repair method for automatic networking of substation communication according to any one of claims 1 to 6.
Citation Information
Patent Citations
Train network data transmission method, system and device based on CANopen protocol
CN109104348A
Fault self-recovery method of wireless bridge and terminal
CN114928534A