Dual-network and dual-link routing method and system based on HPLC+HRF
By building an independent but mutually alternative dual-network dual-link routing structure in HPLC+HRF communication technology, the problem of insufficient exertion of network stability and dual-link advantages in the prior art is solved, and higher network stability and rapid recovery capabilities are achieved.
Patent Information
- Application Number
- CN202510255878.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-05
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2045-03-05
AI Technical Summary
The existing HPLC+HRF communication technology has room for improvement in the stability and dual-link advantages of dual-receiver and dual-transmitter networks, especially when the proxy PCO node fails or the dual-link is disturbed, the network abnormality and recovery time are long.
Using the dual-network dual-link routing method based on HPLC+HRF, by building independent but mutually alternative HPLC network branches and HRF network branches, another normal network branch is used for communication and interaction and repair abnormal network branches.
It improves the stability of the overall network and has the complementary advantages of dual network and dual links, ensuring that when one network branch is abnormal, the other network branch can quickly replace the data transmission and shorten the network recovery time through the repair mechanism.
Smart Images

Figure CN119743426B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power communication, and particularly to a dual-network and dual-link routing method and system based on HPLC+HRF. Background Art
[0002] At present, the HPLC+HRF communication technology is widely used in the power grid centralized meter reading. The high-speed dual-link advantage it has greatly increases the communication bandwidth, making it possible for more high-speed and large-data-volume services.
[0003] The existing dual-receive and dual-transmit scheme can release the hardware performance of the HPLC+HRF dual-link to a certain extent. However, in its communication network routing structure, as Figure 1 shown, both the HPLC link and the HRF link of the node point to the same proxy PCO node, that is, there is only one proxy PCO node (parent node) for the nodes that have accessed the network. That is to say, its HPLC and HRF links are completely in the same network. Once the proxy PCO node fails or the dual-links between the proxy node and the CCO node are simultaneously invalidated due to multiple interferences, a large area of network anomalies will occur for the proxy PCO node and its affiliated nodes, and it takes a long time to recover. In terms of the stability of the HPLC+HRF communication technology for the dual-receive and dual-transmit network and how to give full play to the dual-link advantage, there is still room for improvement. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide a dual-network and dual-link routing method and system based on HPLC+HRF, which can improve the overall network stability and have the advantages of dual-network and dual-link without increasing the hardware cost.
[0005] To solve the above technical problem, the first technical solution adopted by the present invention is:
[0006] A dual-network and dual-link routing method based on HPLC+HRF, including a dual-network and dual-link composed of an HPLC network branch and an HRF network branch;
[0007] The HPLC network branch includes a CCO node, at least two PCO nodes, and at least one STA node; the CCO node is communicatively connected to at least one first PCO node based on HPLC; the at least one first PCO node is communicatively connected to other PCO nodes and at least one STA node other than the at least one first PCO node based on HPLC;
[0008] The HRF network branch includes the CCO node, the at least two PCO nodes, and the at least one STA node; the CCO node is communicatively connected to at least one second PCO node based on HRF; the at least one second PCO node is communicatively connected to other PCO nodes and at least one STA node other than the at least one second PCO node based on HRF;
[0009] When an abnormality occurs in the HPLC network branch or the HRF network branch, communication interaction is performed using the other normal network branch, and the abnormal network branch is repaired through the other normal network branch.
[0010] Optionally, when an abnormality occurs in the HPLC network branch or the HRF network branch, communication interaction is performed using the other normal network branch, including:
[0011] When a PCO node in the HPLC network branch or the HRF network branch fails or its communication link fails, the STA node connected to the one PCO node uploads data using another PCO node connected to it in the other normal network branch, and the CCO node uses the other PCO node to send data to the STA node.
[0012] Optionally, repairing the abnormal network branch through the other normal network branch includes:
[0013] If a STA node in the HPLC network branch or the HRF network branch cannot receive data from the CCO node, the one STA node uses the other normal network branch to initiate a proxy change request message to the CCO node; the CCO node issues a corresponding proxy change request confirmation message to the one STA node through the other normal network branch according to the received proxy change request message; the one STA node changes the PCO node it is connected to in the network branch where it cannot receive data from the CCO node according to the received proxy change request confirmation message.
[0014] If the CCO node cannot receive the data sent up by a STA node through the HPLC network branch or the HRF network branch, the CCO node issues a routing repair request message to the one STA node through the other normal network branch; the one STA node sends a corresponding routing repair request reply message to the CCO node through the other normal network branch; the CCO node issues a routing repair response message to the one STA node through the other normal network branch; the one STA node changes the PCO node it is connected to in the abnormal network branch according to the routing repair response message.
[0015] Optionally, in the routing table entries of each node, the highest bit of the TEI takes different values corresponding to the HPLC network branch and the HRF network branch respectively, and the lower 11 bits of the TEI are the actual TEIs in the HPLC + HRF network.
[0016] Another technical solution provided by the present invention is:
[0017] A routing system based on a dual-network and dual-link of HPLC + HRF, which is used to implement the routing method based on the dual-network and dual-link of HPLC + HRF described in claim 1 above;
[0018] The routing system includes a dual-network and dual-link composed of an HPLC network branch and an HRF network branch;
[0019] The HPLC network branch includes a CCO node, at least two PCO nodes, and at least one STA node; the CCO node is communicatively connected to at least one first PCO node based on HPLC; the at least one first PCO node is communicatively connected to other PCO nodes except the at least one first PCO node and at least one STA node based on HPLC;
[0020] The HRF network branch includes the CCO node, the at least two PCO nodes, and the at least one STA node; the CCO node is communicatively connected to at least one second PCO node based on HRF; the at least one second PCO node is communicatively connected to other PCO nodes except the at least one second PCO node and at least one STA node based on HRF.
[0021] Optionally, when an abnormality occurs in the HPLC network branch, the HPLC network branch is configured to use the HRF network branch for communication interaction and repair the HPLC network branch through the HRF network branch;
[0022] When an abnormality occurs in the HRF network branch, the HRF network branch is configured to use the HPLC network branch for communication interaction and repair the HRF network branch through the HPLC network branch.
[0023] Optionally, the HPLC network branch is specifically configured that when one of the PCO nodes fails or its communication link fails, the STA node connected to the one PCO node uses another PCO node connected to it in the HRF network branch to upload data, and the CCO node uses the another PCO node to send data to the STA node;
[0024] The HRF network branch is specifically configured such that when one of the PCO nodes fails or its communication link fails, the STA node connected to the one PCO node uses the other PCO node connected to it in the HPLC network branch to upload data, and the CCO node uses the other PCO node to send data down to the STA node.
[0025] Optionally, the HPLC network branch is specifically configured such that if one of the STA nodes cannot receive data from the CCO node, the one STA node uses the HRF network branch to initiate a proxy change request message to the CCO node; the CCO node, based on the received proxy change request message, sends a corresponding proxy change request confirmation message down to the one STA node through the HRF network branch; the one STA node, based on the received proxy change request confirmation message, changes the PCO node it is connected to in the HPLC network branch;
[0026] The HRF network branch is specifically configured such that if one of the STA nodes cannot receive data from the CCO node, the one STA node uses the HPLC network branch to initiate a proxy change request message to the CCO node; the CCO node, based on the received proxy change request message, sends a corresponding proxy change request confirmation message down to the one STA node through the HPLC network branch; the one STA node, based on the received proxy change request confirmation message, changes the PCO node it is connected to in the HRF network branch.
[0027] Optionally, the HPLC network branch is specifically configured such that if the CCO node cannot receive the data sent up by one of the STA nodes through it, the CCO node sends a route repair request message down to the one STA node through the HRF network branch; the one STA node sends a corresponding route repair request reply message up to the CCO node through the HRF network branch; the CCO node sends a route repair response message down to the one STA node through the HRF network branch; the one STA node changes the PCO node it is connected to in the HPLC network branch based on the route repair response message;
[0028] The HRF network branch is specifically configured such that if the CCO node fails to receive data uploaded by a STA node through it, the CCO node sends a routing repair request message to the STA node through the HPLC network branch; the STA node sends a corresponding routing repair request reply message to the CCO node through the HPLC network branch; the CCO node sends a routing repair response message to the STA node through the HPLC network branch; and the STA node changes the PCO node it is connected to in the HRF network branch according to the routing repair response message.
[0029] Optionally, in the routing table entries of each node, the highest bit of the TEI takes different values corresponding to the HPLC network branch and the HRF network branch respectively, and the lower 11 bits of the TEI are the actual TEI in the HPLC + HRF network.
[0030] The beneficial effects of the present invention are as follows: The dual-network and dual-link based on HPLC + HRF constructed by the present invention includes an HPLC network branch and an HRF network branch with different routes but can be used as alternatives to each other. When an abnormality occurs in one network branch, the normal other network branch can be used to replace it to complete data transmission; the abnormal network branch can also be repaired through the normal other network branch. Therefore, the dual-network and dual-link structure based on HPLC + HRF of the present invention can not only improve the stability of the overall network but also fully possess the complementary advantages of the dual-network and dual-link. Description of the Drawings
[0031] Figure 1 is a topology diagram of the dual-network and dual-link of the prior art;
[0032] Figure 2 is a topology diagram of the dual-network and dual-link based on HPLC + HRF provided by an embodiment of the present invention;
[0033] Figure 3 is the routing structure and routing table entry of the HPLC + HRF dual-network and dual-link in an embodiment of the present invention;
[0034] Figure 4 is a schematic diagram of routing repair in the direction from STA to CCO in an embodiment of the present invention;
[0035] Figure 5 is a schematic diagram of routing repair in the direction from CCO to STA in an embodiment of the present invention. Detailed Embodiments
[0036] To describe the technical content, achieved objectives and effects of the present invention in detail, the following is described in conjunction with the embodiments and with reference to the drawings.
[0037] The most crucial concept of the present invention lies in: constructing a dual - network dual - link based on HPLC + HRF, including HPLC network branches and HRF network branches with different routes but mutually alternative.
[0038] The technical terms involved in the present invention are explained as shown in Table 1:
[0039] Embodiment 1
[0040] Please refer to Figure 2 , Figure 2 , which is the topology diagram of the dual - network dual - link based on HPLC + HRF provided by the embodiment of the present invention.
[0041] This embodiment provides a routing method for a dual - network dual - link based on HPLC + HRF, which is implemented based on the routing structure of the dual - network dual - link based on HPLC + HRF.
[0042] As Figure 2 shown, the construction of the routing structure of the dual - network dual - link based on HPLC + HRF follows the network - branch principle. The network branch consists of the nodes directly connected to the CCO node and all affiliated nodes, specifically including the HPLC network branch and the HRF network branch:
[0043] The HPLC network branch includes a CCO node, at least two PCO nodes, and at least one STA node; the CCO node is communicatively connected to at least one first PCO node based on HPLC; the at least one first PCO node is communicatively connected to other PCO nodes except the at least one first PCO node and at least one STA node based on HPLC;
[0044] The HRF network branch includes the CCO node, the at least two PCO nodes, and the at least one STA node; the CCO node is communicatively connected to at least one second PCO node based on HRF; the at least one second PCO node is communicatively connected to other PCO nodes except the at least one second PCO node and at least one STA node based on HRF.
[0045] The network branch principle stipulates that in a dual-network and dual-link routing structure, the link type of the network access node that a network branch can accept depends on the type of the network branch. Therefore, for the HPLC network branch described in this embodiment, the node type directly connected to the CCO node is an HPLC link, and it only accepts network access requests of the HPLC link type; in the HRF network branch, the node link type directly connected to the CCO node is an HRF link, and it only accepts network access requests of the HRF link type. It can be seen that the HPLC network constructed by the HPLC network branch and the HRF network constructed by the HRF network branch are completely independent network structures; however, since the nodes they contain are exactly the same, they can cooperate with each other, and can also become an alternative relationship, and complete communication services together through the dual links.
[0046] It can be understood that based on the above routing structure characteristics, the HPLC network and the HRF network corresponding to the HPLC network branch and the HRF network branch respectively are independent of each other and can cooperate with each other to complete communication services together through the dual links. That is, based on the routing method of the above dual-network and dual-link routing structure, data can be transmitted using the HPLC network while using the HRF network, and data can be transmitted using the HRF network while using the HPLC network.
[0047] In addition, they are also in an alternative relationship. When one of the HPLC network branch and the HRF network branch has an abnormality, the abnormal network branch will not affect the other network branch, and the other network branch can still normally perform data transmission and network maintenance; moreover, the abnormal network branch can be quickly repaired by the normal network branch.
[0048] Specifically, in this embodiment, the HPLC network is completely composed of HPLC communication links and is independent of the HRF network. Even when an HPLC network node fails, other nodes in the HRF network are not affected, and the HRF network can still normally perform data transmission and network maintenance, and the abnormal HPLC network can be quickly repaired by the HRF network. The HRF network is completely composed of HRF communication links and is independent of the HPLC network. Even when an HRF network node fails, other nodes in the HPLC network are not affected, and the HPLC network can still normally perform data transmission and network maintenance, and the abnormal HRF network can be quickly repaired by the HPLC network.
[0049] For example, by sending the same message through the HPLC network and the HRF network respectively, the same message received at the receiving end can be filtered. During the communication process, the messages are transmitted through the HPLC network and the HRF network respectively, independently of each other. Even if one of the networks is interfered with or a proxy node fails, the other network can still complete the transmission normally and inform the CCO node of the abnormal situation. After the CCO node senses the network failure, it can perform real-time routing repair through the normally operating network.
[0050] Transmit different service messages through the HPLC network and the HRF network respectively, and utilize the characteristics of the dual-network and dual-link to improve the bandwidth utilization rate as a whole. During the communication process, different service messages are transmitted through the HPLC network and the HRF network respectively and reach the receiving end independently. Even if one of the networks is interfered with or a proxy node fails, the other network can still complete the transmission of the remaining data normally and inform the CCO network node of the abnormal situation. After the transmission is completed, the CCO node immediately performs routing repair on the faulty network through the normal network.
[0051] Of course, it is also possible to specify that one of the networks is dedicated to data transmission and the other network is dedicated to network maintenance, so as to improve the overall real-time performance of the HPLC+HRF network.
[0052] As can be seen from the above, for the dual-network and dual-link routing structure based on HPLC+HRF provided in this embodiment, the HPLC network and the HRF network corresponding to the HPLC network branch and the HRF network branch are independent of each other and can cooperate with each other, and can also be configured as alternatives to each other. Based on the routing method of the above dual-network and dual-link routing structure, the impact caused by the problem of simultaneous failure of the dual-links due to the failure of the proxy node or multiple interferences can be reduced, thereby improving the stability of the HPLC+HRF network as a whole; in addition, it also has the advantages of the HPLC+HRF dual-links at the same time.
[0053] In some specific embodiments of this embodiment, Figure 2 The networking process of the dual-network and dual-link based on HPLC+HRF is as follows:
[0054] In the initial stage of networking, the PCO1 node and the PCO2 node are connected to the CCO node through the HPLC link and the HRF link respectively, forming an HPLC network branch and an HRF network branch respectively. Each network branch includes the node directly connected to the CCO node through the link and all the subordinate nodes under this node, that is, the CCO node and the PCO1 node form the HPLC network branch; the CCO node and the PCO2 node form the HRF network branch.
[0055] Since the construction of the dual-network and dual-link routing structure of HPLC+HRF follows the network branching principle. The network branching principle stipulates that the link type of the access nodes that a network branch can accept depends on the type of the network branch. Therefore, the HPLC network branch only accepts the access applications of HPLC links, that is to say, the HRF link of the PCO1 node can only access through the HRF network application. As Figure 2 shown, the PCO1 node has accessed through the HPLC link to form an HPLC network branch, and its HRF link needs to access again through the PCO2 node on the HRF network branch. Similarly, the PCO2 node accesses through the HRF link to form an HRF network branch, and its HPLC link needs to access again through the PCO1 node on the HPLC network branch. It should be noted that the so-called secondary access means that in the dual-network and dual-link network of HPLC+HRF, when a node to be accessed accesses through one kind of link (HPLC link or HRF link), it is called primary access; after the primary access is successful, when the node applies for access again through the other kind of link, it is called secondary access, thus forming a dual-network.
[0056] Furthermore, if the STA3 node to be accessed accesses to the PCO1 node on the HPLC network branch through the HPLC link, then its HRF link should access through other HRF network branches. As Figure 2 shown, the HRF link of the STA3 node can choose the PCO2 node on the HRF network branch for secondary access.
[0057] After the network formation is completed, a topology structure based on the dual-network and dual-link of HPLC+HRF will be formed as Figure 2 shown. It can be divided into two to form an HPLC network topology and an HRF network topology as Figure 2 shown, which are independent of each other but can cooperate with each other and serve as substitutes for each other. Embodiment 2
[0058] Please refer to Figure 2 and Figure 3 . Among them, Figure 3 is the HPLC+HRF dual-network and dual-link routing structure and routing table entries in the embodiment of the present invention.
[0059] This embodiment is a further expansion based on the above embodiment, and the communication interaction process of the above-mentioned HPLC+HRF dual-network and dual-link routing structure is described in detail.
[0060] According to the HPLC+HRF dual-mode protocol, combined with the HPLC+HRF dual-network and dual-link network topology of Figure 2 , the HPLC+HRF dual-network and dual-link routing structure and routing table entries as Figure 3 shown can be obtained.
[0061] In this embodiment, based on the HPLC+HRF dual-mode protocol, the highest bit bit11 of the TEI (a total of 12 bits) is used as the flag to distinguish between the HPLC link and the HRF link; when the highest bit bit11 of the TEI bit is 0, it represents the HPLC link, and when it is 1, it represents the HRF link. Here, the TEI is usually represented in hexadecimal, such as Figure 3 In the CCO routing table entry of, when the TEI of STA3 is 804 (represented in hexadecimal), it represents its HRF link, and the corresponding highest bit bit11 is 1, that is, 100000000100 (the hexadecimal 804 is expanded to binary, the leftmost is bit11, and the rightmost is bit0); while the lower 11 bits of the TEI represent its actual TEI in the HPLC+HRF dual-network dual-link routing. It can be understood that the specific value of the bit of the above TEI is only used to show the HPLC+HRF dual-network dual-link routing structure and the routing table entry of this embodiment. The method of constructing the HPLC+HRF dual-network dual-link routing structure and the routing table entry is not limited thereto because of this.
[0062] Such as Figure 3 As shown, each node in the HPLC+HRF dual-network dual-link routing structure has its own TEI. For the convenience of analysis, the HPLC+HRF dual-network dual-link routing structure is split into an HPLC network routing and an HRF network routing. Among them, the HPLC network routing, that is, the HPLC network branch, corresponds to the HPLC link, then the highest bit of the TEI of each node in the HPLC network is always 0. The HRF network, that is, the HRF network branch, corresponds to the HRF link, then the highest bit of the TEI in the HRF network is always 1. Thus, according to the HPLC+HRF dual-mode protocol routing table entry construction rule, it can be obtained as Figure 3 As shown, the "CCO routing table entry", "PCO1 routing table entry", "PCO2 routing table entry" and "STA3 routing table entry" in the HPLC+HRF dual-network dual-link routing structure.
[0063] Here, it is assumed that the CCO node needs to send a message to the STA3 node. As mentioned above, the highest bit bit11 is used to mark the link type. Therefore, the actual TEI of the STA3 node in the HPLC+HRF dual network is 4. The TEI corresponding to the HPLC link is 004, and the TEI corresponding to the HRF link is 804. By querying its own routing table entry, the CCO node finds that the TEI corresponding to the HPLC link of the target destination node STA3 is 004, and the TEI corresponding to the HRF link is 804. To access the nodes with TEI=004 and TEI=804, the CCO node can forward the message through the relay node with TEI=002 in the HPLC link; it can also be forwarded through the relay node with TEI=803 in the HRF link (corresponding to the HRF network and HRF link). Of course, whether to forward the message through the relay node with TEI=002 or the relay node with TEI=803, or even through both the relay node with TEI=002 and the relay node with TEI=803, depends on the decision of the CCO node. This is the advantage brought by the dual network and dual link of the HPLC+HRF dual network dual link routing structure. After the CCO node sends the message to the relay node with TEI=002 and / or the relay node with TEI=803, the relay node with TEI=002 queries its own routing table entry. Since the TEI of the next node is determined to be 004 by the target destination node TEI=004, the message is forwarded to the node with TEI=004, thus completing the process of the CCO node sending the message to the STA3 node through the HPLC link. And the relay node with TEI=803 queries its own routing table entry for the message. Since the TEI of the next node is determined to be 804 by the target destination node TEI=804, the message is forwarded to the node with TEI=804, thus completing the process of the CCO node sending the message to the STA3 node through the HRF link.
[0064] It can be understood that the route for the CCO node to reach any node can pass through the HPLC network branch (HPLC link) and the HRF network branch (HRF link) simultaneously, with the characteristics of dual network and dual link. Therefore, the HPLC+HRF dual network dual link routing structure provided in this embodiment can not only improve the overall network stability but also fully possess the advantages of dual network and dual link.
[0065] Next, several simple application examples of dual network and dual link will be combined to help with understanding.
[0066] Example 1: The same message is sent through the HPLC network and the HRF network, and the receiving end node filters the received same message. Such a dual link transmission method has high stability. Combining Figure 2 and Figure 3, there are dual networks and dual links between the CCO node and the STA3 node, namely the HPLC link CCO-PCO1-STA3 in the HPLC network branch and the HRF link CCO-PCO2-STA3 in the HRF network branch. The same packets are transmitted between the CCO node and the STA3 node through these two paths, and the receiving end node filters the same packets. During the transmission process, the intermediate nodes on the HPLC link path are different from those on the HRF link path. That is to say, the relay nodes on the HPLC link path are different from the relay nodes on the HRF link path. Therefore, during the transmission process, if an intermediate node on one link is abnormal, it will not affect the intermediate nodes on the other link, which makes the transmission of the same packets through the HPLC network and the HRF network have strong stability.
[0067] Example 2: Different service packets are transmitted through the dual networks respectively, and the characteristics of the dual networks and dual links are utilized to improve the bandwidth utilization rate as a whole. Combining Figure 2 and Figure 3 , there are two networks and two links between the CCO node and the STA3 node, namely the HPLC link CCO-PCO1-STA3 in the HPLC network and the HRF link CCO-PCO2-STA3 in the HRF network. When multiple service data need to be transmitted quickly, different service data can be sent simultaneously through the HPLC link and the HRF link respectively, which can significantly improve the bandwidth utilization rate compared with single-link transmission.
[0068] Example 3: One network can be used for data transmission, and the other network can be used for network maintenance. Since the HPLC network and the HRF network in the HPLC+HRF dual-network and dual-link network topology are independent of each other, it is also a feasible solution to use different networks for data transmission and network maintenance respectively. Embodiment III
[0069] Please refer to Figure 2 、 Figure 4 and Figure 5 . Among them, Figure 4 is the schematic diagram of route repair in the direction from STA to CCO in the embodiment of the present invention; Figure 5 is the schematic diagram of route repair in the direction from CCO to STA in the embodiment of the present invention.
[0070] This embodiment is a further expansion based on any of the above embodiments, and specifically details the solution adopted when facing the problem of dual-link simultaneous failure caused by the failure of the proxy node or multiple interferences.
[0071] As can be seen from the above embodiments, the HPLC network branch only has HPLC links; the HRF network branch only has HRF links; at the same time, for the same node in the HPLC network branch and the HRF network branch, the relay nodes on the path to the CCO node are different. Therefore, when any relay node or its communication link in either network branch fails, the other network branch can be used to transmit data through other relay nodes to ensure that the data is transmitted to the destination without error.
[0072] In this embodiment, when an abnormality occurs in the HPLC network branch or the HRF network branch, communication interaction is performed using the other normal network branch. In combination with Figure 2 for understanding, it specifically includes:
[0073] When a PCO node in the HPLC network branch or the HRF network branch fails or its communication link fails, the STA node connected to the PCO node uploads data using another PCO node connected to it in the other normal network branch, and the CCO node issues data to the STA node through the other PCO node.
[0074] For example, Figure 2 when the PCO1 node in the HPLC network branch or the HPLC link between it and the CCO node is interfered and fails, although the HPLC link between the PCO1 node and the STA3 node in the HPLC network branch is affected. However, none of the other nodes in the HRF network branch except the PCO1 node will be affected. In particular, the HRF link between the PCO1 node and the STA3 node is normal. Therefore, the STA3 node can use another proxy node connected to it in the normal HRF network branch, that is, the PCO2 node, to upload data to the CCO node through the unaffected HRF link between the STA3 node and the PCO2 node. Correspondingly, the CCO node will also use the normal HRF network branch to issue data to the STA3 node through the PCO2 node.
[0075] At the same time, when any relay node or its communication link in either network branch fails, the other normally operating network branch can also be used to perform real-time repair on the abnormal network branch to achieve dual-network real-time routing repair.
[0076] In this embodiment, when an abnormality occurs in the HPLC network branch or the HRF network branch, the abnormal network branch is repaired through the other normal network branch, specifically including routing repairs in two directions:
[0077] (1) Routing repair in the STA to CCO direction
[0078] If any STA node in the HPLC network branch or the HRF network branch fails to receive the ACK data from the CCO node, the corresponding network branch can be considered abnormal.
[0079] It can be understood that during the communication interaction between nodes, assume that node A sends data to the CCO node via proxy node B. If proxy node B successfully receives the data, it will reply with an acknowledgment to node A. If the CCO node successfully receives the data, it will also reply with an acknowledgment to node A. Therefore, if node A does not receive the acknowledgment from proxy node B, it means that proxy node B fails or the communication link between node B and node A fails; or if it does not receive the acknowledgment from the CCO node, it means that the communication link between proxy node B and the CCO node fails.
[0080] In the face of the above situation, in this embodiment, the STA node that fails to receive the ACK data will initiate a proxy change request message to the CCO node using the other normal network branch; after receiving the proxy change request message, the CCO node will send the corresponding proxy change request confirmation message to the STA node through the other normal network branch; based on the received proxy change request confirmation message, this STA node changes the PCO node it is connected to in the network branch where it cannot receive the data from the CCO node (i.e., the network branch that is confirmed to be abnormal).
[0081] As Figure 4 shown, assume that the PCO3 node fails. Then, during the process of the STA2 node uploading data to the CCO node through the HPLC network branch, the STA2 node will not be able to receive the acknowledgment data replied by the PCO3. Then the STA2 node will use the normal HRF network branch to initiate a proxy change request message to the CCO node via the PCO2 node; the CCO node sends the corresponding proxy change request confirmation message through the PCO2 node; based on this, the STA2 node changes the directly connected proxy node in the HPLC network branch from the abnormal PCO3 node to the normal PCO1 node, thereby removing the abnormal PCO3 node from the HPLC network branch and achieving the purpose of repairing the HPLC network branch routing.
[0082] It can be understood that based on the dual-network and dual-link routing structure based on HPLC + HRF provided in this embodiment, the routing repair in the STA to CCO direction can be achieved with only one round trip (one proxy change request and one proxy change confirmation), which has the advantages of fast and efficient repair speed.
[0083] (2) Routing repair in the CCO to STA direction
[0084] If the CCO node fails to receive the data sent from the specified STA node through the HPLC network branch or the HRF network branch, the corresponding network branch is considered abnormal.
[0085] In the face of the above situation, the CCO node that fails to receive the response message in this embodiment will send a routing repair request message to the specified STA node through the other normal network branch; the STA node sends the corresponding routing repair request response message to the CCO node through the other normal network branch; the CCO node sends a routing repair response message to the STA node through the other normal network branch; the STA node changes the PCO node it is connected to in the network branch that fails to send data to the CCO node (i.e., the network branch that is confirmed to be abnormal) according to the routing repair response message.
[0086] As Figure 5 shown, assuming that the PCO3 node fails, when the CCO node sends data to the STA2 node through the HPLC network branch, the CCO node will not be able to receive the response message from the STA2 node, specifically, it will not be able to receive the response message from the PCO3 node during the transmission process. Then the CCO node will use the normal HRF network branch to send a routing repair response message to the STA2 node via the PCO2 node; the STA2 node sends the corresponding routing repair request response message to the CCO node through the PCO2 node; the CCO node then sends a routing repair response message to the STA2 node through the PCO2 node; the STA2 node accordingly changes the proxy node directly connected to it in the HPLC network branch from the abnormal PCO3 node to the normal PCO1 node, thereby removing the abnormal PCO3 node from the HPLC network branch and achieving the purpose of repairing the HPLC network branch routing.
[0087] In some specific embodiments of this embodiment, if both the HPLC network branch and the HRF network branch fail, the following method can be used for repair:
[0088] Search for the nodes searched by the routing request message through the routing request message. The searched nodes need to reply with a routing repair response message within a predetermined time. When the node forwards the routing response message, it can use the link confirmation request message to initiate a link evaluation to confirm the next destination site. After multiple times of forwarding and confirming the link, the routing repair response is finally completed, and the CCO issues a routing repair response message to complete the routing change.
[0089] As can be seen from the above, the dual-network dual-link routing structure and its routing method based on HPLC+HRF provided in this embodiment, compared with the dual-receive dual-transmit network topology structure and its routing method in the prior art, when a link fails or a proxy node fails at the same position in the link, the proxy node and its affiliated nodes of the existing dual-receive dual-transmit network topology structure will all be affected; while the HPLC+HRF dual-network dual-link network topology structure of this embodiment forms dual-network branches, and the dual-network branches are independent of each other. When affected by the same situation, only the proxy node and its affiliated nodes of one network branch are affected, and only the proxy node or even no node of the other network branch is affected. This embodiment can reduce the scope of the network affected, and at the same time, it can also perform real-time repair on another abnormal network branch through the normally working network branch, that is, realize dual-network real-time routing repair, and improve the stability of the HPLC+HRF communication network as a whole. Embodiment 4
[0090] Please refer to Figure 4 and Figure 5 , based on the above embodiment, this embodiment provides a specific application example to completely describe the process of how to perform dual-network real-time routing repair from routing establishment to the occurrence of a fault to restore communication.
[0091] S1: The CCO node and the STA node are powered on, and the STA node enters the listening state. After the CCO node completes initialization, it starts to periodically send central beacons;
[0092] S2: After the STA node listens to the central beacon, it starts to successively initiate association requests. Here, it is assumed that both the PCO1 node and the PCO2 node listen to the central beacon of the CCO node. The PCO1 node sends an association request message to the CCO node through the HPLC link. After the CCO node issues an association confirmation message, the PCO1 node successfully accesses the network for the first time. Similarly, the PCO2 node successfully accesses the network for the first time through the HRF link;
[0093] S3: While the CCO node assigns proxy beacons to the PCO1 node and the PCO2 node, the CCO node continues to send central beacons, and arranges for the PCO1 node to send HPLC proxy beacons and the PCO2 node to send HRF proxy beacons;
[0094] S4: The PCO1 node listens to the HRF proxy beacon of the PCO2 node and attempts to send an association request message to the PCO2 node through the HRF link. The PCO2 node further forwards the association request message of the PCO1 node to the CCO node, and the CCO node replies with an association confirmation message. Finally, the PCO2 node successfully accesses the network for the second time through the HRF link, and the PCO1 node forms a dual-network dual-link routing structure;
[0095] S5: After the PCO2 node detects the HPLC proxy beacon of the PCO1 node, it attempts to send an association request message to the PCO1 node via the HPLC link. The PCO1 node further forwards the association request message of the PCO2 node to the CCO node, and the CCO node replies with an association confirmation message. Finally, the PCO2 node successfully accesses the network for the second time via the HPLC link, and the PCO2 node forms a dual-network and dual-link routing structure;
[0096] S6: Similarly, the PCO3 node uses the PCO1 node as the HPLC proxy node and the PCO2 node as the HRF proxy node to access the network and form a dual-network and dual-link routing structure, and is arranged by the CCO node to send the HPLC proxy beacon;
[0097] S7: After the STA2 node and the STA3 node detect the proxy beacon, they respectively perform secondary network access and join the dual-network structure to form Figure 4 the dual-network and dual-link topology structure shown;
[0098] S8: The route repair in the STA-to-CCO direction is as Figure 4 , taking the STA2 node as an example, CCO-PCO1-PCO3-STA2 is its HPLC link in the HPLC network, and CCO-PCO2-STA2 is its HRF link in the HRF network. The STA2 node and the CCO node can transmit data through these two links without affecting each other;
[0099] S9: As shown in the left figure of Figure 4 , when the communication of the PCO3 node is suddenly damaged, then the CCO-PCO1-PCO3-STA2 link of the STA2 node, that is, the HPLC link, fails. The STA2 node does not receive the ACK from the CCO node and can judge the link failure. At this time, a proxy change request message is sent to the CCO node via the HRF link CCO-PCO2-STA2. After the CCO node replies with a proxy change request confirmation message, the route repair is completed (the repaired routing structure is as shown in the right figure of Figure 4 );
[0100] S10: After the route repair, as shown in the right figure of Figure 4 , a new HPLC link CCO-PCO1-STA2 will be formed. It can be understood that the HPLC network is repaired through the HRF network, and similarly, the HRF network can also be repaired through the HPLC network.
[0101] S11: The route repair in the CCO-to-STA direction is as Figure 5As shown in the figure, taking the STA2 node as an example, CCO-PCO1-PCO3-STA2 is its HPLC link in the HPLC network, and CCO-PCO2-STA2 is its HRF link in the HRF network. The STA2 node and the CCO node can transmit data through these two links without affecting each other;
[0102] S12: As Figure 5 shown in the left figure of, when the communication of PCO3 is suddenly damaged, then the CCO-PCO1-PCO3-STA2 link of the STA2 node, that is, the HPLC link, has an abnormality. The CCO node cannot receive the reply message from the STA, and it can be judged that the link is faulty. At this time, a routing repair request message is sent to the STA through the HRF link CCO-PCO2-STA2;
[0103] S13: After receiving the routing repair request message from the CCO node, the STA2 node replies to the CCO node with a routing repair request reply message through the HRF link CCO-PCO2-STA2;
[0104] S14: After receiving the routing repair request reply message from the STA2 node, the CCO node issues a routing repair response message to the STA2 node through the HRF link CCO-PCO2-STA2, informing the STA2 node of the routing change information;
[0105] S15: After receiving the routing repair response message issued by the CCO node, the STA2 node changes its own routing information, and thus the repair is completed (the repaired routing structure is as Figure 5 shown in the right figure of);
[0106] S16: After the routing repair, as Figure 5 shown in the right figure of, a new HPLC link CCO-PCO1-STA2 will be formed. It can be understood that the HPLC network is repaired through the HRF network, and similarly, the HRF network can also be repaired through the HPLC network. Embodiment Five
[0107] Based on any of the above embodiments, this embodiment provides a routing system with dual networks and dual links based on HPLC+HRF, including a dual network and dual link composed of an HPLC network branch and an HRF network branch;
[0108] The HPLC network branch includes a CCO node, at least two PCO nodes, and at least one STA node; the CCO node is communicatively connected to at least one first PCO node based on HPLC; the at least one first PCO node is communicatively connected to other PCO nodes and at least one STA node other than the at least one first PCO node based on HPLC;
[0109] The HRF network branch includes the CCO node, the at least two PCO nodes, and the at least one STA node; the CCO node is communicatively connected to at least one second PCO node based on HRF; the at least one second PCO node is communicatively connected to other PCO nodes other than the at least one second PCO node and at least one STA node based on HRF.
[0110] In this embodiment, the HPLC network branch is configured to, when an abnormality occurs, use the HRF network branch for communication interaction and repair the HPLC network branch through the HRF network branch;
[0111] The HRF network branch is configured to, when an abnormality occurs, use the HPLC network branch for communication interaction and repair the HRF network branch through the HPLC network branch.
[0112] In this embodiment, the HPLC network branch is specifically configured that when one of the PCO nodes fails or its communication link fails, the STA node connected to the one PCO node uses another PCO node connected to it in the HRF network branch to upload data, and the CCO node uses the another PCO node to send data to the STA node;
[0113] The HRF network branch is specifically configured that when one of the PCO nodes fails or its communication link fails, the STA node connected to the one PCO node uses another PCO node connected to it in the HPLC network branch to upload data, and the CCO node uses the another PCO node to send data to the STA node.
[0114] In this embodiment, the HPLC network branch is specifically configured that if one of the STA nodes cannot receive data from the CCO node, the one STA node uses the HRF network branch to initiate a proxy change request message to the CCO node; the CCO node, according to the received proxy change request message, sends a corresponding proxy change request confirmation message to the one STA node through the HRF network branch; the one STA node, according to the received proxy change request confirmation message, changes the PCO node it is connected to in the HPLC network branch.
[0115] The HRF network branch is specifically configured that if one STA node cannot receive data from the CCO node, the one STA node uses the HPLC network branch to initiate a proxy change request message to the CCO node; the CCO node, according to the received proxy change request message, sends a corresponding proxy change request confirmation message to the one STA node through the HPLC network branch; the one STA node changes the PCO node it is connected to in the HRF network branch according to the received proxy change request confirmation message.
[0116] In this embodiment, the HPLC network branch is specifically configured that if the CCO node cannot receive the data sent by one STA node through it, the CCO node sends a routing repair request message to the one STA node through the HRF network branch; the one STA node sends a corresponding routing repair request reply message to the CCO node through the HRF network branch; the CCO node sends a routing repair response message to the one STA node through the HRF network branch; the one STA node changes the PCO node it is connected to in the HPLC network branch according to the routing repair response message.
[0117] The HRF network branch is specifically configured that if the CCO node cannot receive the data sent by one STA node through it, the CCO node sends a routing repair request message to the one STA node through the HPLC network branch; the one STA node sends a corresponding routing repair request reply message to the CCO node through the HPLC network branch; the CCO node sends a routing repair response message to the one STA node through the HPLC network branch; the one STA node changes the PCO node it is connected to in the HRF network branch according to the routing repair response message.
[0118] In this embodiment, in the routing table entries of each node, the highest bit of the TEI corresponds to different values for the HPLC network branch and the HRF network branch respectively, and the lower 11 bits of the TEI are the actual TEI in the HPLC + HRF network.
[0119] The routing system based on the dual-network and dual-link of HPLC + HRF provided in this embodiment includes the HPLC network branch and the HRF network branch with different routings but can be alternative to each other. When an abnormality occurs in one network branch, the normal other network branch can be used to replace it to complete data transmission; the abnormal network branch can also be repaired through the normal other network branch. Therefore, the dual-network and dual-link structure based on HPLC + HRF can not only improve the stability of the overall network, but also fully possess the complementary advantages of the dual network and dual link.
[0120] The above are only embodiments of the present invention, and thus do not limit the patent scope of the present invention. Any equivalent transformation made by using the content of the specification and drawings of the present invention, or directly or indirectly applied in the relevant technical fields, shall be similarly included in the patent protection scope of the present invention.
Claims
1. A dual-network dual-link routing method based on HPLC+HRF, characterized in that: It includes a dual network dual link consisting of an HPLC network branch and an HRF network branch; The HPLC network branch includes a CCO node, at least two PCO nodes and at least one STA node; the CCO node is communicatively connected with at least one first PCO node based on HPLC; The at least one first PCO node is communicatively connected with other PCO nodes other than the at least one first PCO node and at least one STA node based on HPLC; The HRF network branch includes the CCO node, the at least two PCO nodes and the at least one STA node; the CCO node is connected to the at least one second PCO node for communication based on HRF; The at least one second PCO node is communicatively connected with other PCO nodes and at least one STA node other than the at least one second PCO node based on HRF; When an abnormality occurs in the HPLC network branch or the HRF network branch, another normal network branch is used for communication interaction, and the abnormal network branch is repaired through the other normal network branch; The repairing of the abnormal network branch by using another normal network branch includes: If a STA node in the HPLC network branch or the HRF network branch cannot receive data from the CCO node, the STA node uses another normal network branch to initiate an agent change request message to the CCO node; the CCO node sends a corresponding agent change request confirmation message to the STA node through the other normal network branch based on the received agent change request message; the STA node changes the PCO node connected to it in the network branch that cannot receive data from the CCO node based on the received agent change request confirmation message; If the CCO node cannot receive data sent by a STA node through the HPLC network branch or the HRF network branch, the CCO node sends a routing repair request message to the STA node through another normal network branch; the STA node sends a corresponding routing repair request reply message to the CCO node through another normal network branch; the CCO node sends a routing repair response message to the STA node through another normal network branch; the STA node changes the PCO node connected to it in the abnormal network branch according to the routing repair response message.
2. The dual-network dual-link routing method based on HPLC+HRF as claimed in claim 1, characterized in that: When an abnormality occurs in the HPLC network branch or the HRF network branch, another normal network branch is used for communication interaction, including: When a PCO node in the HPLC network branch or the HRF network branch fails or its communication link fails, the STA node connected to the one PCO node uses another PCO node connected to it in another normal network branch to upload data, and the CCO node uses the other PCO node to send data to the STA node.
3. The dual-network dual-link routing method based on HPLC+HRF as claimed in claim 1, characterized in that, In the routing table entry of each node, the highest bit of TEI corresponds to different values for the HPLC network branch and the HRF network branch, and the lower 11 bits of TEI are the actual TEI in the HPLC+HRF network.
4. A dual-network dual-link routing system based on HPLC+HRF, characterized in that: The routing system is used to implement the dual-network dual-link routing method based on HPLC+HRF described in claim 1 above; The routing system includes a dual network dual link consisting of an HPLC network branch and an HRF network branch; The HPLC network branch includes a CCO node, at least two PCO nodes and at least one STA node; the CCO node is communicatively connected with at least one first PCO node based on HPLC; The at least one first PCO node is communicatively connected with other PCO nodes other than the at least one first PCO node and at least one STA node based on HPLC; The HRF network branch includes the CCO node, the at least two PCO nodes and the at least one STA node; the CCO node is connected to the at least one second PCO node for communication based on HRF; The at least one second PCO node is communicatively connected with other PCO nodes other than the at least one second PCO node and at least one STA node based on the HRF.
5. The dual-network dual-link routing system based on HPLC+HRF as claimed in claim 4, characterized in that: The HPLC network branch is configured to use the HRF network branch for communication interaction when an abnormality occurs, and repair the HPLC network branch through the HRF network branch; The HRF network branch is configured to use the HPLC network branch for communication interaction when an abnormality occurs, and to repair the HRF network branch through the HPLC network branch.
6. The dual-network dual-link routing system based on HPLC+HRF as claimed in claim 5, characterized in that: The HPLC network branch is specifically configured such that when one of the PCO nodes fails or its communication link fails, the STA node connected to the one PCO node uses another PCO node connected to it in the HRF network branch to upload data, and the CCO node uses the other PCO node to send data to the STA node; The HRF network branch is specifically configured such that when one of the PCO nodes fails or its communication link fails, the STA node connected to the one PCO node uses another PCO node connected to it in the HPLC network branch to upload data, and the CCO node uses the other PCO node to send data to the STA node.
7. The dual-network dual-link routing system based on HPLC+HRF as claimed in claim 5, characterized in that: The HPLC network branch is specifically configured such that if one of the STA nodes cannot receive data from the CCO node, the STA node uses the HRF network branch to initiate a proxy change request message to the CCO node; the CCO node sends a corresponding proxy change request confirmation message to the STA node through the HRF network branch based on the received proxy change request message; the STA node changes the PCO node connected to it in the HPLC network branch based on the received proxy change request confirmation message; The HRF network branch is specifically configured such that if one of the STA nodes cannot receive data from the CCO node, the STA node uses the HPLC network branch to initiate a proxy change request message to the CCO node; the CCO node sends a corresponding proxy change request confirmation message to the STA node through the HPLC network branch based on the received proxy change request message; the STA node changes the PCO node to which it is connected in the HRF network branch based on the received proxy change request confirmation message.
8. The dual-network dual-link routing system based on HPLC+HRF as claimed in claim 5, characterized in that: The HPLC network branch is specifically configured such that if the CCO node cannot receive data sent by a STA node through it, the CCO node sends a route repair request message to the STA node through the HRF network branch; the STA node sends a corresponding route repair request reply message to the CCO node through the HRF network branch; The CCO node sends a route repair response message to the one STA node through the HRF network branch; the one STA node changes the PCO node connected to it in the HPLC network branch according to the route repair response message; The HRF network branch is specifically configured such that if the CCO node cannot receive data sent by a STA node through it, the CCO node sends a route repair request message to the STA node through the HPLC network branch; the STA node sends a corresponding route repair request reply message to the CCO node through the HPLC network branch; The CCO node sends a route repair response message to the one STA node through the HPLC network branch; the one STA node changes the PCO node connected to it in the HRF network branch according to the route repair response message.
9. The dual-network dual-link routing system based on HPLC+HRF as claimed in claim 5, characterized in that: In the routing table entry of each node, the highest bit of TEI corresponds to different values for the HPLC network branch and the HRF network branch, and the lower 11 bits of TEI are the actual TEI in the HPLC+HRF network.
Citation Information
Patent Citations
Networking method of HPLC and HRF heterogeneous network
CN111601317A
Establishment method and maintenance method of dual-mode network route and dual-mode network system
CN115766569A