A method for avoiding void problem and redundant forwarding problem in wireless sensor network

By adding a node degree and delay optimized routing method to the hydroacoustic sensor network, the hole and redundant forwarding problems are solved, the data packet delivery rate and network energy efficiency are improved, and the life cycle is extended.

CN117336900BActive Publication Date: 2024-09-13KUNMING UNIV OF SCI & TECH
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311216015.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-09-20
Publication Date
2024-09-13
Estimated Expiration
2043-09-20

Smart Images

  • Figure CN117336900B
    Figure CN117336900B
Patent Text Reader

Abstract

The present invention discloses a method for avoiding the hole problem and redundant forwarding problem in a wireless sensor network, comprising the following steps: initialization; broadcasting a first control information data packet; receiving the first control information data packet and replying to a second control information data packet; constructing a feature set; calculating an attribute value ATT and selecting a node with the highest priority as a next-hop forwarding node; setting a waiting time after receiving a data packet; discarding a data packet after receiving the forwarded information or forwarding a data packet after the waiting time expires. The present invention adopts a completely different technical idea from the previous algorithms. In routing selection, the node degree of the node is added to the selection criteria, and the occurrence of the hole phenomenon is prevented by selecting a node with a high node degree; the waiting time is optimized by the time delay between neighbor nodes, and the nodes with low priority are inhibited from forwarding the same data packet, thereby reducing the occurrence of the hole phenomenon and the redundant forwarding phenomenon, saving the energy of the node, and extending the life cycle of the network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of wireless sensor networks, and specifically relates to a method for avoiding void problems and redundant forwarding problems in wireless sensor networks. Background Art

[0002] Underwater wireless sensor network is an emerging wireless sensor technology that provides the most effective mechanism and method for exploring the marine environment. It is widely used in business, military, disaster warning, data collection and environmental monitoring. Compared with road-based wireless sensor networks, underwater acoustic sensor networks have disadvantages such as high bit error rate, low signal-to-noise ratio, limited bandwidth and limited node power. In water, the speed of sound is about 1500m / s, while in air medium, the speed of sound is 340m / s. The speed of sound is also affected by seawater temperature, salinity and depth. In addition, multi-hop data transmission has been proven to be more energy-efficient than single-hop transmission in underwater networks. For this reason, it is necessary to study routing protocols suitable for underwater acoustic sensor networks based on the characteristics of underwater acoustic networks. Since underwater acoustic sensor nodes are deployed underwater, they cannot rely on GPS for self-positioning. This results in that the routing protocol based on geographic location is not very suitable for underwater acoustic networks. On the contrary, since the underwater nodes in UWSN are equipped with pressure sensing devices, they can obtain their own depth through the device. From this point of view, depth-based routing protocols are more suitable for underwater acoustic networks.

[0003] At present, there are relatively few studies on the void phenomenon and redundant forwarding phenomenon. The void phenomenon refers to the fact that when selecting a route, relying solely on depth information as the selection criterion will cause the data packet to be transmitted to an empty node with a node degree of zero, resulting in the inability of the data packet to continue to be transmitted upward, resulting in the loss of the data packet, and also to a certain extent, increasing the energy consumption of the node. The redundant forwarding phenomenon mainly refers to the same data packet being forwarded by multiple nodes in the network, which not only over-occupies the acoustic channel, but also causes the node energy to be wasted, seriously reducing the life cycle of the underwater acoustic network. At present, there are two main methods for the redundant forwarding problem in routing protocols, one is based on the sender, and the other is based on the receiver. The sender-based method mainly records the next hop forwarding node in the data packet. This method has a defect. If the next hop node recorded in the data packet cannot receive the data packet normally due to special circumstances, such as (the node energy is exhausted, or the water flow movement is no longer within the one-hop range of the source node), then other nodes will not forward the data packet. The receiver-based method mainly uses the receiving node to set a timer to suppress redundant forwarding. However, current routing protocols all set the waiting time based on depth information. This setting method will result in redundant forwarding when there are two nodes with similar depths in the one-hop neighboring nodes of the source node.

