Heterogeneous network hybrid routing method and device based on cross-technology communication

By determining the path in the heterogeneous hybrid network and introducing virtual neighbor nodes to handle WiFi dynamics, the CTR protocol is designed to solve the problem of the Fuzzy-k protocol's inability to handle WiFi dynamics and cross-technology communication instability, and improve network efficiency and stability. performance, achieving higher throughput and energy efficiency.

CN114513826BActive Publication Date: 2024-10-18BEIJING UNIV OF POSTS & TELECOMM
View PDF 7 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The existing Fuzzy-k routing protocol cannot effectively handle the dynamics of WiFi networks and the instability of cross-technology communications in heterogeneous hybrid networks, resulting in low overall network efficiency and inability to fully utilize the advantages of hybrid networks.

Method used

By determining the direct data exchange path between ZigBee nodes and WiFi nodes, generating a neighbor node information list, determining the next hop node based on historical transmission rate and link quality, and introducing virtual neighbor nodes to handle the dynamics of WiFi nodes, Cross -Technology communication based Routing (CTR) protocol.

Benefits of technology

It improves the transmission efficiency and stability of the network, reduces energy consumption, and achieves better overall efficiency and throughput in heterogeneous hybrid networks. The average end-to-end delay of the CTR protocol is 1.4% lower than that of traditional protocols, and at the node Maintain high throughput stability under quantity changing scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114513826B_ABST
    Figure CN114513826B_ABST
Patent Text Reader

Abstract

The present invention provides a heterogeneous network hybrid routing method and device based on cross-technology communication. The method comprises: determining a first WiFi node that can directly exchange data with each ZigBee node, generating a neighbor node information list of each first ZigBee node; acquiring WiFi nodes covering an area between a current node and a destination node, and adding the destination node as a virtual neighbor node in the neighbor node information list of the current node; determining an alternative next hop node based on historical transmission rates and transmission reliability between the current node and its adjacent second ZigBee node and its corresponding first WiFi node, and sending ID information of the alternative WiFi node in the alternative next hop node to the first WiFi node corresponding to the current node; respectively calculating the transmission delay of the transmission path between each alternative WiFi node, each alternative second ZigBee node and the destination node in the neighbor node information list of the current node, and determining the next hop node of the current node based on the minimum transmission delay.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of cross-technology communication technology, and in particular to a heterogeneous network hybrid routing method and device based on cross-technology communication. Background Art

[0002] In recent years, with the development of network technology and the continuous evolution of IoT devices, different types of wireless networks are constantly expanding their application space, gradually forming a state where multiple networks and multiple protocols coexist in the same space. Wireless network protocols not only need to maintain their own effective operation and interconnection in a coexistence environment, but also often need to carry out necessary data exchange and information sharing across networks and technologies. Driven by this, cross-technology communication technology has developed rapidly.

[0003] Cross Technology Communication (CTC) supports direct communication between different wireless signals. By processing the frame structure of wireless signals at the physical layer, CTC enables different types of wireless devices to exchange data with each other. Early work in this field proposed packet-level cross-technology communication (packet-level CTC). By operating on data packets to make their characteristics as information carriers, packet-level cross-technology communication establishes a mutually accessible side channel. Existing work uses various packet-related characteristics, such as received signal strength, packet length, transmission time, and channel state information as information carriers. Packet-level cross-technology communication has two inevitable inherent limitations: low throughput and inability to fully utilize bandwidth. Typically, the duration of wireless packets is in the millisecond range, and embedding CTC symbols with sparse packet-level information limits the bandwidth. Since the packet-level information perceived by ZigBee on different channels is the same, parallel symbol transmission is not feasible at the packet level. Recent studies have also proposed physical-level cross-technology communication (physical-level CTC); physical-level cross-technology communication aims to create cross-technology compliance and establish a cross-technology communication channel at the physical layer. Compared with the packet-level solution, physical-level cross-technology communication significantly improves the throughput.

[0004] At present, Fuzzy-k is a routing algorithm proposed for heterogeneous hybrid networks where ZigBee and WiFi coexist. Fuzzy-k is a single-hop routing protocol proposed for heterogeneous wireless sensor networks where WiFi, ZigBee, and LTE nodes coexist. The Fuzzy-k protocol balances network load, reduces energy consumption, and improves energy efficiency by reasonably clustering and selecting the optimal cluster head, thereby striving to maximize the life cycle of the entire wireless sensor network. The Fuzzy-k protocol is developed based on the core idea of ​​the classic protocol LEACH. The information required for its network operation, such as the remaining energy of the node, the distance from the node to the BS, the number of neighbors around the node, and the node history, are all executed in the processor of the base station and do not consume the energy of the node. The algorithm is divided into two basic stages: the setup stage and the steady-state stage. When the network starts running, it first enters the node setting stage, and inputs the parameters of all nodes (including the remaining energy of the node, the distance from the node to the base station, the number of neighbors of the node, etc.) into the fuzzy inference system to obtain the initial clustering center node that meets certain standards; the initial clustering center node and its number, that is, the K value, are input into the K-means clustering algorithm to start the clustering process, and K non-uniform and unequal clusters are obtained; the nodes in each cluster are respectively input into the fuzzy inference system, and the node with the largest score value in the cluster becomes the cluster head node; finally, it enters the steady-state stage, and the transmission of data packets begins between nodes.

