WIFI fingerprinting indoor localization method based on denoising auto-encoder and convolutional neural network

By extracting the robust features of WiFi fingerprints through denoising autoencoders and convolutional neural networks, and combining them with AP location information to enhance the data, the accuracy problem of WiFi fingerprint indoor positioning under noise and sparsity is solved, achieving efficient and real-time indoor positioning. position.

WO2024197655A1PCT designated stage expired Publication Date: 2024-10-03SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI

Patent Information

Application Number
PCT/CN2023/084808
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-29
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Existing WiFi fingerprint indoor positioning technology has shortcomings in anti-noise performance, positioning accuracy and algorithm running time. It is especially difficult to achieve high-precision positioning in environments with WiFi signal volatility and human body obstruction.

Method used

Using denoising autoencoders and convolutional neural networks, a lightweight regression network model is constructed to improve noise immunity and positioning accuracy by extracting robust features independent of noise, combined with the WiFi fingerprint data enhancement method based on AP location information.

Benefits of technology

It significantly improves the anti-noise performance and robustness of WiFi fingerprint indoor positioning, reduces the model running time, reduces the impact of data sparsity on positioning accuracy, and achieves higher positioning accuracy and real-time performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023084808_03102024_PF_FP_ABST
    Figure CN2023084808_03102024_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present invention is a WiFi fingerprinting indoor localization method based on a denoising auto-encoder and a convolutional neural network. The method comprises the following steps: acquiring WiFi fingerprinting data, and calculating a rough location of a corresponding access point by using a constructed fingerprint library, wherein the fingerprint library comprises location reference point coordinates of an access point coverage area; on the basis of the rough location of the access point, reordering the WiFi fingerprinting data in a set direction; extracting a feature map from the WiFi fingerprinting data by using a trained encoder; and inputting the feature map into a trained regression network model to obtain a localization result, wherein the regression network model reflects a nonlinear relationship between the WiFi fingerprinting data and location coordinates. The present invention improves the calculation efficiency, the anti-noise capability and the robustness, and improves the localization precision.
Need to check novelty before this filing date? Find Prior Art

Description

WiFi fingerprint indoor positioning method based on denoising autoencoder and convolutional neural network Technical Field

[0001] The present invention relates to the field of communication technology, and more specifically, to a WiFi fingerprint indoor positioning method based on a denoising autoencoder and a convolutional neural network. Background Art

[0002] With the development of the Internet of Things (IoT), demand for positioning services has gradually expanded from outdoor to indoor locations. WiFi fingerprint positioning, due to its portability, simple deployment, wide coverage, high positioning accuracy, and low cost, has rapidly become the mainstream indoor positioning technology for smart devices. In indoor environments, signals transmitted by multiple WiFi access points attenuate over distance and are reflected and blocked by objects such as walls. This results in a unique "location fingerprint" received at each location. WiFi fingerprint positioning utilizes the mapping relationship between physical location and WiFi signal to determine physical location based on WiFi signals.

[0003] In recent years, with the improvement of people's living standards, the demand for location-based services has been increasing. Satellite navigation systems, such as China's Beidou and the United States' GPS, are highly mature. However, in obstructed environments, satellite signal strength can be significantly attenuated, failing to meet positioning accuracy requirements or even failing to achieve positioning functionality. Against this backdrop, new positioning technologies have been proposed, such as those based on WiFi, Bluetooth, infrared, and inertial sensors. Smartphones, for example, already have integrated WiFi signal receiving modules, and many large buildings are already equipped with numerous access points (APs) (such as routers), eliminating the need for dedicated hardware infrastructure like Bluetooth and infrared. Furthermore, WiFi positioning can achieve high positioning accuracy, making it a clear advantage in indoor positioning. However, WiFi signals are susceptible to random obstruction by the human body. Furthermore, due to multipath effects and the instability of the wireless signal transmission power of access points (APs), such as routers, the received signal strength of the AP can fluctuate over time, reducing positioning accuracy. In addition, the number of WiFi networks that can be detected at each physical location is limited, so each WiFi fingerprint contains a large number of repeated constant values, resulting in sparse WiFi fingerprint data and affecting positioning accuracy.