[0004] The routing protocols currently proposed for underwater environments mainly include:

[0005] (1) Location-based routing (VBF); (2) Hop-by-hop vector forwarding (HHVBF); (3) Depth-based routing (DBR); (4) Energy-efficient deep routing (EEDBR) considering residual energy level; (5) Priority-based deep routing (EEDOR).

[0006] In the above routing protocols, the occurrence of void phenomenon and redundant forwarding phenomenon is not considered. In the depth-based routing protocol, only the depth information and energy information are considered, which will cause the data packet to be transmitted to the empty node with a node degree of zero, resulting in the inability of the data packet to continue to be transmitted upward, resulting in the loss of the data packet, and also to a certain extent, aggravating the energy consumption of the node. In the above routing protocol, the same data packet may be forwarded by multiple nodes in the network, which not only over-occupies the acoustic channel, but also causes the node energy to be wasted, seriously reducing the life cycle of the underwater acoustic network. The redundant forwarding phenomenon in EEDOR is based on the receiving end solution, mainly the receiving node sets a timer to achieve the purpose of suppressing redundant forwarding. However, the setting of the waiting time is set according to the depth information. This setting method will cause redundant forwarding to occur when there are two nodes with similar depths in the one-hop neighbor node of the source node. These two phenomena are related to the reliable transmission of data and the life of the overall network. Therefore, how to eliminate the impact of these two phenomena is a problem that technicians in this field need to solve urgently.

[0007] Therefore, in order to solve the above problems, this paper proposes a method to avoid the hole problem and redundant forwarding problem in wireless sensor networks. Summary of the invention

[0008] In order to solve the above technical problems, the present invention designs a method for wireless sensor networks to avoid void problems and redundant forwarding problems. For the redundant forwarding phenomenon, the waiting time is optimized through the delay between neighboring nodes, and low-priority nodes are inhibited from forwarding the same data packets, thereby reducing the occurrence of void phenomena and redundant forwarding phenomena, saving node energy, and extending the network life cycle.

[0009] In order to achieve the above technical effects, the present invention is implemented by the following technical solutions: A method for avoiding void problems and redundant forwarding problems in a wireless sensor network, characterized in that it includes the following steps:

[0010] Step 1: All nodes in the network are initialized and broadcast the first control information data packet ctr1_packet to the network;

[0011] Step 2: After receiving the control information packet from the network, the node extracts the information in the packet, obtains its own forward neighbor node, records the node degree and replies to the node with the second control information packet ctr2_packet;

[0012] Step 3: The node receiving the second control information data packet ctr2_packet establishes a feature set according to the content in the data packet;

[0013] Step 4: Each node relies on sensors to detect the surrounding environment. When data to be transmitted is generated, the attribute value ATT is calculated. After the attribute value is calculated, the attribute value of the forward neighboring nodes within one hop range is sorted according to the attribute value size.

[0014] Step 5: The node with a larger attribute value has a higher priority. The source node selects the node with a larger priority as the next hop forwarding node and puts the main information into the data packet for transmission;

[0015] Step 6: When the neighbor node of the source node receives the data packet, it extracts the information in the data packet, calculates the waiting time Wait_Time and starts the timer;

[0016] Step 7: The node whose waiting time expires first forwards the data packet and sends a message of successful forwarding to the network. After other nodes receive the message of successful forwarding, they stop the timer.

[0017] Step 8: The node that forwards the data packet acts as the source node for the next hop transmission and repeats Step 4 to Step 7 until the data packet reaches the destination node.

[0018] Furthermore, the specific process of initialization in Step 1 is as follows: initialization means that each node obtains its own depth information through its own pressure sensor and obtains its own residual energy through its own energy sensing system;

