A highly dynamic routing protocol method and system

By establishing a link state database and generating different types of messages in a highly dynamic routing protocol, the existing technology problems of slow convergence speed of distance vector protocols and high system overhead of link state protocols are solved, achieving fast response and low overhead. Routing protocol, suitable for small-scale wireless ad hoc network communication systems.

CN115622936BActive Publication Date: 2024-08-27GUANGDONG YUEXIN MICROSYSTEM RES INST
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202211234759.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-10
Publication Date
2024-08-27
Estimated Expiration
2042-10-10

AI Technical Summary

Technical Problem

Existing distance vector protocols have slow convergence speeds, resulting in a waste of network bandwidth. Link state protocols have a large system overhead in large-scale link state databases, especially when the link is unstable.

Method used

Adopting a highly dynamic routing protocol method, by establishing a link state database and generating different types of handshake messages and link state description messages, the neighbor relationship discovery, maintenance and cancellation between routing nodes is realized, as well as the synchronization of the link state database. , using a short message format and a small number of message types to achieve a fast convergence process.

Benefits of technology

It improves the network response speed and route convergence speed, reduces the system overhead and protocol overhead, ensures the security and accuracy of the routing protocol, and is suitable for small-scale wireless ad hoc network communication systems in highly dynamic non-line-of-sight environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115622936B
    Figure CN115622936B
Patent Text Reader

Abstract

The present invention relates to a highly dynamic routing protocol method and system, belonging to the field of communication network technology, and solves the problems that the existing distance vector protocol has a slow convergence speed, resulting in a waste of network bandwidth; and the link state protocol has a large system overhead for a large link state database. The method includes: establishing a link state database; generating a handshake message that does not require confirmation, a handshake message that requires confirmation, a link state description message that does not require confirmation, or a link state description message that requires confirmation based on the link state database; discovering, maintaining, and canceling neighbor relationships between routing nodes by sending and receiving handshake messages that do not require confirmation and handshake messages that require confirmation; and realizing link state database synchronization between routing nodes by sending and receiving generated messages. The response speed of the network and the convergence speed of the routing are improved, and the occupied system overhead and the overhead of the protocol itself are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication network technology, and in particular to a highly dynamic routing protocol method and system. Background Art

[0002] Existing routing protocols can be divided into distance vector protocols and link state protocols according to the algorithms used.

[0003] The distance vector protocol learns routes by periodically and broadcasting the routing table. The protocol is based on the Bellman-Ford algorithm (DV algorithm). The link state protocol synchronizes the link state database by sending link state and flooding link state declarations, and then runs the shortest path priority algorithm to calculate the route. The protocol is based on the Dijkstra algorithm (shortest path first algorithm).

[0004] The prior art has the following disadvantages:

[0005] Distance vector protocols have slow convergence speeds and may cause routing loops, resulting in a waste of network bandwidth;

[0006] Link state protocols have large system overhead for large link state databases, especially when the link is unstable, the system burden is even heavier. Summary of the invention

[0007] In view of the above analysis, the embodiments of the present invention aim to provide a highly dynamic routing protocol method and system to solve the problems that the existing distance vector protocol has slow convergence speed, resulting in waste of network bandwidth; and the link state protocol has high system overhead for large link state databases.

[0008] On the one hand, an embodiment of the present invention provides a highly dynamic routing protocol method, including: establishing a link state database, wherein the link state database includes an unsynchronized whole-network neighbor information table, a synchronized whole-network neighbor information table, an invalid whole-network neighbor information table, and a synchronized local neighbor information table; generating a handshake message that does not require confirmation, a handshake message that requires confirmation, a link state description message that does not require confirmation, or a link state description message that requires confirmation based on the link state database; discovering, maintaining, and canceling neighbor relationships between routing nodes by sending and receiving the handshake message that does not require confirmation and the handshake message that requires confirmation; and realizing link state database synchronization between routing nodes by sending and receiving the handshake message that does not require confirmation, the handshake message that requires confirmation, the link state description message that does not require confirmation, and the link state description message that requires confirmation.

[0009] The beneficial effects of the above technical solution are as follows: The highly dynamic routing protocol method of the embodiment of the present invention is a hybrid routing protocol method, which adopts a short message format, a small number of message types, and a fast convergence process to improve the response speed of the network and the convergence speed of the routing, reduce the occupied system overhead and the overhead of the protocol itself, and ensure the security and accuracy of the routing protocol itself.

[0010] Based on the further improvement of the above method, the handshake message that does not require confirmation, the handshake message that requires confirmation, the link state description message that does not require confirmation, or the link state description message that requires confirmation share the same message header, and the fields of the message header include: version number, protocol type, verification type, packet type, packet length, source router identifier, destination router identifier, checksum, and verification data; the fields of the handshake message that does not require confirmation include: network subnet mask, handshake interval, handshake timeout, link state description announcement interval, routing priority, number of changed neighbors, and neighbor change list; the fields of the handshake message that requires confirmation include: The fields of the link state description message that does not require confirmation include: network subnet mask, link state description sequence number, routing priority, number of neighbors, and neighbor list; and the fields of the link state description message that requires confirmation include: network subnet mask, link state description sequence number, routing priority, number of neighbors, wherein the neighbor change list and the neighbor list both include: a first multimedia interface, a first router identifier, a first neighbor router identifier, a first signal quality level, and a first change sequence number.

[0011] Based on the further improvement of the above method, discovering, maintaining and canceling the neighbor relationship between routing nodes by sending and receiving the handshake message that does not require confirmation and the handshake message that requires confirmation includes: the first routing node periodically sends the first handshake message that does not require confirmation to the second routing node according to the handshake interval pre-set in the handshake timer; the second routing node quickly establishes a neighbor relationship with the first routing node based on the received first handshake message and starts the handshake timeout timer, and enters the neighbor state, wherein the handshake timeout period is 4 to 16 times the handshake interval, and wherein whether the handshake timeout timer times out determines whether to cancel or maintain the neighbor relationship between the first routing node and the second routing node.

[0012] Based on a further improvement of the above method, determining whether to cancel or maintain the neighbor relationship between the first routing node and the second routing node by whether the handshake timeout timer has timed out includes: when the handshake timeout timer has not timed out, maintaining the neighbor relationship between the first routing node and the second routing node; when the handshake timeout timer times out, the neighbor relationship between the first routing node and the second routing node becomes invalid and a second handshake message to be confirmed is triggered to be sent through the second routing node, and a handshake response reception timer is started at the same time, wherein the invalidation of the neighbor relationship between the first routing node and the second routing node is determined based on whether the handshake response reception timer has timed out.