[0004] In the existing technology, WiFi positioning methods are mainly divided into geometric methods and fingerprint methods. Geometric methods use time of arrival (TOA) and angle of arrival (AOA) to estimate location. The main disadvantage of TOA is that the time between all WiFi signal transceivers must be synchronized. If synchronization is not handled properly, it can lead to very large positioning errors. AOA, on the other hand, requires access points (APs) to have multiple antennas, which places high demands on the AP hardware configuration. Fingerprint methods use the differences in WiFi signals at different locations to establish a correspondence between location and WiFi signal characteristics, and then achieve positioning based on WiFi signals. Common WiFi fingerprint features include received signal strength indication (RSSI), signal-to-noise ratio (SNR), and channel state information (CSI). CSI contains more signal characteristics, making CSI-based positioning more accurate than RSSI-based positioning. However, due to the relative difficulty of obtaining CSI, RSSI remains a commonly used fingerprint feature for WiFi fingerprint positioning. The fingerprint method requires collecting WiFi signals from all reference points (RPs) offline and building a WiFi fingerprint library. During the positioning process, a fingerprint matching algorithm is used to match the most suitable RP from the fingerprint library. The location coordinates of this RP are the final positioning result.

[0005] RSSI-based fingerprint positioning methods are mainly divided into two categories: machine learning-based methods and deep learning-based methods. Common machine learning methods include K-nearest neighbor, weighted K-nearest neighbor, random forest, and decision tree. K-nearest neighbor requires traversing the fingerprint library each time it is run, and the algorithm runtime increases as the fingerprint library grows. Decision trees and random forests require manual feature design, and improper feature selection can seriously affect positioning accuracy. Deep learning-based methods use the fingerprint library to train the network model in the offline phase. In the online phase, the positioning results are calculated directly using online fingerprint data without further traversal of the fingerprint library. Deep learning-based methods can also automatically extract features, eliminating the need for manual extraction. However, current deep learning models are too complex, significantly increasing runtime.

[0006] Among existing solutions, patent application CN2021109096762 discloses a method and apparatus for WiFi fingerprint positioning. This method primarily uses device physical address hash values ​​and a linked list approach to reduce the fingerprint library search space, thereby speeding up the algorithm. However, it does not propose a solution for hash conflicts. The resulting solution is a local optimal solution, not a global optimal solution. Furthermore, this method does not consider the impact of WiFi signal obstruction or volatility on the results.

[0007] Patent application CN2022114371340 discloses a residential building indoor positioning method based on Wi-Fi fingerprints and an improved KNN algorithm. This method uses a multi-level clustering approach to sequentially select building, unit, floor, and location coordinates. This multi-level clustering approach increases the algorithm's runtime, and errors at any level can severely affect positioning accuracy. The algorithm's final calculation of location coordinates uses geometric triangulation, which requires the coordinates of the access point (AP) device, making it unsuitable for large-scale deployment and resulting in lower accuracy. Furthermore, the method uses a process in which terminal devices collect Wi-Fi data and report it to a server, increasing data security risks and reducing the algorithm's real-time performance.

[0008] Patent application number CN2022111753748 discloses a method for indoor floor recognition and location estimation using WiFi fingerprints. This method uses a convolutional neural network to identify floors and a decision tree, K-nearest neighbor, and random forest to calculate user location coordinates. However, these machine learning-based methods have poor noise immunity. When the online WiFi fingerprint differs significantly from the historical data in the fingerprint library, the positioning error is significantly reduced.

[0009] Patent application number CN2022104092596 discloses an indoor positioning floor recognition method based on a stacked autoencoder deep learning framework. This method uses stacked autoencoders to identify floors but does not involve more fine-grained position coordinate calculations.

[0010] In summary, the existing indoor positioning methods based on WiFi fingerprints have certain shortcomings in terms of noise resistance, positioning accuracy, algorithm running time, and correlation with the size of the fingerprint library. The existing technology needs to be improved.

[0011] Summary of the Invention