[0005] The cross-technology direct communication part of the heterogeneous wireless sensor network with mixed coexistence of WiFi, ZigBee and LTE nodes in Fuzzy-k is only based on theory, and the experiment is also based on assumptions. It does not actually consider the problems that may arise in the implementation of cross-technology communication, the dynamics of the WiFi network and the instability of cross-technology communication. Its routing design is only based on the theory of cross-technology communication. Moreover, Fuzzy-k focuses on routing design based on the energy of heterogeneous nodes, uses a fuzzy inference system to select cluster centers, and then starts the clustering process based on the K-means clustering algorithm, focusing on energy effectiveness, considering node location and distribution, and considering the differences in transmission power and frame length of different nodes, but it does not consider the differences in delay and link stability between cross-technology transmission and ordinary technology transmission. The routing protocol designed by it is not well applicable to real heterogeneous hybrid networks, and cannot keep the network in good overall efficiency. Summary of the invention

[0006] In view of this, the present invention provides a heterogeneous network hybrid routing method and device based on cross-technology communication to solve one or more problems existing in the prior art.

[0007] According to one aspect of the present invention, the present invention discloses a heterogeneous network hybrid routing method based on cross-technology communication, the method comprising:

[0008] Determine the first WiFi node that can directly exchange data with each ZigBee node based on the distance between each ZigBee node and each WiFi node, obtain the second ZigBee node adjacent to each first ZigBee node, and generate a neighbor node information list of each first ZigBee node; the neighbor node information list includes the ID of the first ZigBee node, the ID of the second ZigBee node, the path delay between the first ZigBee node and the destination node, the path delay between each second ZigBee node and the destination node, and the ID of the first WiFi node corresponding to the first ZigBee node and the second ZigBee node respectively;

[0009] Obtain a WiFi node covering an area between the current node and the destination node, add the destination node as a virtual neighbor node in the neighbor node information list of the current node, and record other passing WiFi nodes except the first WiFi node that directly exchanges data with the current node as indexes to reach the virtual neighbor node;

[0010] Determine an alternative next-hop node based on the historical transmission rate and transmission reliability between the current node and its adjacent second ZigBee node and its corresponding first WiFi node, and send the ID information of the alternative WiFi node in the alternative next-hop node to the first WiFi node corresponding to the current node;

[0011] The transmission delays of the transmission paths between each candidate WiFi node in the neighbor node information list of the current node, each second ZigBee node and the destination node are calculated respectively, and the next hop node of the current node is determined based on the minimum transmission delay.

[0012] In some embodiments of the present invention, respectively calculating the transmission delay of the transmission path between each candidate WiFi node in the neighbor node information list of the current node, each second ZigBee node and the destination node, and determining the next hop node of the current node based on the minimum transmission delay, includes: determining whether the candidate WiFi node belongs to the first WiFi node that directly exchanges data with the destination node;

[0013] And in the case where the candidate WiFi node is the first WiFi node that directly exchanges data with the destination node,

[0014] Calculating a first transmission delay between the candidate WiFi node and the destination node,

[0015] Calculate the link delay between the second ZigBee node adjacent to the destination node and the candidate WiFi node, obtain the path delay between the second ZigBee node adjacent to the destination node and the destination node, and use the sum of the link delay and the path delay as the second transmission delay,

[0016] A node on a transmission path corresponding to a minimum value of the first transmission delay and the second transmission delay is used as a next hop node of the current node.

[0017] In some embodiments of the present invention, when the candidate WiFi node does not belong to the first WiFi node that directly exchanges data with the destination node,

[0018] Calculate the sum of the link delay between the candidate WiFi node and each ZigBee node within the coverage of the candidate WiFi node and the path delay between each ZigBee node and the destination node as the third transmission delay;

[0019] Calculate a fourth transmission delay between the candidate WiFi node and a first WiFi node that directly exchanges data with the destination node;

[0020] A node on a transmission path corresponding to a minimum value between the third transmission delay and the fourth transmission delay is used as a next hop node of the current node.

[0021] In some embodiments of the present invention, the link delay is a weighted sum of path delay and link quality, and the value range of the link quality is 0 to 1.

[0022] In some embodiments of the invention, the method comprises:

[0023] Determine whether each of the candidate WiFi nodes disappears from the hybrid network;

[0024] When the candidate WiFi node disappears from the hybrid network, the virtual neighbor node corresponding to the candidate WiFi node is deleted from the neighbor node information list.

[0025] In some embodiments of the present invention, determining a first WiFi node that can directly exchange data with each ZigBee node based on the distance between each ZigBee node and each WiFi node includes:

[0026] Each WiFi node transmits a Bluetooth broadcast packet at the same power, and each ZigBee node determines the distance between itself and each WiFi node according to the signal strength of the multiple Bluetooth broadcast packets it receives;

[0027] The WiFi node with the shortest distance from each of the ZigBee nodes is used as the first WiFi node corresponding to the ZigBee node.

[0028] In some embodiments of the invention, the method comprises:

[0029] Each of the ZigBee nodes sends registration information to the first WiFi node with which it exchanges data, where the registration information includes the ID of the ZigBee node and a neighbor node information list of the ZigBee node.

[0030] In some embodiments of the present invention, determining a candidate next hop node based on the historical transmission rate and transmission reliability between the current node and its adjacent second ZigBee node and its corresponding first WiFi node includes:

[0031] Calculate the link delay from the current node to the first WiFi node corresponding to it according to the historical transmission rate and transmission reliability between the current node and the first WiFi node corresponding to it;

[0032] and calculating the link delay from the current node to each adjacent second ZigBee node according to the historical transmission rate and transmission reliability between the current node and the adjacent second ZigBee node;

[0033] The node corresponding to the minimum link delay is selected as the candidate next hop node.