[0013] Based on the further improvement of the above method, the same header fields of the unsynchronized whole-network neighbor information table, the synchronized whole-network neighbor information table, the invalid whole-network neighbor information table and the synchronized local neighbor information table include: a second routing identifier, a second neighbor routing identifier, a second multimedia interface, a second signal quality level and a second change sequence number, wherein the second signal quality level is used to indicate the result of the routing node of the routing identifier evaluating the signal quality of the neighbor routing node, wherein the signal quality includes a signal-to-noise ratio or a bit error rate; and the second change sequence number is used to indicate that the interface of the routing identifier discovers neighbors and establishes neighbor relationships through a routing protocol, and the second change sequence number is generated when the neighbor information table entry is created, and changes incrementally, wherein the second change sequence number is used to track the change process of the neighbor relationship of a certain routing node.

[0014] Based on a further improvement of the above method, the link state database synchronization between routing nodes is realized by sending and receiving the handshake message that does not require confirmation, the handshake message that requires confirmation, the link state description message that does not require confirmation, and the link state description message that requires confirmation, including when receiving the first handshake message that does not require confirmation, processing according to the following steps: moving the second neighbor information table entry in the synchronized whole-network neighbor information table corresponding to the first neighbor information table entry with a first signal quality level of 0 in the neighbor change list from the synchronized whole-network neighbor information table to the unsynchronized whole-network neighbor information table, and modifying the second signal quality level to 0; modifying the first neighbor information table entry with a first signal quality level of non-0 in the neighbor change list A traversal operation is performed on three neighbor information table items: if a similar table item to the third neighbor information table item with the first signal quality level not being 0 already exists in the synchronized whole-network neighbor information table, determine the order in which the first change sequence number and the second change sequence number are generated; if the second change sequence number in the synchronized whole-network neighbor information table is generated earlier, delete the similar table item in the synchronized whole-network neighbor information table, and at the same time, add a new table item to the unsynchronized whole-network neighbor information table according to the third neighbor information table item; if a similar table item does not exist in the synchronized whole-network neighbor information table, directly add a new table item to the unsynchronized whole-network neighbor information table according to the third neighbor information table item, wherein, pay attention to deduplication processing when adding new table items.

[0015] Based on a further improvement of the above method, link state database synchronization between routing nodes is achieved by sending and receiving the handshake message that does not require confirmation, the handshake message that requires confirmation, the link state description message that does not require confirmation, and the link state description message that requires confirmation, including when receiving the second handshake message that requires confirmation, processing according to the following steps: moving the neighbor information table entry corresponding to the sender routing node in the synchronized local neighbor information table to the unsynchronized full-network neighbor information table, and changing the signal quality level of the neighbor information table entry of the sender routing node to 0, and deleting the neighbor information table entry corresponding to the sender routing node in the synchronized full-network neighbor information table.

[0016] Based on the further improvement of the above method, the link state database synchronization between routing nodes is realized by sending and receiving the handshake message that does not require confirmation, the handshake message that requires confirmation, the link state description message that does not require confirmation and the link state description message that requires confirmation, including: the first routing node periodically sends the link state description message that does not require confirmation according to the link state description interval pre-set in the link state description timer; when the link state description message that does not require confirmation is received by the second routing node, the neighbor list is directly compared with the synchronized whole-network neighbor information table; if the neighbor information of the neighbor list is consistent with the neighbor information of the synchronized whole-network neighbor information table, the link state database has been synchronized, otherwise the link state database has not been synchronized; if the link state database is in an unsynchronized state, the neighbor information in the neighbor list is added to the synchronized whole-network neighbor information table after deduplication processing.

[0017] Based on the further improvement of the above method, the link state database synchronization between routing nodes is realized by sending and receiving the handshake message that does not require confirmation, the handshake message that requires confirmation, the link state description message that does not require confirmation, and the link state description message that requires confirmation, including: triggering the sending of the link state description message that requires confirmation; when receiving the link state description message that requires confirmation, turning off the link state description confirmation reception timer of the corresponding routing node, and determining that the link state database synchronization has been achieved between the sending routing node and the receiving routing node; the routing node triggers the calling of the shortest path first algorithm to regenerate the shortest path tree.

[0018] On the other hand, an embodiment of the present invention provides a highly dynamic routing protocol system, including: a database establishment module, used to establish a link state database, wherein the link state database includes an unsynchronized whole-network neighbor information table, a synchronized whole-network neighbor information table, an invalid whole-network neighbor information table, and a synchronized local neighbor information table; a message generation module, used to generate a handshake message that does not require confirmation, a handshake message that requires confirmation, a link state description message that does not require confirmation, or a link state description message that requires confirmation based on the link state database; a neighbor processing module, used to discover, maintain, and cancel neighbor relationships between routing nodes by sending and receiving the handshake message that does not require confirmation and the handshake message that requires confirmation; and a database synchronization module, used to synchronize link state databases between routing nodes by sending and receiving the handshake message that does not require confirmation, the handshake message that requires confirmation, the link state description message that does not require confirmation, and the link state description message that requires confirmation.

[0019] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:

[0020] 1. The highly dynamic routing protocol method of the embodiment of the present invention is a hybrid routing protocol method, which adopts a short message format, a small number of message types, a fast convergence process and real-time and accurate signal quality perception to improve the response speed of the network and the convergence speed of the routing, reduce the occupied system overhead and the overhead of the protocol itself, and ensure the security and accuracy of the routing protocol itself.

[0021] 2. This highly dynamic routing protocol method is suitable for small-scale wireless ad hoc network communication systems in highly dynamic non-line-of-sight environments, such as power grid multi-UAV high-altitude operation communications. At the same time, this highly dynamic routing protocol system can also be used as a key technology for miniaturized wide-area millimeter-wave wireless communication systems, and has broad application prospects.

[0022] In the present invention, the above-mentioned technical solutions can also be combined with each other to achieve more preferred combination solutions. Other features and advantages of the present invention will be described in the subsequent description, and some advantages can become obvious from the description, or can be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings are only for the purpose of illustrating specific embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like components throughout the drawings.

[0024] Figure 1 is a flow chart of a highly dynamic routing protocol method according to an embodiment of the present invention;

[0025] Figure 2 is a diagram of a routing protocol message header format according to an embodiment of the present invention;

[0026] Figure 3 is a diagram of a Handshake message format in a routing protocol message according to an embodiment of the present invention;

[0027] Figure 4 is a diagram of a Handshake ACK message format in a routing protocol message according to an embodiment of the present invention;

[0028] Figure 5 A diagram of an LSD message format in a routing protocol message according to an embodiment of the present invention;

[0029] Figure 6 is a diagram of a LSD ACK message format in a routing protocol message according to an embodiment of the present invention;

[0030] Figure 7 A diagram of an LSDB synchronization framework in a routing protocol message according to an embodiment of the present invention;

[0031] Figure 8 A state transition diagram of neighbor relationships between routing nodes in a routing protocol message according to an embodiment of the present invention;

[0032] Fig. 9 4 is a block diagram of a highly dynamic routing protocol system according to an embodiment of the present invention. DETAILED DESCRIPTION

