A multi-modal sensor optimization deployment method and system based on double-layer optimization
Through the two-layer optimization method and the two-population NSGA-II algorithm, the cost and service quality optimization model of WSNs is constructed, which solves the economic and service quality needs of sensor deployment in border areas, optimizes sensor deployment, and improves network coverage and reliability. sex.
Patent Information
- Application Number
- CN202411086432.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-08
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-08-08
AI Technical Summary
The existing WSNs optimization deployment model cannot meet the economic needs and network service quality needs of sensor deployers and border guards in the border area, especially in terms of network coverage, reliability and life cycle.
The two-layer optimization method is adopted to build the upper cost optimization model and the lower network service quality optimization model, and solve it through the dual-population NSGA-II multi-objective optimization algorithm to form a two-layer planning model to optimize sensor deployment.
It achieves a balance between meeting sensor deployment costs and network service quality, optimizes sensor types, quantity and deployment location, improves network coverage, reliability and life cycle, and meets the needs of border areas.
Smart Images

Figure CN118612755B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of WSNs optimization deployment, and in particular relates to a multi-modal sensor optimization deployment method and system based on double-layer optimization. Background Art
[0002] Wireless Sensor Networks (WSNs) are self-organizing networks consisting of a large number of sensor nodes. These sensor nodes usually have the ability to sense, process data, and communicate, and can collaboratively collect and transmit information. WSNs are widely used in environmental monitoring, health care, smart homes, industrial automation, reconnaissance and other fields. The design and deployment of WSNs need to consider many factors, including node deployment strategy, communication protocols, data collection and transmission mechanisms, energy consumption management, network security, etc. Optimizing the deployment of WSNs can improve the performance and efficiency of the network and ensure that the network can meet the needs of specific applications.
[0003] The development of optimized deployment of WSNs has promoted the application of large-scale sensor networks and has had a significant impact on the cost of sensor deployment. The multi-source heterogeneous WSNs optimized deployment model oriented towards network service quality, that is, network coverage index, network reliability index and network life cycle as optimization targets, will not be able to meet the requirements.
[0004] In particular, for WSNs deployment in border areas, local sensor deployers and border defense entities have requirements for sensor deployment economy and network service quality, respectively. Summary of the invention
[0005] In order to overcome the shortcomings of the prior art, the present invention provides a multimodal sensor optimization deployment method and system based on double-layer optimization, respectively constructs an upper-layer cost optimization model and a lower-layer network service quality optimization model, and adopts a double-population NSGA-Ⅱ multi-objective optimization algorithm to solve the double-layer optimization model.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions:
[0007] A multimodal sensor optimization deployment method based on double-layer optimization, comprising:
[0008] Construct a WSNs cost model, the WSNs cost model is:
[0009] ;
[0010] in, is the WSNs cost model, The manufacturing cost of heterogeneous sensors is For heterogeneous WSNs deployment cost, Maintaining costs for heterogeneous WSNs;
[0011] Based on the WSNs cost model, construct a cost objective function;
[0012] Based on network coverage indicators , Network reliability index and the network life cycle , construct the optimization objective function;
[0013] And based on the two-layer optimization model, a two-layer programming model is formed according to the cost objective function and the optimization objective function.
[0014] Furthermore, the cost objective function is:
[0015] ;
[0016] in, is the cost objective function, is the sensor type, Optimize the formula for the upper layer, and is the corresponding geometric position of the deployment node, As a conditional requirement, It is a resource constraint of type.
[0017] Furthermore, the optimization objective function is:
[0018]
[0019] in, To optimize the objective function, Optimize the formula for the lower layer, For space constraints, For information transmission constraints, To cover the demand constraints.
[0020] Furthermore, the two-level programming model is:
[0021] .
[0022] Furthermore, it also includes:
[0023] Based on the dual-population improved NSGA-Ⅱ and the two-level planning model, the types and quantities of sensors to be deployed and the corresponding deployment locations are output.
[0024] Furthermore, the dual-population improved NSGA-II includes:
[0025] Selecting the upper population based on a cost priority selection strategy to obtain an optimal solution of the cost objective function, wherein the optimal solution includes a first sensor type and a first quantity;
[0026] Based on the first sensor type and the first quantity, encoding is performed to generate a lower population;
[0027] and iterating the lower population based on the optimization objective function;
[0028] When a preset iteration termination condition is met, outputting a second sensor type, a second quantity, and a corresponding deployment position;
[0029] When the preset iteration termination condition is not met, a Pareto non-dominated solution set is generated, and the Pareto non-dominated solution set is incorporated into the upper population.
[0030] Furthermore, the dual-population improved NSGA-II also includes:
[0031] Initializing the upper population to obtain a population code;
[0032] And a single-point crossover operator and a polynomial mutation operator are used to perform crossover and mutation operations on the population coding.
[0033] Furthermore, the cost-first selection strategy includes:
[0034] The fitness value of the solution is composed of the total cost of WSNs, network coverage index, network reliability index and network life cycle index. , ,like , if and only if:
[0035] ① The total cost of WSNs is less than ;
[0036] ② The total cost of WSNs is equal to , but the network coverage index is better than ;
[0037] ③ The total cost of WSNs and the network coverage index are equal to , but the network reliability index is better than ;
[0038] ④ The total cost, network coverage index and network reliability index of WSNs are equal to , but the network life cycle indicator is better than .
[0039] In addition, the present invention also provides a system for applying the above-mentioned multimodal sensor optimization deployment method based on double-layer optimization, comprising:
[0040] The cost model building module is used to build a WSNs cost model, and the WSNs cost model is:
[0041] ;
[0042] in, is the WSNs cost model, The manufacturing cost of heterogeneous sensors is For heterogeneous WSNs deployment cost, Maintaining costs for heterogeneous WSNs;
[0043] A cost objective function building module, used for building a cost objective function based on the WSNs cost model;
[0044] An optimization objective function construction module is used to construct an optimization objective function based on network coverage indicators, network reliability indicators, and network life cycle;
[0045] And a two-layer programming model forming module is used to form a two-layer programming model based on the two-layer optimization model according to the cost objective function and the optimization objective function.
[0046] In the present invention, by constructing a two-layer planning model to construct sensor deployment optimization, the problem of sensor deployment optimization in border areas can be solved, and the economic requirements of sensor deployment and the WSNs network service quality requirements of the sensor deployer and the local border defense entity are met respectively. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention, but do not constitute an improper limitation of the present invention. In the drawings:
[0048] Figure 1 The method flow of the present invention Figure 1 ;
[0049] Figure 2 FIG. 1 is a diagram showing an example of the composition of the WSNs cost model of the present invention;
[0050] Figure 3 This is an example diagram of the double-layer programming model of the present invention;
[0051] Figure 4 The method flow of the present invention Figure 2 ;
[0052] Figure 5The method flow of the present invention Figure 3 ;
[0053] Figure 6 The method flow of the present invention Figure 4 ;
[0054] Figure 7 is an example diagram of the coding of the population of the present invention;
[0055] Figure 8 1 is an example diagram of the CrOv1 crossover operator and the polynomial mutation operator of the present invention, wherein (a) is an example diagram of the CrOv1 crossover operator, and (b) is an example diagram of the polynomial mutation operator;
[0056] Fig. 9 is pseudo code;
[0057] Fig.10 It is a structural diagram of the system of the present invention. DETAILED DESCRIPTION
[0058] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0059] In the description of the present invention, it should be understood that the orientation or positional relationship indicated by the terms and the like is based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device, element, module, system, platform or device referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. The following description of the present invention is only understood as a description of individual embodiments of the technical solution of the present invention. Other embodiments are not reflected in the following description, but it does not mean that the present invention excludes these other embodiments, and the technical solution of the present invention is not limited to the specific implementation methods described below, and the protection scope of the present invention is not limited to only the specific implementation methods described below. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work should belong to the scope of protection of the present invention.
[0060] It should be noted that if the terms "first", "second", etc. appear in the specification and claims of the present invention and the above-mentioned drawings, the description is only used to distinguish similar objects, and is not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0061] The present invention is mainly aimed at optimizing the deployment of sensors in border areas, wherein the sensor deployer and the local border defense entity have economic requirements for sensor deployment and WSNs network service quality requirements respectively.
[0062] Specifically, for the sensor deployment party, the deployment problem analysis is mainly guided by the sensor deployment cost, with the goal of reducing the deployment cost as much as possible; while for the border defense entity, the WSNs network service quality is guided, with the goal of improving the network coverage index, network reliability index and network life cycle as much as possible. It can be seen that the needs of both parties restrict and influence each other. For specific tasks, the deployed WSNs need to meet specific requirements: if the network coverage index is required to reach 80% or above, how to deploy heterogeneous sensors to minimize the total cost; if sensor resources are limited, how to deploy to achieve the maximum network efficiency, etc.
[0063] In some embodiments, Figure 1 As shown, a multimodal sensor optimization deployment method based on double-layer optimization includes:
[0064] S1: Construct WSNs cost model;
[0065] Specifically, in the problem of sensor deployment requirements, for multi-source heterogeneous sensors, heterogeneity refers not only to differences in detection and communication ranges, but also to differences in manufacturing costs; according to the regional division in the complex terrain model, the deployment difficulty of different regions varies greatly, and there are different deployment costs of sensors; at the same time, after WSNs are deployed, different deployment locations and network topologies affect the network life cycle, and there are different sensor maintenance costs. Therefore, the WSNs cost model can be composed of sensor manufacturing cost, sensor deployment cost, and sensor maintenance cost, such as Figure 2 shown.
[0066] The WSNs cost model can be expressed as:
[0067] ;
[0068] in, is the WSNs cost model, The manufacturing cost of heterogeneous sensors is For heterogeneous WSNs deployment cost, Maintaining costs for heterogeneous WSNs.
[0069] The total manufacturing cost of heterogeneous sensors is Indicates Manufacturing cost of sensor per type, Representing the manufacturing cost of a unit relay node, the total manufacturing cost can be obtained as:
[0070]
[0071] According to the complex terrain model, the accessible area is the deployable area, which includes key areas. The following constructor Indicates the different deployment costs in different deployment areas:
[0072]
[0073] Therefore, the sensor deployment cost It is expressed as:
[0074]
[0075] Maintenance cost for sensor networks It is inversely proportional to the network life cycle, that is, the longer the network life cycle, the lower the sensor network maintenance frequency, and the lower the maintenance cost. Assume that the single maintenance cost of WSNs is , according to the network life cycle model, the actual operation cycle of the network for:
[0076]
[0077] Therefore, the maintenance cost of WSNs It is expressed as:
[0078] .
[0079] S2: Based on the WSNs cost model, construct a cost objective function;
[0080] The cost objective function is:
[0081] ;
[0082] in, is the cost objective function, is the sensor type, Optimize the formula for the upper layer, and is the corresponding geometric position of the deployment node, As a conditional requirement, It is a resource constraint of type.
[0083] Specifically, we first optimize the variables. According to the cost optimization goal, the optimization variables in the model include the types of sensors to be deployed. And the corresponding number, number of deployed relay nodes, and corresponding geometric positions of deployed nodes Among them, sensor types And the corresponding number, the number of deployed relay nodes is a decision variable, expressed as:
[0084]
[0085]
[0086] The number of sensors deployed is And the first The number of deployments corresponding to the type is ,in Therefore, the total number of deployed sensors is , the number of deployed relay nodes is .
[0087] Secondly, we construct constraints. The types of sensors that can be deployed are given. Cannot exceed the category limit, so set category resource constraints :
[0088]
[0089] Finally, the objective function is established. For the upper layer cost optimization model, the optimization goal is to minimize the WSNs cost. Based on the WSNs cost model, the total cost of WSNs The objective function is constructed from three parts: sensor manufacturing cost, deployment cost, and maintenance cost. And the optimization problem model:
[0090]
[0091] S3: Based on network coverage indicators , Network reliability index and the network life cycle , construct the optimization objective function;
[0092] The optimization objective function is:
[0093]
[0094] in, To optimize the objective function, Optimize the formula for the lower layer, For space constraints, For information transmission constraints, To cover the demand constraints.
[0095] Specifically, we first construct the decision variables. For the lower-level QoS optimization model, the decision variables are the deployment locations of sensors (relay nodes). , expressed as:
[0096]
[0097] in Respectively represent The deployment location of the sensor node, i.e. , .
[0098] Next, construct constraints.
[0099] Space constraints :That is, the deployed sensors and relay nodes cannot exceed the scope of the deployable area. Assume and are the minimum and maximum horizontal and vertical coordinates of the deployable area respectively, then the constraint can be expressed as:
[0100] ;
[0101] Information transmission constraints :That is, at least the single connectivity of WSNs must be guaranteed. According to the network connectivity matrix: And the matrix ,in is the total number of deployed nodes, . This constraint is expressed as:
[0102] ;
[0103] Covering demand constraints : That is, the border defense entities have established requirements for the coverage of the accessible areas and key areas of the WSNs network, and need to meet a certain coverage level ( are the corresponding thresholds of the reachable area coverage and key area coverage respectively), expressed as follows:
[0104] .
[0105] Finally, the objective function is established. According to the requirements of border defense entities for improving the quality of WSNs network services, based on the multi-source heterogeneous sensor optimization deployment model, the main optimization objectives in the lower-layer QoS optimization model are: -Network coverage indicators and optimization goals -Network reliability indicators and optimization goals -Network life cycle. Therefore, the optimization objective can be constructed as follows:
[0106]
[0107]
[0108]
[0109] According to the optimization goal , construct the lower-level multi-objective optimization problem As follows:
[0110] .
[0111] S4: Based on the two-layer optimization model, a two-layer programming model is formed according to the cost objective function and the optimization objective function.
[0112] The two-level programming model is:
[0113] .
[0114] The two-level programming model is Figure 3 The model example is shown in the figure.
[0115] The present invention proposes an optimization method for the demand for optimized deployment of WSNs in actual application scenarios. It considers the needs from the perspectives of WSNs deployers and users, that is, to achieve a balance between the total cost of WSNs and the quality of network services. By combining the demand analysis content of sensors with the two-layer optimization model, a sensor deployment model based on two-layer optimization is proposed to meet the demand for optimized deployment of WSNs.
[0116] In some embodiments, Figure 4 As shown, the method also includes:
[0117] S5: Based on the dual-population improved NSGA-Ⅱ and the two-level planning model, output the type and quantity of sensors to be deployed and the corresponding deployment locations.
[0118] In some embodiments, Figure 5 As shown, the dual-population improved NSGA-Ⅱ includes:
[0119] S51: Selecting the upper population based on the cost priority selection strategy to obtain an optimal solution of the cost objective function, wherein the optimal solution includes a first sensor type and a first quantity;
[0120] S52: Based on the first sensor type and the first quantity, perform encoding to generate a lower population; and:
[0121] S53: Iterating the lower population based on the optimization objective function;
[0122] S54: Determine whether a preset iteration termination condition is met;
[0123] S55: If yes, output the second sensor type, second quantity and corresponding deployment position;
[0124] S56: No, generate a Pareto non-dominated solution set, and merge the Pareto non-dominated solution set into the upper population.
[0125] The above-mentioned preset iterative termination condition is the overall termination condition of the dual-population improved NSGA-Ⅱ. If there is a solution in the obtained Pareto non-dominated solution set that can meet the deployment requirements, the iteration is terminated, otherwise the iteration continues.
[0126] In some embodiments, Figure 6 As shown, the dual population improved NSGA-Ⅱ also includes:
[0127] S501: Initialize the upper population to obtain a population code;
[0128] Specifically, set the encoding length of the population to a fixed value ,in is the maximum number of deployable nodes. There are two encoding situations: Case 1: the number of deployed nodes does not reach , then the code is supplemented (the gene is 0) until the length reaches a uniform value; Case 2, the number of deployed nodes is equal to , no further operation is required. The population coding diagram is as follows Figure 7 Repeat this coding until the population size reaches the requirement.
[0129] S502: Use a single-point crossover operator and a polynomial mutation operator to perform crossover and mutation operations on the population code.
[0130] Specifically, a crossover single-point crossover operator can be constructed. The crossover operator is based on the single-point crossover in binary crossover. Assume that the two chromosomes The number of deployed nodes is And both reached ,exist The crossover index value is randomly generated within the interval to perform single-point crossover. Secondly, for the mutation operation, the polynomial mutation operator is still used, but the chromosome to be mutated is Limited to Intragenic, that is, no mutation is performed on the added gene, such as Figure 8 shown.
[0131] In some embodiments, the cost-first selection strategy includes:
[0132] The fitness value of the solution is composed of the total cost of WSNs, network coverage index, network reliability index and network life cycle index. , ,like , if and only if:
[0133] ① The total cost of WSNs is less than ;
[0134] ② The total cost of WSNs is equal to , but the network coverage index is better than ;
[0135] ③ The total cost of WSNs and the network coverage index are equal to , but the network reliability index is better than ;
[0136] ④ The total cost, network coverage index and network reliability index of WSNs are equal to , but the network life cycle indicator is better than .
[0137] If there is still a different optimal cost solution after selecting according to the above strategy, one of the solutions is randomly selected to provide the corresponding sensor type and number parameters for the lower layer optimization. Therefore, the strategy of the present invention ensures that the optimal cost solution in the population enters the lower layer optimization iteration.
[0138] Specifically, the dual-population improved NSGA-Ⅱ proposed for the dual-level optimization problem performs iterative calculations through parameter interaction between the dual populations to give the final demand deployment solution. Its pseudo code is as follows: Fig. 9 shown.
[0139] In some embodiments, Fig.10 As shown, the present invention also provides a system 1 for applying the above-mentioned multimodal sensor optimization deployment method based on double-layer optimization, comprising:
[0140] A cost model building module 11 is used to build a WSNs cost model;
[0141] A cost objective function construction module 12 is used to construct a cost objective function based on the WSNs cost model;
[0142] An optimization objective function construction module 13 is used to construct an optimization objective function based on a network coverage index, a network reliability index, and a network life cycle;
[0143] And a two-layer programming model forming module 14 is used to form a two-layer programming model based on the two-layer optimization model according to the cost objective function and the optimization objective function.
[0144] Optionally, specific examples in the present invention may refer to the examples described in the above embodiments and optional implementation modes.
[0145] The specific embodiments of the present invention described above are for description only and do not represent the advantages or disadvantages of the embodiments.
[0146] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0147] In the several embodiments provided by the present invention, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the system embodiments described above are only exemplary, for example, multiple devices can be combined or integrated into another system, or some features can be ignored or not executed.
[0148] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A multimodal sensor optimization deployment method based on double-layer optimization, characterized in that: include: Construct a WSNs cost model, the WSNs cost model is: ; in, is the WSNs cost model, The manufacturing cost of heterogeneous sensors is For heterogeneous WSNs deployment cost, Maintaining costs for heterogeneous WSNs; Based on the WSNs cost model, construct a cost objective function; Based on network coverage indicators , Network reliability index and the network life cycle , construct the optimization objective function; and forming a two-level programming model based on the two-level optimization model according to the cost objective function and the optimization objective function; The cost objective function is: ; in, is the cost objective function, is the sensor type, Optimize the formula for the upper layer, and is the corresponding geometric position of the deployment node, As a conditional requirement, for the type of resource constraints; The optimization objective function is: ; in, To optimize the objective function, Optimize the formula for the lower layer, For space constraints, For information transmission constraints, To cover demand constraints; The two-level programming model is: 。 2. The multimodal sensor optimization deployment method based on double-layer optimization according to claim 1 is characterized in that: Also includes: Based on the dual-population improved NSGA-Ⅱ and the two-level planning model, the types and quantities of sensors to be deployed and the corresponding deployment locations are output.
3. The multimodal sensor optimization deployment method based on double-layer optimization according to claim 2 is characterized in that: The dual population improved NSGA-Ⅱ includes: Selecting the upper population based on a cost priority selection strategy to obtain an optimal solution of the cost objective function, wherein the optimal solution includes a first sensor type and a first quantity; Based on the sensor types and the quantity configuration, encoding is performed to generate a lower population; and iterating the lower population based on the optimization objective function; When a preset iteration termination condition is met, outputting a second sensor type, a second quantity, and a corresponding deployment position; When the preset iteration termination condition is not met, a Pareto non-dominated solution set is generated, and the Pareto non-dominated solution set is incorporated into the upper population.
4. The multimodal sensor optimization deployment method based on double-layer optimization according to claim 3 is characterized in that: The dual population improved NSGA-Ⅱ also includes: Initializing the upper population to obtain a population code; And a single-point crossover operator and a polynomial mutation operator are used to perform crossover and mutation operations on the population coding.
5. The multimodal sensor optimization deployment method based on double-layer optimization according to claim 4 is characterized in that: The cost priority selection strategy includes: The fitness value of the solution is composed of the total cost of WSNs, network coverage index, network reliability index and network life cycle index. , ,like , if and only if: ① The total cost of WSNs is less than ; ② The total cost of WSNs is equal to , but the network coverage index is better than ; ③ The total cost of WSNs and the network coverage index are equal to , but the network reliability index is better than ; ④ The total cost, network coverage index and network reliability index of WSNs are equal to , but the network life cycle indicator is better than .
6. A system using the multimodal sensor optimization deployment method based on double-layer optimization as described in any one of claims 1 to 5, characterized in that: include: The cost model building module is used to build a WSNs cost model, and the WSNs cost model is: ; in, is the WSNs cost model, The manufacturing cost of heterogeneous sensors is For heterogeneous WSNs deployment cost, Maintaining costs for heterogeneous WSNs; A cost objective function building module, used for building a cost objective function based on the WSNs cost model; An optimization objective function construction module is used to construct an optimization objective function based on network coverage indicators, network reliability indicators, and network life cycle; and a two-level programming model forming module, used to form a two-level programming model based on the two-level optimization model according to the cost objective function and the optimization objective function; The cost objective function is: ; in, is the cost objective function, is the sensor type, Optimize the formula for the upper layer, and is the corresponding geometric position of the deployment node, As a conditional requirement, for the type of resource constraints; The optimization objective function is: ; in, To optimize the objective function, Optimize the formula for the lower layer, For space constraints, For information transmission constraints, To cover demand constraints; The two-level programming model is: 。
Citation Information
Patent Citations
A wireless sensor network topology control method based on multi-objective optimization
CN109831792A
Mobile sensor coverage enhancement method based on non-cooperative game
CN110868730A