[0012] The purpose of the present invention is to overcome the above-mentioned shortcomings of the prior art and provide a WiFi fingerprint indoor positioning method based on a denoising autoencoder and a convolutional neural network. The method comprises the following steps:

[0013] Collect WiFi fingerprint data and calculate the rough location of the corresponding access point using a built fingerprint library containing the coordinates of the location reference points of the access point coverage area;

[0014] reordering the WiFi fingerprint data along a set direction based on the rough location of the access point;

[0015] extracting a feature map from the WiFi fingerprint data using the trained encoder;

[0016] The feature map is input into a trained regression network model to obtain a positioning result, wherein the regression network model reflects the nonlinear relationship between WiFi fingerprint data and location coordinates.

[0017] Compared with the prior art, the advantage of the present invention is that it proposes a convolutional denoising autoencoder, which uses noisy WiFi fingerprints to train the denoising autoencoder, and can extract robust features that are independent of noise, suppressing signal interference caused by factors such as WiFi signal volatility and human body occlusion. In addition, a lightweight regression network based on a convolutional neural network is proposed for predicting the coordinates to be positioned. In addition, a WiFi fingerprint data enhancement method based on the sorting of AP location information is proposed to reduce the impact of WiFi fingerprint sparsity. In summary, the present invention reduces the model running time by building a lightweight network model, and uses a denoising autoencoder and a WiFi fingerprint data enhancement method based on the sorting of AP location information to improve the model's noise resistance and robustness, reducing the impact of data sparsity on positioning accuracy.

[0018] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

[0020] FIG1 is a flowchart of a WiFi fingerprint indoor positioning method based on a denoising autoencoder and a convolutional neural network according to an embodiment of the present invention;

[0021] FIG2 is a schematic diagram of a process of a WiFi fingerprint indoor positioning method based on a denoising autoencoder and a convolutional neural network according to an embodiment of the present invention;

[0022] FIG3 is a schematic structural diagram of a denoising encoder according to an embodiment of the present invention;

[0023] FIG4 is a schematic diagram of the structure of a regression network model according to an embodiment of the present invention;

[0024] FIG5 is a schematic diagram of extracting a rough location of an access point according to an embodiment of the present invention;

[0025] FIG6 is a schematic diagram of sorting based on rough locations of access points according to one embodiment of the present invention;

[0026] FIG7 is a schematic diagram of the loss of a denoising encoder on a training set and a validation set according to an embodiment of the present invention;

[0027] FIG8 is a schematic diagram of the loss of a regression network model on a training set and a validation set according to an embodiment of the present invention. DETAILED DESCRIPTION

[0028] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention.

[0029] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0030] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered part of the specification.

[0031] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0032] It should be noted that like reference numerals and letters refer to like items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0033] The present invention proposes a WiFi fingerprint indoor positioning method, which generally includes: collecting WiFi information at multiple reference points (RP) through intelligent terminals (such as smartphones, tablets, etc.), and associating them with the current RP coordinate position to form a WiFi fingerprint library. After preprocessing steps such as AP location information extraction, WiFi fingerprint data enhancement, data set partitioning, data normalization and noise addition, the fingerprint data is finally input into a denoising autoencoder and a lightweight regression network model based on a convolutional neural network to achieve accurate calculation of location information.

[0034] As shown in Figures 1 and 2, the provided WiFi fingerprint indoor positioning method based on denoising autoencoder and convolutional neural network includes the following steps:

[0035] Step S110 , preprocessing the fingerprint data, and constructing a training set, a validation set, and a test set.

[0036] The following description uses RSSI as fingerprint data, but it should be understood that CSI or other indicators can also be used as fingerprint data. The RSSI of an AP is typically between -110dBm and 0dBm. RSSI values ​​greater than 0dBm are set to 0dBm, and RSSI values ​​less than -110dBm are set to -110dBm, indicating that the AP has no signal at that location.

[0037] To improve positioning accuracy during fingerprint data preprocessing, a data enhancement method based on AP location sorting is proposed. First, rough AP locations are extracted from the fingerprint database. The fingerprint data is then sorted using the AP locations. The WiFi fingerprint database is then divided into a training set (TrainDataSet), a validation set (ValidDataset), and a test set (TestDataset). Furthermore, the fingerprints and coordinates in the TrainDataSet and ValidDataset are noised and normalized, respectively.