[0033] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.

[0034] A specific embodiment of the present invention discloses a highly dynamic routing protocol method, such as Figure 1 As shown, the highly dynamic routing protocol method includes: in step S102, establishing a link state database, wherein the link state database includes an unsynchronized whole-network neighbor information table, a synchronized whole-network neighbor information table, an invalid whole-network neighbor information table, and a synchronized local neighbor information table; in step S104, generating a handshake message that does not require confirmation, a handshake message that requires confirmation, a link state description message that does not require confirmation, or a link state description message that requires confirmation based on the link state database; in step S106, discovering, maintaining, and canceling neighbor relationships between routing nodes by sending and receiving handshake messages that do not require confirmation and handshake messages that require confirmation; and in step S108, realizing link state database synchronization between routing nodes by sending and receiving handshake messages that do not require confirmation, handshake messages that require confirmation, link state description messages that do not require confirmation, and link state description messages that require confirmation.

[0035] Compared with the prior art, the highly dynamic routing protocol method provided in this embodiment is a hybrid routing protocol method that uses a short message format, a small number of message types and a fast convergence process to improve the network response speed and routing convergence speed, reduce the occupied system overhead and the protocol's own overhead, and ensure the security and accuracy of the routing protocol itself.

[0036] In the following, reference Figures 1 to 6 , each step of the highly dynamic routing protocol method according to the embodiment of the present invention is described in detail.

[0037] In step S102, a link state database is established, wherein the link state database includes an unsynchronized whole-network neighbor information table, a synchronized whole-network neighbor information table, an invalid whole-network neighbor information table, and a synchronized local neighbor information table. Specifically, the same header fields of the unsynchronized whole-network neighbor information table, the synchronized whole-network neighbor information table, the invalid whole-network neighbor information table and the synchronized local neighbor information table include: a second routing identifier, a second neighbor routing identifier, a second multimedia interface, a second signal quality level and a second change sequence number, wherein the second routing identifier is used to indicate the routing node identifier that generates the change sequence number; the second neighbor routing identifier is used to indicate the routing node identifier that is confirmed as a neighbor by the routing node identified by the routing identifier; the second multimedia interface is used to indicate the physical interface of the routing node, such as the Ethernet port of the wired network or the carrier interface of the wireless network; the second signal quality level is used to indicate the result of the signal quality evaluation of the neighbor routing node by the routing node identified by the routing identifier, wherein the signal quality includes the signal-to-noise ratio or the bit error rate; and the second change sequence number is used to indicate the second change sequence number generated when the interface of the routing identifier discovers neighbors and establishes neighbor relationships through the routing protocol and creates a neighbor information table entry, which changes incrementally, wherein the neighbor relationship change process of a certain routing node is tracked by the second change sequence number.

[0038] In step S104, a handshake message that does not require confirmation, a handshake message that requires confirmation, a link state description message that does not require confirmation, or a link state description message that requires confirmation is generated based on the link state database. Specifically, the handshake message (i.e., the handshake message that does not require confirmation), the handshake confirmation message (i.e., the handshake message that requires confirmation), the link state description message (i.e., the link state description message that does not require confirmation), and the link state description confirmation message (i.e., the link state description message that requires confirmation) share the same message header, and the fields of the message header include: version number, protocol type, verification type, packet type, packet length, source router identifier, destination router identifier, checksum, and verification data.

[0039] Specifically, a handshake message that does not require confirmation is generated based on a link state database, wherein a neighbor change list in the handshake message that does not require confirmation is generated based on an unsynchronized network-wide neighbor information table in the link state database. The fields of the handshake message that does not require confirmation include: network subnet mask, handshake interval, handshake timeout, link state description announcement interval, routing priority, number of changed neighbors, and neighbor change list. The neighbor change list includes: a first multimedia interface, a first router identifier, a first neighbor router identifier, a first signal quality level, and a first change sequence number.

[0040] Specifically, a handshake message to be confirmed is generated based on the link state database, wherein the fields of the handshake message to be confirmed include: network subnet mask, handshake interval, handshake timeout, link state description announcement interval, routing priority, and the number of changed neighbors; it should be noted that this message does not have a neighbor change list field.

[0041] A link state description message that does not require confirmation is generated based on a link state database, wherein a neighbor list in the link state description message that does not require confirmation is generated based on a synchronized network-wide neighbor information table in the link state database. The fields of the link state description message that does not require confirmation include: a network subnet mask, a link state description sequence number, a routing priority, a number of neighbors, and a neighbor list. The neighbor list includes: a first multimedia interface, a first router identifier, a first neighbor router identifier, a first signal quality level, and a first change sequence number.

[0042] A link state description message to be confirmed is generated based on the link state database, wherein the fields of the link state description message to be confirmed include: network subnet mask, link state description sequence number, routing priority, and number of neighbors; it should be noted that this message does not have a neighbor list.

[0043] In step S106, the neighbor relationship between the routing nodes is discovered, maintained, and cancelled by sending and receiving handshake messages that do not require confirmation and handshake messages that require confirmation. Figure 8 , discovering, maintaining and canceling the neighbor relationship between routing nodes by sending and receiving handshake messages that do not require confirmation and handshake messages that require confirmation include: the first routing node periodically sends a first handshake message that does not require confirmation to the second routing node according to the handshake interval pre-set in the handshake timer; the second routing node quickly establishes a neighbor relationship with the first routing node according to the received first handshake message and starts the handshake timeout timer, and enters the neighbor state. Specifically, the handshake timeout time is 4 to 16 times the handshake interval. Whether the handshake timeout timer times out determines whether to cancel or maintain the neighbor relationship between the first routing node and the second routing node. Specifically, determining whether to cancel or maintain the neighbor relationship between the first routing node and the second routing node by determining whether the handshake timeout timer has timed out includes: when the handshake timeout timer has not timed out, maintaining the neighbor relationship between the first routing node and the second routing node; when the handshake timeout timer has timed out, triggering the second routing node to send a second handshake message to be confirmed, and starting a handshake response receiving timer at the same time, and determining whether the neighbor relationship between the first routing node and the second routing node is invalid based on whether the handshake response receiving timer has timed out, wherein when the handshake response receiving timer has timed out, the corresponding neighbor information entry in the synchronized whole-network neighbor information table of the link state database needs to be modified.

[0044] In step S108, link state database synchronization between routing nodes is achieved by sending and receiving handshake messages that do not require confirmation, handshake messages that require confirmation, link state description messages that do not require confirmation, and link state description messages that require confirmation.

