A multi-task dynamic multi-objective evolutionary allocation method for crowd-sensing
By adopting a dynamic multi-objective evolutionary allocation method in the crowd intelligence sensing system, dividing the sensing period and area, and combining the multi-objective evolutionary algorithm and task similarity strategy, the problem of changes in sensing task requirements and user availability is solved, and a high level of sensing tasks is achieved. Quality and low-cost allocation improve the dynamic adaptability and convergence performance of the system.
Patent Information
- Application Number
- CN202310509245.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-08
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2043-05-08
AI Technical Summary
Existing technologies are difficult to effectively allocate crowd sensing tasks in dynamic environments, especially when sensing task requirements and mobile user availability change over time, making it difficult to guarantee the completion quality and execution cost of sensing tasks.
The dynamic multi-objective evolutionary allocation method of crowd sensing multi-task is adopted. By dividing the target sensing period and area, the optimization objectives and constraints are defined, and the multi-objective evolutionary algorithm and the population initialization strategy guided by task similarity are used to generate the Pareto optimal solution. set to ensure high-quality and low-cost distribution of sensing tasks.
In a dynamic environment, it improves the completion quality of perception tasks and the ability to adjust execution costs, solves the problem that traditional methods cannot quickly track the optimal solution, improves the convergence performance of the population, and provides a better allocation plan.
Smart Images

