WO2023184213A1 - Clustered optimized link state routing method based on virtual backbone network - Google Patents

Clustered optimized link state routing method based on virtual backbone network Download PDF

Info

Publication number
WO2023184213A1
WO2023184213A1 PCT/CN2022/083989 CN2022083989W WO2023184213A1 WO 2023184213 A1 WO2023184213 A1 WO 2023184213A1 CN 2022083989 W CN2022083989 W CN 2022083989W WO 2023184213 A1 WO2023184213 A1 WO 2023184213A1
Authority
WO
WIPO (PCT)
Prior art keywords
gateway
cluster
node
backbone network
nodes
Prior art date
Application number
PCT/CN2022/083989
Other languages
French (fr)
Chinese (zh)
Inventor
钟伟峰
曹晶烨
丁良辉
Original Assignee
江苏杰泽罗通信科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 江苏杰泽罗通信科技有限公司 filed Critical 江苏杰泽罗通信科技有限公司
Priority to PCT/CN2022/083989 priority Critical patent/WO2023184213A1/en
Publication of WO2023184213A1 publication Critical patent/WO2023184213A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/32Connectivity information management, e.g. connectivity discovery or connectivity update for defining a routing cluster membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Definitions

  • the present invention relates to the field of wireless communication technology, and in particular to a clustered optimal link state routing method based on a virtual backbone network.
  • a clustered OLSR routing method based on management message merging is proposed.
  • This routing method is essentially a new routing protocol. Its main contents include: establishing clustering in the network Structure, nodes elect cluster heads within a two-hop range through the maximum connectivity clustering algorithm, and the cluster heads establish clusters within a two-hop range; design a cluster periodic maintenance mechanism and a cluster merger mechanism, and use the cluster head and member node periodicity to Information interaction and cluster merging mechanism to maintain the stability of the network clustering structure in dynamic networks; design the routing message management mechanism of OLSR, the cluster head node collects the routing messages of member nodes, and the routing messages of the members will be Flooding is performed after merging to reduce routing overhead by reducing the header redundancy of routing messages. The cluster head monitors topology changes based on routing messages of each member and reduces the flooding frequency of routing messages for members with stable topology. to reduce unnecessary routing overhead.
  • the present invention provides a clustered optimal link state routing method based on a virtual backbone network.
  • the virtual backbone network is used to replace the MPR mechanism for routing message flooding.
  • the number of forwardings reduces the routing overhead of the OLSR protocol.
  • a clustered optimal link state routing method based on a virtual backbone network including:
  • a clustered optimal link state routing method based on a virtual backbone network including:
  • a clustered optimal link state routing method based on a virtual backbone network including:
  • it is proposed Establish and maintain a virtual backbone network on a clustered structure constructed by a clustered OLSR routing method based on management message merging;
  • the cluster head node During the establishment process of the virtual backbone network, the cluster head node first calculates the MCDS that can control all nodes in the cluster. Each cluster head selects a minimum number of gateway nodes to join its clustered MCDS, and then establishes a MCDS that can reach all neighboring clusters.
  • CDS the CDS of all clusters in the network constitute the backbone of the network; in addition, each cluster also needs to select relay nodes in neighboring clusters, and forward routing messages from this cluster through the relay nodes; based on the virtual backbone network Establish and select relay nodes, and set forwarding rules for routing message flooding;
  • the cluster head In the virtual backbone network maintenance phase, the cluster head is used to periodically maintain the virtual backbone network and send messages to notify its member nodes to update their own backbone network status; the gateway node periodically submits the neighboring cluster nodes it discovered to the cluster head, so that the cluster head The latest neighbor cluster information can be obtained.
  • the present invention provides a clustered optimal link state routing method based on a virtual backbone network. It uses the virtual backbone network instead of the MPR mechanism to flood routing messages, and reduces OLSR by optimizing the number of forwardings when routing messages are flooded. The routing overhead of the protocol.
  • the present invention provides a clustered optimal link state routing method based on a virtual backbone network.
  • the invention ensures that the clustered optimal link state routing method based on a virtual backbone network is Stability in dynamic networks.
  • Figure 1 is a flow chart of the calculation algorithm of the gateway domination point of a clustered optimal link state routing method based on a virtual backbone network according to the present invention
  • Figure 2 is an example diagram of isolated nodes that affect global flooding of routing messages in a clustered optimal link state routing method based on a virtual backbone network according to the present invention
  • Figure 3 is an example diagram of the backbone network and routing message flooding mechanism of a clustered optimal link state routing method based on a virtual backbone network according to the present invention.
  • a clustered optimal link state routing method based on a virtual backbone network described in this embodiment is: a clustered OLSR based on management message merging proposed in the Chinese invention patent application document with application number 202210303763.8 Based on the clustering structure constructed by the routing method, a virtual backbone network is established and maintained. It is mainly divided into two parts: virtual backbone network establishment and virtual backbone network maintenance.
  • the establishment of a virtual backbone network can be divided into four parts: establishment of intra-cluster MCDS, establishment of intra-cluster CDS, relay node selection, and isolated node processing.
  • MPR dominator used to identify the node in the minimum connected domination concentration in the cluster
  • Gateway Dominator gateway dominator
  • Relay Point Relay node, used to identify the relay node selected by the gateway domination point in the neighboring cluster
  • unset not allocated to the backbone network
  • the cluster head node uses its known information to calculate MCDS that can cover all nodes in the cluster.
  • the cluster head can obtain the information of all member nodes through the interaction of HELLO messages. Therefore, the cluster head only needs to peel off the topology view of its own cluster from the neighbor topology information within the two-hop range, and then use the MPR set selection algorithm to calculate the MPR node covering all member nodes in the cluster, which is called MPR. Dominance point. All MPR dominating points and cluster heads constitute MCDS covering all nodes in the cluster. Among them, the selection algorithm of the MPR set is consistent with the OLSR standard protocol document RFC.3626. After completing the calculation of MPR dominating points, the cluster head will send a BACKBONE message to notify all member nodes of the calculated set of MPR dominating points.
  • the cluster head obtains the addresses and topology information of all member nodes, and peels off the topology view of its own cluster.
  • the cluster head uses the MPR set selection algorithm to calculate the MPR nodes covering all member nodes and marks them as MPR dominating points.
  • the cluster head node records its own address and the addresses of these MPR dominator points in the MPR Dominator Set, and notifies all member nodes of the MPR dominator information of this cluster by sending a BACKBONE message.
  • the member node After receiving the BACKBONE message sent by its cluster head, the member node records the MPR node address and cluster head address contained in the message in the MPR dominating point set. If the MPR dominator set recorded in the BACKBONE message contains the address of the member node, the member node will mark its backbone network status as MPR dominator.
  • TC messages and CTC messages can reach all nodes in the cluster through the MPR control point.
  • MPR control point we need to connect MCDS in different clusters.
  • gateway nodes We add gateway nodes to each clustered MCDS so that it can connect to all neighboring clusters. We call these newly added gateway nodes gateway domination points.
  • the process for a cluster head to select a gateway domination point is as follows: all gateway nodes in this cluster send a GATEWAY message to the cluster head, the content of which includes the gateway node's own address and its discovery.
  • the cluster head addresses of all adjacent clusters; the cluster head selects the minimum number of gateway nodes as gateway dominators based on the neighboring cluster information summarized by all gateway nodes, and adds them to the MCDS within the cluster to form a coverage of all Intra-cluster CDS of neighboring clusters.
  • All gateway nodes send GATEWAY messages to their own cluster heads, whose content includes their own addresses and the cluster head addresses of all neighboring clusters they discover.
  • the cluster head After receiving the GATEWAY message, the cluster head records the cluster head address and gateway node address of the neighboring cluster contained in it in the Gateway Set.
  • the elements of this set are the cluster head address of the neighboring cluster and all the cluster head addresses related to the neighboring cluster.
  • a vector of adjacent gateway node addresses are the cluster head address of the neighboring cluster and all the cluster head addresses related to the neighboring cluster.
  • the cluster head calculates the gateway control node. First, if the cluster head is adjacent to a neighboring cluster node, it selects itself as the gateway dominating point, and deletes the related entries of all neighboring cluster head addresses found by it in the gateway set; if after the above steps, the gateway set is not If empty, the cluster head selects an MPR dominating point that connects the most neighbor clusters from the MPR dominating point set in each round, selects it as the gateway dominating point, and deletes entries related to all its adjacent neighbor clusters in the gateway set.
  • the cluster head selects a gateway node from the gateway nodes in each round that is connected to the most neighbor clusters, marks it as a gateway dominating point, and Entries related to all neighboring clusters adjacent to it are deleted in the gateway set until the gateway set is empty.
  • the algorithm steps are shown in Figure 1.
  • the cluster head After completing the calculation of gateway domination points, the cluster head records all gateway domination points in the gateway domination point set, adds the gateway domination point set to the BACKBONE message and sends it to all member nodes.
  • intra-cluster MCDS of each sub-cluster After completing the selection of gateway control points, we expand the intra-cluster MCDS of each sub-cluster into intra-cluster CDS.
  • the intra-cluster CDS of each cluster has established connections with all neighboring clusters, and the intra-cluster CDS of all clusters constitute the virtual backbone of the network.
  • relay nodes of the gateway control point. Since each member node in a neighboring cluster must be a node in the CDS within the cluster or adjacent to a node in the CDS within the cluster, the routing message generated or forwarded by the gateway dominating point can reach each node through its selected relay node. all nodes in neighboring clusters.
  • the gateway dominating point notifies the neighboring cluster neighbor to become its relay node by sending a RELAY_POINTS message.
  • the relay node will select its gateway dominating point, which is called a relay point selector (Relay Point Selector).
  • the gateway dominance point may be directly connected to the intra-cluster CDS of the neighboring cluster, but because it lacks the CDS information of the neighboring cluster, it cannot determine whether it is connected to the CDS of the neighboring cluster.
  • the relay node selected by the gateway control point does not need to forward routing messages from the gateway control point. Therefore, if the relay node finds that its relay point selector is connected to the CDS of this cluster, the relay node will not forward the route flooding message from the gateway control point.
  • the isolated node sets its cluster head address field to empty in the HELLO message, it can be detected by neighbor nodes.
  • An isolated node may be surrounded by multiple clusters. If all clusters adjacent to the isolated node add gateway control points to connect to the isolated node, greater redundancy will occur.
  • For each isolated node it only needs to periodically send TC-REQ messages to ask the neighbor with the maximum connectivity for global topology information, and its adjacent clusters do not need to forward routing messages to it.
  • an isolated node After an isolated node receives a TC or CTC message from other nodes, it must forward the message to all its neighbor nodes.
  • the routing of data packets may also have to pass through isolated nodes, such as the routing between two clusters in Figure 2. Therefore, TC messages generated by isolated nodes need to be flooded to the entire network. To solve this problem, the isolated node needs to select a relay node in each neighbor cluster adjacent to it to forward the TC message generated by it.
  • the gateway dominating point selects a neighbor node with the maximum degree of connectivity in each neighbor cluster adjacent to it as its relay node in the neighbor cluster. After selecting the relay nodes of all neighboring clusters, the gateway node sends a RELAY_POINTS message to notify these nodes to become its relay nodes.
  • a node When a node receives a RELAY_POINTS message from a neighboring cluster, if the message contains its own address, it records the source node of the message as its own relay point selector.
  • the relay node After the relay node receives the TC or CTC message sent or forwarded by its relay point selector, it searches the MPR dominating point set and gateway dominating point set of this cluster to see if there is a node adjacent to the relay point selector. If it is found that there is a node adjacent to the relay point selector, the relay node will not forward the TC or CTC message, otherwise it will be forwarded.
  • the node If the node is in the virtual backbone network, that is, it is preferred by the cluster as an MPR dominating point or gateway dominating point, then it unconditionally forwards all received TC or CTC messages.
  • Figure 3 shows an example of a virtual backbone network established by a clustered optimal link state routing method based on a virtual backbone network and routing message flooding rules described in this embodiment.
  • the white circles are member nodes, the black circles are cluster heads, and the grid circles are isolated nodes.
  • the triangles and squares mark the MPR dominating point and the gateway dominating point respectively, and the diamonds mark the relay nodes of the gateway dominating point.
  • the bold arrow represents the flooding process of TC messages generated by node N.
  • the gateway node In the clustered optimal link state routing method based on a virtual backbone network described in this embodiment, the gateway node periodically reports neighbor cluster information to its own cluster head, and the cluster head periodically calculates the MPR dominating point and The gateway dominates the point and broadcasts a BACKBONE message to notify member nodes to confirm their backbone network status. Therefore, member nodes can periodically maintain their own backbone network status and intra-cluster CDS information, thereby maintaining the virtual backbone network and routing message flooding rules in a dynamic network. We record this cycle as the backbone network cycle (Backbone Peirod).
  • the gateway node sends a GATEWAY message to the cluster head to submit the latest neighbor cluster information to the cluster head.
  • the cluster head sets an expiration time (a clustering optimal link state routing method based on a virtual backbone network) for each entry in the gateway set to delete expired information.
  • the maintenance algorithm of the gateway set is as follows: each neighboring cluster head address in the gateway set corresponds to multiple gateway nodes.
  • each gateway node For the entry of a certain neighboring cluster head address, each gateway node has its own expiration time; when the cluster head receives After the gateway node sends a GATEWAY message, for each neighboring cluster head address in the GATEWAY message, the corresponding entry is found in the gateway set, and the expiration time of the gateway node in each neighboring cluster head entry is updated; when the gateway set If the expiration time of a gateway node in an entry expires, the gateway node will be deleted from the entry. If an entry loses all gateway nodes, the entry will be deleted.
  • the cluster head can obtain the latest neighbor cluster information, so the latest intra-cluster CDS can be calculated in each backbone network cycle: In each backbone network cycle, the cluster head calculates the MPR dominating point set and sum based on the latest neighbor cluster information.
  • the gateway dominates the collection of points and sends a BACKBONE message to notify all member nodes after completing the calculation; the member nodes set the expiration time for their own backbone network status, and check whether their backbone network status has timed out in each backbone network cycle, and receive The BACKBONE message updates the expiration time of its own backbone network status; in addition, each gateway control point needs to recalculate the relay nodes after confirming its backbone network status, and send a RELAY_POINTS message to notify the relay nodes.
  • the establishment and maintenance of the virtual backbone network depends on the clustering structure of the network. Therefore, when the clustering status of the cluster head or member node expires, it immediately loses the backbone network status and relay point status.
  • the behavior of the cluster head node during the maintenance phase of the virtual backbone network can be described as follows:
  • the cluster head After receiving the GATEWAY message, the cluster head updates the information of the relevant entries in the gateway set and updates the expiration time of the entries. At any time, if an entry in the gateway set expires, the cluster head will immediately delete the entry.
  • the cluster head In each backbone network cycle, the cluster head recalculates the MPR dominating point set and the gateway dominating point set based on the neighboring cluster information in the gateway set, and sends a BACKBONE message to notify all member nodes respectively.
  • the member node After receiving the BACKBONE message from the cluster head, the member node updates its backbone network status. If the MPR control point and gateway control point find that they have not been selected as the control point in this cycle, they will give up their MPR control point or gateway control point status, otherwise they will update the expiration time of their backbone network status. If a certain backbone network status of a node expires and is not updated, it will immediately lose the corresponding backbone network status.
  • the gateway control point selects a relay node in each neighboring cluster adjacent to it, and sends a RELAY_POINTS message to notify its own relay node.
  • a node When a node receives the RELAY_POINTS message from the gateway control point, it becomes the relay node of the message source node and updates the expiration time of its relay node status. If the relay node times out and does not receive the RELAY_POINTS message from the relay point selector, it will give up the relay node as the gateway dominating point.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention relates to the technical field of wireless communications, in particular to a clustered optimized link state routing (OLSR) method based on a virtual backbone network. The method comprises: on a clustered structure which is constructed using a clustered OLSR method based on management message merging, establishing a virtual backbone network and maintaining the virtual backbone network, which involve: a cluster head node first calculating a MCDS capable of dominating all nodes in a cluster, and each cluster head selecting the smallest number of gateway nodes and adding the gateway nodes into the MCDS of a cluster thereof, and then establishing and forming a CDS capable of reaching all adjacent clusters, wherein the CDSs of all the clusters in a network form a backbone network of the network; each cluster also needing to select a relay node from the adjacent clusters, so as to forward a routing message which comes from the present cluster; setting a forwarding rule for flooding the routing message; and a cluster head periodically maintaining the virtual backbone network, and sending a message to notify a member node thereof to update the state of its own backbone network. A virtual backbone network is used to replace an MPR mechanism to flood a routing message, and the number of instances of forwarding during the flooding of the routing message is optimized, such that the routing overhead of an OLSR protocol is reduced.