[0045] Specifically, refer to Figure 7 , realizing link state database synchronization between routing nodes by sending and receiving handshake messages that do not require confirmation, handshake messages that require confirmation, link state description messages that do not require confirmation, and link state description messages that require confirmation, including when receiving a first handshake message that does not require confirmation, processing according to the following steps: moving a second neighbor information table item in the synchronized whole-network neighbor information table (that is, the second neighbor information table item is the second multimedia interface, the second router identifier, and the second neighbor router identifier) ​​corresponding to a first neighbor information table item in the neighbor change list with a first signal quality level of 0 (that is, the first neighbor information table item is the first multimedia interface, the first router identifier, and the first neighbor router identifier) ​​from the synchronized whole-network neighbor information table to the unsynchronized whole-network neighbor information table, and at the same time modifying the second signal quality level to 0; for a first neighbor information table item in the neighbor change list with a first signal quality level of non-0 The third neighbor information table item is traversed: if there is already a similar table item in the synchronized whole-network neighbor information table to the third neighbor information table item with a first signal quality level other than 0, that is, the first multimedia interface, the first router identifier and the first neighbor router identifier are exactly the same as the second multimedia interface, the second router identifier and the second neighbor router identifier, then the order in which the first change sequence number and the second change sequence number are generated is determined; if the second change sequence number in the synchronized whole-network neighbor information table is generated earlier, then the similar table item in the synchronized whole-network neighbor information table is deleted, and at the same time, a new table item is added to the unsynchronized whole-network neighbor information table according to the third neighbor information table item; if there is no similar table item in the synchronized whole-network neighbor information table, then a new table item is directly added to the unsynchronized whole-network neighbor information table according to the third neighbor information table item, wherein, attention is paid to deduplication processing when adding the table item.

[0046] Link state database synchronization between routing nodes is achieved by sending and receiving handshake messages that do not require confirmation, handshake messages that require confirmation, link state description messages that do not require confirmation, and link state description messages that require confirmation. This includes, when a second handshake message that requires confirmation is received, processing is performed according to the following steps: moving the neighbor information table entry corresponding to the sender routing node in the synchronized local neighbor information table to the unsynchronized full-network neighbor information table, and changing the signal quality level of the neighbor information table entry of the sender routing node to 0, and deleting the neighbor information table entry corresponding to the sender routing node in the synchronized full-network neighbor information table.

[0047] The link state database synchronization between routing nodes is realized by sending and receiving handshake messages that do not require confirmation, handshake messages that require confirmation, link state description messages that do not require confirmation, and link state description messages that require confirmation, including: periodically sending link state description messages that do not require confirmation according to a link state description interval pre-set in a link state description timer by a first routing node; when a link state description message that does not require confirmation is received by a second routing node, a neighbor list is directly compared with a synchronized whole-network neighbor information table; if the neighbor information in the neighbor list is consistent with the neighbor information in the synchronized whole-network neighbor information table, the link state database has been synchronized, otherwise the link state database has not been synchronized; if the link state database is in an unsynchronized state, the neighbor information in the neighbor list is added to the synchronized whole-network neighbor information table after deduplication processing.

[0048] The link state database synchronization between routing nodes is achieved by sending and receiving handshake messages that do not require confirmation, handshake messages that require confirmation, link state description messages that do not require confirmation, and link state description messages that require confirmation, including: triggering the sending of link state description messages that require confirmation; when receiving the link state description message that requires confirmation, closing the link state description confirmation reception timer of the corresponding routing node to determine that the link state database synchronization has been achieved between the sending routing node and the receiving routing node; the routing node triggers the calling of the SPF (full name Short Path First) algorithm to regenerate the SPT (full name Shortest Path Tree).

[0049] Another specific embodiment of the present invention discloses a highly dynamic routing protocol system, referring to Fig. 9 The highly dynamic routing protocol system includes: a database establishment module 902, which is used to establish a link state database, wherein the link state database includes an unsynchronized whole-network neighbor information table, a synchronized whole-network neighbor information table, an invalid whole-network neighbor information table, and a synchronized local neighbor information table; a message generation module 904, which is used to generate a handshake message that does not require confirmation, a handshake message that requires confirmation, a link state description message that does not require confirmation, or a link state description message that requires confirmation based on the link state database; a neighbor processing module 906, which is used to discover, maintain, and cancel neighbor relationships between routing nodes by sending and receiving handshake messages that do not require confirmation and handshake messages that require confirmation; and a database synchronization module 908, which is used to synchronize the link state database between routing nodes by sending and receiving handshake messages that do not require confirmation, handshake messages that require confirmation, link state description messages that do not require confirmation, and link state description messages that require confirmation.

[0050] In the following, reference Figures 2 to 8, a highly dynamic routing protocol system according to an embodiment of the present invention is described in detail by way of specific examples.

[0051] The present invention proposes a highly dynamic routing protocol system, which uses a short message format, a small number of message types, a fast convergence process and real-time and accurate signal quality perception to improve the response speed of the network and the convergence speed of the routing, reduce the occupied system overhead and the overhead of the protocol itself, and ensure the security and accuracy of the routing protocol itself. This highly dynamic routing protocol system is suitable for small-scale wireless ad hoc network communication systems in highly dynamic non-line-of-sight environments.

[0052] The highly dynamic routing protocol system consists of the following four parts:

[0053] Content 1: Protocol message format, function and transmission

[0054] This routing protocol includes the following four types of messages: Handshake Packet (Handshake Packet, referred to as Handshake message), Handshake Acknowledgment Packet (Handshake ACK Packet, referred to as Handshake ACK message), Link State Description Packet (Link State Description Packet, referred to as LSD message), Link State Description Acknowledgment Packet (Link State Description Acknowledgment Packet, referred to as LSD ACK message).

[0055] The four types of messages share a message header whose main fields include version number (Version), protocol type (Type), authentication type (AuType), packet type (Packet Type), packet length (Packet Length), source router identifier (SourceRoute ID), destination router identifier (Destination Route ID), checksum (Checksum) and authentication data (Authentication).

[0056] The handshake message is the most commonly used message, used to discover and maintain neighbor relationships. Each router periodically sends unconfirmed handshake messages on the interface enabled with this routing protocol according to the handshake timer. In addition, when the handshake timeout timer of a routing node times out, the routing node needs to trigger the sending of a handshake message to be confirmed and start the handshake acknowledgment receive timer to implement the retransmission mechanism. The main fields of the handshake message include network mask, handshake interval, handshake timeout interval, link state description advertisement interval, node priority, number of changed neighbors, and neighbor changed list. The main fields of the neighbor change list include multimedia interface (MTU Interface), router ID (RouteID), neighbor router ID (Neighbor Route ID), signal quality level (QoS Level), and change sequence number (Sequence number of changed).

[0057] The handshake confirmation message is a point-to-point message used to confirm the handshake message that needs to be confirmed between old neighbors. After receiving the handshake message that needs to be confirmed, the routing node needs to respond to this message to confirm that it has received the handshake message that needs to be confirmed from the first routing node. The main fields of the handshake confirmation message include network subnet mask, handshake interval, handshake timeout interval, link state description announcement interval, routing priority, and the number of neighbors that have changed, but there is no neighbor change list field.

