{'fraction_non_alphanumeric': 0.019247594050743656, 'fraction_numerical': 0.0, 'mean_word_length': 5.320441988950276, '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}}
DV-Hop Localization Algorithm Based on RSSI Hop Number Correction and Improved Artificial Immune Algorithm Optimization

Since the sensor nodes are unevenly distributed, when the DV-Hop positioning algorithm counts the hop count, each hop with a different hop distance between the beacon nodes and the other nodes is considered to be equivalent, resulting in the calculated test metric. The node coordinates are quite inaccurate. In order to solve this error, a DV-Hop node localization algorithm based on received signal strength (RSSI) hops correction and improved artificial immune algorithm optimization is proposed. In this paper, firstly, the RSSI value received by the node is used to construct the correction coefficient to correct the hop count. On this basis, an improved artificial immune algorithm is introduced to improve the coordinates of the node to be measured by Gaussian mutation in the local search process. The Matlab simulation proves that compared with the original DV-Hop algorithm, the algorithm reduces the positioning error to different extents, improves the positioning accuracy, and improves the convergence speed.