[0019] The main contents of the control information data packet ctr1_packet are: data packet sequence number, source node sequence number, depth information, remaining energy and timestamp.

[0020] Furthermore, the specific process of obtaining the forward neighbor nodes in Step 2 and the main contents of the control information data packet ctr2_packet are as follows: by extracting the depth information contained in the data packet and comparing it with the depth of the self, the neighbor nodes with a smaller depth than the self are called forward neighbor nodes, where the number of forward neighbor nodes is called node degree;

[0021] The control information data packet ctr2_packet mainly includes: data packet sequence number, source node sequence number, depth information, remaining energy, node degree and timestamp.

[0022] Furthermore, the specific contents included in the feature set in Step 3 include: the sequence number, residual energy, depth, node degree and delay of the neighbor node; wherein the delay is obtained by the difference between the timestamps in the control packet ctr1_packet and the control packet ctr2_packet.

[0023] Furthermore, the calculation formula of the attribute value ATT in Step 4 is specifically expressed as:

[0024] ATT=K1*(D j -D i )+K2*Q i +K3*E i ;

[0025] In the formula, K1, K2, K3 are weight coefficients and their sum is 1, D j is the depth of the source node, D i is the depth of the positive neighbor node, Q i is the node degree of the forward depth neighbor node, E i is the remaining energy of the forward neighbor node.

[0026] Furthermore, the specific information contained in the data packet in Step 5 is: data packet sequence number, source node sequence number, delay, priority sorting information, next-hop forwarding node sequence number and timestamp; wherein the delay refers to the delay from the node to the next-hop forwarding node, and the priority sorting information refers to all sorting information.

[0027] Furthermore, the calculation formula of the waiting time Wait_Time in Step 6 is specifically expressed as:

[0028]

[0029] Where, t b is the time it takes for a data packet to travel from the source node to the node with the highest priority, t i is the time it takes for a data packet to travel from the source node to itself, t i The difference between the timestamp in the data packet and the clock itself is calculated. R is the transmission radius of the node, Q i is the node degree, m i is the priority number, v is the speed of sound;

[0030] The Wait_Time is specifically explained as follows: the waiting time is considered to be composed of two parts, one of which is the time that other nodes wait after receiving the data packet when the data packet has not reached the node with the highest priority, and the other is the time that the highest priority node successfully forwards the message to other low priority nodes. The first part of the time can be obtained in practice through the timestamp in the data packet and the clock of the node, that is, (tb -t i ), the second part considers a worst case scenario, where the distance between the node with the highest priority and the node with the lowest priority is 2R, where R is the communication radius of the node. 2R is divided into several parts according to the node degree, and then the number of parts is determined according to the priority.

[0031] The beneficial effects of the present invention are:

[0032] Different from all the depth-based routing protocols in the existing technologies, this algorithm adopts a completely different technical idea from the previous algorithms. In route selection, the node degree is added to the selection criteria, and nodes with high node degrees are selected to prevent the occurrence of voids. For the redundant forwarding phenomenon, the waiting time is optimized through the delay between neighboring nodes, and the forwarding of the same data packets by low-priority nodes is suppressed, which reduces the occurrence of voids and redundant forwarding phenomena, saves node energy, and prolongs the life cycle of the network. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0034] Figure 1 The accompanying drawing is a simplified flow chart of the method of the present invention;

[0035] Figure 2 The attached figure is a three-dimensional hydroacoustic network node deployment diagram;

[0036] Figure 3 The attached figure is a curve diagram of the delivery rate of data packets under different routing protocols;

[0037] Figure 4 The attached figure is a graph showing the total energy consumption in the network under different routing protocols;

[0038] Figure 5 The attached figure is a curve diagram of the number of surviving nodes in the network under different routing protocols. DETAILED DESCRIPTION

[0039] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0040] Example 1