[0058] The routing node determines whether the received message is a handshake message or a handshake confirmation message based on the logical relationship between the number of changed neighbors and the packet length, or uses an optional field (Options field for short) to directly indicate the message type.

[0059] LSD messages are point-to-point messages that need to be confirmed. They are used to synchronize the LSDB (Link State Data Base) database with new neighbors. Routers use LSD messages to describe their own LSDB. When a routing node discovers a new neighbor, it triggers the sending of this message to the new neighbor. The new neighbor needs to respond with an LSD ACK message to confirm that it has received the LSD message from the first routing node, thereby realizing fast LSDB synchronization between new and old neighbors. In addition, the routing node needs to decide whether to initiate a periodic synchronization confirmation process for the LSDB of all routing nodes in the entire network based on the value of the link state description announcement interval. Only when the link state description announcement interval is not 0, the routing node needs to periodically send this message point-to-point to all routing nodes in the entire network to realize the synchronization confirmation function of the LSDB of all routing nodes in the entire network. Once an LSD message is sent to a routing node, the link state description confirmation reception timer (LSD ACK Receive Timer) needs to be started to implement a retransmission mechanism. The main fields of the LSD message include network subnet mask, link state description sequence number (LSD Sequence Number), routing priority, number of neighbors (Number of Neighbor), and neighbor list (Neighbor List). The main fields of the neighbor list include multimedia interface, router ID, neighbor router ID, signal quality level, and change sequence number.

[0060] The LSD ACK message is a point-to-point message used to confirm the LSD message between new and old neighbors, or to confirm the LSD message between any two routing nodes when the LSDB of the entire network routing nodes is synchronized. When a new routing node or any routing node receives an LSD message, it needs to respond to this message to confirm that it has received the LSD message from the first routing node. The main fields of the LSD ACK message include the network subnet mask, link state description sequence number, routing priority, and number of neighbors, but there is no neighbor list field.

[0061] Content 2: How the protocol works

[0062] The following describes the working process of this routing protocol and system by combining the four types of protocol messages and the system's timer and database:

[0063] 1. LSDB architecture

[0064] The LSDB database mainly includes four tables: the non-synchronized global neighbor information table (NSYNCD Global NeighborList), the synchronized global neighbor information table (SYNCD Global Neighbor List), the invalid global neighbor information table (Invalid Global Neighbor List), and the synchronized local neighbor information table (SYNCD Local NeighborList).

[0065] The main fields in the headers of the above four tables are the same and are described as follows:

[0066] Routing ID, indicating the routing node ID that generates the change sequence number;

[0067] Neighbor routing identifier, indicating the routing node identifier of the routing node identified by the routing identifier as a neighbor;

[0068] Multimedia interface, which represents the physical interface of a routing node, such as an Ethernet port of a wired network or a carrier interface of a wireless network;

[0069] The signal quality level indicates the result of the routing node's evaluation of the signal quality of its neighboring routing nodes. The signal quality can be the signal-to-noise ratio (SNR) or the symbol error rate (SER).

[0070] The change sequence number indicates a change sequence number generated when the routing identification interface discovers neighbors and establishes neighbor relationships through the routing protocol and creates neighbor information table entries. The change sequence number increases incrementally and can be used to track the change process of neighbor relationships of a routing node.

[0071] 2. Neighbor discovery, maintenance, and intelligent perception

[0072] Each routing node periodically sends unconfirmed handshake messages to its neighbors based on the handshake interval to discover and maintain neighbor information.

[0073] Each routing node quickly establishes a neighbor relationship with the first routing node based on the received unconfirmed handshake message. After establishing a neighbor relationship with a routing node, start the handshake timeout timer (Handshake Timeout Timer). If a timeout occurs, send a point-to-point handshake message that requires confirmation to the routing node. After sending a point-to-point handshake message with confirmation to a routing node, start the handshake ACK Receive Timer (Handeshake ACK Receive Timer). If a timeout occurs, it is determined that the neighbor relationship between the two routing nodes is invalid. The corresponding neighbor information entry in the LSDB database's synchronized network-wide neighbor information table needs to be modified, and the signal quality level in the neighbor information is changed to 0. At the same time, the table entry is moved to the unsynchronized network-wide neighbor information table, and the change notification is completed by sending an unconfirmed handshake message next time.

[0074] Each routing node evaluates the signal quality level of the neighbor routing node in the synchronized local neighbor information table in real time. When the signal quality level changes, the corresponding neighbor information entry in the synchronized local neighbor information table needs to be modified to change the signal quality level in the neighbor information to the latest evaluation value.

[0075] 3. LSDB synchronization

[0076] Routing nodes synchronize LSDB databases between routing nodes by sending and receiving handshake messages, handshake confirmation messages, LSD messages, and LSD ACK messages. The neighbor change list information in the unconfirmed handshake message is taken from the unsynchronized network-wide neighbor information table, the neighbor change list information in the handshake message that needs to be confirmed only contains a point-to-point neighbor information table item, the neighbor change list in the handshake confirmation message is empty, the neighbor list information in the LSD message that needs to be confirmed and the unconfirmed LSD message is taken from the synchronized network-wide neighbor information table, and the neighbor list in the LSD ACK message is empty.

[0077] When a routing node receives a handshake message, it processes it according to the following rules:

[0078] First, the neighbor information table items with a signal quality level of 0 in the neighbor change list are moved from the synchronized whole-network neighbor information table to the unsynchronized whole-network neighbor information table, and the signal quality level is changed to 0 at the same time.

[0079] Then, the neighbor information table items with a signal quality level other than 0 in the neighbor change list are traversed: if a similar table item of the table item already exists in the synchronized whole-network neighbor information table, that is, there is a table item with exactly the same routing identifier, neighbor routing identifier, and multimedia interface, then it is necessary to first determine the order in which the change sequence number is generated. If the change sequence number of the table item in the synchronized whole-network neighbor information table is generated earlier, delete the similar table item in the synchronized whole-network neighbor information table, and add a new table item to the unsynchronized whole-network neighbor information table. If there is no similar table item in the synchronized whole-network neighbor information table, simply add a new table item to the unsynchronized whole-network neighbor information table. When adding a new table item, it is necessary to pay attention to deduplication processing, first determine the order in which the change sequence number is generated, and then determine whether to replace or discard.

[0080] When a routing node receives an LSD message, it processes it according to the following rules:

[0081] Since the neighbor list information in the LSD message is taken from the synchronized network-wide neighbor information table, there is no signal quality level of 0. You can directly compare the neighbor list with the synchronized network-wide neighbor information table. If all fields of the neighbor information are consistent, it means that the LSDB has been synchronized, otherwise it means that the LSDB has not been synchronized. Since LSDB synchronization is a gradual convergence process, there is no need to do special exception handling. You only need to indicate the status of this synchronization when responding to the LSD ACK message.

[0082] When a routing node receives a handshake confirmation message, it processes it according to the following rules:

[0083] Restart the handshake timeout timer of the corresponding routing node and continue to wait for the handshake message from the routing node.

[0084] When a routing node receives an LSD ACK message, it processes it according to the following rules:

[0085] The link state description confirmation receive timer (LSD ACK Receive Timer) of the corresponding routing node is turned off, indicating that LSDB synchronization has been achieved between the routing nodes. The routing node triggers the call of the SPF algorithm to regenerate the SPT (Shortest Path Tree) shortest path tree.

[0086] After LSDB synchronization is achieved, the routing node decides whether to periodically call the SPF algorithm to regenerate the SPT shortest path tree based on the link state description announcement interval and the changes in the invalid network-wide neighbor information table.

[0087] A small-scale airborne millimeter wave wireless ad hoc network routing protocol and system is used as an example for description. For the convenience of description, only the key parts of the abstract are described, but it is sufficient to understand the highly dynamic routing protocol system of the specific embodiment of the present application.

[0088] 1. LSDB database design

[0089] Four tables are created, namely, the non-synchronized global neighbor information table (NSYNCD Global Neighbor List), the synchronized global neighbor information table (SYNCD Global Neighbor List), the invalid global neighbor information table (InvalidGlobal Neighbor List), and the synchronized local neighbor information table (SYNCD Local Neighbor List).

[0090] The headers of the four tables are the same, and the detailed designs are as follows:

[0091] Routing ID, occupies 16 bits, the protocol supports up to 65536 routing nodes, and the system design supports up to 64 routing nodes, the same below;

[0092] Neighbor routing ID, occupies 16 bits;

[0093] Signal quality level, occupies 8 bits, the protocol supports up to 64 levels, and the system design supports up to 8 levels. Signal quality uses SER bit error rate;

[0094] Multimedia interface, occupies 8 bits, the protocol supports up to 64 interfaces, and the system design supports up to 8 interfaces.

[0095] Change sequence number, occupies 16 bits, increases incrementally, and ranges from 0 to 65535.

[0096] 2. Protocol message format and system specification design

[0097] The message header format is as follows Figure 2 As shown, the detailed design of the fields is as follows:

[0098] Version number, occupies 8 bits, and supports up to 256 versions;

[0099] Protocol type, occupies 4 bits, and supports up to 16 protocols;

[0100] Verification type, occupies 4 bits. The protocol supports up to 16 verification types, and the system design supports up to 4 verification types.

[0101] Packet type, occupies 8 bits, and supports up to 256 packet types;

[0102] Optional field, occupies 8 bits, reserved;

[0103] Packet length, occupies 16 bits, the protocol supports up to 65536 bytes, and the system is designed to be no longer than 1500 bytes;

[0104] Source router identifier, 16 bits;

[0105] Destination router ID, 16 bits;

[0106] Check code, occupies 16 bits;

[0107] Message data, different message types have different positions. There are 4 message types: Handshake message, HandshakeACK message, LSD message, LSD ACK message. For the message length, refer to the corresponding message format.

[0108] Verification data. Different verification types occupy different bits. For example, when no verification is performed, it occupies 0 bits; when the verification type is MD5, it occupies 64 bits.

[0109] The format of the Handshake message is as follows Figure 3 As shown, the detailed design of the fields is as follows:

[0110] Network subnet mask, occupies 32 bits;

[0111] Handshake interval, occupies 8 bits, in seconds, 0 means the default is 10 seconds;

[0112] Link status description announcement interval, occupies 8 bits, the unit is minutes, 0 means infinite time;

[0113] Handshake timeout, occupies 4 bits, the system design range is 4 to 16 times the handshake interval;

[0114] Routing priority, occupies 4 bits, supports up to 16 priorities, 0 is the highest level;

[0115] Optional field, occupies 4 bits, reserved;

[0116] The number of neighbors that have changed, which occupies 4 bits. The system is designed to support up to 16 neighbor information per change notification;

[0117] Neighbor information list. Each neighbor information entry occupies 64 bits. Bits 0 to 15 indicate the RouteID that initiates the change, bits 16 to 31 indicate the neighbor's Route ID, bits 32 to 39 indicate the MTU Interface, bits 40 to 47 indicate the neighbor's signal quality level (a level of 0 indicates deletion), and bits 48 to 63 indicate the change sequence number.

[0118] The format of the Handshake ACK message is as follows: Figure 4 As shown, the detailed design of the fields is as follows:

[0119] The network subnet mask, handshake interval, link state description advertisement interval, handshake timeout, routing priority, optional fields, number of changed neighbors and other fields are exactly the same as those of the Handshake message, but the Handshake ACK message does not have the Neighbor Changed List field.

[0120] The LSD message format is as follows Figure 5 As shown, the detailed design of the fields is as follows:

[0121] Network subnet mask, occupies 32 bits;

[0122] Link state description sequence number, occupies 16 bits, increases incrementally, and ranges from 0 to 65535;

[0123] Routing priority, occupies 4 bits, same as above;

[0124] Optional field, occupies 4 bits, reserved;

[0125] Neighbor number, occupies 8 bits. The system is designed to support the storage of up to 256 neighbor information entries.

[0126] Neighbor list, each neighbor information entry occupies 64 bits, and the placeholder design is exactly the same as the Neighbor Changed List neighbor information list entry.

[0127] The LSD ACK message format is as follows Figure 6 As shown, the detailed design of the fields is as follows:

[0128] The network subnet mask, link state description sequence number, routing priority, optional fields, number of neighbors and other fields are exactly the same as those of the LSD message, but the LSD ACK message does not have a neighbor list field.

[0129] 3. Neighbor discovery, maintenance, and change strategies

[0130] Handshake broadcast messages are sent periodically to make neighbors aware of the existence of the routing node and to synchronize local LSDB changes with neighbors.

[0131] The purpose of sending a point-to-point Handshake message is to notify neighboring routing nodes that you are no longer a neighbor of this routing node, to prevent LSDB asynchrony caused by one-way communication anomalies.

[0132] The purpose of periodically sending point-to-point LSD messages is to collect statistics on the LSDB synchronization status of this routing node and other routing nodes in the entire network.

[0133] The purpose of triggering the sending of point-to-point LSD messages is to enable new neighbors to quickly synchronize their LSDBs.

[0134] The evaluation results of the signal quality level can be used as a reference for route selection and can also assist in analyzing communication problems between neighbors.

[0135] Summary of neighbor discovery, maintenance, and change strategies:

[0136] Any routing node discovers its neighbors by receiving Handshake messages;

[0137] Any routing node maintains neighbor relationships and synchronizes LSDBs between neighbors by sending Handshake broadcast messages;

[0138] Any routing node cancels the neighbor relationship with a routing node by sending a Handshake point-to-point message. At this time, the second routing node must restore the neighbor relationship between the two routing nodes by receiving the Handshake message corresponding to the first routing node and the NeighborChanged List field contains the neighbor information between the two routing nodes;