[0038] 1) Extract AP rough location

[0039] Signal propagation theory shows that the signal coverage of a single AP is limited. Let the i-th AP in the fingerprint database be AP i , then you can find the AP from the fingerprint database i Which RPs are covered by the signal (RSSI is not -110dBm)? Record them as:

[0040] in, Indicates AP i The kth RP covered by the signal is then obtained from the fingerprint database The corresponding RP position coordinate list is recorded as:

[0041] in, express The following formula can be used to calculate the AP i The approximate location coordinates, Pos i represents the rough location of the i-th AP.

[0042] 2) WiFi fingerprint data enhancement

[0043] Fingerprint databases are tabular data with no ordering between columns. Furthermore, WiFi fingerprints suffer from data sparsity, meaning a large number of RSSI values ​​of -110dBm are present in a single WiFi fingerprint. In light of this, one embodiment proposes an AP sorting-based method for data enhancement of WiFi fingerprint data, resulting in a globally sparse but locally dense data format.

[0044] For example, after calculating the rough AP coordinates, the APs are sorted along the northwest-southeast direction (from the upper left corner to the lower right corner in Figure 5). Assuming that the order of the five APs in the fingerprint data in Figure 5 is (AP1, AP2, AP3, AP4, AP5), the sorted order is (AP2, AP1, AP3, AP4, AP5). This step simply requires swapping the positions of the columns in the fingerprint library, converting the original WiFi fingerprint into data with AP spatial information characteristics.

[0045] Furthermore, in order to use two-dimensional convolution to process fingerprint data, the WiFi fingerprint data dimension can be changed from 1×m to Where m is the number of APs.

[0046] 3) Divide the data set

[0047] For example, the dataset is divided into the training set TrainDataSet, the validation set ValidDataset and the test set TestDataset in the ratio of 8:1:1. The fingerprint and coordinate label values ​​of TrainDataSet are train x and train y The fingerprint and coordinate label values ​​of ValidDataset are valid x and valid y . The fingerprint and coordinate label values ​​of TestDataset are test x and test y ;

[0048] 4) Normalization of fingerprint data and location coordinate label values

[0049] The RSSI value is between -110dBm and 0dBm. Directly inputting the model will make it difficult for the model to converge. Therefore, the training x , valid x and test x Normalized, expressed as:

[0050] Among them, RSSI ij represents the signal strength of the i-th AP received at the j-th RP, and Min_RSSI represents the minimum RSSI value in the fingerprint database. After normalization, the distribution of WiFi fingerprint data becomes unbiased and low-variance, which helps the model converge.

[0051] In addition, the RP position coordinates are located in a large area, and direct use will cause the model training to fail, and training is also required. y and validy Normalize it.

[0052] Among them, Pos j Indicates the position coordinates of the jth RP (X j ,Y j ), Max_pos and Min_pos are the maximum and minimum horizontal and vertical coordinates respectively

[0053] 5) Fingerprint data plus noise

[0054] To solve the problem that WiFi signals are blocked by human bodies and fluctuate over time, resulting in poor positioning results, the train x and valid x Gaussian noise and masking noise are added to improve the robustness of the model to noise, which are denoted as and

[0055] Step S120: training a denoising autoencoder to extract feature maps from the fingerprint data.

[0056] The historical data in the WiFi fingerprint database may differ significantly from the data collected during the online phase. Therefore, a denoising autoencoder is constructed. As shown in Figure 3, the denoising autoencoder consists of convolutional layers, pooling layers, batch normalization (BN) layers, ReLU layers, and upsampling layers (UpSample). The denoising autoencoder is an architecture consisting of an encoder and a decoder. The encoder extracts noise-independent robust features from noisy WiFi fingerprint data, and the decoder then restores the original WiFi fingerprint from these features.

[0057] During the training phase, the input of the denoising autoencoder is The label value is train x The encoder in Figure 3 consists of two convolutional layers and one pooling layer, which Extract the robust feature F that is independent of noise train ; The decoder consists of an upsampling layer and a convolutional layer, which transforms the features F extracted by the encoder train Reconstruct fingerprint data to its original size