Description

一种基于虚拟骨干网的分簇最优链路状态路由方法A clustered optimal link state routing method based on virtual backbone network 技术领域Technical field
本发明涉及无线通信技术领域,尤其是涉及一种基于虚拟骨干网的分簇最优链路状态路由方法。The present invention relates to the field of wireless communication technology, and in particular to a clustered optimal link state routing method based on a virtual backbone network.
背景技术Background technique
申请号为202210303763.8的中国发明专利申请文件中,提出了一种基于管理消息合并的分簇OLSR路由方法,该路由方法实质是一种新的路由协议,其主要内容包括:在网络中建立分簇结构,节点通过最大连接度分簇算法在两跳范围内选举簇首,并由簇首建立两跳范围的分簇;设计分簇周期维护机制和分簇合并机制,通过簇首和成员节点周期性的信息交互,以及分簇合并机制,在动态网络中保持网络分簇结构的稳定性;设计OLSR的路由消息管理机制,簇首节点收集成员节点的路由消息,成员的路由消息将被簇首合并后再进行洪泛,通过减少路由消息的头部冗余降低路由开销,并且簇首根据每个成员的路由消息监测其拓扑的变化情况,通过降低具有稳定拓扑的成员路由消息的洪泛频率来降低不必要的路由开销。In the Chinese invention patent application document with application number 202210303763.8, a clustered OLSR routing method based on management message merging is proposed. This routing method is essentially a new routing protocol. Its main contents include: establishing clustering in the network Structure, nodes elect cluster heads within a two-hop range through the maximum connectivity clustering algorithm, and the cluster heads establish clusters within a two-hop range; design a cluster periodic maintenance mechanism and a cluster merger mechanism, and use the cluster head and member node periodicity to Information interaction and cluster merging mechanism to maintain the stability of the network clustering structure in dynamic networks; design the routing message management mechanism of OLSR, the cluster head node collects the routing messages of member nodes, and the routing messages of the members will be Flooding is performed after merging to reduce routing overhead by reducing the header redundancy of routing messages. The cluster head monitors topology changes based on routing messages of each member and reduces the flooding frequency of routing messages for members with stable topology. to reduce unnecessary routing overhead.
在该路由协议的基础上需要进一步开发新的路由机制,以优化消息洪泛时的转发次数降低OLSR协议的路由开销。Based on this routing protocol, a new routing mechanism needs to be further developed to optimize the number of forwardings during message flooding and reduce the routing overhead of the OLSR protocol.
发明内容Contents of the invention
为克服上述现有技术的不足,本发明提供一种基于虚拟骨干网的分簇最优链路状态路由方法,采用虚拟骨干网代替MPR机制进行路由消息的洪泛,通过优化路由消息洪泛时的转发次数降低了OLSR协议的路由开销。In order to overcome the shortcomings of the above-mentioned existing technologies, the present invention provides a clustered optimal link state routing method based on a virtual backbone network. The virtual backbone network is used to replace the MPR mechanism for routing message flooding. By optimizing the routing message flooding time, The number of forwardings reduces the routing overhead of the OLSR protocol.
为了实现上述目的,本发明是通过如下的技术方案来实现:一种基于虚拟骨干网的分簇最优链路状态路由方法,包括:在基于申请号为202210303763.8的中国发明专利申请文件中,提出的一种基于管理消息合并的分簇OLSR路由方法所构造的分簇结构上,建立虚拟骨干网和维护虚拟骨干网;In order to achieve the above objectives, the present invention is implemented through the following technical solutions: a clustered optimal link state routing method based on a virtual backbone network, including: In the Chinese invention patent application document with application number 202210303763.8, it is proposed Establish and maintain a virtual backbone network on a clustered structure constructed by a clustered OLSR routing method based on management message merging;
在虚拟骨干网的建立过程中,簇首节点首先计算能够支配簇内所有节点的MCDS,每个簇首选择最少数量的网关节点加入到其分簇的MCDS,然后建立构成可达所有邻簇的CDS,网络中所有分簇的CDS构成了网络的骨干网;此外,每个分簇还需要在邻簇中选择中继节点,通过中继节点转发来自本分簇的路由消息;基于虚拟骨干网的建立和中继节点的选择,设置路由消息洪泛的转发规则;During the establishment process of the virtual backbone network, the cluster head node first calculates the MCDS that can control all nodes in the cluster. Each cluster head selects a minimum number of gateway nodes to join its clustered MCDS, and then establishes a MCDS that can reach all neighboring clusters. CDS, the CDS of all clusters in the network constitute the backbone of the network; in addition, each cluster also needs to select relay nodes in neighboring clusters, and forward routing messages from this cluster through the relay nodes; based on the virtual backbone network Establish and select relay nodes, and set forwarding rules for routing message flooding;
在虚拟骨干网维护阶段,利用簇首周期地维护虚拟骨干网,并发送消息通知其成员节点更新自身的骨干网状态;网关节点周期性地向簇首递交其发现的邻簇节点,使簇首能够获取到最新的邻簇信息。In the virtual backbone network maintenance phase, the cluster head is used to periodically maintain the virtual backbone network and send messages to notify its member nodes to update their own backbone network status; the gateway node periodically submits the neighboring cluster nodes it discovered to the cluster head, so that the cluster head The latest neighbor cluster information can be obtained.
上述技术方案可以看出,本发明具有如下有益效果:It can be seen from the above technical solutions that the present invention has the following beneficial effects:
1.本发明提供了一种基于虚拟骨干网的分簇最优链路状态路由方法,采用虚拟骨干网代替MPR机制进行路由消息的洪泛,通过优化路由消息洪泛时的转发次数降低了OLSR协议的路由开销。1. The present invention provides a clustered optimal link state routing method based on a virtual backbone network. It uses the virtual backbone network instead of the MPR mechanism to flood routing messages, and reduces OLSR by optimizing the number of forwardings when routing messages are flooded. The routing overhead of the protocol.
2.本发明提供了一种基于虚拟骨干网的分簇最优链路状态路由方法,通过维护虚拟骨干网保证本发明所述一种基于虚拟骨干网的分簇最优链路状态路由方法在动态网络中的稳定性。2. The present invention provides a clustered optimal link state routing method based on a virtual backbone network. By maintaining the virtual backbone network, the invention ensures that the clustered optimal link state routing method based on a virtual backbone network is Stability in dynamic networks.
附图说明Description of drawings
图1为本发明所述的一种基于虚拟骨干网的分簇最优链路状态路由方法的网关支配点的计算算法流程图;Figure 1 is a flow chart of the calculation algorithm of the gateway domination point of a clustered optimal link state routing method based on a virtual backbone network according to the present invention;
图2为本发明所述的一种基于虚拟骨干网的分簇最优链路状态路由方法中影响路由消息全局洪泛的孤立节点示例图;Figure 2 is an example diagram of isolated nodes that affect global flooding of routing messages in a clustered optimal link state routing method based on a virtual backbone network according to the present invention;
图3为本发明所述的一种基于虚拟骨干网的分簇最优链路状态路由方法的骨干网以及路由消息洪泛机制示例图。Figure 3 is an example diagram of the backbone network and routing message flooding mechanism of a clustered optimal link state routing method based on a virtual backbone network according to the present invention.
具体实施方式Detailed ways
下面详细描述本发明的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本发明,而不能理解为对本发明的限制。Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions. The embodiments described below with reference to the drawings are exemplary and are intended to explain the present invention and are not to be construed as limiting the present invention.
实施例Example
本实施例所述的一种基于虚拟骨干网的分簇最优链路状态路由方法内容为:在基于申请号为202210303763.8的中国发明专利申请文件中提出的一种基于管理消息合并的分簇OLSR路由方法所构造的分簇结构上,建立虚拟骨干网和维护虚拟骨干网。主要分为两个部分:虚拟骨干网建立和虚拟骨干网维护。The content of a clustered optimal link state routing method based on a virtual backbone network described in this embodiment is: a clustered OLSR based on management message merging proposed in the Chinese invention patent application document with application number 202210303763.8 Based on the clustering structure constructed by the routing method, a virtual backbone network is established and maintained. It is mainly divided into two parts: virtual backbone network establishment and virtual backbone network maintenance.
虚拟骨干网的建立可以分为四个部分:簇内MCDS的建立、簇内CDS的建立、中继节点选择,以及孤立节点处理。The establishment of a virtual backbone network can be divided into four parts: establishment of intra-cluster MCDS, establishment of intra-cluster CDS, relay node selection, and isolated node processing.
为描述骨干网中的节点,本实施例中,我们定义了三种不同的骨干网状态,包括MPR dominator(MPR支配点,用于标识簇内最小连通支配集中的节点)、Gateway  Dominator(网关支配点,用于标识簇内连通支配集中的网关节点)、Relay Point(中继节点,用于标识网关支配点在邻簇内选择的中继节点),以及unset(未分配入骨干网)。所有节点的初始骨干网状态均为unset。需要说明的是,一个节点可以同时即是MPR支配点,又是网关支配点。In order to describe the nodes in the backbone network, in this embodiment, we define three different backbone network states, including MPR dominator (MPR dominator, used to identify the node in the minimum connected domination concentration in the cluster), Gateway Dominator (gateway dominator) Point, used to identify the gateway node in the cluster's connectivity domination concentration), Relay Point (relay node, used to identify the relay node selected by the gateway domination point in the neighboring cluster), and unset (not allocated to the backbone network). The initial backbone network status of all nodes is unset. It should be noted that a node can be both an MPR control point and a gateway control point at the same time.
(1)簇内MCDS的建立(1) Establishment of intra-cluster MCDS
首先,我们介绍簇内MCDS的建立过程。在分簇完成后,簇首节点利用其已知的信息计算能够覆盖簇内所有节点的MCDS。簇首通过HELLO消息的交互能够获得所有成员节点的信息。因此,簇首仅需在两跳范围内的邻居拓扑信息中剥离出本分簇的拓扑视图,便能够通过MPR集合的选择算法计算出覆盖分簇内所有成员节点的MPR节点,称其为MPR支配点。所有MPR支配点和簇首构成了覆盖分簇中所有节点的MCDS。其中,MPR集合的选择算法与OLSR标准协议文件RFC.3626一致。完成MPR支配点的计算后,簇首将发送BACKBONE消息,向所有成员节点通知其计算出的MPR支配点集合。我们给出建立簇内MCDS的步骤如下:First, we introduce the establishment process of intra-cluster MCDS. After the clustering is completed, the cluster head node uses its known information to calculate MCDS that can cover all nodes in the cluster. The cluster head can obtain the information of all member nodes through the interaction of HELLO messages. Therefore, the cluster head only needs to peel off the topology view of its own cluster from the neighbor topology information within the two-hop range, and then use the MPR set selection algorithm to calculate the MPR node covering all member nodes in the cluster, which is called MPR. Dominance point. All MPR dominating points and cluster heads constitute MCDS covering all nodes in the cluster. Among them, the selection algorithm of the MPR set is consistent with the OLSR standard protocol document RFC.3626. After completing the calculation of MPR dominating points, the cluster head will send a BACKBONE message to notify all member nodes of the calculated set of MPR dominating points. We give the steps to establish intra-cluster MCDS as follows:
1)簇首根据HELLO消息交互的内容,获取到所有成员节点的地址及其拓扑信息,剥离出自身分簇的拓扑视图。1) Based on the HELLO message interaction content, the cluster head obtains the addresses and topology information of all member nodes, and peels off the topology view of its own cluster.
2)根据分簇的拓扑,簇首利用MPR集合选择算法计算覆盖所有成员节点的MPR节点,并将其标记为MPR支配点。2) According to the clustering topology, the cluster head uses the MPR set selection algorithm to calculate the MPR nodes covering all member nodes and marks them as MPR dominating points.
3)簇首节点将自身地址和这些MPR支配点的地址记录在MPR支配点集合(MPR Dominator Set)中,并通过发送BACKBONE消息将本分簇的MPR支配点的信息告知所有成员节点。3) The cluster head node records its own address and the addresses of these MPR dominator points in the MPR Dominator Set, and notifies all member nodes of the MPR dominator information of this cluster by sending a BACKBONE message.
4)成员节点接收到其簇首发送的BACKBONE消息后,将该消息包含的MPR节点地址以及簇首地址记录在MPR支配点集合中。若BACKBONE消息中记录的MPR支配点集合包含该成员节点的地址,则该成员节点将自身的骨干网状态标记为MPR dominator。4) After receiving the BACKBONE message sent by its cluster head, the member node records the MPR node address and cluster head address contained in the message in the MPR dominating point set. If the MPR dominator set recorded in the BACKBONE message contains the address of the member node, the member node will mark its backbone network status as MPR dominator.
在建立簇内MCDS后,TC消息和CTC消息可以通过MPR支配点到达本簇的所有节点。然而,为了使洪泛的路由消息可以到达网络中的全部节点,我们需要将不同分簇的MCDS连通。After the intra-cluster MCDS is established, TC messages and CTC messages can reach all nodes in the cluster through the MPR control point. However, in order for flooding routing messages to reach all nodes in the network, we need to connect MCDS in different clusters.
(2)簇内CDS的建立(2) Establishment of intra-cluster CDS
我们为每个分簇的MCDS添加网关节点,使之可以连接所有邻簇。我们称这些新加入的网关节点为网关支配点,簇首选择网关支配点的过程如下:本簇的所有网关节点均向簇首发送GATEWAY消息,其内容包括该网关节点自身的地址,以及其发现的所有相邻分簇的簇首地 址;簇首根据所有网关节点汇总的邻簇信息,选择最少数量的网关节点作为网关支配点(Gateway Dominator),并将其加入到簇内MCDS,构成覆盖所有邻簇的簇内CDS。We add gateway nodes to each clustered MCDS so that it can connect to all neighboring clusters. We call these newly added gateway nodes gateway domination points. The process for a cluster head to select a gateway domination point is as follows: all gateway nodes in this cluster send a GATEWAY message to the cluster head, the content of which includes the gateway node's own address and its discovery. The cluster head addresses of all adjacent clusters; the cluster head selects the minimum number of gateway nodes as gateway dominators based on the neighboring cluster information summarized by all gateway nodes, and adds them to the MCDS within the cluster to form a coverage of all Intra-cluster CDS of neighboring clusters.
簇内CDS的建立过程如下:The establishment process of intra-cluster CDS is as follows:
1)所有网关节点均向自己的簇首发送GATEWAY消息,其内容包括自身地址以及其发现的所有邻簇的簇首地址。1) All gateway nodes send GATEWAY messages to their own cluster heads, whose content includes their own addresses and the cluster head addresses of all neighboring clusters they discover.
2)簇首收到GATEWAY消息后,将其包含的邻簇簇首地址和网关节点地址记录在网关集合(Gateway Set)中,该集合的元素为邻簇的簇首地址及所有与该邻簇相邻的网关节点地址构成的向量。2) After receiving the GATEWAY message, the cluster head records the cluster head address and gateway node address of the neighboring cluster contained in it in the Gateway Set. The elements of this set are the cluster head address of the neighboring cluster and all the cluster head addresses related to the neighboring cluster. A vector of adjacent gateway node addresses.
3)簇首计算网关支配节点。首先,若簇首与邻簇节点相邻,则将其自身选择为网关支配点,并在网关集合中删除其发现的所有邻簇簇首地址的相关条目;若经过上述步骤后网关集合不为空,则簇首每轮从MPR支配点集合中,选择一个连接了最多邻簇的MPR支配点,将其选为网关支配点,并在网关集合中删除与其相邻的所有邻簇相关的条目,直到网关集合为空;若遍历所有MPR支配点后网关集合仍不为空,则簇首每轮从网关节点中选择一个连接了最多邻簇的网关节点,将其标记为网关支配点,并在网关集合中删除与其相邻的所有邻簇相关的条目,直到网关集合为空。该算法步骤如图1所示。3) The cluster head calculates the gateway control node. First, if the cluster head is adjacent to a neighboring cluster node, it selects itself as the gateway dominating point, and deletes the related entries of all neighboring cluster head addresses found by it in the gateway set; if after the above steps, the gateway set is not If empty, the cluster head selects an MPR dominating point that connects the most neighbor clusters from the MPR dominating point set in each round, selects it as the gateway dominating point, and deletes entries related to all its adjacent neighbor clusters in the gateway set. , until the gateway set is empty; if the gateway set is still not empty after traversing all MPR dominating points, the cluster head selects a gateway node from the gateway nodes in each round that is connected to the most neighbor clusters, marks it as a gateway dominating point, and Entries related to all neighboring clusters adjacent to it are deleted in the gateway set until the gateway set is empty. The algorithm steps are shown in Figure 1.
4)簇首在完成网关支配点计算后,将所有网关支配点记录在网关支配点集合中,并将网关支配点集合加入BACKBONE消息后发送给所有成员节点。4) After completing the calculation of gateway domination points, the cluster head records all gateway domination points in the gateway domination point set, adds the gateway domination point set to the BACKBONE message and sends it to all member nodes.
5)所有成员节点在收到簇首发送的BACKBONE消息后,记录网关支配点集合。若BACKBONE消息中记录的网关支配点集合包含有该成员节点的地址,则该成员节点将自身的骨干网状态标记为Gateway dominator。5) After receiving the BACKBONE message sent by the cluster head, all member nodes record the gateway dominating point set. If the gateway dominator set recorded in the BACKBONE message contains the address of the member node, the member node will mark its backbone network status as Gateway dominator.
完成网关支配点的选择后,我们将每个分簇的簇内MCDS拓展为簇内CDS。每个分簇的簇内CDS均与所有邻簇建立了连接,所有分簇的簇内CDS构成了网络的虚拟骨干网。After completing the selection of gateway control points, we expand the intra-cluster MCDS of each sub-cluster into intra-cluster CDS. The intra-cluster CDS of each cluster has established connections with all neighboring clusters, and the intra-cluster CDS of all clusters constitute the virtual backbone of the network.
(3)中继节点选择(3) Relay node selection
构造完虚拟骨干网后,为了确保每条用于洪泛的路由消息都可以在虚拟骨干网中传播并到达网络中所有节点,我们需要选择合适的中继节点使虚拟骨干网在不同分簇内的部分相互连通。After constructing the virtual backbone network, in order to ensure that each routing message used for flooding can be propagated in the virtual backbone network and reach all nodes in the network, we need to select appropriate relay nodes to make the virtual backbone network in different clusters parts are connected to each other.
当节点获知自己是网关支配点后,它需要在其连接的每个邻簇中选择一个连接度最大的邻居节点来转发该网关支配点发送或转发的TC或CTC消息,被网关支配点选择的邻簇邻居节点称为该网关支配点的中继节点(Relay Point)。由于邻簇中的每个成员节点必为其簇内CDS中的节点或与其簇内CDS中的节点相邻,因此网关支配点产生或转发的路由消 息,能够通过其选择的中继节点到达每个邻簇中的所有节点。网关支配点通过发送RELAY_POINTS消息通知邻簇邻居成为其中继节点,中继节点将选择它的网关支配点称为中继点选择者(Relay Point Selector)。When a node learns that it is a gateway dominating point, it needs to select a neighbor node with the highest degree of connectivity in each neighboring cluster it is connected to to forward the TC or CTC message sent or forwarded by the gateway dominating point. The one selected by the gateway dominating point Neighbor nodes of adjacent clusters are called relay nodes (Relay Point) of the gateway control point. Since each member node in a neighboring cluster must be a node in the CDS within the cluster or adjacent to a node in the CDS within the cluster, the routing message generated or forwarded by the gateway dominating point can reach each node through its selected relay node. all nodes in neighboring clusters. The gateway dominating point notifies the neighboring cluster neighbor to become its relay node by sending a RELAY_POINTS message. The relay node will select its gateway dominating point, which is called a relay point selector (Relay Point Selector).
网关支配点可能与邻簇的簇内CDS直接相连,但是由于其自身缺乏邻簇的CDS信息,无法判断是否与邻簇的CDS相连。在上述情况下,被网关支配点选中的中继节点无须转发来自该网关支配点的路由消息。因此,若中继节点发现其中继点选择者与本簇的CDS相连,则中继节点不转发来自该网关支配点的路由洪泛消息。The gateway dominance point may be directly connected to the intra-cluster CDS of the neighboring cluster, but because it lacks the CDS information of the neighboring cluster, it cannot determine whether it is connected to the CDS of the neighboring cluster. In the above situation, the relay node selected by the gateway control point does not need to forward routing messages from the gateway control point. Therefore, if the relay node finds that its relay point selector is connected to the CDS of this cluster, the relay node will not forward the route flooding message from the gateway control point.
(4)孤立节点处理(4)Isolated node processing
网络中可能存在孤立节点,我们还需针对此类特殊情况进行分析和处理。There may be isolated nodes in the network, and we need to analyze and handle such special situations.
对于孤立点的处理,我们进行如下说明。由于孤立节点在HELLO消息中将其簇首地址字段设置为空,从而使其可以被邻居节点侦测。孤立节点可能被多个分簇所包围,若所有与孤立节点相邻的分簇,均为了与孤立节点连通而新增网关支配点,则会产生较大的冗余。对于每个孤立节点,其仅需要通过周期性发送TC-REQ消息,向具有最大连接度的邻居询问全局拓扑信息即可,而与其相邻的分簇无需向其转发路由消息。For the processing of isolated points, we explain as follows. Because the isolated node sets its cluster head address field to empty in the HELLO message, it can be detected by neighbor nodes. An isolated node may be surrounded by multiple clusters. If all clusters adjacent to the isolated node add gateway control points to connect to the isolated node, greater redundancy will occur. For each isolated node, it only needs to periodically send TC-REQ messages to ask the neighbor with the maximum connectivity for global topology information, and its adjacent clusters do not need to forward routing messages to it.
然而,其他节点的路由消息在某些情况下则必须经过孤立节点的转发,否则可能导致该消息无法洪泛至全网。图2给出了上述情况的示例,其中白圈为成员节点,黑圈为簇首,格栅圈为孤立节点;三角形和正方形分别标注MPR支配点和网关支配点,菱形标注网关支配点的中继节点;TC/CTC消息的洪泛必须经过孤立节点J。However, routing messages from other nodes must be forwarded by isolated nodes in some cases, otherwise the message may not be flooded to the entire network. Figure 2 gives an example of the above situation, in which the white circles are member nodes, the black circles are cluster heads, and the grid circles are isolated nodes; the triangles and squares mark the MPR dominating point and the gateway dominating point respectively, and the diamond marks the center of the gateway dominating point. Relay node; the flooding of TC/CTC messages must pass through the isolated node J.
为解决上述问题,孤立节点在收到来自其他节点的TC或CTC消息后,都须将该消息转发给自己的所有邻居节点。In order to solve the above problem, after an isolated node receives a TC or CTC message from other nodes, it must forward the message to all its neighbor nodes.
除此之外,数据分组的路由也可能必须经过孤立节点,如图2中两个分簇之间的路由。因此,孤立节点生成的TC消息需要洪泛到全网。为解决该问题,孤立节点需要在与其相邻的每个邻簇中分别选择一个中继节点来转发其生成的TC消息。In addition, the routing of data packets may also have to pass through isolated nodes, such as the routing between two clusters in Figure 2. Therefore, TC messages generated by isolated nodes need to be flooded to the entire network. To solve this problem, the isolated node needs to select a relay node in each neighbor cluster adjacent to it to forward the TC message generated by it.
在建立虚拟骨干网之后,我们给出路由消息的洪泛转发规则:After establishing the virtual backbone network, we give the flooding forwarding rules for routing messages:
1)网关支配点在与其相邻的每一个邻簇中,均选择一个具有最大连接度的邻居节点作为其在该邻簇的中继节点。在选完所有邻簇的中继节点后,网关节点发送RELAY_POINTS消息通知这些节点成为其中继节点。1) The gateway dominating point selects a neighbor node with the maximum degree of connectivity in each neighbor cluster adjacent to it as its relay node in the neighbor cluster. After selecting the relay nodes of all neighboring clusters, the gateway node sends a RELAY_POINTS message to notify these nodes to become its relay nodes.
2)当节点接收到来自邻簇的RELAY_POINTS消息后,若该消息包含了自身地址,则将该消息的源节点记录为自己的中继点选择者。2) When a node receives a RELAY_POINTS message from a neighboring cluster, if the message contains its own address, it records the source node of the message as its own relay point selector.
3)当中继节点接受到其中继点选择者发送或转发的TC或CTC消息后,则在本簇 的MPR支配点集合和网关支配点集合中查找是否有节点与中继点选择者相邻。若发现存在节点与该中继点选择者相邻,则中继节点不转发该TC或CTC消息,否则转发。3) After the relay node receives the TC or CTC message sent or forwarded by its relay point selector, it searches the MPR dominating point set and gateway dominating point set of this cluster to see if there is a node adjacent to the relay point selector. If it is found that there is a node adjacent to the relay point selector, the relay node will not forward the TC or CTC message, otherwise it will be forwarded.
4)若节点在虚拟骨干网中,即其被簇首选为MPR支配点或网关支配点,则其无条件转发所有接收到的TC或CTC消息。4) If the node is in the virtual backbone network, that is, it is preferred by the cluster as an MPR dominating point or gateway dominating point, then it unconditionally forwards all received TC or CTC messages.
图3给出了本实施例所述的一种基于虚拟骨干网的分簇最优链路状态路由方法建立的虚拟骨干网以及路由消息洪泛规则的示例。其中白圈为成员节点,黑圈为簇首,格栅圈为孤立节点。三角形和正方形分别标注MPR支配点和网关支配点,菱形标注网关支配点的中继节点。加粗箭头代表节点N产生的TC消息的洪泛过程。Figure 3 shows an example of a virtual backbone network established by a clustered optimal link state routing method based on a virtual backbone network and routing message flooding rules described in this embodiment. The white circles are member nodes, the black circles are cluster heads, and the grid circles are isolated nodes. The triangles and squares mark the MPR dominating point and the gateway dominating point respectively, and the diamonds mark the relay nodes of the gateway dominating point. The bold arrow represents the flooding process of TC messages generated by node N.
在虚拟骨干网维护阶段,我们给出了适用于动态网络的虚拟骨干网和路由消息洪泛规则的维护机制。In the virtual backbone network maintenance stage, we provide a maintenance mechanism for the virtual backbone network and routing message flooding rules suitable for dynamic networks.
在本实施例所述的一种基于虚拟骨干网的分簇最优链路状态路由方法中,网关节点周期性向自己的簇首汇报邻簇信息,而簇首则周期性地计算MPR支配点和网关支配点,并广播BACKBONE消息通知成员节点确认其骨干网状态。因此,成员节点可以周期地维护自己的骨干网状态和簇内CDS的信息,从而在动态网络中维护虚拟骨干网和路由消息洪泛规则。我们将该周期记为骨干网周期(Backbone Peirod)。In the clustered optimal link state routing method based on a virtual backbone network described in this embodiment, the gateway node periodically reports neighbor cluster information to its own cluster head, and the cluster head periodically calculates the MPR dominating point and The gateway dominates the point and broadcasts a BACKBONE message to notify member nodes to confirm their backbone network status. Therefore, member nodes can periodically maintain their own backbone network status and intra-cluster CDS information, thereby maintaining the virtual backbone network and routing message flooding rules in a dynamic network. We record this cycle as the backbone network cycle (Backbone Peirod).
在每个骨干网周期,网关节点均向簇首发送GATEWAY消息,以此向簇首提交最新的邻簇信息。簇首为网关集合中的每个条目设置过期时间(E一种基于虚拟骨干网的分簇最优链路状态路由方法piration Time),用以删除过期信息。网关集合的维护算法如下:网关集合中每个邻簇簇首地址对应多个网关节点,对于某个邻簇簇首地址的条目,每个网关节点均有各自的过期时间;当簇首收到网关节点的GATEWAY消息后,对于GATEWAY消息中每个邻簇簇首地址,均在网关集合中找到相应条目,并更新该网关节点在每个邻簇簇首条目中的过期时间;当网关集合的某个条目中,有网关节点的过期时间超时,则在条目中删除该网关节点,若某个条目失去了所有网关节点,则删除该条目。In each backbone network cycle, the gateway node sends a GATEWAY message to the cluster head to submit the latest neighbor cluster information to the cluster head. The cluster head sets an expiration time (a clustering optimal link state routing method based on a virtual backbone network) for each entry in the gateway set to delete expired information. The maintenance algorithm of the gateway set is as follows: each neighboring cluster head address in the gateway set corresponds to multiple gateway nodes. For the entry of a certain neighboring cluster head address, each gateway node has its own expiration time; when the cluster head receives After the gateway node sends a GATEWAY message, for each neighboring cluster head address in the GATEWAY message, the corresponding entry is found in the gateway set, and the expiration time of the gateway node in each neighboring cluster head entry is updated; when the gateway set If the expiration time of a gateway node in an entry expires, the gateway node will be deleted from the entry. If an entry loses all gateway nodes, the entry will be deleted.
通过上述过程,簇首可以获得最新的邻簇信息,因此可以在每个骨干网周期计算最新的簇内CDS:在每个骨干网周期,簇首根据最新获得邻簇信息计算MPR支配点集合和网关支配点集合,并在完成计算后发送BACKBONE消息通知所有成员节点;成员节点为自己的骨干网状态设置了过期时间,并在每个骨干网周期检查自己的骨干网状态是否超时,并通过接收BACKBONE消息更新自己骨干网状态的过期时间;此外,每个网关支配点在确认其骨干网状态后需要重新计算中继节点,并发送RELAY_POINTS消息通知中继节点。Through the above process, the cluster head can obtain the latest neighbor cluster information, so the latest intra-cluster CDS can be calculated in each backbone network cycle: In each backbone network cycle, the cluster head calculates the MPR dominating point set and sum based on the latest neighbor cluster information. The gateway dominates the collection of points and sends a BACKBONE message to notify all member nodes after completing the calculation; the member nodes set the expiration time for their own backbone network status, and check whether their backbone network status has timed out in each backbone network cycle, and receive The BACKBONE message updates the expiration time of its own backbone network status; in addition, each gateway control point needs to recalculate the relay nodes after confirming its backbone network status, and send a RELAY_POINTS message to notify the relay nodes.
需要注意的是,虚拟骨干网的建立和维护均依赖于网络的分簇结构,因此当簇首或 成员节点的分簇状态过期时,其立即丧失骨干网状态和中继点状态。It should be noted that the establishment and maintenance of the virtual backbone network depends on the clustering structure of the network. Therefore, when the clustering status of the cluster head or member node expires, it immediately loses the backbone network status and relay point status.
簇首节点在虚拟骨干网维护阶段的行为可描述如下:The behavior of the cluster head node during the maintenance phase of the virtual backbone network can be described as follows:
1)在接收到GATEWAY消息后,簇首若在网关集合中更新相关条目的信息,并更新条目的到期时间。在任意时刻,若网关集合中的某个条目过期,簇首则立即删除该条目。1) After receiving the GATEWAY message, the cluster head updates the information of the relevant entries in the gateway set and updates the expiration time of the entries. At any time, if an entry in the gateway set expires, the cluster head will immediately delete the entry.
2)在每个骨干网周期,簇首根据的网关集合中的邻簇信息重新计算MPR支配点集合和网关支配点集合,并分别发送BACKBONE消息通知所有成员节点。2) In each backbone network cycle, the cluster head recalculates the MPR dominating point set and the gateway dominating point set based on the neighboring cluster information in the gateway set, and sends a BACKBONE message to notify all member nodes respectively.
3)若簇首的分簇状态发生变化,则其立即丧失现有的骨干网状态,将骨干网状态重置为unset。3) If the clustering status of the cluster head changes, it will immediately lose the existing backbone network status and reset the backbone network status to unset.
成员节点在虚拟骨干网维护阶段的行为可描述如下:The behavior of member nodes during the maintenance phase of the virtual backbone network can be described as follows:
1)在每个骨干网周期,作为网关节点的成员将向簇首发送包含最新邻簇信息的GATEWAY消息。1) In each backbone network cycle, members serving as gateway nodes will send GATEWAY messages containing the latest neighbor cluster information to the cluster head.
2)成员节点在收到来自簇首的BACKBONE消息后,更新自己的骨干网状态。若MPR支配点和网关支配点发现自己在本周期未被选为支配点,则放弃自己的MPR支配点或网关支配点状态,否则更新自己骨干网状态的到期时间。若节点的某种骨干网状态到期未更新,则其立即丧失对应的骨干网状态。2) After receiving the BACKBONE message from the cluster head, the member node updates its backbone network status. If the MPR control point and gateway control point find that they have not been selected as the control point in this cycle, they will give up their MPR control point or gateway control point status, otherwise they will update the expiration time of their backbone network status. If a certain backbone network status of a node expires and is not updated, it will immediately lose the corresponding backbone network status.
3)在每个骨干网周期,网关支配点在与其相邻的每个邻簇内分别选择一个中继节点,并发送RELAY_POINTS消息通知自己的中继节点。3) In each backbone network cycle, the gateway control point selects a relay node in each neighboring cluster adjacent to it, and sends a RELAY_POINTS message to notify its own relay node.
4)当节点收到网关支配点的RELAY_POINTS消息后,成为该消息源节点的中继节点,并更新其中继节点状态的到期时间。若中继节点超时未收到中继点选择者的RELAY_POINTS消息,则放弃作为该网关支配点的中继节点。4) When a node receives the RELAY_POINTS message from the gateway control point, it becomes the relay node of the message source node and updates the expiration time of its relay node status. If the relay node times out and does not receive the RELAY_POINTS message from the relay point selector, it will give up the relay node as the gateway dominating point.
5)若成员节点的分簇状态发生变化,则其立即丧失现有的骨干网和中继点状态,将骨干网状态重置为unset。5) If the clustering status of a member node changes, it will immediately lose the existing backbone network and relay point status, and reset the backbone network status to unset.
以上结合具体实施例描述了本发明的技术原理,这些描述只是为了解释本发明的原理,而不能以任何方式解释为对本发明保护范围的限制。基于此处的解释,本领域的技术人员不需要付出创造性的劳动即可联想到本发明的其它具体实施方式,这些方式都将落入本发明的保护范围之内。The technical principles of the present invention have been described above in conjunction with specific embodiments. These descriptions are only for explaining the principles of the present invention and cannot be construed as limiting the scope of the present invention in any way. Based on the explanations here, those skilled in the art can think of other specific embodiments of the present invention without any creative effort, and these methods will all fall within the protection scope of the present invention.