[0034] According to another aspect of the present invention, a heterogeneous network hybrid routing device based on cross-technology communication is also provided, the device includes a processor and a memory, the memory stores computer instructions, the processor is used to execute the computer instructions stored in the memory, when the computer instructions are executed by the processor, the device implements the steps of the method described in any of the above embodiments.

[0035] According to another aspect of the present invention, a computer-readable storage medium is disclosed, on which a computer program is stored. When the program is executed by a processor, the steps of the method described in any of the above embodiments are implemented.

[0036] The heterogeneous network hybrid routing method and device based on cross-technology communication disclosed in the embodiment of the present invention can make full use of the characteristics of heterogeneous hybrid networks, effectively perform routing between two types of nodes, and the routing delay is shorter than that of the routing protocols CTP (Collection Tree Protocol) and LEACH (Low Power Adaptive Cluster Hierarchical Protocol) based on homogeneous networks. The present invention has modified the protocol and based on its basic hierarchical routing concept, it supports much smaller delay in cross-technology communication. The simulation experiment proves that the average end-to-end delay of the CTR (Cross-Technology communicationbased Routing protocol) transmission protocol of the present invention is about 1.4% of that of the other two routing protocols. In the scenario where the number of network nodes changes, the throughput of CTR is more stable, and better network efficiency can be obtained. Moreover, the CTR of the present invention also has good robustness to the dynamics of WiFi nodes.

[0037] Additional advantages, purposes, and features of the present invention will be described in part in the following description, and will become apparent to those skilled in the art after studying the following, or may be learned from the practice of the present invention. The purposes and other advantages of the present invention may be achieved and obtained by the structures specifically pointed out in the written description, claims, and drawings.

[0038] Those skilled in the art will appreciate that the objectives and advantages that can be achieved with the present invention are not limited to the above specific description, and the above and other objectives that can be achieved by the present invention will be more clearly understood from the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The drawings described herein are used to provide a further understanding of the present invention, constitute a part of this application, and do not constitute a limitation of the present invention. The components in the drawings are not drawn to scale, but are only for illustrating the principles of the present invention. In order to facilitate the illustration and description of some parts of the present invention, the corresponding parts in the drawings may be enlarged, that is, they may become larger relative to other components in the exemplary device actually manufactured according to the present invention. In the drawings:

[0040] Figure 1 The present invention is a flowchart of a hybrid routing method for heterogeneous networks based on cross-technology communication according to an embodiment of the present invention.

[0041] Figure 2 The diagram is a schematic diagram of a network structure of a heterogeneous network based on cross-technology communication according to an embodiment of the present invention.

[0042] Figure 3 The figure is a schematic diagram of a simulated network topology of a heterogeneous hybrid network according to an embodiment of the present invention.

[0043] Figure 3a The figure is a schematic diagram of simulation results of routing using the CTP protocol in the prior art.

[0044] Figure 3b A schematic diagram of simulation results of routing using the prior art LEACH protocol (supporting cross-technology communication).

[0045] Figure 3c It is a schematic diagram of simulation results of routing using the CTR protocol of the present invention. DETAILED DESCRIPTION

[0046] To make the purpose, technical solution and advantages of the embodiments of the present invention more clear, the embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings. Here, the exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but are not intended to limit the present invention.

[0047] It should be noted here that in order to avoid obscuring the present invention due to unnecessary details, only structures and / or processing steps closely related to the solutions according to the present invention are shown in the accompanying drawings, while other details that are not closely related to the present invention are omitted.

[0048] It should be emphasized that the terms “include / comprises / has” when used herein refer to the presence of features, elements, steps or components, but do not exclude the presence or addition of one or more other features, elements, steps or components.

[0049] In the industrial Internet of Things scenario, ZigBee nodes are increasing day by day and coexist with WiFi nodes. When they can communicate directly, the gateway overhead is eliminated, and ZigBee nodes and WiFi nodes can directly transmit data. At this time, WiFi is very helpful for data forwarding of edge ZigBee nodes. In traditional wireless sensor networks, ZigBee nodes will wake up periodically. If the intermediate node is not awakened during data forwarding, it is necessary to wait for the next wake-up cycle to resend the data packet, which greatly increases the network load and increases the transmission delay. However, using WiFi forwarding does not require waiting for this period of time. Because WiFi nodes do not need to consider energy issues and will not wake up periodically, using WiFi to forward data can improve the effectiveness of ZigBee communication. Due to the influence of CTC transmission rate and its instability, most of the network and application design work based on cross-technology communication in the existing technology uses WiFi as a forwarding node, and can only forward one hop through WiFi nodes at most. It focuses on using CTC to transmit shorter control messages to coordinate the operation of wireless sensor networks, but does not realize a completely heterogeneous hybrid network, so that nodes can transmit actual data messages to each other, and are not restricted by network technology during the forwarding process. The nodes can freely select the next hop node and make full use of the advantages of the hybrid network. In the CTC heterogeneous hybrid network of WiFi and ZigBee, all nodes can communicate directly with each other, not limited to communication technology, and nodes can freely select the next hop node. The routing protocol under this hybrid network needs to consider the heterogeneous characteristics of network nodes. This heterogeneity is the difference between actual signals in the physical layer, rather than a simple difference in energy and traffic. It is necessary to make routing decisions based on the balance of the hybrid network, fully consider the dynamic nature of the WiFi network and the low energy consumption characteristics of the ZigBee network, establish a new link quality model, and design a routing protocol that is conducive to the coordinated transmission of the two types of networks, reduce transmission delays, and reduce energy consumption, so that the overall efficiency of the network can be optimized.

