Research Article
Location Privacy Protection Research Based on Querying Anonymous Region Construction for Smart Campus
Algorithm 1
Anonymous subregion generation algorithm based on querying region division.
| Input: pieces of locations ; the query radius ; the privacy requirement ; | | Output: anonymous region set ; | (1) | for to do | (2) | ; | (3) | ; | (4) | ; | (5) | , calculating ; | (6) | end for | (7) | for to and do | (8) | ; | (9) | ; | (10) | , calculating ; | (11) | if then | (12) | ; | (13) | end if | (14) | if then | (15) | ; | (16) | end if | (17) | end for | (18) | return |
|