Claims (10)

  1. 一种基于虚拟骨干网的分簇最优链路状态路由方法,其特征在于:包括在基于管理消息合并的分簇OLSR路由方法构造的分簇结构上建立虚拟骨干网和维护虚拟骨干网;A clustered optimal link state routing method based on a virtual backbone network, which is characterized by: including establishing a virtual backbone network and maintaining the virtual backbone network on a clustered structure constructed by a clustered OLSR routing method based on management message merging;
    在虚拟骨干网的建立过程中,簇首节点首先计算能够支配簇内所有节点的MCDS,每个簇首选择最少数量的网关节点加入到其分簇的MCDS,然后建立构成可达所有邻簇的CDS,网络中所有分簇的CDS构成了网络的骨干网;此外,每个分簇还需要在邻簇中选择中继节点,通过中继节点转发来自本分簇的路由消息;基于虚拟骨干网的建立和中继节点的选择,设置路由消息洪泛的转发规则;During the establishment process of the virtual backbone network, the cluster head node first calculates the MCDS that can control all nodes in the cluster. Each cluster head selects a minimum number of gateway nodes to join its clustered MCDS, and then establishes a MCDS that can reach all neighboring clusters. CDS, the CDS of all clusters in the network constitute the backbone of the network; in addition, each cluster also needs to select relay nodes in neighboring clusters, and forward routing messages from this cluster through the relay nodes; based on the virtual backbone network Establish and select relay nodes, and set forwarding rules for routing message flooding;
    在虚拟骨干网维护阶段,利用簇首周期地维护虚拟骨干网,并发送消息通知其成员节点更新自身的骨干网状态;网关节点周期性地向簇首递交其发现的邻簇节点,使簇首能够获取到最新的邻簇信息。In the virtual backbone network maintenance phase, the cluster head is used to periodically maintain the virtual backbone network and send messages to notify its member nodes to update their own backbone network status; the gateway node periodically submits the neighboring cluster nodes it discovered to the cluster head, so that the cluster head The latest neighbor cluster information can be obtained.
  2. 根据权利要求1所述的一种基于虚拟骨干网的分簇最优链路状态路由方法,其特征在于:簇内MCDS的建立包括如下步骤:A clustered optimal link state routing method based on a virtual backbone network according to claim 1, characterized in that: the establishment of intra-cluster MCDS includes the following steps:
    S1.簇首根据HELLO消息交互的内容,获取到所有成员节点的地址及其拓扑信息,剥离出自身分簇的拓扑视图;S1. Based on the HELLO message interaction content, the cluster head obtains the addresses and topology information of all member nodes, and peels off the topology view of its own cluster;
    S2.根据分簇的拓扑,簇首利用MPR集合选择算法计算覆盖所有成员节点的MPR节点,并将其标记为MPR支配点;S2. According to the clustering topology, the cluster head uses the MPR set selection algorithm to calculate the MPR nodes covering all member nodes and marks them as MPR dominating points;
    S3.簇首节点将自身地址和这些MPR支配点的地址记录在MPR支配点集合中,并通过发送BACKBONE消息将本分簇的MPR支配点的信息告知所有成员节点;S3. The cluster head node records its own address and the addresses of these MPR dominating points in the MPR dominating point set, and notifies all member nodes of the MPR dominating point information of this cluster by sending a BACKBONE message;
    成员节点接收到其簇首发送的BACKBONE消息后,将该消息包含的MPR节点地址以及簇首地址记录在MPR支配点集合中;若BACKBONE消息中记录的MPR支配点集合包含该成员节点的地址,则该成员节点将自身的骨干网状态标记为MPR支配点。After receiving the BACKBONE message sent by its cluster head, the member node records the MPR node address and cluster head address contained in the message in the MPR dominating point set; if the MPR dominating point set recorded in the BACKBONE message contains the address of the member node, Then the member node marks its own backbone network status as an MPR dominant point.
  3. 根据权利要求2所述的一种基于虚拟骨干网的分簇最优链路状态路由方法,其特征在于:簇内CDS的建立包括如下步骤:A cluster-based optimal link state routing method based on a virtual backbone network according to claim 2, characterized in that: the establishment of intra-cluster CDS includes the following steps:
    S1.所有网关节点均向自己的簇首发送GATEWAY消息,其内容包括自身地址以及其发现的所有邻簇的簇首地址;S1. All gateway nodes send GATEWAY messages to their own cluster heads, the content of which includes their own address and the cluster head addresses of all neighboring clusters they discover;
    S2.簇首收到GATEWAY消息后,将其包含的邻簇簇首地址和网关节点地址记录在网关集合中,该集合的元素为邻簇的簇首地址及所有与该邻簇相邻的网关节点地址构成的向量;S2. After receiving the GATEWAY message, the cluster head records the cluster head address and gateway node address of the neighboring cluster contained in it in the gateway set. The elements of this set are the cluster head address of the neighboring cluster and all gateways adjacent to the neighboring cluster. A vector composed of node addresses;
    S3.簇首计算网关支配节点;S3. The cluster head calculates the gateway control node;
    S4.簇首在完成网关支配点计算后,将所有网关支配点记录在网关支配点集合中,并将网关支配点集合加入BACKBONE消息后发送给所有成员节点;S4. After completing the calculation of gateway domination points, the cluster head records all gateway domination points in the gateway domination point set, adds the gateway domination point set to the BACKBONE message and sends it to all member nodes;
    所有成员节点在收到簇首发送的BACKBONE消息后,记录网关支配点集合;若BACKBONE消息中记录的网关支配点集合包含有该成员节点的地址,则该成员节点将自身的骨干网状态标记为网关支配点。After receiving the BACKBONE message sent by the cluster head, all member nodes record the set of gateway dominating points; if the set of gateway dominating points recorded in the BACKBONE message contains the address of the member node, the member node marks its own backbone network status as Gateway control point.
  4. 根据权利要求3所述的一种基于虚拟骨干网的分簇最优链路状态路由方法,其特征在于:计算网关支配节点的方法包括如下步骤:首先,若簇首与邻簇节点相邻,则将其自身选择为网关支配点,并在网关集合中删除其发现的所有邻簇簇首地址的相关条目;若经过上述步骤后网关集合不为空,则簇首每轮从MPR支配点集合中,选择一个连接了最多邻簇的MPR支配点,将其选为网关支配点,并在网关集合中删除与其相邻的所有邻簇相关的条目,直到网关集合为空;若遍历所有MPR支配点后网关集合仍不为空,则簇首每轮从网关节点中选择一个连接了最多邻簇的网关节点,将其标记为网关支配点,并在网关集合中删除与其相邻的所有邻簇相关的条目,直到网关集合为空。A clustering optimal link state routing method based on a virtual backbone network according to claim 3, characterized in that: the method for calculating gateway dominated nodes includes the following steps: first, if the cluster head is adjacent to the neighboring cluster node, Then it selects itself as the gateway dominating point, and deletes the related entries of all adjacent cluster head addresses found by it in the gateway set; if the gateway set is not empty after the above steps, the cluster heads gather from the MPR dominating point in each round. in After the point, the gateway set is still not empty, then the cluster head selects a gateway node from the gateway nodes in each round that is connected to the most neighbor clusters, marks it as a gateway dominating point, and deletes all neighbor clusters adjacent to it from the gateway set. Related entries until the gateway collection is empty.
  5. 根据权利要求4所述的一种基于虚拟骨干网的分簇最优链路状态路由方法,其特征在于:中继节点的选择方法包括:网关支配点通过发送RELAY_POINTS消息通知邻簇邻居成为其中继节点,中继节点将选择它的网关支配点称为中继点选择者;若中继节点发现其中继点选择者与本簇的CDS相连,则中继节点不转发来自该网关支配点的路由洪泛消息。A clustering optimal link state routing method based on a virtual backbone network according to claim 4, characterized in that: the relay node selection method includes: the gateway control point notifies neighboring cluster neighbors to become its relay by sending a RELAY_POINTS message Node, the relay node will select its gateway dominating point, which is called the relay point selector; if the relay node finds that its relay point selector is connected to the CDS of this cluster, the relay node will not forward the route from the gateway dominating point. Flood news.
  6. 根据权利要求5所述的一种基于虚拟骨干网的分簇最优链路状态路由方法,其特征在于:还包括孤立节点的处理方法:每个孤立节点,周期性发送TC请求消息,向具有最大连接度的邻居询问全局拓扑信息,而与其相邻的分簇无需向其转发路由消息;孤立节点在收到来自其他节点的TC或CTC消息后,都须将该消息转发给自己的所有邻居节点;孤立节点需要在与其相邻的每个邻簇中分别选择一个中继节点来转发其生成的TC消息。A clustered optimal link state routing method based on a virtual backbone network according to claim 5, characterized in that it also includes a processing method for isolated nodes: each isolated node periodically sends a TC request message to the The neighbor with the maximum connectivity asks for global topology information, and its adjacent clusters do not need to forward routing messages to it; after an isolated node receives a TC or CTC message from other nodes, it must forward the message to all its neighbors. Node; an isolated node needs to select a relay node in each neighboring cluster to forward the TC message it generates.
  7. 根据权利要求6所述的一种基于虚拟骨干网的分簇最优链路状态路由方法,其特征在于:所述路由消息的洪泛转发规则包括如下步骤:A clustered optimal link state routing method based on a virtual backbone network according to claim 6, characterized in that: the flooding forwarding rules of routing messages include the following steps:
    S1.网关支配点在与其相邻的每一个邻簇中,均选择一个具有最大连接度的邻居节点作为其在该邻簇的中继节点;在选完所有邻簇的中继节点后,网关节点发送RELAY_POINTS消息通知这些节点成为其中继节点;S1. The gateway dominating point selects a neighbor node with the maximum connectivity in each neighboring cluster as its relay node in the neighboring cluster; after selecting the relay nodes of all neighboring clusters, the gateway Nodes send RELAY_POINTS messages to notify these nodes to become their relay nodes;
    S2.当节点接收到来自邻簇的RELAY_POINTS消息后,若该消息包含了自身地址,则将该消息的源节点记录为自己的中继点选择者;S2. When a node receives the RELAY_POINTS message from a neighboring cluster, if the message contains its own address, it records the source node of the message as its own relay point selector;
    S3.当中继节点接受到其中继点选择者发送或转发的TC或CTC消息后,则在本簇的MPR支配点集合和网关支配点集合中查找是否有节点与中继点选择者相邻;若发现存在节点与该中继点选择者相邻,则中继节点不转发该TC或CTC消息,否则转发;S3. After the relay node receives the TC or CTC message sent or forwarded by its relay point selector, it searches the MPR dominating point set and gateway dominating point set of the cluster to see if there is a node adjacent to the relay point selector; If it is found that there is a node adjacent to the relay point selector, the relay node will not forward the TC or CTC message, otherwise it will forward it;
    S4.若节点在虚拟骨干网中,即其被簇首选为MPR支配点或网关支配点,则其无条件转发所有接收到的TC或CTC消息。S4. If the node is in the virtual backbone network, that is, it is preferred by the cluster as an MPR dominating point or gateway dominating point, then it unconditionally forwards all received TC or CTC messages.
  8. 根据权利要求7所述的一种基于虚拟骨干网的分簇最优链路状态路由方法,其特征在于:在虚拟骨干网维护阶段,网关节点周期性向自己的簇首汇报邻簇信息,而簇首则周期性地计算MPR支配点和网关支配点,并广播BACKBONE消息通知成员节点确认其骨干网状态。A clustering optimal link state routing method based on a virtual backbone network according to claim 7, characterized in that: during the maintenance phase of the virtual backbone network, the gateway node periodically reports neighbor cluster information to its own cluster head, and the cluster head First, the MPR dominance point and gateway dominance point are periodically calculated, and a BACKBONE message is broadcast to notify member nodes to confirm their backbone network status.
  9. 根据权利要求8所述的一种基于虚拟骨干网的分簇最优链路状态路由方法,其特征在于:在虚拟骨干网维护阶段,网关节点周期性地向簇首发送GATEWAY消息,簇首为网关集合中的每个条目设置过期时间,用以删除过期信息;网关集合的维护算法如下:网关集合中每个邻簇簇首地址对应多个网关节点,对于某个邻簇簇首地址的条目,每个网关节点均有各自的过期时间;当簇首收到网关节点的GATEWAY消息后,对于GATEWAY消息中每个邻簇簇首地址,均在网关集合中找到相应条目,并更新该网关节点在每个邻簇簇首条目中的过期时间;当网关集合的某个条目中,有网关节点的过期时间超时,则在条目中删除该网关节点,若某个条目失去了所有网关节点,则删除该条目。A cluster-based optimal link state routing method based on a virtual backbone network according to claim 8, characterized in that: during the maintenance phase of the virtual backbone network, the gateway node periodically sends GATEWAY messages to the cluster head, and the cluster head is Each entry in the gateway set sets an expiration time to delete expired information; the maintenance algorithm of the gateway set is as follows: each neighboring cluster head address in the gateway set corresponds to multiple gateway nodes. For an entry with a neighboring cluster head address , each gateway node has its own expiration time; when the cluster head receives the GATEWAY message from the gateway node, for each neighboring cluster head address in the GATEWAY message, the corresponding entry is found in the gateway set and the gateway node is updated The expiration time in each neighboring cluster head entry; when the expiration time of a gateway node in an entry in the gateway set times out, the gateway node is deleted from the entry. If an entry loses all gateway nodes, then Delete this entry.
  10. 根据权利要求9所述的一种基于虚拟骨干网的分簇最优链路状态路由方法,其特征在于:在每个周期中,簇首根据最新获得邻簇信息计算MPR支配点集合和网关支配点集合,并在完成计算后发送BACKBONE消息通知所有成员节点;成员节点为自己的骨干网状态设置了过期时间,并在每个骨干网周期检查自己的骨干网状态是否超时,并通过接收BACKBONE消息更新自己骨干网状态的过期时间;此外,每个网关支配点在确认其骨干网状态后需要重新计算中继节点,并发送RELAY_POINTS消息通知中继节点;当簇首或成员节点的分簇状态过期时,其立即丧失骨干网状态和中继点状态。A clustering optimal link state routing method based on a virtual backbone network according to claim 9, characterized in that in each cycle, the cluster head calculates the MPR domination point set and the gateway domination based on the latest neighbor cluster information. Point collection, and after completing the calculation, send a BACKBONE message to notify all member nodes; the member nodes set the expiration time for their own backbone network status, and check whether their backbone network status has timed out in each backbone network cycle, and receive the BACKBONE message Update the expiration time of its own backbone network status; in addition, each gateway control point needs to recalculate the relay nodes after confirming its backbone network status, and send a RELAY_POINTS message to notify the relay nodes; when the cluster head or member node's clustering status expires , it immediately loses the backbone network status and relay point status.