[0050] In order to fully utilize the advantages of cross-technology communication in a heterogeneous hybrid network, maximize network efficiency, and improve the transmission range of ZigBee nodes, the present invention designs and implements a routing protocol CTR (Cross-Technology communication based Routing protocol) for the heterogeneous hybrid network. The routing method based on the routing protocol enables the WiFi node to participate in the data forwarding process of the ZigBee node in an environment where the ZigBee node and the WiFi node coexist, thereby reducing the transmission delay and improving the transmission distance. Among them, since the ZigBee network and the WiFi network are based on different standards, the energy and power of the WiFi node and the ZigBee node are very different. The CTR routing protocol enables the ZigBee network to adopt State-Based Routing, while the WiFi network adopts the On-Demand Routing method, which conforms to the basic characteristics of each network and avoids a greater impact on its basic network.

[0051] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the accompanying drawings, the same reference numerals represent the same or similar components, or the same or similar steps.

[0052] Figure 1 FIG. 1 is a flow chart of a heterogeneous network hybrid routing method based on cross-technology communication according to an embodiment of the present invention. Figure 1 As shown, the method includes steps S10 to S40.

[0053] Step S10: Based on the distance between each ZigBee node and each WiFi node, determine the first WiFi node that can directly exchange data with each of the ZigBee nodes, obtain the second ZigBee nodes adjacent to each of the first ZigBee nodes, and generate a neighbor node information list of each of the first ZigBee nodes, wherein the neighbor node information list includes the ID of the first ZigBee node, the ID of the second ZigBee node, the path delay between the first ZigBee node and the destination node, the path delay between each of the second ZigBee nodes and the destination node, and the IDs of the first WiFi nodes corresponding to the first ZigBee node and the second ZigBee node, respectively.

[0054] In this step, the first WiFi node is the WiFi node closest to the ZigBee node among the multiple WiFi nodes in the heterogeneous hybrid network, representing the ZigBee node to directly exchange data with the first WiFi node. The second ZigBee node is a neighbor node of the first ZigBee node, such as Figure 2For example, WiFi and ZigBee nodes coexist, the WiFi1 node range includes ZigBee nodes S, A, B; the WiFi2 node range includes ZigBee nodes C, E, F; the WiFi3 node range includes ZigBee nodes G, H, D. In this hybrid network, the ZigBee network is based on State-Based Routing, and WiFi uses On-Demand Routing.

[0055] In this step, the ZigBee node first performs neighbor discovery and route discovery processes; the ZigBee network is initialized based on CTP (collection tree protocol) to form an initial tree network structure with node D as the root node; taking node S as an example, its neighbor list is shown in Table 1, recording the neighbor nodes of the node and its parent node, the path delay Route_Delay from the node to the root node D, and the WiFi node ID to which it belongs. As can be seen from Table 1, the neighbor nodes of ZigBee node S are node A and node B; then node S is the first ZigBee node, and node A and node B are called the second ZigBee node. For another example, the neighbor nodes of ZigBee node C are node A, node B, node F, and node F, then node C is the first ZigBee node, and node A, node B, node E, and node F are called the second ZigBee node. The neighbor node information list is shown in Table 2 (taking node S as an example, other nodes are similar).

[0056] Table 1. Neighbor nodes of each ZigBee node

[0057]

[0058] Table 2. Neighbor node information list of node S

[0059] Node ID Parent Node Path delay WiFi node ID S A <![CDATA[RD S ]]> WiFi1 A C <![CDATA[RD A ]]> WiFi1 B C <![CDATA[RD B ]]> WiFi1

[0060] According to Table 2, the neighbor node information list includes the ID of node S, the ID of node A and the ID of node B, the path delay RD between node S and destination node D S , the path delay RD between node A and destination node D A , the path delay RD between node B and destination node D B , and the WIFI node ID WiFi1 to which node S, node A, and node B belong.

[0061] Among them, based on the distance between each ZigBee node and each WiFi node, the first WiFi node that can directly exchange data with each ZigBee node is determined, specifically including: each WiFi node transmits a Bluetooth broadcast packet with the same power, and each ZigBee node judges the distance between itself and each WiFi node according to the signal strength of multiple Bluetooth broadcast packets it receives; and the WiFi node with the shortest distance to each ZigBee node is used as the first WiFi node corresponding to the ZigBee node.

[0062] In this step, the WiFi nodes in the network actively broadcast beacon (Bluetooth broadcast) packets. All beacon packets are transmitted at the same power. ZigBee nodes may receive beacon packets from different WiFi nodes. ZigBee nodes use the signal strength of the received beacon packets to determine the distance between them and the WiFi node to which the beacon packet belongs, and select the first WiFi node closest to them for contact. Each ZigBee node registers on the first WiFi node closest to it, forming a hybrid network bounded by the coverage range of each WiFi node. When a ZigBee node registers, the ZigBee node sends registration information to the first WiFi node within the corresponding hybrid network range. The registration information includes the ID of the ZigBee node and the neighbor node information of the ZigBee node, and shares its neighbor node information list.

[0063] Step S20: Obtain WiFi nodes covering the area between the current node and the destination node, add the destination node as a virtual neighbor node in the neighbor node information list of the current node, and record other passing WiFi nodes except the first WiFi node that directly exchanges data with the current node as indexes to reach the virtual neighbor node.