[0058] In the process of training the denoising autoencoder, the loss function can be set to train x and The mean square error MSE between and valid x Used to verify the performance of the model during training and save the best model. The feature map obtained by the encoder is F validAfter the denoising autoencoder training is completed, the trained encoder can be used to extract fingerprint data feature maps in subsequent applications.

[0059] Step S130: training a regression network model to obtain a positioning result based on a feature map corresponding to the fingerprint data.

[0060] In one embodiment, to improve computational efficiency, a lightweight regression network model based on a convolutional neural network is constructed. As shown in Figure 4, the regression network model includes a convolutional layer, a pooling layer, a batch normalization layer (BN), a ReLU layer, and a fully connected layer. The regression network model is used to regress and predict the final WiFi positioning result. Its input is the feature F extracted by the encoder, and its output is the label value of the train y The regression network model in Figure 4 contains three convolutional layers, two pooling layers, and a fully connected module. The three convolutional layers can extract spatial features. Mlp is a fully connected module composed of a multi-layer perceptron that can predict positioning results. It contains 6 fully connected layers, and the number of hidden neurons in each layer is 128, 256, 128, 64, 32, and 2 respectively. Except for the last layer, all other fully connected layers are connected to a BN layer and use a tanh activation function. The regression network model maps the feature F into a 1×2 position coordinate.

[0061] In the process of training the regression network model, you can use the train y and The mean absolute error between valid and valid y Used to verify the performance of the model during training and save the best model.

[0062] Step S140: obtaining a positioning result based on the fingerprint data collected online using the trained denoising autoencoder and regression network model.

[0063] After the model is trained using the training set TrainDataSet and the validation set ValidDataset, the fingerprint library is no longer needed. The newly collected fingerprint data can be directly used to predict the location coordinates using the model. In order to ensure the accuracy of the model, the test set TestDataset can be used to evaluate the performance of the model. Specifically, the test x Input the S120 trained encoder to get the feature map F test , and then the feature map F test Input the S130 trained regression network model to get the predicted value test_pred y , then calculate test_pred y and test yThe average positioning error between the two is used to verify the positioning performance of the model. The formula is expressed as:

[0064] Among them, error represents the loss value, n represents the number of test samples, i represents the sample index, test_pred y Represents the predicted value obtained by the regression network model, test y Represents the true value of the sample.

[0065] After the denoising autoencoder and regression network model are verified, real-time positioning results can be obtained for online fingerprint data. Similarly, the application process involves inputting online fingerprint data into a trained encoder, extracting the feature map corresponding to the fingerprint data, and then inputting this feature map into a trained regression network model to obtain positioning results. It should be understood that due to the use of a deep learning-based approach, the application process only requires collecting fingerprint data and inputting it into the trained network model to predict the final positioning result, without the need to traverse the fingerprint library as required by traditional machine learning methods.

[0066] It should be understood that those skilled in the art may make appropriate changes or modifications to the above embodiments without departing from the spirit and scope of the present invention. For example, the number of convolutional layers and hidden units included in the denoising autoencoder and regression network models may be set according to actual needs. For another example, the loss function used in model training may also be of other types.

[0067] To further validate the effectiveness of this invention, experiments were conducted based on the UJIIndoorLoc dataset, a public dataset for WiFi fingerprint positioning. The UJIIndoorLoc dataset consists of 19,937 training samples and 1,111 test samples. Twenty percent of the training samples were used as a validation set, while all the test samples were used as a test set.

[0068] Figure 5 illustrates the rough AP location extraction process, showing the RP coordinate ranges of five detectable APs. The dots represent the RPs, and the stars represent the estimated AP rough locations. As shown in Figure 5, AP4 has a relatively limited coverage area, while the other four have wider coverage areas. However, the RP coordinates within their coverage areas can all be used to describe the AP's rough location. These APs are relatively evenly distributed across the data collection area.