PCT/CN2022/083989 2022-03-30 2022-03-30 Clustered optimized link state routing method based on virtual backbone network WO2023184213A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/083989 WO2023184213A1 (en) 2022-03-30 2022-03-30 Clustered optimized link state routing method based on virtual backbone network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/083989 WO2023184213A1 (en) 2022-03-30 2022-03-30 Clustered optimized link state routing method based on virtual backbone network

Publications (1)

Publication Number Publication Date
WO2023184213A1 true WO2023184213A1 (en) 2023-10-05

Family

ID=88198408

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/083989 WO2023184213A1 (en) 2022-03-30 2022-03-30 Clustered optimized link state routing method based on virtual backbone network

Country Status (1)

Country Link
WO (1) WO2023184213A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118041848A (en) * 2024-04-11 2024-05-14 常熟理工学院 Method for realizing post-disaster area monitoring system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917460A (en) * 2006-09-07 2007-02-21 上海交通大学 Distribution type structuring method for virtual backbone network in network of wireless sensor
CN108337166A (en) * 2018-02-06 2018-07-27 吕娜 A kind of highly reliable Routing Protocol of low time delay of Aviation cluster network
CN110493797A (en) * 2018-05-15 2019-11-22 天津科技大学 Wireless sensor network topology control algolithm based on sub-clustering optimization

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1917460A (en) * 2006-09-07 2007-02-21 上海交通大学 Distribution type structuring method for virtual backbone network in network of wireless sensor
CN108337166A (en) * 2018-02-06 2018-07-27 吕娜 A kind of highly reliable Routing Protocol of low time delay of Aviation cluster network
CN110493797A (en) * 2018-05-15 2019-11-22 天津科技大学 Wireless sensor network topology control algolithm based on sub-clustering optimization

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
BOROVINA N., B. PERUNICIC: "Mobile ad hoc networks: Local distributed algorithms for virtual backbone", 2014 22ND TELECOMMUNICATIONS FORUM TELFOR (TELFOR), 1 January 2014 (2014-01-01), pages 75 - 82, XP093097076, DOI: 10.1109/TELFOR.2014.7034361 *
K YAMADA ; T ITOKAWA ; T KITASUKA ; M ARITSUGI: "Cooperative MPR selection to reduce topology control packets in OLSR", TENCON 2010 - 2010 IEEE REGION 10 CONFERENCE, IEEE, PISCATAWAY, NJ, USA, 21 November 2010 (2010-11-21), Piscataway, NJ, USA , pages 293 - 298, XP031898193, ISBN: 978-1-4244-6889-8, DOI: 10.1109/TENCON.2010.5686013 *
KITASUKA TERUAKI; TAGASHIRA SHIGEAKI: "Finding more efficient multipoint relay set to reduce topology control traffic of OLSR", 2013 IEEE 14TH INTERNATIONAL SYMPOSIUM ON "A WORLD OF WIRELESS, MOBILE AND MULTIMEDIA NETWORKS" (WOWMOM), IEEE, 4 June 2013 (2013-06-04), pages 1 - 9, XP032478124, ISBN: 978-1-4673-5827-9, DOI: 10.1109/WoWMoM.2013.6583478 *
REN, ZHI; ZHOU, ZHOU; WU, BENYUAN; CHEN, JIALIN: "Low-Cost Topology Maintenance Algorithm for Optimized Link State Routing Protocol", COMPUTER ENGINEERING, SHANGHAI JISUANJI XUEHUI, CN, vol. 47, no. 9, 30 September 2021 (2021-09-30), CN , pages 120 - 127, 135, XP009550064, ISSN: 1000-3428, DOI: 10.19678/j.issn.1000-3428.0059016 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118041848A (en) * 2024-04-11 2024-05-14 常熟理工学院 Method for realizing post-disaster area monitoring system