[0064] The WiFi nodes covering the area between the current node and the destination node include the first WiFi nodes corresponding to the current node and the destination node, respectively, and other WiFi nodes between the two first WiFi nodes. Exemplarily, node S is the current node, and node D is the destination node. In the process from node S to node D, the WiFi nodes passed through are WiFi1, WiFi2, and WiFi3. The WiFi nodes passed through in the process from node S to node D can be recorded in sequence as a path tmp_route, (such as WiFi1->WiFi2->WiFi3), and the path is used as the index of the virtual neighbor node. Further, add a record D1 to the neighbor list of S, and regard D1 as its virtual neighbor node. At this time, the neighbor node information list of node S is Table 3.

[0065] Table 3. Updated neighbor node information list of node S

[0066] Node ID Parent Node Path delay WiFi node ID S A <![CDATA[RD S ]]> WiFi1 A C <![CDATA[RD A ]]> WiFi1 B C <![CDATA[RD B ]]> WiFi1 D1 WIFI …… WiFi3

[0067] It should be noted that the introduction of virtual neighbor nodes in Table 3 above indicates that the destination ZigBee node can be reached through the WiFi node, which is not a real neighbor node of the node; the domain of the added virtual neighbor node item is set to the WiFi fixed identifier WIFI, and the Location domain (WiFi node ID) is set to the WiFi node ID where the node is located. The virtual neighbor node added to the neighbor node information list of node S indicates that in the subsequent data transmission process, the transmission process from node S to node D1 can be considered to be forwarded via WiFi.

[0068] Step S30: Determine an alternative next-hop node based on the historical transmission rate and transmission reliability between the current node and its adjacent second ZigBee node and its corresponding first WiFi node, and send the ID information of the alternative WiFi node in the alternative next-hop node to the first WiFi node corresponding to the current node.

[0069] In general, since the destination node is reached via multiple candidate WiFi nodes and / or multiple candidate second ZigBee nodes, the candidate WiFi nodes and / or candidate second ZigBee nodes with higher transmission rate and stability are further selected as candidate next-hop nodes, that is, when there is a virtual neighbor node item with node ID D1 in the neighbor node information list of node S, S determines whether to send through WiFi3 corresponding to item D1 according to the rate and reliability of transmission to WiFi in the historical information. Specifically, the candidate next-hop node is determined based on the historical transmission rate and transmission reliability between the current node and its adjacent second ZigBee node and its corresponding first WiFi node, including: calculating the link delay corresponding to the current node to its corresponding first WiFi node according to the historical transmission rate and transmission reliability between the current node and its corresponding first WiFi node; and calculating the link delay from the current node to each adjacent second ZigBee node according to the historical transmission rate and transmission reliability between the current node and its adjacent second ZigBee node; and taking the node corresponding to the minimum link delay as the candidate next-hop node.

[0070] Further, determine whether the destination node D is in the history table of the determined alternative WiFi node; if so, node S and node D directly rely on the alternative WiFi node for forwarding, and an exemplary alternative WiFi node is WiFi3; if not, node S requests the link status from WiFi1 where it is located, and decides whether to forward by WiFi or ZigBee network based on the current network situation.

[0071] In order to determine whether node S and node D directly rely on the candidate WiFi node for forwarding, a link delay threshold can be set in advance, that is, to determine whether the link delay when relying on the candidate WiFi node for forwarding is less than the preset link delay threshold. If the link delay corresponding to the candidate WiFi node is less than the preset link delay threshold, the WiFi node ID and the WiFi node ID of the virtual neighbor node D1 are read from the neighbor node information list and tmp_route, and sent to WiFi1.

[0072] In addition, since most traditional network routing protocols are based on a single network, the heterogeneity of node standards is not considered, and the selected link evaluation standards are relatively simple, which cannot be well applied to highly dynamic hybrid networks. In heterogeneous hybrid networks, since WiFi nodes and ZigBee nodes are based on different standards, the high dynamics of WiFi networks and the short distance, low power consumption, low rate, and high latency of ZigBee networks cannot be selected as simply as the routing of a single network. Moreover, WiFi nodes have the characteristics of high dynamics, which will cause channel switching and "disappearance" from hybrid networks more frequently. At the same time, in the signal simulation process of cross-technology communication at the physical level, due to the limitations of physical layer standards (such as 802.11g and 802.15.4), signal simulation cannot be fully matched. Sometimes, in the simulated symbols, the waveform may have considerable "distortion", and the low-speed radio receiver cannot demodulate correctly. Therefore, inherent errors (QAM quantization error, cyclic prefix correlation error, and boundary error) are introduced at the receiving end, resulting in the instability of the CTC link, and the data rate and packet reception rate of cross-technology transmission are greatly affected by the environment. In such a hybrid network with unstable link status, it is essential to construct a new link quality model.

[0073] The present invention adopts a method combining real-time CTC link quality indicators with relatively stable transmission delays, so that they work together to evaluate the current link quality and provide instructions for subsequent routing selection. Specifically, the link delay is the weighted sum of the path delay and the link quality, and the value range of the link quality is 0 to 1. The specific parameters are as follows:

[0074] (1)LD A2B : Link Delay, the link delay between node A and node B.

[0075] (2) LQ: Link Quality, evaluates the current status of the CTC link, expressed as the packet reception rate, and its value is between 0 and 1.

[0076] For CTC links, considering the instability of their link quality, their link delay LD is defined as the weighted sum of the original delay and the link quality, as shown in the following formula: LD CTC =(2-LQ)*LD CTC_ori .

[0077] Where LQ is the link quality, LD is CTC is the path delay, LD CTC-ori is the original delay.