Figure CN116541148B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a dynamic multi-objective evolutionary allocation method for crowd-sensing multi-tasks, and is specifically applicable to the allocation of dynamic concurrent multi-tasks. Background Art
[0002] Crowd-sensing uses the mobile smart terminals carried by the general public as basic sensing units, and forms a large-scale sensing network through the mobile Internet to complete complex social sensing tasks, such as urban environmental quality data collection, traffic congestion collection, etc. Due to its advantages such as easy deployment, strong scalability and low cost, it has become an important alternative or supplement to traditional wireless sensor networks. A typical crowd-sensing system usually consists of three parties: a sensing platform, a task publisher and mobile users. The task publisher publishes the sensing task on the sensing platform and gives the corresponding budget and quality requirements. The sensing platform decomposes the task and selects a group of the most suitable executors from all available mobile users to collect sensing data for the decomposed sensing task. Obviously, how to assign the sensing task to the appropriate executor is a key issue in the crowd-sensing system, which significantly affects the completion quality and execution cost of the sensing task.
[0003] As more and more task publishers begin to collect multi-dimensional crowd sensing information, the sensing platform needs to select appropriate mobile users for multiple concurrent sensing tasks under shared limited resources (such as available mobile user pool, sensing cost budget, etc.). Existing research focuses on the static multi-task allocation problem, assuming that the sensing platform knows all the sensing tasks to be assigned and the available mobile user information in advance. However, in the real world, the sensing task requirements issued by the task publisher and the availability of mobile users may change over time. For example, in general, city managers will continuously collect data such as air quality, noise level, and traffic congestion to assist city management. However, when heavy rain comes, the degree of street flooding and river water level in each area need to be monitored. In addition, some available mobile users may leave the sensing platform for some reason, while some new mobile users will appear at the same time. At this time, the allocation scheme of the sensing task must also be adjusted accordingly to ensure the completion quality and execution cost. Therefore, it is necessary to study the dynamic multi-objective allocation problem of multi-task for crowd sensing under the constraints of limited resources.
[0004] In addition, a variety of intelligent optimization methods have been studied for the task allocation problem of crowd sensing. Greedy algorithms are a widely used solution approach. The common feature of these methods is that they use certain metrics to sort mobile users. They have the advantages of simple operation and fast calculation speed, but they also have the disadvantages of being easy to fall into local optimality and unable to handle multi-objective optimization problems. As a global optimization method with implicit parallelism, evolutionary algorithms have also been tried by researchers in recent years to solve the problem of mobile crowd sensing task allocation, thereby helping the perception platform find the optimal allocation solution in a static environment. However, the existing evolutionary crowd sensing task allocation algorithms designed for static task allocation problems cannot help the population quickly track the optimal solution in a dynamic environment, which affects the convergence performance of the population. Summary of the invention
[0005] Technical problem: The purpose of the present invention is to overcome the shortcomings of the prior art and provide a crowd-sensing multi-task dynamic multi-objective evolutionary allocation method with simple operation, easy implementation and good convergence performance.
[0006] Technical solution: A dynamic multi-objective evolutionary allocation method for crowd-sensing multi-tasks of the present invention comprises the following steps:
[0007] (1) According to the task publisher's requirements for the spatiotemporal granularity of perception data, the target perception period and target perception area Sa are divided into multiple periods and a group of sub-areas, so that each perception task can be completed collaboratively by mobile users who go to each sub-area at different periods to collect perception data;
[0008] (2) A reward calculation method for mobile users to perform tasks is given, the optimization objectives and constraints of the crowd-sensing multi-task dynamic multi-objective allocation problem are defined, and a crowd-sensing multi-task dynamic multi-objective allocation model is constructed; the optimization objective of the crowd-sensing multi-task dynamic multi-objective allocation problem is to maximize the average perceived quality of all perception tasks and the average remaining budget of all perception tasks, and the constraints include that the perceived quality of each perception task must be greater than the acceptable minimum quality threshold corresponding to the perception task, the number of tasks carried by each mobile user in each time period does not exceed the maximum task carrying capacity corresponding to the mobile user, and the number of mobile users assigned to each perception task in each sub-area meets the quantity requirements;
[0009] (3) For the crowd-sensing multi-task dynamic multi-objective allocation model in step (2), based on the historical Pareto optimal solution set POS t-1 , execute the population initialization strategy guided by task similarity to generate a potential initial population Pop;
[0010] (4) Based on the obtained initial population Pop, the multi-objective evolutionary algorithm uses the problem-specific evolutionary operator to generate the offspring population, and updates the population position by comprehensively considering feasibility and diversity. It iteratively generates the offspring population and updates the population position until the maximum number of iterations G is met, and outputs the Pareto optimal solution set POS for the tth period t .
[0011] Furthermore, the step (1) specifically includes: the target perception area Sa is divided into P non-overlapping sub-areas according to the spatial granularity requirement, represented by Sa = {sa1, sa2, ..., sa P}, satisfying ∪ i s i =Sa and sa i ∩sa j =φ; At the same time, the target perception period is divided into multiple equal-length periods according to the time granularity requirements, and the tth period has M t There are sensing tasks to be assigned, represented as Ta(t)={ta1,ta2,…,ta Mt}, there are N t Available mobile users, denoted as U(t) = {u1,u2,…,u Nt}.
[0012] Furthermore, the step (2) specifically includes: providing a reward calculation method for mobile users to perform tasks, and defining the optimization objectives and constraints of the dynamic crowd intelligence sensing task allocation problem. The specific method is as follows:
[0013] Define the perception task ta i In the sub-area j The data collection in the subtask is ta ij , a ijk For mobile users k Execute ij Considering the energy cost of the mobile user to perform the subtask and the travel cost from the current location to the target location, a ijk It is composed of basic rewards and travel cost compensation:
[0014] a ijk =b k +d jk ×c0 (1)
[0015] Where: b k represents the basic reward, d jk For user u k Execute subtask ij The journey distance is c0, and the unit journey cost compensation is c1.
[0016] (2.2)Remember usijk For mobile users k For subtask ij Perception ability; perception task i According to the completion method, it can be divided into three categories: subjective feeling type, skill-based type, and device-dependent type. Mobile users u k In the sub-area j The perception ability of different types of subtasks is different, and vice versa;
[0017] (2.3) Remember the perception task ta i The perceived quality is ut i , then ut i is defined as all the i Average mobile user perception:
[0018]
[0019] Where: P is the number of sub-regions, that is, the perception task ta i The number of subtasks in the target perception area Sa, ξ is each subtask ta ij The number of mobile users to be assigned; when the subtask ta ij Assigned to mobile user u k When x ijk =1, otherwise x ijk =0;
[0020] (2.4) Taking maximizing the average perception quality and average remaining budget of all perception tasks in time period t as the optimization goal, the multi-task dynamic allocation problem of the crowd sensing system can be constructed as the following dynamic multi-objective optimization model;
[0021]
[0022] Where: M t represents the number of perception tasks in the tth period, B t represents the total budget of all perception tasks in the tth period;
[0023] (2.5) Remember the perception task ta i The minimum acceptable quality threshold is δ i , then i The perceived quality of i Must be greater than δ i , to ensure the availability of perception data:
[0024] ut i ≥δ i ,i=1,2,...,M t (4)
[0025] (2.6) Note that mobile user u k The maximum task load in time period t is ε k , then u k The number of all subtasks assigned within time period t cannot be greater than ε k :
[0026]
[0027] Where: N t represents the number of mobile users in the tth period;
[0028] (2.7) Give each subtask ta ij The number of allocated mobile users needs to reach ξ:
[0029]
[0030] Furthermore, the step (3) specifically includes: based on the historical Pareto optimal solution set, executing the population initialization strategy guided by task similarity to generate a potential initial population Pop, the specific method is as follows:
[0031] (3.1)POS t-1 ← Based on the non-dominated criterion, select N / 2 individuals from the Pareto optimal solution set in period t-1;
[0032] (3.2)Ta′(t)←based on the minimum acceptable quality threshold δ for each perceptual task i Arrange all perception tasks in Ta(t) in descending order;
[0033] (3.3) For the perception task ta i ∈Ta′(t) executes steps 3.4 to 3.11:
[0034] (3.4) Identify and ta from the task set Ta(t-1) in period t-1 i ∈Ta′(t) the most similar task ta l ∈Ta(t-1), where ta l and ta i The difference between the acceptable minimum quality thresholds of the same type is the smallest; l Andty i They are l and ta i If the task type is
[0035] (3.5) For sub-region sa j ∈Sa executes steps 3.6 to 3.9:
[0036] (3.6)Uh ← Find historical solution s ∈POS t-1 For subtask lj The set of mobile users employed;
[0037] (3.7) Keep U h The number of mobile users u that are still available during time period t k ,Right now
[0038] (3.8) If the subtask ta ij Not hiring enough mobile users, i.e. When the system is running, execute steps 3.8.1 to 3.8.3:
[0039] (3.8.1)U c ←Randomly select num mobile users from U(t);
[0040] (3.8.2) Calculate U c The utility of each mobile user in ijk =us ijk / a ijk ;
[0041] (3.8.3) Find U c The best mobile user v ,in Let the subtask ij Hire u v ,Right now
[0042] (3.9) If the individual counter s is less than N / 2, then s=s+1, and return to step 3.6; otherwise, go to step 3.10;
[0043] (3.10) If the sub-region counter j is less than P, then j=j+1, and return to step 3.5; otherwise, go to step 3.11;
[0044] (3.11) If the task counter i is less than M t , then i=i+1, return to step 3.3; otherwise go to step 3.12;
[0045] (3.12) Randomly initialize the remaining N / 2 individuals;
[0046] (3.13) Output the initial population Pop of size N.
[0047] Furthermore, in step (4), the multi-objective evolutionary algorithm uses the problem-specific evolutionary operator to generate the offspring population, and updates the population position by comprehensively considering feasibility and diversity, iterates the above two steps of generating offspring and updating the population position until the termination criterion is met, and outputs the Pareto optimal solution set for the t period. The specific method is as follows:
[0048] (4.1) The crossover operator considering the perception ability and the mutation operator considering the comprehensive ranking are used to generate N offspring individuals in sequence. The execution method is as follows:
[0049] (4.1.1) In the crossover operator considering perception ability, for the subtask ta ij , directly retain the same users that appear in the two parent individuals in the child individuals; then, randomly select two from the remaining different users each time and retain the one with stronger perception ability; repeat the previous step until there are ta in the child individuals ij The required number of users is reached; the above operation is performed for each subtask until all subtasks have hired enough users; N offspring individuals are generated in the above manner, thereby guiding the population to explore the space with higher perceived quality;
[0050] (4.1.2) In the mutation operator considering the comprehensive ranking, for the subtask ta ij , the mobile users are ranked according to the perception ability and execution cost respectively; the comprehensive ranking is defined as the user's ij The sum of the perception ability and execution cost ranking of ; randomly select and assign to subtask ta ij of two users and replace the one with the higher perceived cost with the one that ij The user with the first comprehensive ranking; perform the above operation on each subtask with a certain probability, that is, when the randomly generated number rand satisfies rand<0.5, perform the above mutation on the subtask; otherwise, remain unchanged; generate N offspring individuals in the above manner, so as to achieve the goal of reducing the population perception cost while ensuring satisfactory perception quality as much as possible;
[0051] (4.2) When updating the population position, first consider feasibility to select N / 2 individuals, and then select another N / 2 individuals based on convergence to form the parent population of the next iteration. The execution method is as follows:
[0052] (4.2.1) The parent population Pop(g) and the offspring population Off(g) are merged to obtain Pop', from which all feasible solutions are obtained and added to Sc; if the number of solutions in Sc is equal to N / 2, all individuals in Sc are directly retained; if the number of solutions in Sc is greater than N / 2, N / 2 individuals are selected based on the non-dominated sorting criterion to be retained; otherwise, the individual Pop'=Pop'\Sc in Sc is removed from the merged population, and several individuals Tc with fewer constraint violations are selected from the remaining merged population Pop', and Tc and Sc together form N / 2 next-generation parent populations Pop(g+1) with good feasibility; the individual Pop'=Pop'\Tc in Tc is removed from the merged population;
[0053] (4.2.2) Ignoring individual constraint violations, directly sort the individuals in the remaining merged population Pop' based on the non-dominated sorting criterion, and select the first N / 2 individuals to join the next generation parent population Pop(g+1);
[0054] (4.3) If the iteration loop counter g is less than the upper limit G, then g = g + 1, and return to step (4.1); otherwise, end the program, select the Pareto optimal solution set from Pop and output it.
[0055] Beneficial effects: The present invention aims to solve the problem that the traditional static crowd-sensing multi-task allocation method cannot handle the problem that the perception task requirements and the availability of mobile users change over time. It constructs a dynamic multi-objective allocation model for crowd-sensing multi-tasks, and uses an evolutionary algorithm with global search capabilities to find the Pareto optimal allocation plan set for each time period, so that the allocation plan can be adjusted accordingly according to the currently available resources, thereby ensuring the completion quality and execution cost of the perception task. On the other hand, compared with the traditional task allocation method based on evolutionary optimization, the population initialization strategy guided by task similarity is used to first find the task most similar to the current task from historical moments, and generate the allocation plan for the current task based on its employed executors, which greatly improves the quality of the initial population. Compared with the existing technology, it improves the convergence performance of the population and solves the problem of not being able to help the population quickly track the optimal solution in a dynamic environment, which affects the convergence performance of the population. It has wide practicality in this technical field. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 It is a logic structure flow chart between the steps of the present invention.
[0057] Figure 2 It is a flow chart of the evolutionary allocation algorithm designed by the present invention. DETAILED DESCRIPTION
[0058] The embodiments of the present invention are further described below in conjunction with the specific drawings:
[0059] Take the mobile crowd intelligence perception platform that provides data services for city managers as an example. As the task publisher, the city manager requires the perception platform to collect data in the target perception area according to the time granularity of 1 hour and the spatial granularity of 1km*1km. The city manager initially issued equipment-dependent tasks: air quality, noise level, and ambient temperature detection, skill-based tasks: photographing crowd density and traffic congestion, and subjective feeling tasks: marking the livability of the living environment according to one's own feelings; each perception task requires 5 mobile users to perform in each sub-area (i.e., each subtask), and the perception quality of each perception task needs to reach the acceptable minimum quality of 0.6, 0.8, 0.6, 0.7, 0.8, and 0.7 respectively; in addition, the number of available mobile users on the current perception platform is 800. When heavy rain came, the city manager canceled the equipment-dependent tasks: air quality and noise level detection, but added additional skill-based tasks: photographing the degree of street flooding and river water level, with the corresponding minimum acceptable quality of 0.8 and 0.7 respectively; and some available mobile users left for some reason, while some new mobile users appeared, and the number of available mobile users on the perception platform became 490. When the rainstorm left, the city manager restored the equipment-dependent tasks: air quality and noise level detection, and added a subjective perception task: marking road damage, corresponding to an acceptable minimum quality of 0.8; at the same time, the number of available mobile users also changed to 792. The city manager required the perception platform to consider the acceptable minimum quality requirements for each perception task in each time period and select appropriate executors from available mobile users, so as to collect data with the best possible perception quality at the lowest possible perception cost.
[0060] Figure 1 This is the logical structure of the multi-task dynamic multi-objective evolutionary allocation method of the perception platform. For the above-mentioned dynamic multi-task allocation example, the perception platform first divides the target perception period and the target perception area Sa into multiple periods and a group of sub-areas according to the spatiotemporal granularity requirements of the data by the city manager; then, it defines the optimization objectives and constraints of the crowd-sensing multi-task dynamic multi-objective allocation problem, and constructs a crowd-sensing multi-task dynamic multi-objective allocation model; then, it executes the population initialization strategy guided by task similarity to generate a potential initial population Pop; finally, it uses the multi-objective evolutionary algorithm to iteratively search for the Pareto optimal solution set of the current period. Among them, the population initialization guided by task similarity and the multi-objective evolutionary algorithm together constitute the multi-objective evolutionary allocation algorithm, and its specific process is as follows: Figure 2 First, the population initialization strategy guided by task similarity is based on the Pareto optimal solution set POS in period t-1 t-1, generate a potential initial population Pop; then, the multi-objective evolutionary algorithm uses the problem-specific crossover operator considering perception ability and the mutation operator considering comprehensive ranking to generate the offspring population Off; then, the population position is updated by comprehensively considering feasibility and diversity; finally, the above two steps of generating offspring and updating population position are iterated until the termination criterion is met, and the Pareto optimal solution set of time period t is output.
[0061] Based on the above example, 20 dynamic multi-task allocation instances with different numbers of time periods are set. The number of sensing tasks and the number of available mobile users in each time period are shown in Table 1.
[0062] Table 1 Dynamic examples
[0063]
[0064]
[0065] The task requirements and mobile user-related parameter settings are shown in Table 2. The budget of each instance in each period is based on M t ×P×ξ×(max(b k )+c0). The perception ability of a mobile user for each type of task in a sub-area is generated through simulation. At the end of each period, the perception platform changes the location of the mobile user with a small probability.
[0066] Table 2 Parameter settings
[0067]
[0068] The allocation schemes of the above 20 examples are solved by using the crowd-sensing multi-task dynamic multi-objective evolutionary allocation method proposed in the present invention, including the following steps:
[0069] Step (1): The target perception area Sa is divided into P non-overlapping sub-areas according to the spatial granularity requirement, represented by Sa = {sa1, sa2, …, sa P}, satisfying ∪ i s i =Sa and sa i ∩sa j =φ; At the same time, the target perception period is divided into multiple equal-length periods according to the time granularity requirements, and the tth period has M t There are sensing tasks to be assigned, represented as Ta(t)={ta1,ta2,…,ta Mt}, there are N t Available mobile users, denoted as U(t) = {u1,u2,…,u Nt};
[0070] Step (2): The reward calculation method for mobile users to perform tasks is given, and the optimization objectives and constraints of the crowd-sensing multi-task dynamic multi-objective allocation problem are defined. The specific method is as follows:
[0071] (2.1) Define the perception task ta i In the sub-area j The data collection in the subtask is ta ij , a ijk For mobile users k Execute ij Considering the energy cost of the mobile user to perform the subtask and the travel cost from the current location to the target location, a ijk It is composed of basic rewards and travel cost compensation:
[0072] a ijk =b k +d jk ×c0 (1)
[0073] Where: b k represents the basic reward, d jk For user u k Execute subtask ij The journey distance is c0, and the unit journey cost compensation is c1.
[0074] (2.2)Remember us ijk For mobile users k For subtask ij Perception ability; perception task i According to the completion method, it can be divided into three categories: subjective feeling type, skill-based type, and device-dependent type. Mobile users u k In the sub-area j The perception ability of different types of subtasks is different, and vice versa;
[0075] (2.3) Remember the perception task ta i The perceived quality is ut i , then ut i is defined as all the i Average mobile user perception:
[0076]
[0077] Where: P is the number of sub-regions, that is, the perception task ta i The number of subtasks in the target perception area Sa, ξ is each subtask ta ij The number of mobile users to be assigned; when the subtask ta ij Assigned to mobile user u kWhen x ijk =1, otherwise x ijk =0;
[0078] (2.4) Taking maximizing the average perception quality and average remaining budget of all perception tasks in time period t as the optimization goal, the multi-task dynamic allocation problem of the crowd sensing system can be constructed as the following dynamic multi-objective optimization model;
[0079]
[0080] Where: M t represents the number of perception tasks in the tth period, B t represents the total budget of all perception tasks in the tth period;
[0081] (2.5) Remember the perception task ta i The minimum acceptable quality threshold is δ i , then i The perceived quality of i Must be greater than δ i , to ensure the availability of perception data:
[0082] ut i ≥δ i ,i=1,2,...,M t (4)
[0083] (2.6) Note that mobile user u k The maximum task load in time period t is ε k , then u k The number of all subtasks assigned within time period t cannot be greater than ε k :
[0084]
[0085] Where: N t represents the number of mobile users in the tth period;
[0086] (2.7) Give each subtask ta ij The number of allocated mobile users needs to reach ξ:
[0087]
[0088] Step (3): Based on the historical Pareto optimal solution set, execute the population initialization strategy guided by task similarity to generate a potential initial population Pop. The specific method is as follows:
[0089] (3.1)POS t-1 ← Based on the non-dominated criterion, select N / 2 individuals from the Pareto optimal solution set in period t-1;
[0090] (3.2)Ta′(t)←based on the minimum acceptable quality threshold δ for each perception task i Arrange all perception tasks in Ta(t) in descending order;
[0091] (3.3) For the perception task ta i ∈Ta′(t) executes steps 3.4 to 3.11:
[0092] (3.4) Identify and ta from the task set Ta(t-1) in period t-1 i ∈Ta′(t) the most similar task ta l ∈Ta(t-1), where ta l and ta i The difference between the acceptable minimum quality thresholds of the same type is the smallest; l Andty i They are l and ta i If the task type is
[0093] (3.5) For sub-region sa j ∈Sa executes steps 3.6 to 3.9:
[0094] (3.6)U h ← Find historical solution s ∈POS t-1 For subtask lj The set of mobile users employed;
[0095] (3.7) Keep U h The number of mobile users u that are still available during time period t k ,Right now
[0096] (3.8) If the subtask ta ij Not hiring enough mobile users, i.e. When the system is running, execute steps 3.8.1 to 3.8.3:
[0097] (3.8.1)U c ←Randomly select num mobile users from U(t);
[0098] (3.8.2) Calculate U c The utility of each mobile user in ijk =us ijk / a ijk ;
[0099] (3.8.3) Find U cThe best mobile user v ,in Let the subtask ij Hire u v ,Right now
[0100] (3.9) If the individual counter s is less than N / 2, then s=s+1, and return to step 3.6; otherwise, go to step 3.10;
[0101] (3.10) If the sub-region counter j is less than P, then j=j+1, and return to step 3.5; otherwise, go to step 3.11;
[0102] (3.11) If the task counter i is less than M t , then i=i+1, return to step 3.3; otherwise go to step 3.12;
[0103] (3.12) Randomly initialize the remaining N / 2 individuals;
[0104] (3.13) Output the initial population Pop of size N.
[0105] Step (4): The multi-objective evolutionary algorithm uses the problem-specific evolutionary operator to generate the offspring population, and updates the population position by comprehensively considering feasibility and diversity. It iterates the above two steps of generating offspring and updating the population position until the termination criterion is met, and outputs the Pareto optimal solution set for period t. The detailed description is as follows:
[0106] (4.1) The crossover operator considering the perception ability and the mutation operator considering the comprehensive ranking are used to generate N offspring individuals in sequence. The execution method is as follows:
[0107] (4.1.1) In the crossover operator considering perception ability, for the subtask ta ij , directly retain the same users that appear in the two parent individuals in the child individuals; then, randomly select two from the remaining different users each time and retain the one with stronger perception ability; repeat the previous step until there are ta in the child individuals ij The required number of users is reached; the above operation is performed for each subtask until all subtasks have hired enough users; N offspring individuals are generated in the above manner, thereby guiding the population to explore the space with higher perceived quality;
[0108] (4.1.2) In the mutation operator considering the comprehensive ranking, for the subtask ta ij , the mobile users are ranked according to the perception ability and execution cost respectively; the comprehensive ranking is defined as the user's ij The sum of the perception ability and execution cost ranking of ; randomly select and assign to subtask ta ijof two users and replace the one with the higher perceived cost with the one that ij The user with the first comprehensive ranking; perform the above operation on each subtask with a certain probability, that is, when the randomly generated number rand satisfies rand<0.5, perform the above mutation on the subtask; otherwise, remain unchanged; generate N offspring individuals in the above manner, so as to achieve the goal of reducing the population perception cost while ensuring satisfactory perception quality as much as possible;
[0109] (4.2) When updating the population position, first consider feasibility to select N / 2 individuals, and then select another N / 2 individuals based on convergence to form the parent population of the next iteration. The execution method is as follows:
[0110] (4.2.1) The parent population Pop(g) and the offspring population Off(g) are merged to obtain Pop', from which all feasible solutions are obtained and added to Sc; if the number of solutions in Sc is equal to N / 2, all individuals in Sc are directly retained; if the number of solutions in Sc is greater than N / 2, N / 2 individuals are selected based on the non-dominated sorting criterion to be retained; otherwise, the individual Pop'=Pop'\Sc in Sc is removed from the merged population, and several individuals Tc with fewer constraint violations are selected from the remaining merged population Pop', and Tc and Sc together form N / 2 next-generation parent populations Pop(g+1) with good feasibility; the individual Pop'=Pop'\Tc in Tc is removed from the merged population;
[0111] (4.2.2) Ignoring individual constraint violations, directly sort the individuals in the remaining merged population Pop' based on the non-dominated sorting criterion, and select the first N / 2 individuals to join the next generation parent population Pop(g+1);
[0112] (4.3) If the iteration loop counter g is less than the upper limit G, then g = g + 1, and return to step (4.1); otherwise, end the program, select the Pareto optimal solution set from Pop and output it.
[0113] The effect of the present invention is illustrated by the following simulation experiment:
[0114] Experimental content
[0115] For the 20 dynamic multi-task allocation examples shown in Table 1, the proposed evolutionary algorithm and the traditional multi-objective evolutionary algorithm are used to solve the problems respectively under the parameter settings in Table 2. The population size of the two algorithms is set to 20 and the number of iterations is 100.
[0116] Experimental Results
[0117] The two methods were run 30 times in 20 dynamic multi-task allocation instances, and the HV average values of the Pareto optimal solution set in all time periods in each instance were recorded. As can be seen from Table 3, the method proposed in the present invention obtained a higher HV average value in 17 of the 20 dynamic instances, and the HV average values of all instances were higher than those of the traditional evolutionary algorithm. Obviously, compared with the traditional evolutionary algorithm, the proposed method can find a Pareto optimal solution set with relatively better diversity and convergence, that is, it can provide the perception platform with an allocation scheme with better perception quality or lower execution cost.
[0118] Table 3. Average HV values of the Pareto optimal solution sets obtained by the two algorithms in all time periods in 20 dynamic multi-task allocation instances.
[0119]
[0120] Although the present invention has been described in detail above by general description and specific embodiments, it is obvious to those skilled in the art that some modifications or improvements can be made to the present invention. Therefore, these modifications or improvements made without departing from the spirit of the present invention all belong to the scope of protection claimed by the present invention.
Claims
1. A dynamic multi-objective evolutionary allocation method for crowd-sensing multi-tasks, characterized in that: The following steps are involved: (1) According to the task publisher's requirements for the spatiotemporal granularity of perception data, the target perception period and target perception area Sa are divided into multiple periods and a group of sub-areas, so that each perception task can be completed collaboratively by mobile users who go to each sub-area at different periods to collect perception data; (2) A reward calculation method for mobile users to perform tasks is given, the optimization objectives and constraints of the crowd-sensing multi-task dynamic multi-objective allocation problem are defined, and a crowd-sensing multi-task dynamic multi-objective allocation model is constructed; the optimization objective of the crowd-sensing multi-task dynamic multi-objective allocation problem is to maximize the average perceived quality of all perception tasks and the average remaining budget of all perception tasks, and the constraints include that the perceived quality of each perception task must be greater than the acceptable minimum quality threshold corresponding to the perception task, the number of tasks carried by each mobile user in each time period does not exceed the maximum task carrying capacity corresponding to the mobile user, and the number of mobile users assigned to each perception task in each sub-area meets the quantity requirements; (3) For the crowd-sensing multi-task dynamic multi-objective allocation model in step (2), based on the historical Pareto optimal solution set POS t-1 , execute the population initialization strategy guided by task similarity to generate a potential initial population Pop; Based on the historical Pareto optimal solution set POS t-1 , the specific method of executing the population initialization strategy guided by task similarity and generating a potential initial population Pop is as follows: (3.1)Ta′(t)←based on the minimum acceptable quality threshold δ for each perception task i Arrange all perception tasks in Ta(t) in descending order; (3.2) Pop = φ, set the perception task counter i = 1, and the sub-area counter j = 1; (3.3) For the perception task ta i ∈Ta′(t) executes steps 3.4 to 3.10: (3.4) Identify and ta from the task set Ta(t-1) in period t-1 i ∈Ta′(t) the most similar task ta l ∈Ta(t-1), where ta l and ta i The difference between the acceptable minimum quality thresholds of the same type is the smallest; l Andty i They are l and ta i If the task type is (3.5) For sub-region sa j ∈Sa executes steps 3.6 to 3.9: (3.6)U h ← Find the historical solution y∈POS t-1 The middle is the subtask lj The set of mobile users employed; (3.7) Keep U h The number of mobile users u that are still available during time period t k , that is, x ijk =1, (3.8) If the subtask taij does not employ enough mobile users, that is, ∑x ijk <ξ, execute steps 3.8.1~3.8.3: (3.8.1)U c ←Randomly select num mobile users from U(t); (3.8.2) Calculate U c The utility of each mobile user in ijk =us ijk / a ijk ; (3.8.3) Find U c The best mobile user v ,in Let the subtask ij Hire v , that is, x ijv =1; (3.9) When the sub-region counter j is less than the number of sub-regions P, then j=j+1, and return to step 3.5; otherwise, go to step 3.10; (3.10) When the sensing task counter i is less than the number of sensing tasks M t When , i=i+1, return to step 3.3; otherwise Pop=Pop∪x; (3.11) Repeat steps 3.1 to 3.10 to generate N / 2 individuals, and together with the randomly generated N / 2 individuals, form an initial population Pop of size N; (4) Based on the obtained initial population Pop, the multi-objective evolutionary algorithm uses the problem-specific evolutionary operator to generate the offspring population, and updates the population position by comprehensively considering feasibility and diversity. It iteratively generates the offspring population and updates the population position until the maximum number of iterations G is met, and outputs the Pareto optimal solution set POS for the tth period t ; The multi-objective evolutionary algorithm uses problem-specific evolutionary operators to generate offspring populations, and comprehensively considers feasibility and diversity to update population positions. It iteratively generates offspring and updates population positions until the maximum number of iterations G is met, and outputs the Pareto optimal solution set POS for the tth period. t , the specific method is as follows: (4.1) Based on the parent population Pop, the child population Off is generated using the crossover operator that takes into account the perception ability, and the population is guided to explore the space with higher perception quality. The execution method is as shown in 4.1.1 to 4.1.6: (4.1.1) Select any two parent individuals from Pop and execute steps 4.1.1 to 4.1.5: (4.1.2) For subtask ta ij , the same mobile users appearing in the two parent individuals are directly retained in the child individuals; (4.1.3) Randomly select two from the remaining different mobile users and keep the one with stronger perception ability as the offspring individual; (4.1.4) When the subtask ij If not enough mobile users are hired, return to step 4.1.3, otherwise go to step 4.1.5; (4.1.5) Execute steps 4.1.2 to 4.1.4 for each subtask to obtain a progeny individual; (4.1.6) Repeat steps 4.1.1 to 4.1.5 to generate N offspring individuals, which together form the offspring population Off; (4.2) The mutation operator considering the comprehensive ranking is executed on the offspring population Off, so as to reduce the population perception cost while ensuring satisfactory perception quality. The execution method is as shown in 4.2.1 to 4.2.5: (4.2.1) For each parent individual in Off, execute steps 4.2.2 to 4.2.7: (4.2.2) For subtask ta ij , when the randomly generated number rand satisfies rand<0.5, execute steps 4.2.2 to 4.2.5: (4.2.3) sorting the mobile users according to their perception capabilities from strong to weak to obtain the perception capability ranking of each mobile user; (4.2.4) sorting the mobile users according to their execution costs from small to large to obtain the execution cost ranking of each mobile user; (4.2.5) Comprehensive ranking is defined as the mobile user's ij The sum of the perception ability and execution cost rankings is used to calculate the comprehensive ranking of each mobile user; (4.2.6) Randomly select and assign to subtask ta ij Two mobile users, and replace the one with the higher perceived cost with ta ij No.1 overall mobile user; (4.2.7) Execute steps 4.2.2 to 4.2.6 for each subtask; (4.3) Update the population position by taking into account feasibility and diversity. The implementation method is as in 4.3.1 to 4.3.4: (4.3.1) Merge the parent population Pop and the child population Off to obtain Pop'; (4.3.2) Sort the individuals in Pop' based on the Deb feasibility criterion, select the first N / 2 individuals to form a temporary population Pop1, and remove all individuals in Pop1 from Pop'; (4.3.3) Without considering individual constraint violations, sort the individuals in Pop' based on the non-dominated sorting criterion, and select the first N / 2 individuals to form a temporary population Pop2; (4.3.4) Merge Pop1 and Pop2 to obtain the parent population Pop of the next iteration, that is, Pop = Pop1∪Pop2; (4.4) Iterate steps 4.1 to 4.3 until the maximum number of iterations G is met, then output Pop; (4.5) Select feasible non-dominated solution sets from Pop to form the Pareto optimal solution set POS for the tth period t .
2. The method for dynamic multi-objective evolutionary allocation of crowd-sensing multi-tasks according to claim 1 is characterized by: In step (1): the target perception area Sa is divided into P non-overlapping sub-areas according to the spatial granularity requirement, represented by Sa = {sa1, sa2, ..., sa P }, satisfying ∪ i s i =Sa and sa i ∩sa j =φ; At the same time, the target perception period is divided into multiple equal-length periods according to the time granularity requirements, and the tth period has M t There are sensing tasks to be assigned, represented as Ta(t)={ta1,ta2,…,ta Mt }, there are N t Available mobile users, denoted as U(t) = {u1,u2,…,u Nt }.
3. The method for dynamic multi-objective evolutionary allocation of crowd-sensing multi-tasks according to claim 1 is characterized by: In step (2), the reward calculation method for mobile users to perform tasks is given, and the optimization objectives and constraints of the crowd-sensing multi-task dynamic multi-objective allocation problem are defined. The specific method is as follows: (2.1) Define the perception task ta i In the sub-area j The data collection in the subtask is ta ij , a ijk For mobile users k Execute ij Considering the energy cost of the mobile user to perform the subtask and the travel cost from the current location to the target location, a ijk The basic reward and the travel cost compensation composition: a ijk =b k +d jk ×c0 (1) Where: b k represents the basic reward, d jk For user u k Execute subtask ij The journey distance is c0, and the unit journey cost compensation is c1. (2.2)Remember us ijk For mobile users k For subtask ij Perception ability; perception task i According to the completion method, it can be divided into three categories: subjective feeling type, skill-based type, and device-dependent type. Mobile users u k In the sub-area j The perception ability of different types of subtasks is different, and vice versa; (2.3) Remember the perception task ta i The perceived quality is ut i , then ut i is defined as all the i Average mobile user perception: Where: P is the number of sub-regions, that is, the perception task ta i The number of subtasks in the target perception area Sa, ξ is each subtask ta ij The number of mobile users to be assigned; when the subtask ta ij Assigned to mobile user u k When x ijk =1, otherwise x ijk =0; (2.4) Taking maximizing the average perception quality and average remaining budget of all perception tasks in time period t as the optimization goal, the multi-task dynamic allocation problem of the crowd sensing system can be constructed as the following dynamic multi-objective optimization model; Where: M t represents the number of perception tasks in the tth period, B t represents the total budget of all perception tasks in the tth period; (2.5) Remember the perception task ta i The minimum acceptable quality threshold is δ i , then i The perceived quality of i Must be greater than δ i , to ensure the availability of perception data: so that i ≥δ i ,i=1,2,...,M t (4) (2.6) Note that mobile user u k The maximum task load in time period t is ε k , then u k The number of all subtasks assigned within time period t cannot be greater than ε k : Where: N t represents the number of mobile users in the tth period; (2.7) Give each subtask ta ij The number of allocated mobile users needs to reach ξ:
Citation Information
Patent Citations
Mobile multi-target intelligent crowd sensing task allocation method
CN108304266A
Game theory-based task allocation method in crowd sensing
CN110009233A