[0139] Any routing node assists in the synchronization of the LSDB of the entire network and counts the synchronization status of the LSDB of the entire network by sending and receiving LSD messages.

[0140] 4. LSDB synchronization framework (reference Figure 7 )

[0141] When receiving other protocol messages except the point-to-point Handshake message, the first routing node is added as a local neighbor to both the synchronized local neighbor information table and the unsynchronized whole network neighbor information table. If a similar entry already exists, it is not added.

[0142] When receiving a point-to-point Handshake message, the neighbor information table entry corresponding to the first routing node in the synchronized local neighbor information table is moved to the unsynchronized network-wide neighbor information table, and the signal quality level of the entry is changed to 0. At the same time, the neighbor information table entry corresponding to the first routing node in the synchronized network-wide neighbor information table needs to be deleted.

[0143] When receiving the Handshake broadcast message, first move the table items corresponding to the neighbor information with a signal quality level of 0 in the neighbor information list from the synchronized network-wide neighbor information table to the unsynchronized network-wide neighbor information table, and change the signal quality level to 0. Then compare the neighbor information with a signal quality level other than 0 in the neighbor information list with similar items in the synchronized network-wide neighbor information table and perform expiration processing. If the former expires, it can be directly discarded without processing. If the latter expires, it is necessary to delete the expired table items in the synchronized network-wide neighbor information table and add new table items in the unsynchronized network-wide neighbor information table. If there is no similar table item in the synchronized network-wide neighbor information table, directly add the new table item in the unsynchronized network-wide neighbor information table.

[0144] When receiving the LSD message, directly compare the neighbor list with the synchronized network-wide neighbor information table. If all fields of the neighbor information are consistent, it means that the LSDB has been synchronized. Otherwise, it means that the LSDB has not been synchronized. If it is in an unsynchronized state, the neighbor information in the neighbor list needs to be deduplicated and added to the synchronized network-wide neighbor information table. When responding to the LSD ACK message, the lowest bit of the Options field is used to indicate whether it is synchronized. 0 means synchronized, and 1 means unsynchronized.

[0145] Compared with the prior art, this application has the following technical effects:

[0146] The highly dynamic routing protocol system of this embodiment is a hybrid routing protocol that uses a short message format, a small number of message types, a fast convergence process, and real-time and accurate signal quality perception to improve the network response speed and routing convergence speed, reduce the occupied system overhead and the protocol's own overhead, and ensure the security and accuracy of the routing protocol itself.

[0147] This highly dynamic routing protocol system is suitable for small-scale wireless ad hoc network communication systems in highly dynamic non-line-of-sight environments, such as power grid multi-UAV high-altitude operation communication. At the same time, this highly dynamic routing protocol system can also be used as a key technology for miniaturized wide-area millimeter-wave wireless communication systems, and has broad application prospects.

[0148] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

[0149] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.

Claims

1. A highly dynamic routing protocol method, It is characterized in that include: Establishing a link state database, wherein the link state database includes an unsynchronized whole-network neighbor information table, a synchronized whole-network neighbor information table, an invalid whole-network neighbor information table, and a synchronized local neighbor information table; Generate a handshake message that does not require confirmation, a handshake message that requires confirmation, a link state description message that does not require confirmation, or a link state description message that requires confirmation based on the link state database; Discovering, maintaining and canceling neighbor relationships between routing nodes by sending and receiving the handshake messages that do not require confirmation and the handshake messages that require confirmation; and Link state database synchronization between routing nodes is achieved by sending and receiving the handshake message that does not require confirmation, the handshake message that requires confirmation, the link state description message that does not require confirmation, and the link state description message that requires confirmation, Among them, the link state database synchronization between routing nodes is achieved by sending and receiving the handshake message that does not require confirmation, the handshake message that requires confirmation, the link state description message that does not require confirmation, and the link state description message that requires confirmation, including when receiving the first handshake message that does not require confirmation, processing according to the following steps: moving the second neighbor information table entry in the synchronized whole-network neighbor information table corresponding to the first neighbor information table entry with a first signal quality level of 0 in the neighbor change list from the synchronized whole-network neighbor information table to the unsynchronized whole-network neighbor information table, and modifying the second signal quality level to 0; modifying the third neighbor information table entry with a first signal quality level of non-0 in the neighbor change list Items are traversed: if a similar table item to the third neighbor information table item with the first signal quality level being non-0 already exists in the synchronized whole-network neighbor information table, determine the order in which the first change sequence number and the second change sequence number are generated; if the second change sequence number in the synchronized whole-network neighbor information table is generated earlier, delete the similar table item in the synchronized whole-network neighbor information table, and add a table item to the unsynchronized whole-network neighbor information table according to the third neighbor information table item; if a similar table item does not exist in the synchronized whole-network neighbor information table, directly add a table item to the unsynchronized whole-network neighbor information table according to the third neighbor information table item, wherein attention is paid to deduplication when adding a table item; Wherein, realizing the synchronization of the link state database between routing nodes by sending and receiving the handshake message that does not require confirmation, the handshake message that requires confirmation, the link state description message that does not require confirmation, and the link state description message that requires confirmation includes, when receiving the second handshake message that requires confirmation, processing according to the following steps: moving the neighbor information table item corresponding to the sender routing node in the synchronized local neighbor information table to the unsynchronized whole-network neighbor information table, and changing the signal quality level of the neighbor information table item of the sender routing node to 0, and deleting the neighbor information table item corresponding to the sender routing node in the synchronized whole-network neighbor information table; Among them, realizing the synchronization of the link state database between routing nodes by sending and receiving the handshake message that does not require confirmation, the handshake message that requires confirmation, the link state description message that does not require confirmation and the link state description message that requires confirmation includes: periodically sending the link state description message that does not require confirmation according to the link state description interval pre-set in the link state description timer by the first routing node; when the link state description message that does not require confirmation is received by the second routing node, directly comparing the neighbor list with the synchronized whole-network neighbor information table; if the neighbor information of the neighbor list is consistent with the neighbor information of the synchronized whole-network neighbor information table, the link state database has been synchronized, otherwise the link state database has not been synchronized; if the link state database is in an unsynchronized state, adding the neighbor information in the neighbor list to the synchronized whole-network neighbor information table after deduplication processing; Among them, realizing the synchronization of link state databases between routing nodes by sending and receiving the handshake message that does not require confirmation, the handshake message that requires confirmation, the link state description message that does not require confirmation, and the link state description message that requires confirmation includes: triggering the sending of the link state description message that requires confirmation; when receiving the link state description message that requires confirmation, closing the link state description confirmation reception timer of the corresponding routing node, and determining that the link state database synchronization has been achieved between the sending routing node and the receiving routing node; the routing node triggers the calling of the shortest path first algorithm to regenerate the shortest path tree.