[0069] Figure 6 shows a schematic diagram of fingerprint data enhancement based on coarse AP position sorting, illustrating the process of enhancing raw WiFi fingerprint data. As can be seen from Figure 6, two originally similar WiFi fingerprints have higher discrimination after processing, and the previously globally sparse data becomes locally dense.

[0070] Figure 7 shows the loss of the denoising autoencoder on the training and validation sets. As can be seen from Figure 7, the model is gradually converging overall, and after 50 epochs, the training process gradually stabilizes, with the loss dropping to around 0.007.

[0071] Figure 8 shows the loss of the lightweight regression network model on the training set and validation set. As can be seen from Figure 8, the model is gradually converging overall, and the training process gradually stabilizes after 40 epochs.

[0072] Experimental verification shows that the positioning error of the present invention on the UJIIndoorLoc public dataset reaches 7.39 meters.

[0073] In summary, compared with the prior art, the present invention has the following technical advantages:

[0074] 1) Considering that the location coordinates of the reference point (RP) have been recorded in the WiFi fingerprint library, the present invention uses the location coordinates of the RP covered by the AP signal to calculate the AP's rough location.

[0075] 2) To address the problem of reduced positioning accuracy in deep regression networks due to sparse WiFi fingerprint data, the present invention reorders the WiFi fingerprint data based on the AP's rough location information. The reordered data is globally sparse but locally aggregated, effectively overcoming the poor accuracy of directly inputting the original WiFi fingerprint signal into the convolutional network and significantly improving network positioning accuracy.

[0076] 3) To address the problems of WiFi signals being blocked by human bodies and fluctuating over time, the present invention uses a denoising autoencoder to extract noise-independent robust features from noisy fingerprint data, suppressing noise interference, improving the model's anti-noise performance, and suppressing the impact of WiFi signal fluctuations on positioning accuracy.

[0077] 4) This paper proposes a lightweight, fine-grained regression network based on a convolutional neural network. This network leverages the powerful fitting capabilities of deep learning to extract the nonlinear relationship between WiFi fingerprint data and location coordinates. The proposed deep regression network has a simple structure, for example, consisting of only five convolutional layers and six fully connected layers with a small number of hidden neurons, and achieves high positioning accuracy. Furthermore, once trained, the proposed model no longer requires a fingerprint library, thus avoiding the issue of runtime dependency on the size of the fingerprint library in machine learning methods such as K-nearest neighbor.

[0078] 5) The present invention does not require manual extraction of WiFi signal features, but instead uses convolutional neural networks to automatically extract them, avoiding the problem of poor positioning accuracy caused by inappropriate features manually extracted by machine learning methods.

[0079] 6) This invention directly predicts location coordinates, eliminating the need for multi-level aggregation processes such as floor identification. Furthermore, the proposed model is lightweight and can be run on smart terminals for real-time user positioning. It eliminates the need to transmit WiFi data collected by the terminals to a server for settlement, improving real-time performance and mitigating data security issues during data transmission.

[0080] 7) The present invention is a fine-grained position coordinate regression algorithm based on convolutional denoising autoencoder and convolutional neural network. The algorithm running time is only related to the model size and complexity, and is not affected by the size of the fingerprint database. The model can be run on smart device terminals to achieve real-time positioning.

[0081] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0082] Computer-readable storage medium can be a tangible device that can keep and store the instructions used by the instruction execution device.Computer-readable storage medium can be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device or any suitable combination thereof.More specific examples (non-exhaustive list) of computer-readable storage medium include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, for example, a punch card or a convex structure in a groove having instructions stored thereon, and any suitable combination thereof.Computer-readable storage medium used herein is not interpreted as a transient signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagated by waveguides or other transmission media (for example, light pulses by fiber optic cables), or electrical signals transmitted by wires.

[0083] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in the computer-readable storage medium in each computing / processing device.

[0084] The computer program instructions for performing the operation of the present invention can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, Python, and conventional procedural programming languages ​​such as "C" language or similar programming languages. Computer-readable program instructions can be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer and partially on a remote computer, or completely on a remote computer or server. In the case of a remote computer, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., utilizing an Internet service provider to connect via the Internet). In some embodiments, by utilizing the state information of computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit can execute computer-readable program instructions, thereby realizing various aspects of the present invention.