Similar Documents

Publication Publication Date Title
Ji et al. A lightweight adaptive multicast algorithm
TWI604744B (en) Routing method and wireless node for wireless mesh network
Toh A novel distributed routing protocol to support ad-hoc mobile computing
US8289883B2 (en) Hybrid multicast routing protocol for wireless mesh networks
EP2016786B1 (en) Wireless data network
US8582500B2 (en) Methods for providing an ad hoc mobile communication network and systems thereof
US7936732B2 (en) Selecting aggregation nodes in a network
WO2017101575A1 (en) Wireless ad hoc network routing method and device
CN102148756B (en) IPv6 over low power wireless personal area network (6LoWPAN) neighbor discovery-based tree routing method
WO2017020619A1 (en) Routing method and device
JP2009542109A (en) Mobile ad hoc network (MANET) and method for implementing multiple paths for fault tolerance
CN105897605B (en) A kind of power line carrier communication network network jamming control method based on IPv6
WO2023184213A1 (en) Clustered optimized link state routing method based on virtual backbone network
CN102271080A (en) Method for preventing BGP (Border Gateway Protocol) session from being disconnected in the event of changing service, and applicable system thereof
JP2009273140A (en) Hybrid type mesh routing protocol
CN114727354B (en) Clustering optimal link state routing method based on virtual backbone network
CN109510769A (en) A kind of fusion route system being suitable for width combination network and its method
Chau et al. IDRM: Inter-Domain Routing Protocol for Mobile Ad Hoc Networks
JP4767329B2 (en) Network system and communication method
EP2068500B1 (en) Method and system for flooding and multicast routing in an ad-hoc network
CN105657774A (en) Building method and system for self-adaptive core forwarding network in wireless self-organized network
CN110121185A (en) A kind of power distribution communication network route optimization method
Lee et al. Issues in scalable clustered network architecture for mobile ad hoc networks
CN110430088B (en) Method for discovering neighbor nodes and automatically establishing connection in NDN (named data networking)
Yang et al. Performance research of an improved hybrid routing protocol

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22934067

Country of ref document: EP

Kind code of ref document: A1