{'fraction_non_alphanumeric': 0.034122562674094706, 'fraction_numerical': 0.001392757660167131, 'mean_word_length': 5.622119815668203, '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}}
A modularized real-time indoor navigation algorithm on smartphones

This paper outlines an indoor navigation algorithm that uses multiple kinds of sensors and technologies, such as 9-axis sensors (i.e., 3D gyros, accelerometers, and magnetometers), WiFi, and magnetic matching. The corresponding real-time software on smartphones includes modules such attitude determination and gyro bias estimation, pedestrian dead-reckoning (PDR), WiFi positioning, and magnetic matching. The heading from the attitude-determination module is fed into the PDR-based position-tracking module. Then, PDR is used for providing continuous position solutions and for the blunder detection of both WiFi fingerprinting and magnetic matching. Meanwhile, WiFi fingerprinting utilizes a point-by-point matching technology, while magnetic matching is based on profile-matching. Finally, WiFi and magnetic matching results are passed into the position-tracking module as updates. This algorithm was tested with two smartphones in two indoor environments. The results indicates the proposed navigation algorithm provided better navigation results than those of PDR, WiFi, or magnetic matching by itself, and better than the results of PDR/WiFi and PDR/magnetic matching (MM) in challenging indoor environment. The proposed using off-the-shelf sensors available in consumer portable devices and existing WiFi infrastructures, and have been realized on smartphones.