Node sleep scheduling method for wireless sensor networks based on clustering optimization
By calculating the degree of redundancy in the wireless sensor network and setting the nodes to a dormant state, combined with the improved multi-objective raccoon optimization algorithm to elect cluster head nodes, the cluster structure is formed and dynamically updated, which solves the waste of resources and energy efficiency caused by redundant deployment. reduces the problem and significantly extends the life of the network.
Patent Information
- Application Number
- CN202410659132.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-05-27
AI Technical Summary
In wireless sensor networks, there are problems such as resource waste caused by redundant deployment and low node energy usage efficiency in complex environments.
A wireless sensor network node dormancy scheduling method based on clustering optimization is adopted. By calculating the degree of redundancy and setting redundant nodes to a dormant state, an improved multi-objective raccoon optimization algorithm is used to elect cluster head nodes to form a cluster structure and perform data transmission during data transmission. The cluster structure is dynamically updated in stages to improve energy usage efficiency.
It effectively balances the energy consumption among wireless sensor network nodes, significantly extends the life of the network, and shows better energy management efficiency than other algorithms in simulation experiments.
Smart Images

Figure CN118250766B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a wireless sensor network node sleep scheduling method based on clustering optimization, belonging to the technical field of wireless communications. Background Art
[0002] As an emerging information acquisition and processing technology, Wireless Sensor Network (WSN) plays an increasingly important role in many fields such as environmental monitoring, military reconnaissance and intelligent transportation. WSN achieves real-time monitoring and data collection of the environment by deploying a large number of sensor nodes in a specific area. However, these sensor nodes are usually powered by batteries, and their limited energy has become a key factor restricting the widespread application of WSN. Therefore, how to effectively manage the energy consumption of sensor nodes and extend the life cycle of the network is a key issue in the field of WSN.
[0003] Due to the random distribution of nodes and high-density deployment strategy, there are usually a large number of redundant nodes in wireless sensor networks. These redundant nodes not only increase unnecessary energy consumption in the process of data collection and transmission, but also cause problems such as data duplication and channel congestion, thereby reducing the overall efficiency of the network. In response to the above problems, researchers are actively exploring node scheduling strategies for wireless sensor networks. The fixed-cycle sleep scheduling is characterized by its simplicity and regularity, but lacks flexibility and cannot adapt to the dynamic changes of network conditions, which may lead to resource waste or untimely response; the second is the sleep scheduling based on network status. This method can be dynamically adjusted according to network conditions. The advantages are high energy efficiency and high adaptability, but the computational complexity is also high, which may increase additional energy consumption; the third is the sleep scheduling based on prediction, which adjusts sleep and wake-up by predicting network demand. The advantage is to respond to network demand in advance, but inaccurate prediction results may lead to poor performance, and the algorithm itself is complex and difficult to implement. Therefore, the coverage-based clustered sleep scheduling algorithm shows its superiority due to its reliable coverage capability, efficient data transmission structure and ability to effectively reduce and balance energy consumption between nodes. Summary of the invention
[0004] The technical problem to be solved by the present invention is: the waste of resources caused by redundant deployment in wireless sensor networks and the low efficiency of node energy use in complex environments. The purpose of the present invention is to provide a method for scheduling sleep of wireless sensor network nodes based on clustering optimization to solve the problems existing in the prior art.
[0005] Preferably, the present invention provides a method for scheduling sleep of wireless sensor network nodes based on clustering optimization, comprising: calculating the redundancy degree of the wireless sensor network node covered by the neighbor nodes of the wireless sensor network node according to the deployment position of the wireless sensor network node, the unified perception radius of the wireless sensor network node, the deployment position of the neighbor nodes of the wireless sensor network node and the unified perception radius of the neighbor nodes of the wireless sensor network node;
[0006] Compare the redundancy degree with a preset threshold value to determine whether the wireless sensor network node is a redundant node, and if the wireless sensor network node is determined to be a redundant node, set the wireless sensor network node to a dormant state;
[0007] Based on the three objectives of the distance from the wireless sensor network node to the cluster head, the distance from the cluster head to the sink node and the remaining energy, the improved multi-objective raccoon optimization algorithm is used to elect the cluster head node from the wireless sensor network nodes after removing the dormant nodes.
[0008] After removing the cluster head nodes and sleeping nodes in the wireless sensor network, the remaining wireless sensor network nodes select the nearest cluster head to obtain the cluster structure.
[0009] Preferably, the wireless sensor network enters the data transmission phase, the wireless sensor network nodes in the cluster send data to their respective cluster head nodes, and after the cluster head nodes receive the data sent by the wireless sensor network nodes in the cluster, they aggregate the data and send it to the sink node.
[0010] Prioritize, determine whether there is an active node, if there is an active node, after the data is aggregated and sent to the sink node, determine whether it meets the dynamic cluster update conditions;
[0011] If the dynamic cluster update condition is met, the redundancy degree is compared with a preset threshold to determine whether the wireless sensor network node is a redundant node. If the wireless sensor network node is determined to be a redundant node, the wireless sensor network node is set to a dormant state.
[0012] Preferably, the dynamic cluster update condition includes condition one and condition two, condition one refers to the existence of a newly added dead node; condition two refers to the remaining energy of any cluster head node being less than the average energy of the surviving wireless sensor network nodes in the current wireless sensor network.
[0013] Preferably, the redundancy degree of the wireless sensor network node covered by the neighbor nodes of the wireless sensor network node is calculated according to the deployment position of the wireless sensor network node, the unified perception radius of the wireless sensor network node, the deployment position of the neighbor nodes of the wireless sensor network node, and the unified perception radius of the neighbor nodes of the wireless sensor network node, including:
[0014] S201. Randomly deploy N static nodes and 1 aggregation node in the L×L square monitoring range. The node set composed of the N static nodes is: , set the perception radius of each node to , the communication radius of each node is ,and ; d(i,j) Representation Node i With Node j The distance between Indicates sensor i Perception area;
[0015] S202, computing node i The neighbor node set of:
[0016] ,
[0017] S203, calculate the redundancy level S of the node:
[0018] .
[0019] Preferably, comparing the redundancy degree with a preset threshold value to determine whether the wireless sensor network node is a redundant node, and if the wireless sensor network node is determined to be a redundant node, setting the wireless sensor network node to a dormant state, including:
[0020] The redundancy level S is compared with the preset threshold α Compare, if the redundancy level S is not less than the preset threshold α , then determine the wireless sensor network node i It is a redundant node and the wireless sensor network node is set to sleep state.
[0021] Prioritize, based on the three objectives of the distance from the wireless sensor network node to the cluster head, the distance from the cluster head to the sink node and the remaining energy, the improved multi-objective raccoon optimization algorithm is used to elect the cluster head node from the wireless sensor network nodes after removing the dormant nodes, including:
[0022] Initialize the positions of all raccoons in the search space:
[0023] ,
[0024] in X p It is p The new position of the raccoon in the search space, x p,q It is q The value of the decision variable, N COA is the number of raccoons, k is the number of decision variables,r is a random real number in the interval [0,1], lb q andub q They are q lower and upper bounds for the decision variables;
[0025] The raccoon population is represented by the population matrix X:
[0026] ,
[0027] Calculate the vector of the objective function F :
[0028] ,
[0029] In the formula, F p It is based on p The objective function value obtained by the raccoon is It is based on The objective function value obtained by each raccoon;
[0030] Update the raccoon population location based on the preset number of iterations.
[0031] Preferably, based on a preset number of iterations, the raccoon population location is updated, including:
[0032] Assuming that the position of the best member of the population is that of the iguana, mathematically simulate the position of the raccoon climbing up the tree:
[0033] ,
[0034] In the formula, is the new position of the pth raccoon, is the qth dimension of the pth raccoon’s new position, r is a random real number in the interval [0,1], Iguana represents the position of the iguana in the search space, and Iguana q is the jth dimension of Iguana, I is an integer, is the base function;
[0035] After landing, the iguana was placed in a random position in the search space;
[0036] Based on the iguana's position, the raccoon on the ground moves through the search space:
[0037] ,
[0038] ,
[0039] ,
[0040] In the formula, Iguana G for the iguana’s position on the ground; For Iguana G The qth dimension of
[0041] If the objective function value is not improved for each new position of the raccoon, the raccoon remains in its previous position:
[0042] ,
[0043] In the formula, yes The objective function value of yes The value in the objective function;
[0044] Generate random positions near each raccoon's new position in the search space:
[0045] ,
[0046] ,
[0047] In the formula, is the local lower bound of the qth decision variable, is the local upper bound of the qth decision variable, is the lower bound of the qth decision variable, is the upper bound of the qth decision variable; t is the iteration counter, and T is the preset maximum iteration value; is the new position of the pth raccoon in the second phase based on COA, is the qth dimension of the new position of the pth raccoon;
[0048] If the new position of the pth raccoon in the search space improves the objective function value, then the new position of the pth raccoon in the search space is:
[0049] ,
[0050] In the formula, is the objective function value of the qth dimension of the pth raccoon’s new position, and r is a random number in the interval [0,1];
[0051] Use the sequence generated by Tent chaos to initialize the positions of all raccoons in the search space:
[0052] ,
[0053] Among them, Z t is the chaotic sequence generated by Tent mapping, β is a random number;
[0054] Further generate the initial position X of the raccoon initial individual p,q :
[0055] ,
[0056] In the formula, X min,q for The minimum value of the sequence, X max,q for The maximum value of the sequence.
[0057] Prioritize, based on the three objectives of the distance from the wireless sensor network node to the cluster head, the distance from the cluster head to the sink node and the remaining energy, the improved multi-objective raccoon optimization algorithm is used to elect the cluster head node from the wireless sensor network nodes after removing the dormant nodes, including:
[0058] Calculate the cluster head node f(H):
[0059] ,
[0060] ,
[0061] ,
[0062] ,
[0063] In the formula, f1(H) is the first objective function, f2(H) is the second objective function, and f3(H) is the third objective function. Represents member node n i With cluster head h j The distance between is the set of elected cluster head nodes, Represents the number of elements in the set H, node n i The member node set of the cluster is , sink represents the sink node in the wireless sensor network, E(h j ) represents the cluster head h j The current remaining energy.
[0064] Prioritize, after removing the cluster head nodes and the dormant nodes in the wireless sensor network, the remaining wireless sensor network nodes select the nearest cluster head to obtain a cluster structure, including:
[0065] The cluster head node announces the selected message by broadcasting. After removing the cluster head node and redundant nodes, the remaining wireless sensor network nodes select the cluster head node nearby and send a cluster entry request.
[0066] After receiving the cluster entry request of the remaining nodes, the cluster head node regards the remaining wireless sensor network nodes after entering the cluster as member nodes, and sends a TDMA time slot table to all the remaining wireless sensor network nodes in the cluster structure.
[0067] Preferably, the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any one of the methods described in the first aspect when executing the program.
[0068] Preferably, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any one of the methods described in the first aspect.
[0069] The beneficial effects achieved by the present invention are:
[0070] In terms of simulation experiments, the present invention tests the influence of a preset threshold value α in a redundancy determination mechanism on the number of dormant nodes, and verifies that as the value of α decreases, more nodes are determined to be redundant nodes and then turned to a dormant state, which is in line with theoretical expectations. Then, the present invention applies the improved raccoon optimization algorithm to the cluster head election stage in the dormant scheduling of wireless sensor network nodes, and compares them with the original algorithm and three other different intelligent optimization algorithms as well as the LEACH protocol and PEGASIS protocol widely used in wireless sensor networks. The wireless sensor network node dormant scheduling method using the improved raccoon optimization algorithm performs best in terms of the number of surviving nodes per round, the network's remaining energy, and the energy consumed per round. The present invention not only effectively balances the energy consumption between wireless sensor network nodes, but also significantly extends the network life. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0072] Figure 1 It is a flow chart of the present invention.
[0073] Figure 2 It is the model principle diagram of the present invention.
[0074] Figure 3 The figure is a flow chart of the improved raccoon optimization algorithm in the present invention.
[0075] Figure 4 This is a comparison chart of the number of dormant nodes in each round under different thresholds α in the present invention.
[0076] Figure 5 This is a comparison chart of the number of surviving nodes in each round between the present invention and other algorithms.
[0077] Figure 6 This is a comparison chart of the network residual energy of the present invention and other algorithms.
[0078] Figure 7 This is a comparison chart of the energy consumption per round between the present invention and other algorithms. DETAILED DESCRIPTION
[0079] To facilitate the technical solution of the application, some concepts involved in the application are first explained below.
[0080] The present invention constructs an energy-efficient sleep scheduling method for wireless sensor network nodes based on cluster optimization (Energy-efficient Sleep Scheduling based Clusters and Improved Coati Optimization Algorithm, ESSC-ICOA). Firstly, redundant nodes are selected to enter a sleep state according to a redundancy judgment mechanism. Then, a multi-objective raccoon optimization algorithm (COA) is improved by combining Tent chaotic mapping and a population adaptive partitioning mechanism. After the improved multi-objective raccoon optimization algorithm (ICOA) is used to perform cluster head node election operation on active nodes in the network, the remaining wireless sensor network nodes are clustered nearby, and a cluster data transmission structure is formed. Secondly, in the data transmission stage, the wireless sensor network nodes in the cluster transmit data to the cluster head, and each cluster head aggregates the collected data and sends it to a sink node in the network. Finally, a dynamic cluster update mechanism is used to analyze the node situation in this round to determine whether a new cluster structure needs to be rebuilt.
[0081] See also Figure 1 The present application discloses a method for scheduling sleep of wireless sensor network nodes based on clustering optimization, comprising the following steps: Step S1, calculating the redundancy degree of wireless sensor network nodes in a wireless sensor network covered by neighbor nodes of the wireless sensor network nodes according to the deployment positions of wireless sensor network nodes in a monitoring range, the unified perception radius of the wireless sensor network nodes, the deployment positions of neighbor nodes of the wireless sensor network nodes, and the unified perception radius of neighbor nodes of the wireless sensor network nodes; comparing the redundancy degree with a preset threshold to determine whether the wireless sensor network node is a redundant node; if the wireless sensor network node is determined to be a redundant node, setting the wireless sensor network node to a sleep state;
[0082] Step S2, based on the distance from the wireless sensor network node to the cluster head, the distance from the cluster head to the sink node and the remaining energy, an improved multi-objective raccoon optimization algorithm is used to select a cluster head node from the wireless sensor network nodes excluding the dormant nodes;
[0083] Step S3: After excluding the cluster head node and the sleep node in the wireless sensor network, the remaining wireless sensor network nodes select the cluster head closest to them to obtain the cluster structure.
[0084] Step S4, the wireless sensor network enters the data transmission phase, which mainly includes the wireless sensor network nodes in the cluster sending data to their respective cluster head nodes. After the cluster head node receives the data sent by the wireless sensor network nodes in the cluster, it sends it to the aggregation node after data aggregation processing, completing a round of data transmission.
[0085] Step S5, determine whether there is an active node. If there is an active node, after the data is aggregated and sent to the aggregation node, determine whether it meets the dynamic cluster update conditions; if it meets the dynamic cluster update conditions, execute step S1.
[0086] After obtaining the cluster structure, it is determined whether the nodes in the wireless sensor network need to rebuild the cluster structure, including:
[0087] The dynamic cluster update mechanism needs to comprehensively analyze the current round of node conditions. If the dynamic cluster update conditions are met, the redundant nodes are re-determined and the cluster head is elected from the nodes excluding the dormant nodes based on the improved multi-objective raccoon optimization algorithm. A new cluster structure is constructed using the remaining nodes for data perception and transmission.
[0088] The dynamic cluster update conditions include condition one and condition two. Condition one: there are newly added dead nodes; condition two: the remaining energy of any cluster head node is less than the average energy of the surviving wireless sensor network nodes in the current wireless sensor network.
[0089] According to the deployment position of the wireless sensor network node, the unified perception radius of the wireless sensor network node, the deployment position of the neighbor node of the wireless sensor network node and the unified perception radius of the neighbor node of the wireless sensor network node, the redundancy degree of the wireless sensor network node covered by the neighbor node of the wireless sensor network node is calculated, including:
[0090] S201. Randomly deploy N static nodes and 1 aggregation node in the L×L square monitoring range. The node set composed of the N static nodes is: , set the perception radius of each node to , the communication radius of each node is ,and ; d(i,j) represents the distance between node i and node j; represents the sensing area of sensor i;
[0091] S202, calculate the neighbor node set of node i:
[0092] ,
[0093] S203, calculate the redundancy level S of the node:
[0094] ;
[0095] S204: compare the redundancy level S with a preset threshold α Compare, if the redundancy level S is not greater than the preset threshold α , then determine the wireless sensor network node i It is a redundant node and the wireless sensor network node is set to sleep state.
[0096] Based on the three objectives of the distance from the wireless sensor network node to the cluster head, the distance from the cluster head to the sink node and the remaining energy, the improved multi-objective raccoon optimization algorithm is used to elect the cluster head node from the wireless sensor network nodes after removing the dormant nodes, including:
[0097] S301. Initialize the positions of all raccoons in the search space:
[0098] ,
[0099] in X p It is p The new position of the raccoon in the search space, x p,q It is q The value of the decision variable, N COA is the number of raccoons, k is the number of decision variables, r is a random real number in the interval [0,1], lb q andub q They are q lower and upper bounds for the decision variables;
[0100] The raccoon population is represented by the population matrix X:
[0101] ,
[0102] Calculate the vector of the objective function F :
[0103] ,
[0104] In the formula, F p It is based on p The objective function value obtained by the raccoon is It is based on The objective function value obtained by each raccoon; S302, based on the preset number of iterations, updating the position of the raccoon population, which is divided into two different stages for updating.
[0105] 1) Phase 1: Hunting and attack strategy on iguanas (exploration phase). The first phase of updating the raccoon population in the search space is modeled based on the strategy used to simulate their attacks on iguanas. In this strategy, a group of raccoons climbed up a tree to reach an iguana and scare it. Several other raccoons waited under the tree until the iguana fell to the ground. After the iguana landed, the raccoons attacked and hunted it. This strategy caused the raccoons to move to different locations in the search space, which demonstrated the exploration ability of COA in solving the global search of the problem space. In the COA design, it is assumed that the position of the best member of the population is the position of the iguana. The position of the raccoon climbing up from the tree is mathematically simulated as follows:
[0106] ,
[0107] In the formula, is the new position of the pth raccoon, is the qth dimension of the pth raccoon’s new position, r is a random real number in the interval [0,1], Iguana represents the position of the iguana in the search space, and Iguana q is the jth dimension of Iguana, I is an integer, is the base function;
[0108] After landing, the iguana was placed in a random position in the search space;
[0109] Based on the iguana's position, the raccoon on the ground moves through the search space:
[0110] , ,
[0111] ,
[0112] In the formula, Iguana G for the iguana’s position on the ground; For Iguana G The qth dimension of
[0113] If the objective function value is not improved for each new position of the raccoon, the raccoon remains in its previous position:
[0114] ,
[0115] In the formula, yes The objective function value of yes The value in the objective function.
[0116] 2) Stage 2: The process of escaping from predators (exploitation stage)
[0117] The second phase of updating the raccoon's position in the search space is modeled based on the raccoon's natural behavior when encountering and fleeing from predators. When a predator attacks a raccoon, the raccoon flees from its original position. The raccoon's moves in this strategy put it in a safe position close to its current position, which shows the high utilization of COA in local search.
[0118] To simulate this behavior, generate random positions near each raccoon's new position in the search space:
[0119] ,
[0120] ,
[0121] In the formula, is the local lower bound of the qth decision variable, is the local upper bound of the qth decision variable, is the lower bound of the qth decision variable, is the upper bound of the qth decision variable; t is the iteration counter, and T is the preset maximum iteration value; is the new position of the pth raccoon in the second phase based on COA, is the qth dimension of the new position of the pth raccoon;
[0122] If the raccoon's new position improves the objective function value, then this condition simulates the first p The new position of the raccoons in the search space:
[0123] ,
[0124] In the formula, is the objective function value of the qth dimension of the pth raccoon’s new position, and r is a random number in the interval [0,1].
[0125] In step S301, the sequence generated by Tent chaos is used to initialize the positions of all raccoons in the search space, as shown in the following formula:
[0126] Among them, Z t is the chaotic sequence generated by Tent mapping, and β is a random number. In order to maintain the randomness of the algorithm initialization information, β The value is (0,1). Further generate the initial position X of the initial individual of the raccoon p,q , as follows:
[0127] ,
[0128] Where, Xmin,q for The minimum value of the sequence, X max,q for The maximum value of the sequence.
[0129] In step S302, the first stage raccoon position update introduces a population adaptive division mechanism. In the first stage, the number of raccoons on the tree is N COA ×V, the number of raccoons under the tree is N COA ×(1-V), V represents the proportional factor, which is defined as follows:
[0130] ,
[0131] Where V i Indicates the initial value of the ratio, V f represents the final value of the ratio, represents the adjustment coefficient, >0.
[0132] In step S3, the objective function of the improved multi-objective raccoon optimization algorithm for selecting cluster head nodes is defined as is the set of elected cluster head nodes, Represents the number of elements in the set H, node n i The member node set of the cluster is ;
[0133] The first objective function f1(H) is set to be the average transmission distance from the member nodes to their respective cluster heads. Represents member node n j With cluster head h j Distance:
[0134] ,
[0135] The second objective function f2(H) is set to be the average transmission distance from each cluster head to the sink node:
[0136] ,
[0137] The third objective function f3(H) is the average residual energy of all cluster heads, as follows:
[0138] ,
[0139] Finally, the multi-target cluster head node f(H) selection problem is:
[0140] ,
[0141] Using the above formula, the cluster head node is calculated.
[0142] In step S4, the remaining wireless sensor network nodes after excluding the cluster head node and the sleep node in the wireless sensor network select the cluster head hole closest to them to obtain a cluster structure, including:
[0143] S401, the cluster head node announces the selected message by broadcasting, and the remaining wireless sensor network nodes except the cluster head node and the redundant node select the cluster head node nearby and send a cluster entry request;
[0144] S402: After receiving the cluster joining request from the remaining nodes, the cluster head node takes the remaining wireless sensor network nodes that have joined the cluster as member nodes, and sends a TDMA time slot table to all the remaining wireless sensor network nodes in the cluster structure.
[0145] The wireless sensor network enters the data transmission stage. The wireless sensor network nodes in the cluster send data to their respective cluster head nodes. After the cluster head node receives the data sent by the wireless sensor network nodes in the cluster, it aggregates the data and sends it to the sink node, including:
[0146] After receiving the TDMA time slot table, the member nodes need to send data to their corresponding cluster head nodes within their own time slots;
[0147] After the cluster head node receives the data, it sends it to the sink node after data aggregation processing, completing a round of data transmission.
[0148] In an embodiment of the present application, the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above methods when executing the program.
[0149] In an embodiment of the present application, the present invention provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any of the above methods are implemented.
[0150] Figure 4 The influence of the redundancy determination mechanism on the number of dormant nodes in each round in the network under different preset thresholds α is demonstrated. Analysis shows that when the α value is set low, that is, when the network has a low coverage requirement, more partially redundant nodes will be determined and put into a dormant state. This reflects the key role of the threshold α in balancing energy consumption and network coverage: lower α values tend to prioritize energy conservation and reduce energy consumption by increasing the number of dormant nodes, while the impact on network coverage is relatively minor. Therefore, the setting of the threshold α is an important parameter that needs to be comprehensively considered and adjusted according to the requirements for energy efficiency and coverage in specific application scenarios.
[0151] Figure 5The number of active nodes in different rounds of LEACH, PEGASIS, ESSC-ICOA (improved raccoon optimization algorithm), ESSC-COA (original raccoon optimization algorithm), ESSC-MOALO (ant lion optimization algorithm), ESSC-MSSA (salp sea squirt optimization algorithm) and ESSC-NSWOA (whale optimization algorithm) are given. The number of rounds when half of the nodes die (HND) is used as an important indicator to consider the performance of the algorithm. The specific values are shown in the table below. It can be seen that ESSC-ICOA significantly prolongs the working time of the network compared with LEACH and PEGASIS, increasing by 68.34% and 28.32% respectively. The main reason is that ESSC-ICOA ensures that suitable nodes in the network become cluster heads, responsible for complex data collection and transmission tasks. In addition, the dynamic cluster update mechanism allows cluster heads to rotate among nodes in a timely manner, avoiding the premature exhaustion of energy in individual nodes, thereby significantly extending the life cycle of the network; compared with ESSC-COA, ESSC-MOALO, ESSC-MSSA and ESSC-NSWOA, the improvement in network working time of ESSC-ICOA reached 7.67%, 30.55%, 34.50% and 19.25% respectively, reflecting the significant advantages of the improved Raccoon optimization algorithm in improving energy efficiency compared with other intelligent optimization algorithms.
[0152]
[0153] Figure 6 The network residual energy of LEACH, PEGASIS, ESSC-ICOA, ESSC-COA, ESSC-MOALO, ESSC-MSSA and ESSC-NSWOA in different rounds is given. It can be clearly observed from the results that with the increase of the number of running rounds, the ESSC algorithm can always maintain a higher residual energy level compared with PEGASIS and LEACH. This phenomenon is mainly attributed to the sleep scheduling mechanism contained in ESSC, which avoids unnecessary energy consumption of redundant nodes and improves the efficiency of node energy use. In addition, the ESSC algorithm takes into account the distance from the member node to the cluster head and the distance from the cluster head to the sink node during the cluster head election process. This election strategy effectively reduces the high node energy consumption caused by long-distance data transmission. Secondly, compared with other intelligent optimization algorithms, the superiority of ICOA based on the original raccoon algorithm and the effectiveness of the improvement measures proposed in this paper make the cluster structure it constructs energy-saving and efficient, reducing the energy consumption in the data transmission stage.
[0154] Figure 7The network residual energy of LEACH, PEGASIS, ESSC-ICOA, ESSC-COA, ESSC-MOALO, ESSC-MSSA and ESSC-NSWOA in different rounds is given. It can be seen that compared with ESSC, PEGASIS and LEACH have a higher energy consumption per round. Using ESSC with different intelligent optimization algorithms, the energy consumption per round can be kept at a low uniform level, thanks to the synergy of node sleep scheduling, multi-target cluster head election strategy and dynamic cluster update mechanism. In this way, the energy use of each round is optimized and the energy management efficiency is effectively improved.
[0155] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
[0156] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention invented herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not invented by the present invention. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0157] The above specific implementation methods further illustrate the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above are only specific implementation methods of the present application and are not used to limit the protection scope of the present application. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present application should be included in the protection scope of the present application.
Claims
1. A wireless sensor network node sleep scheduling method based on clustering optimization, characterized in that: include: According to the deployment position of the wireless sensor network node, the unified perception radius of the wireless sensor network node, the deployment position of the neighbor node of the wireless sensor network node and the unified perception radius of the neighbor node of the wireless sensor network node, the redundancy degree of the wireless sensor network node covered by the neighbor node of the wireless sensor network node is calculated; Compare the redundancy degree with a preset threshold value to determine whether the wireless sensor network node is a redundant node, and if the wireless sensor network node is determined to be a redundant node, set the wireless sensor network node to a dormant state; Based on the three objectives of the distance from the wireless sensor network node to the cluster head, the distance from the cluster head to the sink node and the remaining energy, the improved multi-objective raccoon optimization algorithm is used to elect the cluster head node from the wireless sensor network nodes after removing the dormant nodes. After removing the cluster head nodes and the dormant nodes in the wireless sensor network, the remaining wireless sensor network nodes select the nearest cluster head to obtain the cluster structure; According to the deployment position of the wireless sensor network node, the unified perception radius of the wireless sensor network node, the deployment position of the neighbor node of the wireless sensor network node and the unified perception radius of the neighbor node of the wireless sensor network node, the redundancy degree of the wireless sensor network node covered by the neighbor node of the wireless sensor network node is calculated, including: S201. Randomly deploy N static nodes and 1 aggregation node in the L×L square monitoring range. The node set composed of the N static nodes is: , set the perception radius of each node to , the communication radius of each node is ,and ; d(i,j) Representation Node i With Node j The distance between Indicates sensor i Perception area; S202, computing node i The neighbor node set of: , S203, calculate the redundancy level S of the node: ; Based on the three objectives of the distance from the wireless sensor network node to the cluster head, the distance from the cluster head to the sink node and the remaining energy, the improved multi-objective raccoon optimization algorithm is used to elect the cluster head node from the wireless sensor network nodes after removing the dormant nodes, including: Initialize the positions of all raccoons in the search space: , in X p It is p The new position of the raccoon in the search space, x p,q It is q The value of the decision variable, N COA is the number of raccoons, k is the number of decision variables, r is a random real number in the interval [0,1], lb q andub q They are q lower and upper bounds for the decision variables; The raccoon population is represented by the population matrix X: , Calculate the vector of the objective function F : , In the formula, F p It is based on p The objective function value obtained by the raccoon is It is based on The objective function value obtained by each raccoon; Based on the preset number of iterations, the raccoon population position is updated; Based on the preset number of iterations, update the raccoon population location, including: Assuming that the position of the best member of the population is that of the iguana, mathematically simulate the position of the raccoon climbing up the tree: , In the formula, is the new position of the pth raccoon, is the qth dimension of the pth raccoon’s new position, r is a random real number in the interval [0,1], Iguana represents the position of the iguana in the search space, and Iguana q is the jth dimension of Iguana, I is an integer, is the base function; After landing, the iguana was placed in a random position in the search space; Based on the iguana's position, the raccoon on the ground moves through the search space: , , , In the formula, Iguana G for the iguana’s position on the ground; For Iguana G The qth dimension of If the objective function value is not improved for each new position of the raccoon, the raccoon remains in its previous position: , In the formula, yes The objective function value of yes The value in the objective function; Generate random positions near each raccoon's new position in the search space: , , In the formula, is the local lower bound of the qth decision variable, is the local upper bound of the qth decision variable, is the lower bound of the qth decision variable, is the upper bound of the qth decision variable; t is the iteration counter, and T is the preset maximum iteration value; is the new position of the pth raccoon in the second phase based on COA, is the qth dimension of the new position of the pth raccoon; If the new position of the pth raccoon in the search space improves the objective function value, then the new position of the pth raccoon in the search space is: , In the formula, is the objective function value of the qth dimension of the pth raccoon’s new position, and r is a random number in the interval [0,1]; Use the sequence generated by Tent chaos to initialize the positions of all raccoons in the search space: , Among them, Z t is the chaotic sequence generated by Tent mapping, β is a random number; Further generate the initial position X of the raccoon initial individual p,q : , Where, X min,q for The minimum value of the sequence, X max,q for The maximum value of the sequence; Based on the three objectives of the distance from the wireless sensor network node to the cluster head, the distance from the cluster head to the sink node and the remaining energy, the improved multi-objective raccoon optimization algorithm is used to elect the cluster head node from the wireless sensor network nodes after removing the dormant nodes, including: Calculate the cluster head node f(H): , , , , In the formula, f1(H) is the first objective function, f2(H) is the second objective function, and f3(H) is the third objective function. Represents member node n i With cluster head h j The distance between is the set of elected cluster head nodes, Represents the number of elements in the set H, node n i The member node set of the cluster is , sink represents the sink node in the wireless sensor network, E(h j ) represents the cluster head h j The current remaining energy.
2. The method for wireless sensor network node sleep scheduling based on clustering optimization according to claim 1, characterized in that: The wireless sensor network enters the data transmission stage. The wireless sensor network nodes in the cluster send data to their respective cluster head nodes. After the cluster head nodes receive the data sent by the wireless sensor network nodes in the cluster, they aggregate the data and send it to the sink node.
3. The method for wireless sensor network node sleep scheduling based on clustering optimization according to claim 2 is characterized in that: Determine whether there is an active node. If there is an active node, after the data is aggregated and sent to the aggregation node, determine whether it meets the dynamic cluster update conditions; If the dynamic cluster update condition is met, the redundancy degree is compared with a preset threshold to determine whether the wireless sensor network node is a redundant node. If the wireless sensor network node is determined to be a redundant node, the wireless sensor network node is set to a dormant state.
4. The method for wireless sensor network node sleep scheduling based on clustering optimization according to claim 3 is characterized in that: The dynamic cluster update conditions include condition one and condition two. Condition one refers to the existence of newly added dead nodes; condition two refers to the remaining energy of any cluster head node being less than the average energy of the surviving wireless sensor network nodes in the current wireless sensor network.
5. The method for wireless sensor network node sleep scheduling based on clustering optimization according to claim 1, characterized in that: Comparing the redundancy degree with a preset threshold value to determine whether the wireless sensor network node is a redundant node, if the wireless sensor network node is determined to be a redundant node, setting the wireless sensor network node to a dormant state, including: The redundancy level S is compared with the preset threshold α Compare, if the redundancy level S is not less than the preset threshold α , then determine the wireless sensor network node i It is a redundant node and the wireless sensor network node is set to sleep state.
6. The method for wireless sensor network node sleep scheduling based on clustering optimization according to claim 1, characterized in that: After removing the cluster head nodes and dormant nodes in the wireless sensor network, the remaining wireless sensor network nodes select the cluster head closest to them to obtain the cluster structure, including: The cluster head node announces the selected message by broadcasting. After removing the cluster head node and redundant nodes, the remaining wireless sensor network nodes select the cluster head node nearby and send a cluster entry request. After receiving the cluster entry request of the remaining nodes, the cluster head node regards the remaining wireless sensor network nodes after entering the cluster as member nodes, and sends a TDMA time slot table to all the remaining wireless sensor network nodes in the cluster structure.
