A link reliability optimization algorithm for wireless sensor networks based on artificial bee colony algorithm
By introducing adaptive features and the Ford and Fulkerson method into the traditional artificial bee colony algorithm, the three-dimensional problem in link reliability optimization of wireless sensor networks is solved, achieving more efficient link reliability calculation and communication reliability improvement.
Patent Information
- Application Number
- CN202111145624.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-28
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-09-28
AI Technical Summary
When solving the problem of wireless sensor network link reliability, the traditional artificial bee colony algorithm has the problem of strong global search ability but weak local search ability. It is mainly suitable for two-dimensional areas and cannot effectively solve the link reliability of three-dimensional areas. optimization problem.
By integrating the adaptability characteristics of the problem into the traditional artificial bee colony algorithm, introducing linear changing parameters and the Ford and Fulkerson method, the global and local search capabilities can be adaptively balanced to achieve three-dimensional link reliability calculation, and in the hiring bee and follower bee stages. An improved search method is adopted to improve the overall link communication reliability of the network.
It achieves more effective link reliability calculation in a three-dimensional area, is suitable for more application scenarios, improves the overall link communication reliability of wireless sensor networks, dynamically balances global and local search capabilities, and improves the algorithm's solution efficiency. .
Smart Images

Figure CN114095953B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a wireless sensor network link reliability optimization method, in particular to a wireless sensor network link reliability optimization method based on an artificial bee colony algorithm, and belongs to the technical field of Internet of Things applications. Background Art
[0002] Wireless Sensor Networks (WSNs) are a multi-hop self-organizing information perception, collection and transmission system that can obtain detailed and accurate data in a variety of environments and realize information interaction between people and the objective world. The reliability of WSN network links essentially expresses the network's ability to communicate with high quality, that is, the situation where the network transmission error rate is minimal. At the same time, network link reliability is also a criterion for evaluating the quality of service provided by wireless sensor networks. The link reliability optimization problem in complex areas is an NP-hard problem, and the artificial bee colony algorithm is often used to solve this type of problem.
[0003] The traditional artificial bee colony algorithm has the following two problems in solving this type of problem:
[0004] 1. The artificial bee colony algorithm itself has the disadvantages of strong global search capability and weak local search capability. In addition, the algorithm is not well integrated with the problem itself, and is not universal enough for different link reliability problems.
[0005] 2. The traditional solution to the link reliability problem is mainly based on the link reliability calculation in the two-dimensional area, but not in the three-dimensional area.
[0006] Therefore, in order to solve the problem of optimal deployment of WSNs link reliability, the adaptability and other characteristics of the problem are integrated into the traditional artificial bee colony algorithm. As the iteration proceeds, the algorithm automatically balances the global search and local search capabilities to achieve more effective link reliability calculation. Summary of the invention
[0007] The purpose of the present invention is to solve the above-mentioned problems and to propose a wireless sensor network link reliability optimization algorithm based on an artificial bee colony algorithm. In the present invention, characteristics such as the adaptability of the problem are integrated into the traditional artificial bee colony algorithm. As the iteration proceeds, the algorithm automatically balances the global search and local search capabilities to achieve more effective link reliability calculation.
[0008] The purpose of the present invention can be achieved by the following technical solution: A wireless sensor network link reliability optimization algorithm based on artificial bee colony algorithm, specifically comprising the following steps:
[0009] Step 1: Divide the monitored 3D area into l×w×h pixels to form a point set R a, a total of |S| sensor nodes are deployed in the network to meet the coverage and connectivity requirements of the network, S is the overall sensor node set, which is the preset sensor node set S p And the additional sensor node set S a The collection of S = S p ∪S a ;
[0010] Step 2: Preset the sensor node set S in the network p Deploy to point set R a To meet the current network coverage and connectivity requirements, follow the following steps to add nodes S based on the artificial bee colony algorithm. a The deployment maximizes the average link correctness of the network;
[0011] Step 3: Initialize the parameters of the artificial bee colony algorithm, the population number PS, the problem dimension D (in this invention, the number of additional sensors, i.e. D = |S a |), the maximum number of cycles Maxitr and the number of times the food source is not updated limit; among them, the employed bees and the follower bees each account for half of the population as NP, the scout bee is set to 1, and the algorithm fitness value is set to the average link correctness of the network. The reliability of the WSNs link is calculated from a three-dimensional perspective, so it is suitable for more application scenarios;
[0012] Step 4: In S p Based on the node set deployment, D sensors are randomly deployed in the monitoring area to generate an initial random solution as the initial food source of the artificial bee colony algorithm. A linear variation parameter is introduced in the global search part of the candidate formula, which weakens with the increase of the number of iterations. The linear factor makes the global optimization ability of the algorithm weaken appropriately with the increase of the number of iterations, and can dynamically balance the global and local optimization abilities of the algorithm with the iteration process;
[0013] Step 5: Set the average link correctness of the network to f anr As a food source, the fitness value is calculated as follows:
[0014]
[0015] Among them, f anr ∈[0,1],r i is the reliability of sensor i, defined as follows
[0016]
[0017] in, is the number of point-disjoint paths between node i and the base station, is the number of hops of the kth non-intersecting path between two devices, and err is the local channel error; the non-intersecting path algorithm is provided by the maximum flow algorithm proposed by Ford and Fulkerson, which is based on the Ford and Fulkerson method to generate the maximum point non-intersecting path, thereby improving the multi-link reliability in the WSNs communication process, and then combined with algorithm optimization, triggered from multiple links and the number of each link, comprehensively improving the link communication reliability of the overall WSNs network;
[0018] Step 6: In the hired bee stage, each hired bee generates candidate solutions using the following formula and retains better solutions through greedy selection;
[0019]
[0020] Among them, φ ij ∈[-1,1], are all random variables, y is the global optimal solution, The fitness value of the problem is introduced to flexibly adjust the algorithm search step size so that the algorithm can adapt to the variables of different problems. i is the fitness value of the i-th individual, fit min is the minimum fitness value, l = Curitr / Maxitr is a linearly changing parameter, which is adjusted according to the number of iterations of the algorithm. Maxitr is the maximum number of iterations of the algorithm, and Curitr is the number of iterations the algorithm is currently in. The improved search method is used in both the employed bee stage and the follower bee stage, so that the algorithm can adaptively balance the global and local search capabilities, so that the algorithm can fully explore the search space in the early stage and converge at a faster speed in the later stage;
[0021] Step 7: Calculate the probability that each food source will be selected by the follower bee according to the following formula;
[0022]
[0023] Step 8: When each follower bee explores the food source, it first randomly generates a random number r∈[0,1) and compares r with p i Compare, if it is equal to or greater than, then use the method in step 4 to explore the food source, that is, generate a new coverage rate, otherwise, the next follower bee will explore until the number of explorations is the same as the number of overall follower peaks;
[0024] Step 9: Scouting bee stage, when a food source has been explored multiple times and the number of times it has not been updated reaches the limit, the food source is initialized in the same way as step 3;
[0025] Step 10: Memory the node layout of the food source with the best coverage;
[0026] Step 11: The number of cycles increases by 1;
[0027] Step 12: If the number of cycles is exceeded, the best fitness value is returned and the program ends, otherwise it returns to step 5;
[0028] Step Thirteen: End.
[0029] Compared with the prior art, the present invention has the following beneficial effects:
[0030] 1. The present invention calculates the reliability of WSNs links from a three-dimensional perspective, so it is applicable to more application scenarios.
[0031] 2. The present invention introduces a linear variation parameter in the global search part of the candidate formula, which weakens as the number of iterations increases. The linear factor makes the global optimization ability of the algorithm appropriately weaken as the number of iterations increases, and can dynamically balance the global and local optimization abilities of the algorithm during the iteration process.
[0032] 3. The present invention generates the maximum point-to-point non-intersection path based on the Ford and Fulkerson method, thereby improving the multi-link reliability in the WSNs communication process, and then combines algorithm optimization, triggering from multiple links and the number of each link, to comprehensively improve the link communication reliability of the overall WSNs network.
[0033] 4. The present invention adopts an improved search method in both the employed bee stage and the follower bee stage, so that the algorithm can adaptively balance the global and local search capabilities, so that the algorithm can fully explore the search space in the early stage and converge at a faster speed in the later stage.
[0034] 5. Compared with the previous artificial bee colony algorithm process of seeking link reliability, the present invention solves the overall network link reliability problem from the three-dimensional perspective of WSNs. The invention introduces the fitness value of the food source to adjust the search process, making the global and local optimization capabilities of the solution stronger, thereby more effectively solving the coverage problem of WSNs. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to facilitate understanding by those skilled in the art, the present invention is further described below with reference to the accompanying drawings.
[0036] Figure 1 The present invention is an overall implementation flow chart of a wireless sensor network link reliability optimization algorithm based on an artificial bee colony algorithm. DETAILED DESCRIPTION
[0037] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than 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.
[0038] See also Figure 1 As shown, a wireless sensor network link reliability optimization algorithm based on artificial bee colony algorithm specifically includes the following steps:
[0039] Step 1: Divide the monitored 3D area into l×w×h pixels to form a point set R a , a total of |S| sensor nodes are deployed in the network to meet the coverage and connectivity requirements of the network, S is the overall sensor node set, which is the preset sensor node set S p And the additional sensor node set S a The collection of S = S p ∪S a ;
[0040] Step 2: Preset the sensor node set S in the network p Deploy to point set R a To meet the current network coverage and connectivity requirements, follow the following steps to add nodes S based on the artificial bee colony algorithm. a The deployment maximizes the average link correctness of the network;
[0041] Step 3: Initialize the parameters of the artificial bee colony algorithm, the population size PS, the problem dimension D (in the present invention, the number of additional sensors, i.e., D = |Sa|), the maximum number of cycles Maxitr, and the number of times the food source is not updated limit; wherein, the employed bees and the follower bees each account for half of the population size NP, the scout bee is set to 1, and the algorithm fitness value is set to the average link correctness of the network;
[0042] Step 4: In S p Based on the node set deployment, D sensors are randomly deployed in the monitoring area to generate an initial random solution, which serves as the initial food source for the artificial bee colony algorithm;
[0043] Step 5: Set the average link correctness of the network to f anr As a food source, the fitness value is calculated as follows:
[0044]
[0045] Among them, f anr ∈[0,1],r i is the reliability of sensor i, defined as follows
[0046]
[0047] in, is the number of point-disjoint paths between node i and the base station, is the number of hops of the kth non-intersecting path between two devices, err is the local channel error; the non-intersecting path algorithm is provided by the maximum flow algorithm proposed by Ford and Fulkerson;
[0048] Step 6: In the hired bee stage, each hired bee generates candidate solutions using the following formula and retains better solutions through greedy selection;
[0049]
[0050] Among them, φ ij ∈[-1,1], are all random variables, y is the global optimal solution, The fitness value of the problem is introduced to flexibly adjust the algorithm search step size so that the algorithm can adapt to the variables of different problems. i is the fitness value of the i-th individual, fit min is the minimum fitness value, l = Curitr / Maxitr is a linearly changing parameter, which is adjusted according to the number of iterations of the algorithm. Maxitr is the maximum number of iterations of the algorithm, and Curitr is the current iteration number of the algorithm;
[0051] Step 7: Calculate the probability that each food source will be selected by the follower bee according to the following formula;
[0052]
[0053] Step 8: When each follower bee explores the food source, it first randomly generates a random number r∈[0,1) and compares r with p i Compare, if it is equal to or greater than, then use the method in step 4 to explore the food source, that is, generate a new coverage rate, otherwise, the next follower bee will explore until the number of explorations is the same as the number of overall follower peaks;
[0054] Step 9: Scouting bee stage, when a food source has been explored multiple times and the number of times it has not been updated reaches the limit, the food source is initialized in the same way as step 3;
[0055] Step 10: Memory the node layout of the food source with the best coverage;
[0056] Step 11: The number of cycles increases by 1;
[0057] Step 12: If the number of cycles is exceeded, the best fitness value is returned and the program ends, otherwise it returns to step 5;
[0058] Step Thirteen: End.
[0059] The present invention calculates the reliability of WSNs links from a three-dimensional perspective, so it is applicable to more application scenarios;
[0060] The present invention introduces a linear variation parameter in the global search part of the candidate formula, which weakens as the number of iterations increases. The linear factor makes the global optimization ability of the algorithm appropriately weaken as the number of iterations increases, and can dynamically balance the global and local optimization abilities of the algorithm during the iteration process;
[0061] The present invention generates the maximum point-to-point non-intersection path based on the Ford and Fulkerson method, thereby improving the multi-link reliability in the WSNs communication process, and then combines algorithm optimization, triggering from multiple links and the number of each link, to comprehensively improve the link communication reliability of the overall WSNs network;
[0062] The present invention adopts an improved search method in both the employed bee stage and the follower bee stage, thereby enabling the algorithm to adaptively balance the global and local search capabilities, so that the algorithm can fully explore the search space in the early stage and converge at a faster speed in the later stage;
[0063] Compared with the previous artificial bee colony algorithm process of seeking link reliability, the present invention solves the overall network link reliability problem from a three-dimensional perspective of WSNs. The invention introduces the fitness value of the food source to adjust the search process, making the global and local optimization capabilities of the solution stronger, thereby more effectively solving the coverage problem of WSNs.
[0064] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. A wireless sensor network link reliability optimization method based on artificial bee colony algorithm, characterized by: The specific steps include: Step 1: Divide the monitored 3D area into l × w × h The pixels form a point set R a , a total of |S| sensor nodes are deployed in the network to meet the coverage and connectivity requirements of the network, S is the overall sensor node set, which is the preset sensor node set S p and supplement the sensor node set S a A collection of S = S p ∪ S a ; Step 2: Preset a set of sensor nodes in the network S p And deploy to the point set R a To meet the current network coverage and connectivity requirements, follow the steps below to add nodes based on the artificial bee colony algorithm. S a The deployment maximizes the average link correctness of the network; Step 3: Initialize the parameters of the artificial bee colony algorithm and the number of populations PS , problem dimension D, maximum number of cycles Maxitr and number of times the food source is not updated limit; where employed bees and follower bees each account for half of the population as NP, the number of scout bees is set to 1, and the algorithm fitness value is set to the average link correctness of the network; Step 4: S p Based on the node set deployment, D The sensors are randomly deployed in the monitoring area to generate initial random solutions, which serve as the initial food source for the artificial bee colony algorithm. Step 5: Average link correctness of the network As a food source, the fitness value is calculated as follows: (1) in, , It is a sensor The reliability of (2) in, It is at the node The number of points that do not intersect with the base station, Between two devices The number of hops of non-intersecting paths, is the local channel error; the disjoint paths are calculated by the maximum flow algorithm; Step 6: In the hired bee stage, each hired bee generates candidate solutions using the following formula and retains better solutions through greedy selection; ; in, , are all random variables, y is the global optimal solution, The problem fitness value is introduced to flexibly adjust the algorithm search step size so that the algorithm can adapt to the variables of different problems. It is i The fitness value of an individual, is the minimum fitness value, It is a linearly changing parameter, which is adjusted according to the number of iterations of the algorithm. Maxitr is the maximum number of algorithm iterations. is the iteration number that the algorithm is currently in; Step 7: Calculate the probability that each food source will be selected by the follower bee according to the following formula; ; Step 8: When each follower bee explores the food source, it first randomly generates a random number ,Will r same p i Compare, if it is equal to or greater than, then use the method in step 4 to explore the food source, that is, generate a new coverage rate, otherwise, the next follower bee will explore until the number of explorations is the same as the number of overall follower peaks; Step 9: Scouting bee stage, when a food source has been explored multiple times and the number of times it has not been updated reaches the limit, the food source is initialized in the same way as step 3; Step 10: Memory the node layout of the food source with the best coverage; Step 11: The number of cycles increases by 1; Step 12: If the number of cycles is exceeded, the best fitness value is returned and the program ends, otherwise it returns to step 5; Step Thirteen: End.
Citation Information
Patent Citations
Smart home control system based on wireless sensor network positioning
CN107147550A
Deep belief network parameter optimization method based on artificial bee colony and deep belief network parameter optimization system thereof
CN107609630A
