CN111475266A - Diversity-constrained crowd sensing task allocation method - Google Patents
Diversity-constrained crowd sensing task allocation method Download PDFInfo
- Publication number
- CN111475266A CN111475266A CN202010149178.8A CN202010149178A CN111475266A CN 111475266 A CN111475266 A CN 111475266A CN 202010149178 A CN202010149178 A CN 202010149178A CN 111475266 A CN111475266 A CN 111475266A
- Authority
- CN
- China
- Prior art keywords
- user
- task
- users
- tasks
- type
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 230000008447 perception Effects 0.000 claims abstract description 24
- 238000004891 communication Methods 0.000 abstract description 3
- 238000004364 calculation method Methods 0.000 abstract description 2
- 238000012358 sourcing Methods 0.000 description 4
- 238000007726 management method Methods 0.000 description 2
- 238000013480 data collection Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000013441 quality evaluation Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A diversity-constrained crowd sensing task allocation method comprises the steps of collecting users and sensing tasks, determining available users of the tasks, selecting task allocation users, and adjusting the users allocated by the selected tasks. The invention considers the timeliness of the perception task and the discontinuity of the idle time of the mobile user, increases the available user part for determining the task in the task allocation process, selects the user meeting the task requirement to allocate the task only from the users including the task execution time period in the idle time period, reduces the communication and calculation pressure of the server platform, improves the speed and quality of task allocation, simultaneously solves the technical problem caused by the perception task being unable to be completed in the effective time period, and expands the application range of the group intelligence perception. The method has the advantages of high task allocation quality, wide application range and the like, and can be applied to crowd sensing task allocation.
Description
Technical Field
The invention belongs to the technical field of crowd sensing, and particularly relates to a crowd sensing task allocation method based on diversity constraint.
Background
With the rapid development of embedded devices, wireless sensor networks, internet of things, intelligent mobile terminals and the like, pervasive intelligent systems integrating sensing, computing and communication capabilities are being widely deployed and gradually merged into the daily living environment of people, and the capability of pervasive computing for acquiring data is greatly enhanced. In this context, urban and social awareness are leading research hotspots in the current information field. The city perception task has the characteristics of wide range, large scale, heavy task and the like. The existing urban sensing system mainly depends on pre-installed professional sensing facilities such as a camera and an air detection device, has the problems of limited coverage range, high investment and maintenance cost and the like, and is limited in application range, objects and application effect. Therefore, a new perception mode, namely mobile crowd sensing, is created. Different from the traditional perception technology depending on professionals and equipment, the mobile crowd sensing turns the attention to a large number of common users, and the large number of common users are used as sensing sources, and intelligent mobile terminals carried by the users, such as smart phones, wearable equipment and the like, are utilized to form a large-scale perception system which is closely related to the daily life of people at any time and any place. Crowd-sourcing awareness emphasizes awareness by leveraging the broad distribution, flexible mobility, and opportunistic connectivity of the masses and provides intelligent assistance support for city and social management. The method can be applied to a plurality of important fields, such as intelligent transportation, public safety, socialized recommendation, environment monitoring, urban public management and the like.
A crowd-sourcing aware application system typically comprises 3 components: server platform, data consumer and data provider. A data user issues a perception task demand to a server platform and receives a task result from the server platform; the server platform is mainly responsible for task issuing, task allocation, perception data collection and task quality evaluation; and the data provider, namely a common mobile user carrying the mobile intelligent equipment, receives the tasks distributed by the server platform, is responsible for data sensing and collection, and sends the sensing data to the server platform. In the crowd sensing system, task allocation is the basis for implementing crowd sensing. The server platform needs to allocate each allocable task to a plurality of users meeting task constraint conditions according to task requirements submitted by data users and the state of the current online user, and the allocation is based on realizing specific optimization targets, such as maximizing task receiving rate, maximizing overall profit and the like.
The current task allocation method and system facing the crowd sensing has not considered the following aspects:
1. the timeliness of the task and the discontinuity of the idle time of the mobile user are perceived.
2. The diversity requirements of each perception task on the user types possessed by the user population providing the perception data.
In the existing task allocation method, it is generally considered that a data user does not have a completion time constraint on a submitted perception task, and a mobile user who completes the perception task is a user who has no type difference and can execute the task at any time. In fact, since the sensing tasks submitted by the data users are completed in different time periods, the generated data have great differences in properties, and the differences directly affect the completion quality of the tasks, the sensing tasks often have clear limits on the execution time of the tasks, the mobile users who complete the sensing tasks often have different types, the requirements of each task on the type diversity of the assigned users are different, and the users whose user type diversity distribution meets the task requirements cooperate to complete the tasks to obtain higher-quality sensing data. Therefore, the execution time requirement and the user type diversity requirement of the perception tasks and the collection of the idle time period and the user types of the users can be increased in the task allocation process, and different perception tasks can adjust the users meeting the task execution time requirement according to the respective user type diversity requirements, so that the benefit of task completion is maximized. However, the current online task allocation method does not take these factors into consideration, and the application range of crowd sensing is limited to a great extent.
Therefore, in order to meet the crowd sensing application scenario meeting the actual requirements and improve the task allocation quality and the task allocation profit of the platform, it is necessary to design a crowd sensing task allocation method with diversity constraints under the condition of considering the execution time requirement of the sensing task, the type diversity requirement of the user selected by the sensing task and the task allocation profit maximization requirement.
Disclosure of Invention
The technical problem to be solved by the present invention is to overcome the above disadvantages of the prior art, and to provide a crowd sensing task allocation method with diversity constraints, which has high task allocation quality and wide application range.
The technical scheme adopted for solving the technical problems comprises the following steps:
(1) collecting user and perceptual tasks
Set of perceptual tasks ═ τ1,τ2,...,τnComposed of n tasks, where each task τiIs (N)i,si,ei) Corresponding to an execution time interval(s)i,ei) And a desired number of users Ni,siIs task τiStart time of (e)iIs task τiEnd time of (d) satisfies ei>siI ∈ {1, 2.·, n }, n being a finite positive integer, k being a finite set of user types C ═ C1,c2,…,ckThe number of the types of the users contained in the data.
User set U ═ U1,u2,…,umIs composed of m users, where each user ujCorresponding to a user type cj∈ C, an idle time interval(s)j,ej) And a set of executive tasks τiYield v ofijWherein, j ∈ {1, 2.. multidot.m }, e }j>sj,vij≥0。
Each task τiFor each user type ct∈ C has diversity constraint parametersAndwherein, t ∈ {1, 2.., k },
(2) determining available users for a task
Determining per task τi∈ available user set AiThe following were used:
Ai={uj|uj∈U,sj≤si,ej≥ei}
(3) selecting task assignment users
1) For each task τi∈, each user type ct∈ C, by user ujRevenue v for executing tasksijThe available user sets A are respectively set from large to smalliThe user type is ctUser set ofWherein:
2) for each task τi∈, each user type ct∈ C, respectively from the available user set A as followsiThe user type is ctUser set ofBefore selection inTask tau is formed by individual usersiAssignable user set Ui:
WhereinIs a set of available users AiThe user type is ctUser set ofThe number of the users in (1) is,is a set of assignable users UiThe user type is ctIs selected.
3) Selecting a task to be assigned tau according to the following formulapTo be assigned task τpMoving into task set of allocated users'
|UiI is an allocable user set UiThe number of the users in (1) is,is a set of assignable users UiThe user type is ctUser set ofIf there is no task T to be allocated satisfying the conditionpThen the allocation ends.
4) For each user type ct∈ C Press user ujExecution of task to be assigned τpYield v ofpjThe tasks to be allocated are respectively treated from large to smallpAssignable user set UpThe user type is ctUser set ofInLine ordering, wherein
5) For each user type ct∈ C, respectively, from the task to be assigned τ according to the following formulapAssignable user set UpThe user type is ctUser set ofIn, before selectionA user joins a task to be allocated taupSelected user set Up’
Wherein N ispIs the task τ to be assignedpThe number of persons required for the purpose of the treatment,is the task τ to be assignedpSelected user set Up’The user type is ctIs selected.
6) Per user ujExecution of task to be assigned τpYield v ofpjFrom large to small pairs of sets Up-Up’The users in (1) are ranked and the top N is selectedp-|Up’I users join selected user set Up’Wherein | Up’Is the selected user set Up’The number of users in (1).
(4) Adjusting users assigned to selected tasks
1) Finding out the user u with the minimum profit in the selected user setmin∈Up’And the user u with the maximum profit in the unselected user setmax∈Up-Up’If there is no user u with the minimum profitminAnd the user u with the maximum profitmaxSatisfies the following formula, step 5 of step (4) is carried out
vp,min<vp,max
Wherein v isp,minAnd vp,maxRespectively the least profitable user uminAnd the user u with the maximum profitmaxExecution of task τpThe gain of (1).
2) Selecting the demoble user u 'with the minimum profit'min
Wherein v ispjIs user ujExecution of task to be assigned τpThe yield of (a) to (b) is,is the task τ to be assignedpFor user ujUser type cjThe inverse diversity constraint parameter of (2) is,is the selected user set Up’The user type is cjUser set ofThe number of users in (1); if no go-to user u 'with minimum income exists'minGo to step 5 of step (4).
3) Selecting addable user u 'with maximum income'max
Wherein,is the task τ to be assignedpFor user ujUser type cjForward diversity constraint parameters; if no addable user u 'with maximum profit exists'maxGo to step 5 of step (4).
4) Adding user u 'with maximum income'maxMove into Up’Go-to user u 'with minimal revenue'minMove out Up’
Up'=Up'∪{u'max}-{u'min}
Go to step 1 of step (4).
5) Updating and task to be distributed tau according to the following formulapTask tau with time conflictsconf∈confCorresponding available user set Aconf
Aconf=Aconf-Up'
Wherein
Wherein(s)conf,econf) Is related to task to be assigned τpTask tau with time conflictsconfAnd (4) turning to the step (3) until no task to be allocated meeting the condition exists.
In the step (1) of collecting users and perception tasks, the number N of the required users of the perception task setiIs any positive integer, NiIs integral multiple of k, and k is the number of types contained in the limited user type set C.
In the step (1) of collecting users and perceiving tasks, the number k of the user types contained in the limited user type set C is optimally 3.
In step 3) of step (3) of selecting task allocation user, the task to be allocated is taupComprises the following steps: the number of tasks satisfying the condition is at least 1, and the task t to be distributedpThe task corresponding to the assignable user set with the minimum number of users.
According to the invention, the diversity constraint condition of each task to each user type is considered in the task allocation process, and the users allocated to the selected tasks are adjusted on the premise of meeting the constraint condition, so that the benefit of completing the perception task and the stability and reliability of perception data are improved. In addition, the method for classifying the users through the user positions or the user reliability in the prior art can serve the generation of the user types in the invention, and compared with the method for classifying the users according to a certain characteristic of the users, the user type and user type diversity constraint in the invention has higher generality and universal applicability.
The invention considers the timeliness of the perception task and the discontinuity of the idle time of the mobile user, increases the available user part for determining the task in the task allocation process, selects the user meeting the task requirement to allocate the task only from the users including the task execution time period in the idle time period, reduces the communication and calculation pressure of the server platform, improves the speed and quality of task allocation, solves the problem caused by the perception task not being completed in the effective time period, and expands the application range of the group intelligence perception.
Drawings
FIG. 1 is a flowchart of example 1 of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, but the present invention is not limited to the examples described below.
Example 1
The diversity-constrained crowd-sourcing aware task allocation method of the embodiment comprises the following steps:
(1) collecting user and perceptual tasks
Set of perceptual tasks ═ τ1,τ2,...,τnComposed of n tasks, where each task τiCorresponding to an execution time interval(s)i,ei) And a desired number of users Ni,siIs task τiStart time of (e)iIs task τiEnd time of (d) satisfies ei>siI ∈ {1, 2.·, n }, n being a finite positive integer, k being a finite set of user types C ═ C1,c2,…,ckThe number of the types of the users contained in the data. Sensing number of required users of task set NiIs any positive integer, NiIs integer multiple of k, k is the number of types contained in the limited user type set C, task tauiCan be expressed as (N)i,si,ei) In this embodiment, N is 4, k is 3, N1Is 3, N2Is 6, N3Is 9, N4Is 6, τ1Is (3,0,2), τ2Is (6,1,3), τ3Is (9,2,4), τ4Is (6,4,6), C is { C1,c2,c3}。
User set U ═ U1,u2,…,umIs composed of m users, where each user ujCorresponding to a user type cj∈ C, an idle time interval(s)j,ej) And a set of executive tasks τiYield v ofijWherein, j ∈ {1, 2.. multidot.m }, e }j>sj,vijNot less than 0, m in this example is 20, u1User type c1Is c2,u2User type c2Is c3,u3User type c3Is c2,u4User type c4Is c3,u5User type c5Is c1,u6User type c6Is c2,u7User type c7Is c2,u8User type c8Is c3,u9User type c9Is c2,u10User type c10Is c1,u11User type c11Is c2,u12User type c12Is c1,u13User type c13Is c2,u14User type c14Is c3,u15User type c15Is c2,u16User type c16Is c3,u17User type c17Is c1,u18User type c18Is c2,u19User type c19Is c1,u20User type c20Is c3。
u1Is (0,4), u2Is (0,3), u3Has an idle time interval of (2,6), u4Has an idle time interval of (4,6), u5Has an idle time interval of (4,6), u6Has an idle time interval of (4,6), u7Has an idle time interval of (1,4), u8Has an idle time interval of (1,4), u9Has an idle time interval of (1,4), u10Is (0,3), u11Is (0,3), u12Has an idle time interval of (1,3), u13Has an idle time interval of (4,6), u14Is (2,4), u15Has an idle time interval of (2,6), u16Has an idle time interval of (1,3), u17Is (0,2), u18Has an idle time interval of (2,6), u19Has an idle time interval of (4,6), u20Is (1, 3). Benefit v of the present embodimentijThe values are as follows:
each task τiFor each user type ct∈ C has diversity constraint parametersAndwherein, t ∈ {1, 2.., k },of the present embodimentAndthe values are as follows:
(2) determining available users for a task
Determining per task τi∈ available user set AiThe following were used:
Ai={uj|uj∈U,sj≤si,ej≥ei}
in the step of the method,
A1={u1,u2,u10,u11,u17},
A2={u1,u2,u7,u8,u9,u10,u11,u12,u16,u20},
A3={u1,u3,u7,u8,u9,u14,u15,u18},
A4={u3,u4,u5,u6,u13,u15,u18,u19}。
(3) selecting task assignment users
1) For each task τi∈, each user type ct∈ C, by user ujRevenue v for executing tasksijThe available user sets A are respectively set from large to smalliThe user type is ctUser set ofWherein:
2) for each task τi∈, each user type ct∈ C, respectively from the available user set A as followsiThe user type is ctUser set ofBefore selection inTask tau is formed by individual usersiAssignable user set Ui
WhereinIs a set of available users AiThe user type is ctUser set ofThe number of the users in (1) is,is a set of assignable users UiThe user type is ctIs selected. In the step of the method,
U1={u17,u1,u2},
U2={u12,u10,u9,u11,u1,u20,u16,u8},
U3={u3,u1,u7,u15,u8,u14},
U4={u5,u19,u6,u3,u15,u4}。
3) selecting a task to be assigned tau according to the following formulapTo be assigned task τpMoving into task set of allocated users'
|UiI is an allocable user set UiThe number of the users in (1) is,is a set of assignable users UiThe user type is ctUser set ofIf there is no task T to be allocated satisfying the conditionpThen the allocation ends. In the step, the number of tasks meeting the condition to be distributed existsWith an order of 1, task τ to be assignedpIs the task corresponding to the distributable user set with the minimum number of users, and the task to be distributed is tau2。
4) For each user type ct∈ C Press user ujExecution of task to be assigned τpYield v ofpjThe tasks to be allocated are respectively treated from large to smallpAssignable user set UpThe user type is ctUser set ofIs ranked by the user in (1), wherein
5) for each user type ct∈ C, respectively, from the task to be assigned τ according to the following formulapAssignable user set UpThe user type is ctUser set ofIn, before selectionA user joins a task to be allocated taupSelected user set Up’
Wherein N ispIs the task τ to be assignedpThe number of persons required for the purpose of the treatment,is the task τ to be assignedpSelected user set Up’The user type is ctIs selected. In the step of the method,
U2'={u12,u10,u9,u11,u20,u16}。
6) per user ujExecution of task to be assigned τpYield v ofpjFrom large to small pairs of sets Up-Up’The users in (1) are ranked and the top N is selectedp-|Up’I users join selected user set Up’Wherein | Up’Is the selected user set Up’The number of users in (1).
(4) Adjusting users assigned to selected tasks
1) Finding out the user u with the minimum profit in the selected user setmin∈Up’And the user u with the maximum profit in the unselected user setmax∈Up-Up’If there is no user u with the minimum profitminAnd the user u with the maximum profitmaxSatisfies the following formula, step 5 of step (4) is carried out
vp,min<vp,max
Wherein v isp,minAnd vp,maxRespectively the least profitable user uminAnd the user u with the maximum profitmaxExecution of task τpIn which step user uminAnd user umaxMin is 10 and max is 8.
2) Selecting the demoble user u 'with the minimum profit'min
Wherein v ispjIs user ujExecution of task to be assigned τpThe yield of (a) to (b) is,is the task τ to be assignedpFor user ujUser type cjThe inverse diversity constraint parameter of (2) is,is the selected user set Up’The user type is cjUser set ofThe number of users in (1); if no go-to user u 'with minimum income exists'minGo to step 5) of step (4), where the lowest profitability can go to user u'minIs present of u'minIs u10。
3) Selecting addable user u 'with maximum income'max
Wherein,is the task τ to be assignedpFor user ujUser type cjForward diversity constraint parameters; if no addable user u 'with maximum profit exists'maxTurning to step 5) of step (4), wherein the earning rate is maximum, and the user u 'can be added'maxIs present of u'minIs u8。
4) Adding user u 'with maximum income'maxMove into Up’Go-to user u 'with minimal revenue'minMove out Up’
Up'=Up'∪{u'max}-{u'min}
Go to step 1 of step (4).
5) Updating and task to be distributed tau according to the following formulapTask tau with time conflictsconf∈confCorresponding available user set Aconf
Aconf=Aconf-Up'
Wherein
Wherein(s)conf,econf) Is related to task to be assigned τpTask tau with time conflictsconfUntil there is no task to be allocated which satisfies the condition, the execution time interval of (2) is transferred to step (3),confis { tau1,τ3Is updated
A1={u1,u2,u10,u17},
A3={u1,u3,u7,u14,u15,u18},
After the task allocation is finished, the task allocation result is obtained as
U1'={u17,u1,u2},
U2'={u12,u9,u11,u20,u16,u8},
U4'={u5,u19,u6,u3,u4,u15}。
And completing diversity-constrained crowd sensing task allocation.
Example 2
The diversity-constrained crowd-sourcing aware task allocation method of the embodiment comprises the following steps:
(1) collecting user and perceptual tasks
Set of perceptual tasks ═ τ1,τ2,...,τnComposed of n tasks, where each task τiCorresponding to an execution time interval(s)i,ei) And a desired number of users Ni,siIs task τiStart time of (e)iIs task τiEnd time of (d) satisfies ei>siI ∈ {1, 2.·, n }, n being a finite positive integer, k being a finite set of user types C ═ C1,c2,…,ckThe number of the types of the users contained in the data. Sensing number of required users of task set NiIs any positive integer, NiIs integer multiple of k, k is the number of types contained in the limited user type set C, task tauiCan be expressed as (N)i,si,ei) In this embodiment, N is 2, k is 3, N1Is 4, N2Is 5, τ1Is (4,0,2), τ2Is (5,2,4), C is { C1,c2,c3}。
User set U ═ U1,u2,…,umIs composed of m users, where each user ujCorresponding to a user type cj∈ C, an idle time interval(s)j,ej) And a set of executive tasks τiYield v ofijWherein, j ∈ {1, 2.. multidot.m }, e }j>sj,vijNot less than 0, m in this example is 10, u1User type c1Is c3,u2User type c2Is c1,u3User type c3Is c2,u4User type c4Is c3,u5User type c5Is c2,u6User type c6Is c1,u7User type c7Is c2,u8User type c8Is c1,u9User type c9Is c2,u10User type c10Is c1。
u1Is (0,4), u2Is (2,4), u3Is (0,2), u4Is (0,2), u5Is (0,2), u6Is (2,4), u7Is (2,4), u8Is (0,2), u9Is (0,4), u10Is (0, 2). Benefit v of the present embodimentijThe values are as follows:
each task τiFor each user type ct∈ C has diversity constraint parametersAndwherein, t ∈ {1, 2.., k },of the present embodimentAndthe values are as follows:
(2) determining available users for a task
Determining per task τi∈ available user set AiThe following were used:
Ai={uj|uj∈U,sj≤si,ej≥ei}
in the step of the method,
A1={u1,u3,u4,u5,u8,u9,u10},
A2={u1,u2,u6,u7,u9}。
(3) selecting task assignment users
1) For each task τi∈, each user type ct∈ C, by user ujRevenue v for executing tasksijThe available user sets A are respectively set from large to smalliThe user type is ctUser set ofWherein:
2) for each task τi∈, each user type ct∈ C, respectively from the available user set A as followsiThe user type is ctUser set ofBefore selection inTask tau is formed by individual usersiAssignable user set Ui
WhereinIs a set of available users AiThe user type is ctUser set ofThe number of the users in (1) is,is a set of assignable users UiThe user type is ctIs selected. In the step of the method,
U1={u8,u5,u4,u1},
U2={u6,u2,u9,u7,u1}。
3) selecting a task to be assigned tau according to the following formulapTo be assigned task τpMoving into task set of allocated users'
|UiI is an allocable user set UiThe number of the users in (1) is,is a set of assignable users UiThe user type is ctUser set ofIf there is no task T to be allocated satisfying the conditionpThen the allocation ends. In the step, the number of tasks which meet the conditions and are to be distributed is 2, and the tasks to be distributed taupIs the task corresponding to the distributable user set with the minimum number of users, and the task to be distributed is tau1。
4) For each user type ct∈ C Press user ujExecution of task to be assigned τpYield v ofpjThe tasks to be allocated are respectively treated from large to smallpAssignable user set UpThe user type is ctUser set ofIs ranked by the user in (1), wherein
5) for each user type ct∈ C, respectively, from the task to be assigned τ according to the following formulapAssignable user set UpThe user type is ctUser set ofIn, before selectionA user joins a task to be allocated taupSelected user set Up’
Wherein N ispIs the task τ to be assignedpThe number of persons required for the purpose of the treatment,is the task τ to be assignedpSelected user set Up’The user type is ctIs selected. In the step of the method,
U1'={u8,u5,u4}。
6) per user ujExecution of task to be assigned τpYield v ofpjFrom large to small pairs of sets Up-Up’The users in (1) are ranked and the top N is selectedp-|Up’I users join selected user set Up’Wherein | Up’Is the selected user set Up’The number of users in (1). In this step, user u is selected1Joining the selected user set U1’,U1’Is { u8,u5,u4,u1}。
(4) Adjusting users assigned to selected tasks
1) Finding out the selected user's concentrated profitSmall user umin∈Up’And the user u with the maximum profit in the unselected user setmax∈Up-Up’If there is no user u with the minimum profitminAnd the user u with the maximum profitmaxSatisfies the following formula, step 5 of step (4) is carried out
vp,min<vp,max
Wherein v isp,minAnd vp,maxRespectively the least profitable user uminAnd the user u with the maximum profitmaxExecution of task τpIn this step, there are no users u who satisfy the conditionminAnd user umaxGo to step 5).
5) Updating and task to be distributed tau according to the following formulapTask tau with time conflictsconf∈confCorresponding available user set Aconf
Aconf=Aconf-Up'
Wherein
Wherein(s)conf,econf) Is related to task to be assigned τpTask tau with time conflictsconfUntil there is no task to be allocated which satisfies the condition, the execution time interval of (2) is transferred to step (3),conffor the empty set, after the task allocation is finished, the task allocation result is obtained as follows:
U1'={u8,u5,u4,u1},
U2'={u6,u9,u1,u7,u2}。
and completing diversity-constrained crowd sensing task allocation.
Claims (5)
1. A diversity-constrained crowd-sourcing-aware task allocation method is characterized by comprising the following steps of:
(1) collecting user and perceptual tasks
Set of perceptual tasks ═ τ1,τ2,...,τnComposed of n tasks, where each task τiIs (N)i,si,ei) Corresponding to an execution time interval(s)i,ei) And a desired number of users Ni,siIs task τiStart time of (e)iIs task τiEnd time of (d) satisfies ei>siI ∈ {1, 2.·, n }, n being a finite positive integer, k being a finite set of user types C ═ C1,c2,…,ckThe number of the types of the users contained in the data;
user set U ═ U1,u2,…,umIs composed of m users, where each user ujCorresponding to a user type cj∈ C, an idle time interval(s)j,ej) And a set of executive tasks τiYield v ofijWherein, j ∈ {1, 2.. multidot.m }, e }j>sj,vij≥0;
Each task τiFor each user type ct∈ C has diversity constraint parametersAndwherein, t ∈ {1, 2.., k },
(2) determining available users for a task
Determining per task τi∈ available user set AiThe following were used:
Ai={uj|uj∈U,sj≤si,ej≥ei}
(3) selecting task assignment users
1) For each task τi∈,Each user type ct∈ C, by user ujRevenue v for executing tasksijThe available user sets A are respectively set from large to smalliThe user type is ctUser set ofWherein:
2) for each task τi∈, each user type ct∈ C, respectively from the available user set A as followsiThe user type is ctUser set ofBefore selection inTask tau is formed by individual usersiAssignable user set Ui
WhereinIs a set of available users AiThe user type is ctUser set ofThe number of the users in (1) is,is a set of assignable users UiThe user type is ctA set of users of (1);
3) selecting a task to be assigned tau according to the following formulapTo be assigned task τpMoving into task set of allocated users'
|UiI is an allocable user set UiThe number of the users in (1) is,is a set of assignable users UiThe user type is ctUser set ofIf there is no task T to be allocated satisfying the conditionpIf yes, the distribution is finished;
4) for each user type ct∈ C Press user ujExecution of task to be assigned τpYield v ofpjThe tasks to be allocated are respectively treated from large to smallpAssignable user set UpThe user type is ctUser set ofIs ranked by the user in (1), wherein
5) For each user type ct∈ C, respectively, from the task to be assigned τ according to the following formulapAssignable user set UpThe user type is ctUser set ofIn, before selectionA user joins a task to be allocated taupSelected user set Up’
Wherein N ispIs the task τ to be assignedpThe number of persons required for the purpose of the treatment,is the task τ to be assignedpSelected user set Up’The user type is ctA set of users of (1);
6) per user ujExecution of task to be assigned τpYield v ofpjFrom large to small pairs of sets Up-Up’The users in (1) are ranked and the top N is selectedp-|Up’I users join selected user set Up’Wherein | Up’Is the selected user set Up’The number of users in (1);
(4) adjusting users assigned to selected tasks
1) Finding out the user u with the minimum profit in the selected user setmin∈Up’And the user u with the maximum profit in the unselected user setmax∈Up-Up’If there is no user u with the minimum profitminAnd the user u with the maximum profitmaxSatisfies the following formula, step 5 of step (4) is carried out
vp,min<vp,max
Wherein v isp,minAnd vp,maxRespectively the least profitable user uminAnd the user u with the maximum profitmaxExecution of task τpThe profit of (2);
2) selecting the demoble user u 'with the minimum profit'min
Wherein v ispjIs user ujExecution of task to be assigned τpThe yield of (a) to (b) is,is the task τ to be assignedpFor user ujUser type cjThe inverse diversity constraint parameter of (2) is,is the selected user set Up’The user type is cjUser set ofThe number of users in (1); if no go-to user u 'with minimum income exists'minTurning to step 5 of step (4);
3) selecting addable user u 'with maximum income'max
Wherein,is the task τ to be assignedpFor user ujUser type cjForward diversity constraint parameters; if there is no maximum profitPlus user u'maxTurning to step 5 of step (4);
4) adding user u 'with maximum income'maxMove into Up’Go-to user u 'with minimal revenue'minMove out Up’
Up'=Up'∪{u'max}-{u'min}
Step 1) of going to step (4);
5) updating and task to be distributed tau according to the following formulapTask tau with time conflictsconf∈confCorresponding available user set Aconf
Aconf=Aconf-Up'
Wherein
Wherein(s)conf,econf) Is related to task to be assigned τpTask tau with time conflictsconfAnd (4) turning to the step (3) until no task to be allocated meeting the condition exists.
2. The diversity-constrained crowd-sensing task allocation method according to claim 1, wherein: in the step (1) of collecting users and perception tasks, the number N of the required users of the perception task setiIs any positive integer, NiIs integral multiple of k, and k is the number of types contained in the limited user type set C.
3. The diversity-constrained crowd-sensing task allocation method according to claim 1 or 2, wherein: in the step (1) of collecting users and sensing tasks, the number k of the user types contained in the limited user type set C is 3.
5. The diversity-constrained crowd-sensing task allocation method according to claim 1, wherein: in the step 3) of selecting the task allocation user, the task to be allocated taupComprises the following steps: the number of tasks satisfying the condition is at least 1, and the task t to be distributedpThe task corresponding to the assignable user set with the minimum number of users.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010149178.8A CN111475266B (en) | 2020-03-06 | 2020-03-06 | Diversity-constrained crowd sensing task allocation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010149178.8A CN111475266B (en) | 2020-03-06 | 2020-03-06 | Diversity-constrained crowd sensing task allocation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111475266A true CN111475266A (en) | 2020-07-31 |
CN111475266B CN111475266B (en) | 2021-11-30 |
Family
ID=71748159
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010149178.8A Expired - Fee Related CN111475266B (en) | 2020-03-06 | 2020-03-06 | Diversity-constrained crowd sensing task allocation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111475266B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150285639A1 (en) * | 2014-04-04 | 2015-10-08 | Umm-Al-Qura University | Method and system for crowd sensing to be used for automatic semantic identification |
WO2015191324A2 (en) * | 2014-05-30 | 2015-12-17 | Reylabs Inc. | Systems and methods involving mobile indoor energy efficiency exploration, monitoring and/or display aspects |
CN106209874A (en) * | 2016-07-18 | 2016-12-07 | 沈阳师范大学 | A kind of intelligent perception distribution system and method for allocating tasks thereof |
CN109408228A (en) * | 2018-09-30 | 2019-03-01 | 陕西师范大学 | Intelligent perception method for allocating tasks based on allocation of budget |
-
2020
- 2020-03-06 CN CN202010149178.8A patent/CN111475266B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150285639A1 (en) * | 2014-04-04 | 2015-10-08 | Umm-Al-Qura University | Method and system for crowd sensing to be used for automatic semantic identification |
WO2015191324A2 (en) * | 2014-05-30 | 2015-12-17 | Reylabs Inc. | Systems and methods involving mobile indoor energy efficiency exploration, monitoring and/or display aspects |
CN106209874A (en) * | 2016-07-18 | 2016-12-07 | 沈阳师范大学 | A kind of intelligent perception distribution system and method for allocating tasks thereof |
CN109408228A (en) * | 2018-09-30 | 2019-03-01 | 陕西师范大学 | Intelligent perception method for allocating tasks based on allocation of budget |
Non-Patent Citations (1)
Title |
---|
方文风,周朝荣,孙三山: "移动群智感知中任务分配的研究", 《计算机应用研究》 * |
Also Published As
Publication number | Publication date |
---|---|
CN111475266B (en) | 2021-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Wang et al. | EIHDP: Edge-intelligent hierarchical dynamic pricing based on cloud-edge-client collaboration for IoT systems | |
US11716748B2 (en) | Multi-user slice resource allocation method based on competitive game | |
US8972311B2 (en) | Intelligent spectrum allocation based on user behavior patterns | |
CN109068288B (en) | Method and system for selecting mobile crowd sensing incentive mechanism based on multi-attribute user | |
CN102149171B (en) | Method and device for selecting network based on converged heterogeneous radio access network | |
CN105446817B (en) | A kind of federated resource configuration of reservations algorithm based on robust optimization in mobile cloud computing | |
CN111510957B (en) | Mobile edge server coordinate positioning method based on multi-target constraint optimization | |
CN105119751A (en) | Service evaluation and selection method based on environment real-time perceiving | |
CN108304266A (en) | A kind of mobile multiple target intelligent perception method for allocating tasks | |
CN111614754A (en) | Fog-calculation-oriented cost-efficiency optimized dynamic self-adaptive task scheduling method | |
CN115152191A (en) | Analytics generation and usage in mobile networks | |
Hui et al. | Digital twins enabled on-demand matching for multi-task federated learning in HetVNets | |
CN109086976B (en) | Task allocation method for crowd sensing | |
Chen et al. | Enhancing mobile edge computing with efficient load balancing using load estimation in ultra-dense network | |
CN111475266B (en) | Diversity-constrained crowd sensing task allocation method | |
Sahinel et al. | Resource management in converged optical and millimeter wave radio networks: a review | |
Kushwaha et al. | Optimal device selection in federated learning for resource-constrained edge networks | |
CN115080249B (en) | Vehicle networking multidimensional resource allocation method and system based on federal learning | |
CN116095721A (en) | Mobile crowd-sourced network contract excitation method and system integrating perception communication | |
CN113938813B (en) | Task processing method, device and storage medium | |
CN114116233A (en) | Edge server configuration method and system based on AP clustering algorithm and multi-objective optimization algorithm | |
CN110825500B (en) | Crowd sensing task allocation method for three-layer structure | |
CN109143159B (en) | Fingerprint crowdsourcing indoor positioning incentive method based on joint pricing and task allocation | |
Antonius | Efficient resource allocation through CNN-game theory based network slicing recognition for next-generation networks | |
Esquivel-Mendiola et al. | Distributed Algorithm for Base Station Assignment in 4G/5G Machine-Type Communication Scenarios with Backhaul Limited Conditions |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20211130 |