2. The highly dynamic routing protocol method according to claim 1, It is characterized in that The handshake message that does not require confirmation, the handshake message that requires confirmation, the link state description message that does not require confirmation, or the link state description message that requires confirmation share the same message header, and the fields of the message header include: version number, protocol type, verification type, packet type, packet length, source router identifier, destination router identifier, check code, and verification data; The fields of the handshake message that does not require confirmation include: network subnet mask, handshake interval, handshake timeout, link state description announcement interval, routing priority, number of changed neighbors, and neighbor change list; The fields of the handshake message to be confirmed include: network subnet mask, handshake interval, handshake timeout, link state description announcement interval, routing priority, and number of neighbors changed; The fields of the link state description message that does not require confirmation include: network subnet mask, link state description sequence number, routing priority, number of neighbors, and neighbor list; and The fields of the link state description message to be confirmed include: network subnet mask, link state description sequence number, routing priority, and number of neighbors; wherein the neighbor change list and the neighbor list both include: a first multimedia interface, a first router identifier, a first neighbor router identifier, a first signal quality level, and a first change sequence number.

3. The highly dynamic routing protocol method according to claim 2, It is characterized in that Discovering, maintaining and canceling the neighbor relationship between routing nodes by sending and receiving the handshake message that does not require confirmation and the handshake message that requires confirmation includes: Periodically sending a first handshake message requiring no confirmation to the second routing node according to a handshake interval pre-set in a handshake timer through the first routing node; The second routing node quickly establishes a neighbor relationship with the first routing node based on the received first handshake message, starts a handshake timeout timer, and enters a neighbor state, wherein the handshake timeout period is 4 to 16 times the handshake interval, and determines whether to cancel or maintain the neighbor relationship between the first routing node and the second routing node based on whether the handshake timeout timer times out.

4. The highly dynamic routing protocol method according to claim 3, It is characterized in that Determining whether to cancel or maintain the neighbor relationship between the first routing node and the second routing node according to whether the handshake timeout timer times out includes: When the handshake timeout timer has not timed out, maintaining a neighbor relationship between the first routing node and the second routing node; When the handshake timeout timer times out, the second routing node triggers the sending of a second handshake message requiring confirmation, and simultaneously starts a handshake response receiving timer, wherein the invalidation of the neighbor relationship between the first routing node and the second routing node is determined based on whether the handshake response receiving timer times out.

5. The highly dynamic routing protocol method according to claim 4, It is characterized in that The same header fields of the unsynchronized whole-network neighbor information table, the synchronized whole-network neighbor information table, the invalid whole-network neighbor information table and the synchronized local neighbor information table include: a second routing identifier, a second neighbor routing identifier, a second multimedia interface, a second signal quality level and a second change sequence number, wherein: The second signal quality level is used to represent a result of the routing node of the routing identifier evaluating the signal quality of the neighbor routing node, wherein the signal quality includes a signal-to-noise ratio or a bit error rate; and The second change sequence number is used to indicate that the interface of the routing identifier discovers neighbors and establishes neighbor relationships through a routing protocol, and the second change sequence number generated when a neighbor information table entry is created changes incrementally, wherein the second change sequence number is used to track the change process of the neighbor relationship of a certain routing node.

6. A highly dynamic routing protocol system, It is characterized in that include: A database establishment module, used to establish a link state database, wherein the link state database includes an unsynchronized whole-network neighbor information table, a synchronized whole-network neighbor information table, an invalid whole-network neighbor information table, and a synchronized local neighbor information table; A message generation module, used to generate a handshake message that does not require confirmation, a handshake message that requires confirmation, a link state description message that does not require confirmation, or a link state description message that requires confirmation based on the link state database; A neighbor processing module, configured to discover, maintain and cancel neighbor relationships between routing nodes by sending and receiving the handshake messages that do not require confirmation and the handshake messages that require confirmation; and A database synchronization module, used to synchronize the link state database between routing nodes by sending and receiving the handshake message that does not require confirmation, the handshake message that requires confirmation, the link state description message that does not require confirmation, and the link state description message that requires confirmation; Among them, the database synchronization module is used to process according to the following steps when receiving the first handshake message that does not require confirmation: the second neighbor information table item in the synchronized whole-network neighbor information table corresponding to the first neighbor information table item in the neighbor change list with a first signal quality level of 0 is moved from the synchronized whole-network neighbor information table to the unsynchronized whole-network neighbor information table, and the second signal quality level is modified to 0; the third neighbor information table item in the neighbor change list with a first signal quality level not 0 is traversed: if the third neighbor information table item in the synchronized whole-network neighbor information table corresponding to the first signal quality level 0 already exists in the synchronized whole-network neighbor information table, similar table items of the third neighbor information table item with a quality level other than 0, judging the order in which the first change sequence number and the second change sequence number are generated; if the generation time of the second change sequence number in the synchronized whole-network neighbor information table is earlier, deleting the similar table items in the synchronized whole-network neighbor information table, and adding a table item in the unsynchronized whole-network neighbor information table according to the third neighbor information table item; if there is no similar table item in the synchronized whole-network neighbor information table, directly adding a table item in the unsynchronized whole-network neighbor information table according to the third neighbor information table item, wherein attention should be paid to deduplication when adding the table items; The database synchronization module is used to process according to the following steps when receiving the second handshake message to be confirmed: move the neighbor information table item corresponding to the sender routing node in the synchronized local neighbor information table to the unsynchronized whole-network neighbor information table, and change the signal quality level of the neighbor information table item of the sender routing node to 0, and delete the neighbor information table item corresponding to the sender routing node in the synchronized whole-network neighbor information table; The database synchronization module is used to periodically send a link state description message that does not require confirmation through the first routing node according to the link state description interval pre-set in the link state description timer; when the link state description message that does not require confirmation is received through the second routing node, the neighbor list is directly compared with the synchronized whole-network neighbor information table; if the neighbor information in the neighbor list is consistent with the neighbor information in the synchronized whole-network neighbor information table, the link state database has been synchronized, otherwise the link state database has not been synchronized; if the link state database is in an unsynchronized state, the neighbor information in the neighbor list is added to the synchronized whole-network neighbor information table after deduplication processing; Among them, the database synchronization module is used to trigger the sending of link state description messages that need to be confirmed; when receiving the link state description messages that need to be confirmed, the link state description confirmation reception timer of the corresponding routing node is turned off to determine that link state database synchronization has been achieved between the sending routing node and the receiving routing node; the routing node triggers the call of the shortest path first algorithm to regenerate the shortest path tree.

Citation Information

Patent Citations

  • OSPF neighbor establishing method and device

    CN104092610A

  • Neighbor discovery and link status detecting method applicable to broadcast link

    CN104394082A

  • A method supporting EIGRP protocol for detecting link single bi-directional state

    CN109041167A

  • System and method for providing a link state database (LSDB) snapshot for neighbor synchronization

    US7248579B1