Fingerprint information processing method, device and network equipment
By constructing a WiFi fingerprint database and performing feature extraction and screening, the problem of low fingerprint positioning accuracy in the existing technology is solved, high-precision and universal fingerprint positioning is achieved, and the processing of data from multiple devices and different time periods is simplified.
Patent Information
- Application Number
- CN202110696900.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-23
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-06-23
AI Technical Summary
The existing technology lacks a unified fingerprint information processing method, resulting in insufficient fingerprint positioning accuracy and a lack of uniformity in data processing for different devices and different time periods.
By constructing a WiFi fingerprint database based on the characteristic information and quality information of fingerprint hotspots, using methods such as feature extraction, screening and weight sorting, a wireless fidelity WiFi fingerprint database is established for WiFi fingerprint positioning, and the database is updated when the environment remains unchanged. .
It achieves high accuracy and versatility of fingerprint positioning, simplifies the processing of data from multiple devices and different time periods, and improves the simplicity of the update mechanism of the fingerprint database.
Smart Images

Figure CN115515223B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to a fingerprint information processing method, device and network equipment. Background Art
[0002] In the prior art, when the fingerprint of a certain collection point is smoothed, it is usually achieved by taking the average value. However, the fingerprint information processed by different devices, different time periods or different models needs to be appropriately weighted to increase the robustness of the fingerprint library. If there is a need for updating, average weighting is usually performed.
[0003] However, the existing technology for collecting fingerprint information requires distinguishing different devices, different time periods or different models, but lacks a unified fingerprint information processing method. In addition, the statistical characteristics of fingerprint information are not fully explored and collected, but the average value is directly calculated, resulting in insufficient fingerprint positioning accuracy. Summary of the invention
[0004] The purpose of the present invention is to provide a fingerprint information processing method, device and network equipment, which solves the problem that the fingerprint positioning accuracy is not high enough due to the lack of a unified fingerprint information processing method in the prior art.
[0005] To achieve the above object, an embodiment of the present invention provides a method for processing fingerprint information, comprising:
[0006] According to at least one fingerprint hotspot, a target fingerprint hotspot set is obtained;
[0007] Acquire quality information of each fingerprint hotspot according to the characteristic information of each fingerprint hotspot in the target fingerprint hotspot set;
[0008] A WiFi (Wireless Fidelity) fingerprint database is constructed according to the feature information and the quality information corresponding to each fingerprint hotspot, and the WiFi fingerprint database is used for WiFi fingerprint positioning.
[0009] Optionally, obtaining a target fingerprint hotspot set according to at least one fingerprint hotspot includes:
[0010] Extracting features from at least one fingerprint hotspot to obtain feature information corresponding to each fingerprint hotspot;
[0011] According to the feature information, a screening operation is performed on the at least one fingerprint hotspot to obtain a target fingerprint hotspot set.
[0012] Optionally, the feature information includes at least one of the following:
[0013] Hotspot mean;
[0014] Probability of hotspot occurrence;
[0015] Regional hotspot identification information;
[0016] The standard deviation of the hot spots.
[0017] Optionally, the screening operation includes:
[0018] When a first fingerprint hotspot in the at least one fingerprint hotspot satisfies a first preset condition, deleting the first fingerprint hotspot from the at least one fingerprint hotspot;
[0019] The first preset condition includes at least one of the following:
[0020] The hotspot mean of the first fingerprint hotspot is less than or equal to a preset mean;
[0021] The hotspot occurrence probability of the first fingerprint hotspot is less than or equal to a preset probability.
[0022] Optionally, acquiring the quality information of each fingerprint hotspot according to the feature information of each fingerprint hotspot in the target fingerprint hotspot set includes:
[0023] According to the characteristic information, obtaining the efficacy coefficient corresponding to each characteristic information of each fingerprint hotspot;
[0024] The quality information of the fingerprint hotspot is obtained according to the efficacy coefficient and the weight coefficient corresponding to the feature information.
[0025] Optionally, the processing method further includes:
[0026] According to the importance ranking of different feature information, a weight coefficient is set for each feature information;
[0027] The sum of the weight coefficients corresponding to each of the feature information is 1.
[0028] Optionally, before obtaining a target fingerprint hotspot set according to at least one fingerprint hotspot, the processing method further includes:
[0029] A hotspot within a preset radius with the first hotspot as the center is selected as the at least one fingerprint hotspot; wherein the first hotspot is a fixed hotspot with the largest RSSI (Received Signal Strength Indication) in the target area; the hotspots include fixed hotspots and / or hotspots containing location information in the environment.
[0030] Optionally, the WiFi fingerprint database includes at least one of the number, MAC address (Media Access Control Address, MAC address), recording time, signal strength average, quality information, recording duration, longitude and latitude corresponding to each fingerprint hotspot.
[0031] Optionally, the processing method further includes:
[0032] Performing an update operation on the WiFi fingerprint database;
[0033] Wherein, when the environment where the fingerprint hotspot is located does not change, the update operation includes at least one of the following:
[0034] Calculating an average value of the signal strength mean values according to the time length ratio;
[0035] Calculating an average value of the quality information according to the duration ratio;
[0036] Updating the recording duration;
[0037] The recorded time is updated.
[0038] To achieve the above object, an embodiment of the present invention provides a network device, including a processor and a transceiver, wherein the processor is used to:
[0039] According to at least one fingerprint hotspot, a target fingerprint hotspot set is obtained;
[0040] Acquire quality information of each fingerprint hotspot according to the characteristic information of each fingerprint hotspot in the target fingerprint hotspot set;
[0041] A wireless fidelity WiFi fingerprint database is constructed according to the feature information and the quality information corresponding to each fingerprint hotspot, and the WiFi fingerprint database is used for WiFi fingerprint positioning.
[0042] Optionally, when obtaining the target fingerprint hotspot set according to at least one fingerprint hotspot, the processor is specifically configured to:
[0043] Extracting features from at least one fingerprint hotspot to obtain feature information corresponding to each fingerprint hotspot;
[0044] According to the feature information, a screening operation is performed on the at least one fingerprint hotspot to obtain a target fingerprint hotspot set.
[0045] Optionally, the feature information includes at least one of the following:
[0046] Hotspot mean;
[0047] Probability of hotspot occurrence;
[0048] Regional hotspot identification information;
[0049] The standard deviation of the hot spots.
[0050] Optionally, the screening operation includes:
[0051] When a first fingerprint hotspot in the at least one fingerprint hotspot satisfies a first preset condition, deleting the first fingerprint hotspot from the at least one fingerprint hotspot;
[0052] The first preset condition includes at least one of the following:
[0053] The hotspot mean of the first fingerprint hotspot is less than or equal to a preset mean;
[0054] The hotspot occurrence probability of the first fingerprint hotspot is less than or equal to a preset probability.
[0055] Optionally, when the processor acquires the quality information of each fingerprint hotspot according to the feature information of each fingerprint hotspot in the target fingerprint hotspot set, it is specifically used to:
[0056] According to the characteristic information, obtaining the efficacy coefficient corresponding to each characteristic information of each fingerprint hotspot;
[0057] The quality information of the fingerprint hotspot is obtained according to the efficacy coefficient and the weight coefficient corresponding to the feature information.
[0058] Optionally, the processor is further configured to:
[0059] According to the importance ranking of different feature information, a weight coefficient is set for each feature information;
[0060] The sum of the weight coefficients corresponding to each of the feature information is 1.
[0061] Optionally, before obtaining the target fingerprint hotspot set according to at least one fingerprint hotspot, the processor is further configured to:
[0062] A hotspot within a preset radius with the first hotspot as the center is selected as the at least one fingerprint hotspot; wherein the first hotspot is a fixed hotspot with the largest RSSI of the received signal strength indication in the target area; the hotspot includes a fixed hotspot and / or a hotspot containing location information in the environment.
[0063] Optionally, the WiFi fingerprint database includes at least one of the number, MAC address, recording time, signal strength average, quality information, recording duration, longitude and latitude corresponding to each fingerprint hotspot.
[0064] Optionally, the processor is further configured to:
[0065] Performing an update operation on the WiFi fingerprint database;
[0066] Wherein, when the environment where the fingerprint hotspot is located does not change, the update operation includes at least one of the following:
[0067] Calculating an average value of the signal strength mean values according to the time length ratio;
[0068] Calculating an average value of the quality information according to the duration ratio;
[0069] Updating the recording duration;
[0070] The recorded time is updated.
[0071] To achieve the above object, an embodiment of the present invention provides a fingerprint information processing device, comprising:
[0072] A first processing module, configured to obtain a target fingerprint hotspot set according to at least one fingerprint hotspot;
[0073] A second processing module, configured to obtain quality information of each fingerprint hotspot according to feature information of each fingerprint hotspot in the target fingerprint hotspot set;
[0074] The third processing module is used to construct a wireless fidelity WiFi fingerprint database according to the feature information and the quality information corresponding to each fingerprint hotspot, and the WiFi fingerprint database is used for WiFi fingerprint positioning.
[0075] Optionally, the first processing module includes:
[0076] A feature extraction unit, used to extract features from at least one fingerprint hotspot to obtain feature information corresponding to each fingerprint hotspot;
[0077] The data screening unit is used to perform a screening operation on the at least one fingerprint hotspot according to the feature information to obtain a target fingerprint hotspot set.
[0078] Optionally, the feature information includes at least one of the following:
[0079] Hotspot mean;
[0080] Probability of hotspot occurrence;
[0081] Regional hotspot identification information;
[0082] The standard deviation of the hot spots.
[0083] Optionally, the data screening unit includes:
[0084] a data screening subunit, configured to delete a first fingerprint hotspot from the at least one fingerprint hotspot if the first fingerprint hotspot in the at least one fingerprint hotspot satisfies a first preset condition;
[0085] The first preset condition includes at least one of the following:
[0086] The hotspot mean of the first fingerprint hotspot is less than or equal to a preset mean;
[0087] The hotspot occurrence probability of the first fingerprint hotspot is less than or equal to a preset probability.
[0088] Optionally, the second processing module includes:
[0089] A first processing unit, configured to obtain, according to the feature information, a power coefficient corresponding to each feature information of each fingerprint hotspot;
[0090] The second processing unit is used to obtain the quality information of the fingerprint hotspot according to the efficacy coefficient and the weight coefficient corresponding to the feature information.
[0091] Optionally, the processing device further includes:
[0092] A weight setting module, used to set a weight coefficient for each of the feature information according to the importance ranking of the different feature information;
[0093] The sum of the weight coefficients corresponding to each of the feature information is 1.
[0094] Optionally, the processing device further includes:
[0095] A hotspot determination module is used to select a hotspot within a preset radius with a first hotspot as the center as the at least one fingerprint hotspot; wherein the first hotspot is a fixed hotspot with the largest RSSI of the received signal strength indication in the target area; the hotspot includes a fixed hotspot and / or a hotspot containing location information in the environment.
[0096] Optionally, the WiFi fingerprint database includes at least one of the number, MAC address, recording time, signal strength average, quality information, recording duration, longitude and latitude corresponding to each fingerprint hotspot.
[0097] Optionally, the processing device further includes:
[0098] A database update module, used to update the WiFi fingerprint database;
[0099] Wherein, when the environment where the fingerprint hotspot is located does not change, the update operation includes at least one of the following:
[0100] Calculating an average value of the signal strength mean values according to the time length ratio;
[0101] Calculating an average value of the quality information according to the duration ratio;
[0102] Updating the recording duration;
[0103] The recorded time is updated.
[0104] To achieve the above objectives, an embodiment of the present invention provides a network device, including a transceiver, a processor, a memory, and a program or instruction stored in the memory and executable on the processor; when the processor executes the program or instruction, the processing method described above is implemented.
[0105] To achieve the above objective, an embodiment of the present invention provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps in the processing method described above are implemented.
[0106] The beneficial effects of the above technical solution of the present invention are as follows:
[0107] The method of the embodiment of the present invention obtains a WiFi fingerprint database by processing fingerprint hotspots without establishing multiple models for the environment, and has better versatility. BRIEF DESCRIPTION OF THE DRAWINGS
[0108] Figure 1 is a flowchart of a processing method according to an embodiment of the present invention;
[0109] Figure 2 is a structural diagram of a network device according to an embodiment of the present invention;
[0110] Figure 3 is a structural diagram of a processing device according to another embodiment of the present invention;
[0111] Figure 4 This is a structural diagram of a network device according to another embodiment of the present invention. DETAILED DESCRIPTION
[0112] In order to make the technical problems, technical solutions and advantages to be solved by the present invention more clear, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.
[0113] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present invention. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0114] In various embodiments of the present invention, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0115] Additionally, the terms "system" and "network" are often used interchangeably herein.
[0116] In the embodiments provided in the present application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.
[0117] Description of factors affecting the accuracy of the received signal strength indication (RSSI).
[0118] The existing WiFi-based fingerprint database construction mainly adopts the method of collecting the signal strength of other hotspots (APs) at the collection point and then uploading it. RSSI, which is the most important observation information, is generally considered to have the following influencing factors:
[0119] Interference from electronic devices with the same frequency: Bluetooth devices, wireless cameras, ZigBee devices and WiFi have the same operating frequency. Mutual interference will cause deviations in the measured radio wave parameters (signal strength, etc.);
[0120] Influence of multipath propagation effect: Wireless signals in indoor environments are easily blocked by various indoor objects, causing diffraction, reflection, and other phenomena, resulting in signal propagation delay, as well as changes in signal frequency, amplitude, or phase, thus causing multipath effect;
[0121] Interference from the human body. When the radiation frequency resonates with the natural frequency of the organism, the absorption is strongest, which is called resonant absorption. In particular, when the collector faces away from the APs, the WiFi signal passes through the human body and is received by the mobile terminal, causing the signal strength to weaken, thus affecting the positioning results.
[0122] The positioning environment is complex and changeable. The indoor environment changes due to the movement of people or the constant movement of objects. In addition, changes in the number and position of deployed APs and changes in the indoor layout will also have a great impact on the positioning results.
[0123] That is, the environment and the human body are important factors affecting the RSSI accuracy.
[0124] like Figure 1 As shown, a fingerprint information processing method according to an embodiment of the present invention includes:
[0125] Step 101: Obtain a target fingerprint hotspot set according to at least one fingerprint hotspot.
[0126] Here, the fingerprint hotspot can be a fixed AP (Wireless Access Point) of WiFi, wherein the fingerprint hotspot can also be understood as fingerprint data (or fingerprint information), and the fingerprint data may include a fixed hotspot within the target area and a hotspot containing location information in the environment where the target area is located.
[0127] Optionally, step 101 includes:
[0128] (1) Extracting features from at least one fingerprint hotspot to obtain feature information corresponding to each fingerprint hotspot.
[0129] In this step, by extracting the characteristics of at least one fingerprint hotspot, that is, obtaining characteristic data (that is, characteristic information), the WiFi fingerprint information (that is, fingerprint hotspot) can be classified. In addition, the characteristic information can also be sorted, for example, according to the importance of the characteristic information.
[0130] Among them, the key feature information may include: hotspot mean (i.e. hotspot RSSI mean, for example, expressed by rssi-mean), hotspot occurrence probability (i.e. hotspot RSSI occurrence probability, for example, expressed by rssi-appear), regional hotspot identification information (for example, expressed by rssi-reg) and hotspot standard deviation (i.e. standard deviation of hotspot RSSI, for example, expressed by rssi-std).
[0131] (ii) performing a screening operation on the at least one fingerprint hotspot according to the feature information to obtain a target fingerprint hotspot set.
[0132] In this step, a threshold can be set for the feature information to filter out fingerprint hotspots whose feature information exceeds the threshold to form a target fingerprint hotspot set. For example, the threshold of the hotspot mean (rssi-mean) is set to -80dBm, and if the hotspot mean (rssi-mean) corresponding to a fingerprint hotspot in the at least one fingerprint hotspot is less than or equal to -80dBm, the fingerprint hotspot is deleted.
[0133] Step 102, obtaining quality information of each fingerprint hotspot according to the feature information of each fingerprint hotspot in the target fingerprint hotspot set.
[0134] It should be noted that after the target fingerprint hotspot set is determined in step 101, the quality information of each fingerprint hotspot can be determined based on the quality information and characteristic information of each fingerprint hotspot in the target fingerprint hotspot set. The quality information can be a comprehensive scoring information for the fingerprint hotspot.
[0135] Step 103: construct a wireless fidelity WiFi fingerprint database according to the feature information and the quality information corresponding to each fingerprint hotspot, and the WiFi fingerprint database is used for WiFi fingerprint positioning.
[0136] In this embodiment, a fingerprint information database (i.e., WiFi fingerprint database) can be constructed based on the acquired fingerprint data (i.e., fingerprint hotspots). In this way, there is no need to process data from multiple devices, which is simpler and more universal.
[0137] Optionally, the feature information includes at least one of the following:
[0138] Hotspot mean;
[0139] Probability of hotspot occurrence;
[0140] Regional hotspot identification information;
[0141] The standard deviation of the hot spots.
[0142] The regional hotspot identification information is used to indicate whether it is a regional hotspot identification.
[0143] Optionally, the screening operation includes:
[0144] When a first fingerprint hotspot in the at least one fingerprint hotspot satisfies a first preset condition, deleting the first fingerprint hotspot from the at least one fingerprint hotspot;
[0145] The first preset condition includes at least one of the following:
[0146] The hotspot mean of the first fingerprint hotspot is less than or equal to a preset mean;
[0147] The hotspot occurrence probability of the first fingerprint hotspot is less than or equal to a preset probability.
[0148] For example, thresholds can be set for the hotspot mean (rssi-mean) and the hotspot appearance probability (rssi-appear), as shown in the following table:
[0149] project Threshold rssi-mean -80dBm rssi-appear 50%
[0150] As shown in the above table, the preset mean (i.e., the threshold of the hotspot mean) can be set to -80dBm, the preset probability (i.e., the threshold of the hotspot occurrence probability) can be set to 50%, and the hotspot data (i.e., fingerprint hotspots) below the above threshold can be eliminated, that is, the fingerprint hotspots with a hotspot mean (rssi-mean) less than or equal to -80dBm are deleted, and the fingerprint hotspots with a hotspot occurrence probability (rssi-appear) less than or equal to 50% are deleted.
[0151] As an optional embodiment of the present invention, after the above screening operation, the hotspot data obtained are shown in the following table:
[0152] Mac Lat Lon rssi-mean rssi-appear rssi-reg Rssi-std APs1 Lat1 Lon1 -45.42 94.4% 1 1.36 Aps2 Lat2 Lon2 -48.16 100% 1 3.29 … APs LatN LonN -79.93 51.2% 0 1.62
[0153] Among them, Mac represents the MAC address of the fingerprint hotspot, Lat represents the latitude of the fingerprint hotspot, and Lon represents the longitude of the fingerprint hotspot.
[0154] Optionally, acquiring the quality information of each fingerprint hotspot according to the feature information of each fingerprint hotspot in the target fingerprint hotspot set includes:
[0155] According to the characteristic information, obtaining the efficacy coefficient corresponding to each characteristic information of each fingerprint hotspot;
[0156] The quality information of the fingerprint hotspot is obtained according to the efficacy coefficient and the weight coefficient corresponding to the feature information.
[0157] For example, the quality information can be obtained by summing the product of the efficacy coefficient and the weight coefficient corresponding to each feature information. Specifically, it can be obtained according to the following formula:
[0158]
[0159] Among them, APs score Indicates quality information; f i Indicates the power coefficient; w_coef i Represents the weight coefficient.
[0160] As an optional embodiment of the present invention, the specific process of obtaining the quality information of each fingerprint hotspot according to the characteristic information of each fingerprint hotspot in the target fingerprint hotspot set, that is, scoring each fingerprint hotspot in the target fingerprint hotspot set is as follows:
[0161] First, the target fingerprint hotspot concentration hotspot data is shown in the following table:
[0162] rssi-mean rssi-appear rssi-reg rssi-std upper limit -45.42 100% 1 1.36 lower limit -79.93 51.2% 0 4.75 APs1 -45.42 94.4% 1 1.36 Aps2 -48.16 100% 1 2.29 … APs -79.93 51.2% 0 1.62
[0163] Among them, the upper limit represents the maximum value of a certain feature information in the target fingerprint hotspot set; the lower limit represents the minimum value of a certain feature information in the target fingerprint hotspot set.
[0164] The power coefficient can be calculated using the dimensionless first formula, where the first formula is:
[0165]
[0166] Among them, f i represents the efficacy coefficient; x i Indicates a certain feature information; x lower_limit Indicates the minimum value corresponding to the feature information; x upper_limit Indicates the maximum value corresponding to the feature information.
[0167] For example, the power coefficient corresponding to the hotspot mean (rssi-mean) of fingerprint hotspot APs2 is:
[0168]
[0169] Among them, f APs2_rssimean It represents the efficacy coefficient corresponding to the hotspot mean of fingerprint hotspot APs2.
[0170] Similarly, according to the first formula, the corresponding efficacy coefficient is calculated for each indicator (ie, feature information) in each fingerprint data.
[0171] It should be noted that for parameters such as the standard deviation of the hotspot (rssi-std), whose large values represent the lower limit, the inverse needs to be taken when calculating, that is:
[0172]
[0173] Among them, f APs2_rssistd Represents the efficacy coefficient corresponding to the standard deviation of the hotspot of fingerprint hotspot APs2.
[0174] Then, for the fingerprint hotspot Aps2, its various category efficacy coefficients (i.e., the efficacy coefficients corresponding to each feature information) are shown in the following table:
[0175] <![CDATA[f APs2_rssimean ]]> 0.9061 <![CDATA[f APs2_appear ]]> 1 <![CDATA[f APs2_reg ]]> 1 <![CDATA[f APs2_std ]]> 0.4310
[0176] Then, the weight coefficient is added to obtain the quality information of the fingerprint hotspot (i.e., the total score of the fingerprint hotspot):
[0177] Optionally, the processing method further includes:
[0178] According to the importance ranking of different feature information, a weight coefficient is set for each feature information;
[0179] The sum of the weight coefficients corresponding to each of the feature information is 1.
[0180] It should be noted that in the embodiment of the present invention, considering that the above four key feature information have different importance, different weight coefficients (w_coef) can be assigned to them respectively, wherein the sum of each weight coefficient is 1. For example, the weight coefficients of each indicator are assigned as shown in the following table:
[0181] rssi-mean rssi-appear rssi-reg rssi-std w_coef 0.3 0.4 0.2 0.1
[0182] Finally, by multiplying the weight coefficient with the corresponding efficacy coefficient, we can get an AP total score (i.e., quality information) between [0,1]. The total score is calculated using the second formula, which is:
[0183]
[0184] Among them, APs score Indicates quality information; f i Indicates the power coefficient; w_coef i Represents the weight coefficient.
[0185] Specifically, for the fingerprint hotspot Aps2, the data shown in the following table can be calculated according to the above process:
[0186]
[0187] Among them, total represents quality information.
[0188] In this embodiment, the fingerprint hotspot may be scored, and a weight coefficient may be added to obtain a total score of the fingerprint hotspot.
[0189] Optionally, before obtaining a target fingerprint hotspot set according to at least one fingerprint hotspot, the processing method further includes:
[0190] A hotspot within a preset radius with the first hotspot as the center is selected as the at least one fingerprint hotspot; wherein the first hotspot is a fixed hotspot with the largest RSSI of the received signal strength indication in the target area; the hotspot includes a fixed hotspot and / or a hotspot containing location information in the environment.
[0191] It should be pointed out that the fingerprint collection point can be understood as a collection point in a certain area where fingerprint data can be collected. Usually, the collection time at a certain fingerprint collection point is 100 seconds or more. Among them, the fingerprint data can include the constructed regional fixed hotspots and the hotspots containing location information in the environment. The fingerprint data in the environment has certain jump points, and such hotspots need to be selected.
[0192] Specifically, since there is less data containing locations in the environment and the fixed hotspots are relatively concentrated, the number of location jump points will be much smaller than the number of hotspots in the core area. Based on this fact, in the embodiment of the present invention, the hotspot with the largest signal strength RSSI among the fixed hotspots in the area can be selected as the centroid, and with this hotspot as the center of the circle, hotspots with a radius less than a preset radius (e.g., 1 km) are selected as fingerprint hotspots, and the rest are eliminated.
[0193] Optionally, the WiFi fingerprint database includes a number (for example, represented by Num), a MAC address (for example, represented by MAC), a recording time (for example, represented by time), a signal strength mean, and quality information (for example, represented by APs score ), recording duration (for example, expressed as Times), and at least one of longitude and latitude.
[0194] As an optional embodiment of the present invention, the specific information in the WiFi fingerprint database is shown in the following table:
[0195] Optionally, the processing method further includes:
[0196] Performing an update operation on the WiFi fingerprint database;
[0197] Wherein, when the environment has not changed, the update operation includes at least one of the following:
[0198] Calculating an average value of the signal strength mean values according to the time length ratio;
[0199] Calculating an average value of the quality information according to the duration ratio;
[0200] Updating the recording duration;
[0201] The recorded time is updated.
[0202] In this embodiment, the update mechanism of the WiFi fingerprint database can be determined by changes in the environment, where the changes in the environment include: changes in fixed hotspots in the area (such as changes in the location of fixed hotspots), changes in the main layout of the area, and rearrangement of large furniture in the area.
[0203] When the environment does not change: for the signal strength mean (rssi-mean) and the total score (i.e. the comprehensive score APs score ), calculate the average value of the new fingerprint information and the old fingerprint information according to the duration ratio; accumulate the recording duration (Times); change the recording time (time) to the new time; and keep the other parameters unchanged.
[0204] In case of environmental changes: re-enter the WiFi fingerprint database according to the new fingerprint information to overwrite the original information.
[0205] In this embodiment, there is no need to process data from multiple devices differently, and the weights of data from different time periods are normalized, and an update mechanism for the WiFi fingerprint database is established, which is simpler.
[0206] The processing method of the embodiment of the present invention obtains a fingerprint database by processing fingerprint hotspots without establishing multiple models for the environment, and has better versatility; by normalizing the weights of data from different time periods, there is no need to distinguish and process data from multiple devices, and the update mechanism of the fingerprint database is simpler.
[0207] like Figure 2 As shown, a network device 200 according to an embodiment of the present invention includes a processor 210 and a transceiver 220, wherein the processor 210 is used to:
[0208] According to at least one fingerprint hotspot, a target fingerprint hotspot set is obtained;
[0209] Acquire quality information of each fingerprint hotspot according to the characteristic information of each fingerprint hotspot in the target fingerprint hotspot set;
[0210] A wireless fidelity WiFi fingerprint database is constructed according to the feature information and the quality information corresponding to each fingerprint hotspot, and the WiFi fingerprint database is used for WiFi fingerprint positioning.
[0211] Optionally, when obtaining the target fingerprint hotspot set according to at least one fingerprint hotspot, the processor 210 is specifically configured to:
[0212] Extracting features from at least one fingerprint hotspot to obtain feature information corresponding to each fingerprint hotspot;
[0213] According to the feature information, a screening operation is performed on the at least one fingerprint hotspot to obtain a target fingerprint hotspot set.
[0214] Optionally, the feature information includes at least one of the following:
[0215] Hotspot mean;
[0216] Probability of hotspot occurrence;
[0217] Regional hotspot identification information;
[0218] The standard deviation of the hot spots.
[0219] Optionally, the screening operation includes:
[0220] When a first fingerprint hotspot in the at least one fingerprint hotspot satisfies a first preset condition, deleting the first fingerprint hotspot from the at least one fingerprint hotspot;
[0221] The first preset condition includes at least one of the following:
[0222] The hotspot mean of the first fingerprint hotspot is less than or equal to a preset mean;
[0223] The hotspot occurrence probability of the first fingerprint hotspot is less than or equal to a preset probability.
[0224] Optionally, when the processor 210 acquires the quality information of each fingerprint hotspot according to the feature information of each fingerprint hotspot in the target fingerprint hotspot set, it is specifically configured to:
[0225] According to the characteristic information, obtaining the efficacy coefficient corresponding to each characteristic information of each fingerprint hotspot;
[0226] The quality information of the fingerprint hotspot is obtained according to the efficacy coefficient and the weight coefficient corresponding to the feature information.
[0227] Optionally, the processor 210 is further configured to:
[0228] According to the importance ranking of different feature information, a weight coefficient is set for each feature information;
[0229] The sum of the weight coefficients corresponding to each of the feature information is 1.
[0230] Optionally, before obtaining the target fingerprint hotspot set according to at least one fingerprint hotspot, the processor 210 is further configured to:
[0231] A hotspot within a preset radius with the first hotspot as the center is selected as the at least one fingerprint hotspot; wherein the first hotspot is a fixed hotspot with the largest RSSI of the received signal strength indication in the target area; the hotspot includes a fixed hotspot and / or a hotspot containing location information in the environment.
[0232] Optionally, the WiFi fingerprint database includes at least one of the number, MAC address, recording time, signal strength average, quality information, recording duration, longitude and latitude corresponding to each fingerprint hotspot.
[0233] Optionally, the processor 210 is further configured to:
[0234] Performing an update operation on the WiFi fingerprint database;
[0235] Wherein, when the environment where the fingerprint hotspot is located does not change, the update operation includes at least one of the following:
[0236] Calculating an average value of the signal strength mean values according to the time length ratio;
[0237] Calculating an average value of the quality information according to the duration ratio;
[0238] Updating the recording duration;
[0239] The recorded time is updated.
[0240] The network device of this embodiment obtains a fingerprint database by processing fingerprint hotspots without establishing multiple models for the environment, and has better versatility; the update mechanism of the fingerprint database is simpler by normalizing the weights of data in different time periods without differentially processing data from multiple devices.
[0241] like Figure 3 As shown, a fingerprint information processing device according to an embodiment of the present invention includes:
[0242] The first processing module 301 is used to obtain a target fingerprint hotspot set according to at least one fingerprint hotspot;
[0243] The second processing module 302 is used to obtain quality information of each fingerprint hotspot according to the feature information of each fingerprint hotspot in the target fingerprint hotspot set;
[0244] The third processing module 303 is used to construct a wireless fidelity WiFi fingerprint database according to the feature information and the quality information corresponding to each fingerprint hotspot, and the WiFi fingerprint database is used for WiFi fingerprint positioning.
[0245] Optionally, the first processing module 301 includes:
[0246] A feature extraction unit, used to extract features from at least one fingerprint hotspot to obtain feature information corresponding to each fingerprint hotspot;
[0247] The data screening unit is used to perform a screening operation on the at least one fingerprint hotspot according to the feature information to obtain a target fingerprint hotspot set.
[0248] Optionally, the feature information includes at least one of the following:
[0249] Hotspot mean;
[0250] Probability of hotspot occurrence;
[0251] Regional hotspot identification information;
[0252] The standard deviation of the hot spots.
[0253] Optionally, the data screening unit includes:
[0254] a data screening subunit, configured to delete a first fingerprint hotspot from the at least one fingerprint hotspot if the first fingerprint hotspot in the at least one fingerprint hotspot satisfies a first preset condition;
[0255] The first preset condition includes at least one of the following:
[0256] The hotspot mean of the first fingerprint hotspot is less than or equal to a preset mean;
[0257] The hotspot occurrence probability of the first fingerprint hotspot is less than or equal to a preset probability.
[0258] Optionally, the second processing module 302 includes:
[0259] A first processing unit, configured to obtain, according to the feature information, a power coefficient corresponding to each feature information of each fingerprint hotspot;
[0260] The second processing unit is used to obtain the quality information of the fingerprint hotspot according to the efficacy coefficient and the weight coefficient corresponding to the feature information.
[0261] Optionally, the processing device further includes:
[0262] A weight setting module, used to set a weight coefficient for each of the feature information according to the importance ranking of the different feature information;
[0263] The sum of the weight coefficients corresponding to each of the feature information is 1.
[0264] Optionally, the processing device further includes:
[0265] A hotspot determination module is used to select a hotspot within a preset radius with a first hotspot as the center as the at least one fingerprint hotspot; wherein the first hotspot is a fixed hotspot with the largest RSSI of the received signal strength indication in the target area; the hotspot includes a fixed hotspot and / or a hotspot containing location information in the environment.
[0266] Optionally, the WiFi fingerprint database includes at least one of the number, MAC address, recording time, signal strength average, quality information, recording duration, longitude and latitude corresponding to each fingerprint hotspot.
[0267] Optionally, the processing device further includes:
[0268] A database update module, used to update the WiFi fingerprint database;
[0269] Wherein, when the environment where the fingerprint hotspot is located does not change, the update operation includes at least one of the following:
[0270] Calculating an average value of the signal strength mean values according to the time length ratio;
[0271] Calculating an average value of the quality information according to the duration ratio;
[0272] Updating the recording duration;
[0273] The recorded time is updated.
[0274] The processing device of the embodiment of the present invention obtains a fingerprint database by processing fingerprint hotspots without establishing multiple models for the environment, and has better versatility; by normalizing the weights of data in different time periods, there is no need to distinguish and process data from multiple devices, and the update mechanism of the fingerprint database is simpler.
[0275] A network device according to another embodiment of the present invention, such as Figure 4 As shown, it includes a transceiver 410, a processor 400, a memory 420, and a program or instruction stored in the memory 420 and executable on the processor 400; when the processor 400 executes the program or instruction, the above-mentioned application to the processing method is implemented.
[0276] The transceiver 410 is used to receive and send data under the control of the processor 400 .
[0277] Among them, Figure 4 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 400 and memory represented by memory 420. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 410 may be a plurality of components, i.e., including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 400 is responsible for managing the bus architecture and general processing, and the memory 420 may store data used by the processor 400 when performing operations.
[0278] A computer-readable storage medium according to an embodiment of the present invention stores a program or instruction thereon, and when the program or instruction is executed by a processor, the steps in the processing method described above are implemented, and the same technical effect can be achieved. To avoid repetition, it is not described here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0279] It should be further explained that the terminals described in this specification include but are not limited to smart phones, tablet computers, etc., and many of the functional components described are called modules in order to more particularly emphasize the independence of their implementation methods.
[0280] In the embodiment of the present invention, module can be implemented with software so that it can be executed by various types of processors. For example, an executable code module of an identification can include one or more physical or logical blocks of computer instructions, for example, it can be constructed as an object, process or function. Nevertheless, the executable code of the identified module does not need to be physically located together, but can include different instructions stored in different positions, and when these instructions are logically combined together, it constitutes a module and realizes the specified purpose of the module.
[0281] In fact, executable code module can be a single instruction or many instructions, and can even be distributed on a plurality of different code segments, distributed among different programs, and distributed across a plurality of memory devices. Similarly, operating data can be identified in the module, and can be implemented and organized in the data structure of any appropriate type according to any appropriate form. The operating data can be collected as a single data set, or can be distributed in different locations (including on different storage devices), and can only be present on a system or network as an electronic signal at least in part.
[0282] When a module can be implemented by software, considering the level of existing hardware technology, a person skilled in the art can build a corresponding hardware circuit to implement the corresponding function of the module that can be implemented by software without considering the cost. The hardware circuit includes a conventional very large scale integration (VLSI) circuit or gate array and existing semiconductors such as logic chips, transistors, or other discrete components. The module can also be implemented by a programmable hardware device, such as a field programmable gate array, a programmable array logic, a programmable logic device, etc.
[0283] The above exemplary embodiments are described with reference to the accompanying drawings, and many different forms and embodiments are feasible without departing from the spirit and teachings of the present invention. Therefore, the present invention should not be constructed as a limitation of the exemplary embodiments proposed herein. More specifically, these exemplary embodiments are provided so that the present invention will be perfect and complete, and the scope of the present invention will be conveyed to those who are familiar with the technology. In these figures, the component sizes and relative sizes may be exaggerated for clarity. The terms used here are only based on the purpose of describing specific exemplary embodiments and are not intended to be limiting. As used herein, unless the text clearly indicates otherwise, the singular forms "one", "an" and "the" are intended to include these multiple forms. It will be further understood that the terms "including" and / or "comprising" when used in this specification indicate the presence of the features, integers, steps, operations, components and / or components, but do not exclude the presence or increase of one or more other features, integers, steps, operations, components, components and / or their groups. Unless otherwise indicated, when stated, a range of values includes the upper and lower limits of that range and any subranges therebetween.
[0284] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for processing fingerprint information, characterized in that: include: According to at least one fingerprint hotspot, a target fingerprint hotspot set is obtained; According to the characteristic information of each of the fingerprint hotspots in the target fingerprint hotspot set, the quality information of each of the fingerprint hotspots is obtained, wherein the characteristic information includes at least one of a hotspot mean, a hotspot occurrence probability, a regional hotspot identification information, and a hotspot standard deviation; According to the feature information and the quality information corresponding to each fingerprint hotspot, a wireless fidelity WiFi fingerprint database is constructed, and the WiFi fingerprint database is used for WiFi fingerprint positioning; Wherein, obtaining the quality information of each fingerprint hotspot according to the characteristic information of each fingerprint hotspot in the target fingerprint hotspot set includes: According to the characteristic information, obtaining the efficacy coefficient corresponding to each characteristic information of each fingerprint hotspot; Obtaining quality information of the fingerprint hotspot according to the efficacy coefficient and the weight coefficient corresponding to the feature information; Before obtaining the target fingerprint hotspot set according to at least one fingerprint hotspot, the processing method further includes: A hotspot within a preset radius with the first hotspot as the center is selected as the at least one fingerprint hotspot; wherein the first hotspot is a fixed hotspot with the largest RSSI of the received signal strength indicator in the target area; the hotspot includes a fixed hotspot and / or a hotspot containing location information in the environment; Wherein, the efficacy coefficient is according to the formula: Sure; Among them, f i represents the efficacy coefficient; x i Represents the characteristic information; x lower_limit represents the minimum value corresponding to the feature information; x upper_limit Indicates the maximum value corresponding to the feature information.
2. The processing method according to claim 1, characterized in that: The step of obtaining a target fingerprint hotspot set according to at least one fingerprint hotspot comprises: Extracting features from at least one fingerprint hotspot to obtain feature information corresponding to each fingerprint hotspot; According to the feature information, a screening operation is performed on the at least one fingerprint hotspot to obtain a target fingerprint hotspot set.
3. The processing method according to claim 2, characterized in that: The screening operation includes: When a first fingerprint hotspot in the at least one fingerprint hotspot satisfies a first preset condition, deleting the first fingerprint hotspot from the at least one fingerprint hotspot; The first preset condition includes at least one of the following: The hotspot mean of the first fingerprint hotspot is less than or equal to a preset mean; The hotspot occurrence probability of the first fingerprint hotspot is less than or equal to a preset probability.
4. The processing method according to claim 1, characterized in that: Also includes: According to the importance ranking of different feature information, a weight coefficient is set for each feature information; The sum of the weight coefficients corresponding to each of the feature information is 1.
5. The processing method according to claim 1, characterized in that: The WiFi fingerprint database includes at least one of the number, MAC address, recording time, signal strength average, quality information, recording duration, longitude and latitude corresponding to each fingerprint hotspot.
6. The processing method according to claim 5, characterized in that: Also includes: Performing an update operation on the WiFi fingerprint database; Wherein, when the environment where the fingerprint hotspot is located does not change, the update operation includes at least one of the following: Calculating an average value of the signal strength mean values according to the time length ratio; Calculating an average value of the quality information according to the duration ratio; Updating the recording duration; The recorded time is updated.
7. A fingerprint information processing device, characterized in that: include A first processing module, configured to obtain a target fingerprint hotspot set according to at least one fingerprint hotspot; A second processing module is used to obtain quality information of each fingerprint hotspot according to feature information of each fingerprint hotspot in the target fingerprint hotspot set, wherein the feature information includes at least one of a hotspot mean, a hotspot occurrence probability, regional hotspot identification information, and a hotspot standard deviation; A third processing module, configured to construct a wireless fidelity WiFi fingerprint database according to the feature information and the quality information corresponding to each fingerprint hotspot, wherein the WiFi fingerprint database is used for WiFi fingerprint positioning; Wherein, obtaining the quality information of each fingerprint hotspot according to the characteristic information of each fingerprint hotspot in the target fingerprint hotspot set includes: According to the characteristic information, obtaining the efficacy coefficient corresponding to each characteristic information of each fingerprint hotspot; Obtaining quality information of the fingerprint hotspot according to the efficacy coefficient and the weight coefficient corresponding to the feature information; Wherein, the processing device further includes: A hotspot determination module, configured to select a hotspot within a preset radius with a first hotspot as the center as the at least one fingerprint hotspot; wherein the first hotspot is a fixed hotspot with the largest RSSI received in the target area; the hotspot includes a fixed hotspot and / or a hotspot containing location information in the environment; Wherein, the efficacy coefficient is according to the formula: Sure; Among them, f i represents the efficacy coefficient; x i Represents the characteristic information; x lower_limit represents the minimum value corresponding to the feature information; x upper_limit Indicates the maximum value corresponding to the feature information.
8. A network device, characterized in that: include: A transceiver and a processor; the processor is used to: According to at least one fingerprint hotspot, a target fingerprint hotspot set is obtained; According to the characteristic information of each of the fingerprint hotspots in the target fingerprint hotspot set, the quality information of each of the fingerprint hotspots is obtained, wherein the characteristic information includes at least one of a hotspot mean, a hotspot occurrence probability, a regional hotspot identification information, and a hotspot standard deviation; According to the feature information and the quality information corresponding to each fingerprint hotspot, a wireless fidelity WiFi fingerprint database is constructed, and the WiFi fingerprint database is used for WiFi fingerprint positioning; Wherein, obtaining the quality information of each fingerprint hotspot according to the characteristic information of each fingerprint hotspot in the target fingerprint hotspot set includes: According to the characteristic information, obtaining the efficacy coefficient corresponding to each characteristic information of each fingerprint hotspot; Obtaining quality information of the fingerprint hotspot according to the efficacy coefficient and the weight coefficient corresponding to the feature information; Wherein, before obtaining the target fingerprint hotspot set according to at least one fingerprint hotspot, the processor is further used to: A hotspot within a preset radius with the first hotspot as the center is selected as the at least one fingerprint hotspot; wherein the first hotspot is a fixed hotspot with the largest RSSI of the received signal strength indicator in the target area; the hotspot includes a fixed hotspot and / or a hotspot containing location information in the environment; Wherein, the efficacy coefficient is according to the formula: Sure; Among them, f i represents the efficacy coefficient; x i Represents the characteristic information; x lower_limit represents the minimum value corresponding to the feature information; x upper_limit Indicates the maximum value corresponding to the feature information.
9. A network device comprising: A transceiver, a processor, a memory, and a program or instruction stored in the memory and executable on the processor; wherein the processor implements the processing method according to any one of claims 1 to 6 when executing the program or instruction.
10. A readable storage medium having a program or instruction stored thereon, characterized in that: When the program or instruction is executed by a processor, the steps in the processing method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Method and system for constructing WiFi indoor positioning fingerprint database
CN103648080A
Self-adaptive dynamic construction method of WIFI indoor positioning system fingerprint database
CN105282758A
Adaptive mixed indoor positioning method based on Wi-Fi
CN106125045A
Indoor scene positioning method and system based on building WiFi fingerprint
CN107484118A
WIFI-based indoor positioning method
CN108566620A