[0041] A method for avoiding the void problem and redundant forwarding problem in an underwater wireless sensor network by using the node degree and the delay information between neighbor nodes. Figure 1 As shown, the following steps are included:

[0042] Step 1: All nodes in the network are initialized and broadcast the control information data packet ctr1_packet to the network.

[0043] Step 2: After receiving the control information packet from the network, the node extracts the information in the packet, obtains its own forward neighbor node, records the node degree and replies to the node with the control information packet ctr2_packet.

[0044] Step 3: The node that receives the control information data packet ctr2_packet establishes a feature set according to the content in the data packet.

[0045] Step 4: Each node relies on sensors to detect the surrounding environment, and when data to be transmitted is generated, the attribute value ATT is calculated. After the attribute value is calculated, the attribute value of the forward neighboring nodes within one hop range is sorted according to the order of the attribute value.

[0046] Step 5: The node with a larger attribute value has a higher priority. The source node selects the node with a larger priority as the next hop forwarding node and puts the main information into the data packet for transmission.

[0047] Step 6: When the neighbor node of the source node receives the data packet, it extracts the information in the data packet, calculates the waiting time Wait_Time and starts the timer.

[0048] Step 7: The node whose waiting time expires first forwards the data packet and sends a message of successful forwarding to the network. After other nodes receive the message of successful forwarding, they stop the timer.

[0049] Step 8: The node that forwards the data packet acts as the source node for the next hop transmission and repeats steps 4 to 9 until the data packet reaches the destination node.

[0050] In a specific embodiment, the specific process of initialization in step 1 and the content of the control information data packet ctr1_packet are as follows: Initialization means that each node obtains its own depth information through its own pressure sensor and obtains its own remaining energy through its own energy sensing system. The main contents of the control information data packet ctr1_packet are: data packet sequence number, source node sequence number, depth information, remaining energy and timestamp.

[0051] In a specific embodiment, the specific process of obtaining the forward neighbor nodes in step 2 and the main content of the control information data packet ctr2_packet are: by extracting the depth information contained in the data packet and comparing it with the own depth, the neighbor nodes with a smaller depth than the own depth are called forward neighbor nodes, and the number of forward neighbor nodes is called node degree. The control information data packet ctr2_packet mainly includes: data packet sequence number, source node sequence number, depth information, remaining energy, node degree and timestamp.

[0052] In a specific embodiment, the feature set in step 3 includes: the sequence number, residual energy, depth, node degree and delay of the neighbor node, wherein the delay is obtained by the difference between the timestamps in the control packet ctr1_packet and the control packet ctr2_packet.

[0053] In a specific embodiment, the calculation formula of the attribute value ATT in step 4 is specifically expressed as:

[0054] ATT=K1*(D j -D i )+K2*Q i +K3*E i ;

[0055] In the formula, K1, K2, K3 are weight coefficients and their sum is 1, D j is the depth of the source node, D i is the depth of the positive neighbor node, Q i is the node degree of the forward depth neighbor node, E i is the remaining energy of the forward neighbor node.

[0056] In a specific embodiment, the specific information contained in the data packet in step 5 is: data packet sequence number, source node sequence number, delay, priority sorting information, sequence number of the next hop forwarding node and timestamp. The delay refers to the delay from the node to the next hop forwarding node, and the priority sorting information refers to all sorting information.

[0057] In a specific embodiment, the calculation formula of the waiting time Wait_Time in step 6 is specifically expressed as:

[0058]

[0059] In the formula, t b is the time it takes for a data packet to travel from the source node to the node with the highest priority, t i is the time it takes for a data packet to travel from the source node to itself, t i The difference between the timestamp in the data packet and the clock itself is calculated. R is the transmission radius of the node, Q iis the node degree, m i is the priority number, and v is the speed of sound.