[0085] Various aspects of the present invention are described herein with reference to flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the present invention. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer-readable program instructions.

[0086] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device is generated that implements the functions / actions specified in one or more blocks in the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, where these instructions cause the computer, programmable data processing device, and / or other device to operate in a specific manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing various aspects of the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0087] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more blocks in the flowchart and / or block diagram.

[0088] The flowcharts and block diagrams in the accompanying drawings show the possible implementation architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment or part of an instruction, and the module, program segment or part of the instruction contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, implementation by software, and implementation by a combination of software and hardware are all equivalent.

[0089] While various embodiments of the present invention have been described above, the foregoing description is intended to be illustrative, non-exhaustive, and not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is selected to best explain the principles of the embodiments, their practical applications, or technological improvements in the marketplace, or to enable others skilled in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.

Claims

1. A WiFi fingerprint indoor positioning method based on denoising autoencoder and convolutional neural network, comprising the following steps: Collect WiFi fingerprint data and calculate the rough location of the corresponding access point using the constructed fingerprint library, wherein the fingerprint library contains the coordinates of the location reference points of the access point coverage area; Reordering the WiFi fingerprint data along a set direction based on the rough location of the access point; extracting a feature map from the WiFi fingerprint data using the trained encoder; The feature map is input into a trained regression network model to obtain a positioning result, wherein the regression network model reflects the nonlinear relationship between WiFi fingerprint data and location coordinates.

2. The method according to claim 1, characterized in that The encoder is trained according to the following steps: Construct a denoising autoencoder, which includes an encoder and a decoder; Based on the set loss function, the denoising autoencoder is trained using a training set, wherein the encoder is used to extract a feature map from the WiFi fingerprint data, and the decoder reconstructs the feature map into fingerprint data of the original size, and the training set reflects the correspondence between the normalized noisy WiFi fingerprint data samples and the coordinate label values.

3. The method according to claim 2, characterized in that The encoder includes two convolutional layers and one pooling layer, and the decoder includes one upsampling layer and one convolutional layer.

4. The method according to claim 1, characterized in that: The regression network model includes three convolutional layers, two pooling layers and a fully connected module, wherein the three convolutional layers are used to extract spatial features; the fully connected module is used to predict the positioning results, and the fully connected module includes 6 fully connected layers, the number of hidden neurons in each layer is 128, 256, 128, 64, 32 and 2 respectively, and except for the last fully connected layer, the other fully connected layers are connected to a BN layer and use a tanh activation function.

5. The method according to claim 1, characterized in that The loss function used to train the regression network model is set to: Among them, error represents the loss value, n represents the number of samples, i represents the sample index, test_pred y Represents the predicted value obtained by the regression network model, test y Represents the true value of the sample.

6. The method according to claim 1, characterized in that The loss function for training the denoising autoencoder is the mean squared error loss.

7. The method according to claim 1, characterized in that Get the rough location of the access point by following the steps below: Let the i-th access point AP in the fingerprint database be AP i , find the AP from the fingerprint database i The reference position RP covered by the signal is expressed as: in, Indicates AP i The kth RP covered by the signal; Get from fingerprint database The corresponding RP position coordinate list is expressed as: in, express The location coordinates of AP is calculated according to the following formula i The rough position coordinates of: Among them, Pos i Represents the rough location of the i-th access point AP.

8. The method according to claim 1, characterized in that The WiFi fingerprint data is an RSSI signal or a CSI signal collected by a smart terminal.

9. A computer-readable storage medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.

10. A computer device comprising a memory and a processor, wherein a computer program capable of running on the processor is stored in the memory, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Positioning method and device of deep learning radio frequency signal fingerprint identification algorithm

    CN114666734A

  • Indoor positioning method, device and system

    CN114760586A

  • Indoor target positioning method based on improved CNN model

    WO2022242018A1

Cited By

  • Multi-mode fingerprint matching fusion intelligent positioning method and system

    CN119164391A

  • Building internal communication electric signal processing method

    CN120639222A