Research Article

From Centralized Protection to Distributed Edge Collaboration: A Location Difference-Based Privacy-Preserving Framework for Mobile Crowdsensing

Algorithm 1

CTBC.
Input: , , , , ,
Output: selected users
(1)Select to realize a coordinate transformation
(2)Calculate by equation (1)
(3)Calculate by and equations (1) and (6)
(4)Determine , ,
(5) for DO
(6)  if and
(7)   Calculate the matchmaking degree by equation (8), and sort user data in descending order (i.e., )
(8)  else
(9)   Delete j
(10) end for
(11)Determine from STC
(12) if then
(13)  Random select users from
(14) else
(15)   is selected
(16)  Determine from STC
(17)  until
(18) end if
(19)End