[0060] The specific explanation of the waiting time Wait_Time is: the waiting time is considered to be composed of two parts, one of which is the time other nodes wait after receiving the data packet when the data packet has not reached the node with the highest priority, and the other part is the time it takes for the highest priority node to successfully forward the message to other low-priority nodes. In practice, the first part of the time can be obtained through the timestamp in the data packet and the clock of the node, that is, (t b -t i ), the second part considers a worst case scenario, where the distance between the node with the highest priority and the node with the lowest priority is 2R, where R is the communication radius of the node. 2R is divided into several parts according to the node degree, and then the number of parts is determined according to the priority.

[0061] Example 2

[0062] Using the method of avoiding the void problem and the redundant forwarding problem of the present invention, the underwater sensor nodes and the floating nodes are deployed in a space of 200*200*200 in the simulation scene, wherein the underwater nodes are deployed at random depths below the water surface, the floating nodes are deployed on the sea surface of 200*200, and the shore-based control center is deployed in the center of the sea surface. The number of underwater nodes is 200, and the number of floating nodes is 20. The sending power of the underwater node is 2w, the receiving power is 0.1w, the water sound speed is 1500m / s, the transmission radius of the underwater node is 70m, the initial energy of the node is 100J, the size of the data packet is set to 256bytes, and the size of the control packet is set to 25bytes.

[0063] Depend on Figure 3 It can be seen that, with the advancement of time, the delivery rate of each method changes to a certain extent. Under the same initial conditions, the method proposed in the present invention can improve the delivery rate of data packets, so that the delivery rate of the overall network is at a relatively high level. For the method proposed in the present invention, the selection criteria of node degree are added to the routing selection stage, which reduces the occurrence of voids in the network and greatly improves the delivery rate of data packets. It can be seen from the simulation results that in the specific embodiment, the delivery rate of each round is between 79% and 97%, and the optimization effect is good.

[0064] Depend on Figure 4 It can be seen that as time goes by, the total energy consumption of each method increases. Under the same initial conditions, the method proposed in the present invention can reduce the energy consumed by the entire network and keep the overall energy consumption at a lower level. For the method proposed in the present invention, the waiting time is optimized according to the delay between neighbor nodes, which reduces the occurrence of redundant forwarding, avoids the transmission of duplicate data packets, and saves energy consumption.

[0065] Depend on Figure 5 It can be seen that as time goes by, the number of surviving nodes of each method is decreasing. Under the same initial conditions, the method proposed in the present invention can slow down the rate of decrease of the number of surviving nodes, so that the number of surviving nodes in the network is at a higher level. The method proposed in the present invention avoids the occurrence of voids and redundant forwarding, avoids energy waste in the network, and makes the number of surviving nodes greater than other methods.

Claims

1. A method for avoiding void problems and redundant forwarding problems in wireless sensor networks. It is characterized in that The following steps are involved: Step 1: All nodes in the network are initialized and the control information data packet ctr1_packet is broadcast to the network; Step 2: After receiving the control information packet from the network, the node extracts the information in the packet, obtains its own forward neighbor node, records the node degree and replies to the node with the control information packet ctr2_packet; Step 3: The node that receives the control information packet ctr2_packet establishes a feature set based on the content of the packet; Step 4: Each node relies on sensors to detect the surrounding environment. When data to be transmitted is generated, the attribute value ATT is calculated. After the attribute value is calculated, the attribute value of the forward neighboring nodes within one hop range is sorted according to the attribute value size. Step 5: The node with a larger attribute value has a higher priority. The source node selects the node with a larger priority as the next hop forwarding node and puts the main information into the data packet for transmission; Step 6: When the neighbor node of the source node receives the data packet, it extracts the information in the data packet, calculates the waiting time Wait_Time and starts the timer; Step 7: The node whose waiting time expires first forwards the data packet and sends a message of successful forwarding to the network. After other nodes receive the message of successful forwarding, they stop the timer. Step 8: The node that forwards the data packet acts as the source node for the next hop transmission and repeats Step 4 to Step 7 until the data packet reaches the destination node.

