Research Article
The User Participation Incentive Mechanism of Mobile Crowdsensing Network Based on User Threshold
Algorithm 1
Threshold cognition model.
| | Input: Tasks number K, set of users N, budget B | | | Output: remaining budget B(t), task percentage completed T(t) | | (1) | initial the tasks and users, set credit values thres | | (2) | while !k||B | | (3) | for k = 1 : 1:K | | (4) | Min thresi ⟵ find the user of the max credit value | | (5) | Uk ⟵ calculate the utility of segment k | | (6) | Ci ⟵ calculate the cost of segment k | | (7) | Pk⟵ calculate incentives for user | | (8) | According to Ci, Pk, thres to determine whether accept segment or not | | (9) | if accept segment | | (10) | N(t) ⟵ calculate proportion of user participation | | (11) | B(t)⟵B- Pk | | (12) | else | | (13) | constant values | | (14) | end if | | (15) | end for | | (16) | calculate T(t) | | (17) | Next loop | | (18) | end while | | (19) | return B(t), T(t) |
|