[0078] Compared with the stable ZigBee network link, the CTC link status needs to be updated in real time, but due to the low efficiency of the CTC link, the real-time update overhead is huge. Therefore, the present invention introduces a historical reference value to record the link status within a period of time as a reference for subsequent transmission selection, and regularly updates it to avoid frequent link status requests and reduce overhead. Based on this, the delay estimation of the CTC link is more in line with the actual situation, and the route estimation of the present invention will also be more accurate.

[0079] Step S40: respectively calculating the transmission delay of each candidate WiFi node in the neighbor node information list of the current node, each second ZigBee node and the transmission path between the destination node, and determining the next hop node of the current node based on the minimum transmission delay.

[0080] Since a WiFi node can select a WiFi node as the next hop node, or a ZigBee node as the next hop node; and a ZigBee node can select a WiFi node as the next hop node, or a ZigBee node as the next hop node, in this step, the specific next hop node is determined based on the transmission delay of each transmission path.

[0081] Specifically, this step includes: determining whether the candidate WiFi node belongs to the first WiFi node that directly exchanges data with the destination node; and when the candidate WiFi node belongs to the first WiFi node that directly exchanges data with the destination node, calculating the first transmission delay between the candidate WiFi node and the destination node, calculating the link delay between the second ZigBee node adjacent to the destination node and the candidate WiFi node, obtaining the path delay between the second ZigBee node adjacent to the destination node and the destination node, taking the sum of the link delay and the path delay as the second transmission delay, and taking the node of the transmission path corresponding to the minimum value of the first transmission delay and the second transmission delay as the next hop node of the current node. In the case that the alternative WiFi node does not belong to the first WiFi node that directly exchanges data with the destination node, the sum of the link delay between the alternative WiFi node and each ZigBee node within the coverage area of ​​the alternative WiFi node and the path delay between each ZigBee node and the destination node is calculated as the third transmission delay; the fourth transmission delay between the alternative WiFi node and the first WiFi node that directly exchanges data with the destination node is calculated; and the node on the transmission path corresponding to the minimum value of the third transmission delay and the fourth transmission delay is used as the next hop node of the current node.

[0082] Among them, before the above steps, the WiFi1 node where the current node S is located also determines whether the WiFi1 node can directly reach the node WiFi where the virtual neighbor node D1 is located; if it can be reached directly, the transmission delay between the WiFi1 node and the WiFi node is calculated, and the WiFi node is used as the next hop node; if it cannot be reached directly, the next hop WiFi node is selected from the back to the front according to the ID sequence of the passed nodes as the candidate next hop node.

[0083] Furthermore, the candidate WiFi node decides the next hop node. If the WiFi node can directly reach the destination node D, such as Figure 2 The transmission path from WiFi1 to WiFi3 is shown in Figure 1. When selecting the next hop node, the candidate nodes are nodes D, G, and H, and the following comparisons are required:

[0084] i.LD 32D

[0085] ii.LD 32G +RD G

[0086] iii.LD 32H +RD H

[0087] LD 32Dis the link delay from WiFi3 to destination node D; RD G is the path delay from node G to destination node D obtained based on CTP during the initialization process, LD 32G is the link delay from WiFi3 to node G; LD 32H is the link delay from WiFi3 to node H, RD H is the path delay from node H to destination node D obtained based on CTP during the initialization process.

[0088] If the WiFi node cannot directly reach the destination node D, then WiFi1 reaches WiFi2, and WiFi2 further decides its next hop node. At this time, the candidate nodes are nodes C, E, F, and WiFi3, and the following comparisons are required:

[0089] i.LD 22C +RD C

[0090] ii.LD 22E +RD E

[0091] iii.LD 22F +RD F

[0092] Among them, LD 22C is the link delay from WiFi2 to node C, RD C LD is the path delay from node C to destination node D obtained based on CTP during the initialization process; 22E is the link delay from WiFi2 to node E, RD E LD is the path delay from node E to destination node D obtained based on CTP during the initialization process; 22F is the link delay from WiFi2 to node F, RD F is the path delay from node F to destination node D obtained based on CTP during the initialization process. Assuming that the node corresponding to the minimum transmission delay is node E, we further compare LD 22E and LD 223 , LD 223 is the link delay from WiFi2 to WiFi3, then the node with smaller delay is selected as the next hop node for forwarding according to the comparison result.

[0093] The specific CTR routing algorithm is as follows:

[0094]

[0095]

[0096] From the above algorithm, we can see that the routing maintenance and decision-making algorithm comprehensively considers the characteristics of heterogeneous networks, the high dynamics of WiFi and the instability of CTC links. Under this routing, nodes can freely select the next hop node without being limited by technical restrictions to ensure an efficient routing maintenance and decision-making process when the two networks are interconnected.

[0097] Since WiFi nodes are highly dynamic, if the current channel interference is large, the WiFi node may switch channels. At this time, the WiFi node will "disappear" from the hybrid network, and the ZigBee nodes within its range will not be able to communicate with it. The Location field stored in the neighbor node information list will become invalid and inaccessible. At this time, problems will occur in the forwarding process and routing will fail. Therefore, the heterogeneous network hybrid routing method based on cross-technology communication also includes the following steps: determining whether each of the alternative WiFi nodes disappears from the hybrid network; in the case where the alternative WiFi node disappears from the hybrid network, deleting the virtual neighbor node corresponding to the alternative WiFi node from the neighbor node information list. Specifically, the dynamic nature of WiFi is described as follows:

[0098] 1. WiFi nodes “disappear”

