{'fraction_non_alphanumeric': 0.01021355617455896, 'fraction_numerical': 0.0, 'mean_word_length': 5.822784810126582, '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}}
The Study of the Weighted Centroid Localization Algorithm Based on RSSI

Aiming at the wireless sensor network (WSN) positioning of the centroid localization algorithm with the problem of inaccurate positioning, this paper proposes an improved weighted centroid localization algorithm based on RSSI. This algorithm regard the distance between the unknown node and the reference of anchor nodes as the weight in centroid localization algorithm, make full use of the unknown node received signal strength indicator, by attaching the anchor node weight size to determine the weight of the reference node in the process of the centroid localization algorithm, so as to improve the positioning accuracy of traditional localization algorithm. Using the MATLAB simulation platform analysis it is concluded that the improved weighted centroid localization algorithm is better than traditional centroid localization algorithm, to some extent improving the positioning accuracy and reduce the positioning error, conforming to the requirements of the wireless sensor network localization.