{'fraction_non_alphanumeric': 0.01601423487544484, 'fraction_numerical': 0.0026690391459074734, 'mean_word_length': 5.818181818181818, '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}}
Model for Malicious Node Recognition Based on Environmental Parameter Optimization and Time Reputation Sequence

Wireless sensor network (WSN) works in a complex environment. To interdict the malicious nodes which attacks the safety of network, such as interrupt attacks and selective forwarding attacks, based on TS-BRS reputation model, a model for malicious node identification based on MNRT-OEP&RS algorithm is constructed. Using the linear regression of machine learning and combining the energy of nodes, data volume, number of adjacent nodes, the node sparsity and other deterministic parameters can solve environmental parameters. Then the similarity of between the benchmark reputation sequence and cycle reputation sequence sets the dynamic reputation double threshold are calculated in order to identify the malicious nodes by dynamically considering the information forwarding behavior. The simulated results show that the improved algorithm can guarantee the security of wireless sensor networks in complex environments effectively with above 90% recognition of malicious nodes and below 8% false positive rate.