[0099] When a ZigBee node needs to exchange data with a WiFi node during the transmission phase, if the WiFi node does not respond after three consecutive requests, the WiFi node is considered to have "disappeared" from the hybrid network. At this time, the virtual neighbor node corresponding to the WiFi node needs to be deleted from the neighbor node information list. At this time, the following operations can be performed:

[0100] (1) The ZigBee node updates the Location field in the local neighbor node information list and notifies the neighbor nodes that the WiFi node has “disappeared”. The neighbor nodes also update their own neighbor node information lists accordingly.

[0101] (2) Erase the corresponding WiFi node in tmp_route, traverse the WiFi nodes in tmp_route of the source node, and delete the disappeared WiFi node.

[0102] 2. New WiFi nodes join the network

[0103] In addition, when a new WiFi node joins the hybrid network, WiFi continues to send beacon packets until it receives a reply from a ZigBee node or the maximum set time is reached. The reply packet carries the ZigBee wake-up and sleep cycles, and the time for WiFi to broadcast beacon packets is extended by one ZigBee wake-up and sleep cycle.

[0104] After receiving the WiFi joining signal, the ownerless ZigBee node (a ZigBee node that is not in contact with any WiFi node) sends the ZigBee node ID and its neighbor node IDs to the newly added WiFi node, and the ZigBee node registers on the newly added WiFi node.

[0105] 3. ZigBee nodes actively perform detection updates

[0106] When a ZigBee node needs to transmit data, if the first WiFi node to which it belongs does not exist, the ZigBee node needs to reselect a WiFi node to establish a connection with it. The specific process is as follows:

[0107] ZigBee nodes periodically send a specific sequence of CTC packets. After the WiFi nodes within its communication range detect the signal, they know that there are ZigBee nodes around that need assistance in data transmission. Therefore, the WiFi node sends a beacon packet (the sending rule here is the same as when the WiFi node joins the network), so that the ZigBee node can establish contact with it. The ZigBee node selects the WiFi node that receives the beacon packet with the strongest signal strength to register on it and share neighbor node information. After that, data transmission can be performed according to the normal forwarding process.

[0108] Through the above embodiments, it can be found that the heterogeneous network hybrid routing method based on cross-technology communication can make full use of the advantages of cross-technology communication and maximize network efficiency; and in the heterogeneous hybrid network, each node can communicate directly through its own communication technology or CTC, and the node can select the next hop node without technical restrictions; the present invention enables the ZigBee network to adopt State-Based Routing, and the WiFi network to adopt On-Demand Routing. First, a new link quality model is constructed according to the characteristics of the heterogeneous network, and then the virtual neighbor idea is introduced according to the high dynamics of WiFi and the instability of the CTC link, and a new routing maintenance and decision algorithm is proposed; the method fully considers the dynamics of the WiFi network and the low energy consumption characteristics of the ZigBee network, reduces the transmission delay, reduces the energy consumption, and makes the overall efficiency of the network reach the best.

[0109] In order to further describe the advantages of the heterogeneous network hybrid routing method based on cross-technology communication of the present invention, a specific example is used for illustration below:

[0110] Figure 3The network topology diagram of the heterogeneous hybrid network of an embodiment of the present invention, where source is the source node and sink is the destination node; the experiment simulates the WiFi node based on the WiFi module of NS3 and simulates the ZigBee node based on the LR-WPAN module. In the experiment, CTR is compared with the routing protocol CTP of the traditional wireless sensor network and the energy heterogeneous hierarchical routing protocol LEACH (supporting cross-technology communication) to evaluate the effectiveness of CTR in the mutual forwarding process of WiFi nodes and ZigBee nodes in the heterogeneous hybrid network, and its handling of the dynamics of WiFi nodes and the instability of CTC links. In the experiment, WifiDevice selects the IEEE802.11g standard, operates in the 2.4GHz frequency band, and has a bandwidth of 20MHz, so that it operates in the same frequency band as the ZigBee node. Since the LR-WPAN module does not implement the network layer routing protocol, this experiment implements it on NS3 based on the CTP protocol under TinyOS. Since in the heterogeneous hybrid network, the WiFi node and the ZigBee node can communicate directly through CTC, the routing CTR of the present invention can effectively route in the network of nodes of two different standards.

[0111] Specifically, Figure 3a , Figure 3b and Figure 3c The following are schematic diagrams of simulation results for routing using the prior art CTP protocol, the LEACH (supporting cross-technology communication) protocol, and the CTR protocol of the present invention. It can be seen from the above schematic diagrams of simulation results that the CTR protocol of the present invention can effectively perform routing in a heterogeneous hybrid network.

[0112] Correspondingly, the present invention also discloses a heterogeneous network hybrid routing device based on cross-technology communication, the device includes a processor and a memory, the memory stores computer instructions, the processor is used to execute the computer instructions stored in the memory, when the computer instructions are executed by the processor, the device implements the steps of the method described in any of the above embodiments.

[0113] In addition, the present invention also discloses a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the method described in any of the above embodiments are implemented.

[0114] It should be understood by those skilled in the art that the exemplary components, systems and methods described in conjunction with the embodiments disclosed herein can be implemented in hardware, software or a combination of the two. Whether it is performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium or transmitted on a transmission medium or a communication link via a data signal carried in a carrier. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, and the like. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0115] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.

[0116] In the present invention, features described and / or illustrated for one embodiment may be used in the same or similar manner in one or more other embodiments, and / or combined with features of other embodiments or replace features of other embodiments.