2. A method for avoiding void problems and redundant forwarding problems in a wireless sensor network according to claim 1, Features: The specific process of initialization in Step 1 is as follows: Initialization means that each node obtains its own depth information through its own pressure sensor and obtains its own remaining energy through its own energy sensing system; The main contents of the control information data packet ctr1_packet are: data packet sequence number, source node sequence number, depth information, remaining energy and timestamp.

3. A method for avoiding void problems and redundant forwarding problems in a wireless sensor network according to claim 1, Features: The specific process of obtaining the forward neighbor nodes of the self in Step 2 and the main contents of the control information data packet ctr2_packet are as follows: by extracting the depth information contained in the data packet and comparing it with the self-depth, the neighbor nodes with a smaller depth than the self are called forward neighbor nodes, where the number of forward neighbor nodes is called node degree; The control information data packet ctr2_packet mainly includes: data packet sequence number, source node sequence number, depth information, remaining energy, node degree and timestamp.

4. A method for avoiding void problems and redundant forwarding problems in a wireless sensor network according to claim 1, Features: The specific contents included in the feature set in Step 3 are: the sequence number, residual energy, depth, node degree and delay of the neighbor node; wherein the delay is obtained by the difference between the timestamps in the control packet ctr1_packet and the control packet ctr2_packet.

5. A method for avoiding void problems and redundant forwarding problems in a wireless sensor network according to claim 1, Features: The calculation formula of the attribute value ATT in Step 4 is specifically expressed as: AT=K 1 *(D j -D i )+K 2 *Q i +K 3 *E i ; In the formula, K 1 ,K 2 ,K 3 is the weight coefficient and satisfies the sum of 1, D j is the depth of the source node, D i is the depth of the positive neighbor node, Q i is the node degree of the forward depth neighbor node, E i is the remaining energy of the forward neighbor node.

6. A method for avoiding void problems and redundant forwarding problems in a wireless sensor network according to claim 1, It is characterized in that The specific information contained in the data packet in Step 5 is: data packet sequence number, source node sequence number, delay, priority sorting information, next hop forwarding node sequence number and timestamp; wherein the delay refers to the delay from the node to the next hop forwarding node, and the priority sorting information refers to all sorting information.

7. A method for avoiding void problems and redundant forwarding problems in a wireless sensor network according to claim 1, Features: The calculation formula of the waiting time Wait_Time in Step 6 is specifically expressed as: In the formula, t b is the time it takes for a data packet to travel from the source node to the node with the highest priority, t i is the time it takes for a data packet to travel from the source node to itself, t i The difference between the timestamp in the data packet and the clock itself is calculated. R is the transmission radius of the node, Q i is the node degree, m i is the priority number, v is the speed of sound; The Wait_Time is specifically explained as follows: the waiting time is considered to be composed of two parts, one of which is the time other nodes wait after receiving the data packet when the data packet has not reached the node with the highest priority, and the other is the time it takes for the forwarded message to be transmitted to other low-priority nodes after the node with the highest priority successfully forwards it; The first part of the time is actually obtained through the timestamp in the data packet and the clock of the node, that is, (t b -t i ), the second part considers a worst case scenario, where the distance between the node with the highest priority and the node with the lowest priority is 2R, where R is the communication radius of the node. 2R is divided into several parts according to the node degree, and then the number of parts is determined according to the priority.

Citation Information

Patent Citations

  • Underwater sensor network routing method based on multiple underwater autonomous vehicles

    CN109769222A

  • Underwater sensor network routing protocol based on dynamic network hole avoidance

    CN110461009A

  • Opportunistic routing method for ocean underwater wireless sensing network based on reinforcement learning

    CN112188583A

  • Opportunistic routing method based on directional transmission in underwater acoustic sensor network

    CN113766597A

  • Underwater wireless sensor network routing method based on multi-agent reinforcement learning

    CN115843083A