{'fraction_non_alphanumeric': 0.01702127659574468, 'fraction_numerical': 0.0, 'mean_word_length': 5.061855670103093, '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}}
Obstructed Nearest Neighbor Query Under Uncertainty in the Internet of Things Environment

The internet of things provides a convenient life for all of us. Physical devices with locational systems connected to the internet can provide navigation and recommendation services in cooperation with the Location Based Services (LBS). The nearest neighbor query is the most common query type in the LBS research area. On the other hand, due to privacy protection or inaccuracies in measurement instructions, data uncertainties are typical in the IoT environment. This uncertainty will affect the results of nearest neighbor queries. The existence of plane obstacles also brings the challenge to the spatial data query. In this paper, the obstacles and data uncertainties in continuous nearest query are studied. We also designed a pruning strategy that significantly reduced the number of objects to be calculated. In addition, we propose a concept of safe region and an algorithm to generate a safe region. We also designed an index method for saving safe regions. The experimental results show that our approach outperforms the state-of-the-art one in efficiency and scalability.