[0117] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the embodiments of the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A heterogeneous network hybrid routing method based on cross-technology communication, characterized in that: The method comprises: Determine the first WiFi node that can directly exchange data with each ZigBee node based on the distance between each ZigBee node and each WiFi node, obtain the second ZigBee node adjacent to each first ZigBee node, and generate a neighbor node information list of each first ZigBee node; the neighbor node information list includes the ID of the first ZigBee node, the ID of the second ZigBee node, the path delay between the first ZigBee node and the destination node, the path delay between each second ZigBee node and the destination node, and the ID of the first WiFi node corresponding to the first ZigBee node and the second ZigBee node respectively; Obtain a WiFi node covering an area between the current node and the destination node, add the destination node as a virtual neighbor node in the neighbor node information list of the current node, and record other passing WiFi nodes except the first WiFi node that directly exchanges data with the current node as indexes to reach the virtual neighbor node; Determine an alternative next-hop node based on the historical transmission rate and transmission reliability between the current node and its adjacent second ZigBee node and its corresponding first WiFi node, and send the ID information of the alternative WiFi node in the alternative next-hop node to the first WiFi node corresponding to the current node; The transmission delays of the transmission paths between each candidate WiFi node in the neighbor node information list of the current node, each second ZigBee node and the destination node are calculated respectively, and the next hop node of the current node is determined based on the minimum transmission delay.

2. The heterogeneous network hybrid routing method based on cross-technology communication according to claim 1, characterized in that: Calculating the transmission delay of each candidate WiFi node in the neighbor node information list of the current node, each second ZigBee node and the transmission path between the destination node, and determining the next hop node of the current node based on the minimum transmission delay, including: determining whether the candidate WiFi node belongs to the first WiFi node that directly exchanges data with the destination node; And in the case where the candidate WiFi node is the first WiFi node that directly exchanges data with the destination node, Calculating a first transmission delay between the candidate WiFi node and the destination node, Calculate the link delay between the second ZigBee node adjacent to the destination node and the candidate WiFi node, obtain the path delay between the second ZigBee node adjacent to the destination node and the destination node, and use the sum of the link delay and the path delay as the second transmission delay, A node on a transmission path corresponding to a minimum value of the first transmission delay and the second transmission delay is used as a next hop node of the current node.

3. The heterogeneous network hybrid routing method based on cross-technology communication according to claim 2 is characterized in that: In the case where the candidate WiFi node does not belong to the first WiFi node that directly exchanges data with the destination node, Calculate the sum of the link delay between the candidate WiFi node and each ZigBee node within the coverage of the candidate WiFi node and the path delay between each ZigBee node and the destination node as the third transmission delay; Calculate a fourth transmission delay between the candidate WiFi node and a first WiFi node that directly exchanges data with the destination node; A node on a transmission path corresponding to a minimum value between the third transmission delay and the fourth transmission delay is used as a next hop node of the current node.

4. The heterogeneous network hybrid routing method based on cross-technology communication according to claim 2 or 3, characterized in that: The link delay is a weighted sum of the path delay and the link quality, and the value range of the link quality is 0 to 1.

5. The heterogeneous network hybrid routing method based on cross-technology communication according to claim 1, characterized in that: The method comprises: Determine whether each of the candidate WiFi nodes disappears from the hybrid network; When the candidate WiFi node disappears from the hybrid network, the virtual neighbor node corresponding to the candidate WiFi node is deleted from the neighbor node information list.

6. The heterogeneous network hybrid routing method based on cross-technology communication according to claim 1, characterized in that: Determining a first WiFi node that can directly exchange data with each ZigBee node based on the distance between each ZigBee node and each WiFi node includes: Each WiFi node transmits a Bluetooth broadcast packet at the same power, and each ZigBee node determines the distance between itself and each WiFi node according to the signal strength of multiple Bluetooth broadcast packets it receives; The WiFi node with the shortest distance from each of the ZigBee nodes is used as the first WiFi node corresponding to the ZigBee node.

7. The heterogeneous network hybrid routing method based on cross-technology communication according to claim 6, characterized in that: The method comprises: Each of the ZigBee nodes sends registration information to the first WiFi node with which it exchanges data, where the registration information includes the ID of the ZigBee node and a neighbor node information list of the ZigBee node.

8. The heterogeneous network hybrid routing method based on cross-technology communication according to claim 1, characterized in that: Determining a candidate next hop node based on a historical transmission rate and transmission reliability between the current node and its adjacent second ZigBee node and its corresponding first WiFi node includes: Calculate the link delay from the current node to the first WiFi node corresponding to it according to the historical transmission rate and transmission reliability between the current node and the first WiFi node corresponding to it; and calculating the link delay from the current node to each adjacent second ZigBee node according to the historical transmission rate and transmission reliability between the current node and the adjacent second ZigBee node; The node corresponding to the minimum link delay is selected as the candidate next hop node.

9. A heterogeneous network hybrid routing device based on cross-technology communication, the device comprising a processor and a memory, characterized in that: The memory stores computer instructions, and the processor is used to execute the computer instructions stored in the memory. When the computer instructions are executed by the processor, the device implements the steps of the method as claimed in any one of claims 1 to 8.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • A satellite routing algorithm with strong link constraints

    CN108989223A

  • Fusion networking method, device and system and computer readable storage medium

    CN113132967A

  • Energy-saving method applied to multi-link communication and communication device

    CN113365327A

  • HPLC (High Performance Liquid Chromatography) and RF (Radio Frequency)-based dual-mode heterogeneous field area network multipath concurrent transmission method

    CN113765544A

  • Hybrid Learning Component for Link State Routing Protocols

    US20120030150A1