{'fraction_non_alphanumeric': 0.0201765447667087, 'fraction_numerical': 0.0, 'mean_word_length': 5.504098360655738, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
TCNS: Node Selection With Privacy Protection in Crowdsensing Based on Twice Consensuses of Blockchain

With the rapid growth of smart terminals in recent years, crowdsensing which utilizes the human intelligence to solve complicated problems have gained considerable interest and exploit. The majority of the existing crowdsensing systems rely on a trusted third-party platform to complete sensing tasks and collect large-scale data. However, the platform cannot completely ensure trust in the real world. The issues of security and privacy caused by the center platform should not be ignored. In this paper, we propose a decentralized privacy-preserving model based on twice verifications and consensuses of blockchain (TCNS). In the prototype of TCNS, an anonymity strategy which can be verified based on the elliptic curve algorithm is proposed to protect the user identity privacy. Then, we propose a twice consensus mechanism, which ensures that the data can be traced and avoids data from being impersonated, tampered with, and denied. Moreover, we propose a user attribute protection scheme based on the lightweight homomorphic encryption algorithm. Finally, considering various influencing factors comprehensively, TCNS uses fuzzy theories to select the candidate mobile nodes. Further, we implement the prototype with real-world datasets, the experimental analysis of privacy protection and safety shows that TCNS can effectively prevent association analysis attacks and background knowledge attacks. More gratifying, the time overhead for generating a new block is acceptable.