Disclosure of Invention
In order to solve the above problems in the prior art, the present invention provides a method and a system for updating a location fingerprint database, so as to update the location fingerprint database in time, and reduce the updating cost of the location fingerprint database by actively reporting the location fingerprint feature data.
In order to achieve the above object, the present invention provides a location fingerprint database updating method, including:
receiving position fingerprint data of a mobile terminal uploaded within a preset time interval, and extracting position fingerprint feature data carried in the position fingerprint data;
and searching and replacing the corresponding characteristic position fingerprint vector in a preset position fingerprint database by utilizing the position fingerprint characteristic data so as to update the position fingerprint database.
And updating the component of the characteristic position fingerprint vector under the corresponding network type according to the network type of the mobile terminal.
Preferably, the location fingerprint data further carries a network type of the mobile terminal, and the searching and replacing of the corresponding feature location fingerprint vector in the preset location fingerprint database by using the location fingerprint feature data specifically includes:
searching a corresponding characteristic position fingerprint vector in a preset position fingerprint database according to the position fingerprint characteristic data;
searching a characteristic position fingerprint component corresponding to the network type of the mobile terminal in the characteristic position fingerprint vector according to the network type of the mobile terminal to which the position fingerprint characteristic data belongs;
replacing the feature location fingerprint components with the feature location fingerprint data.
Preferably, the location fingerprint feature data carried in the location fingerprint data is a minimization of drive test message, where the minimization of drive test message includes location information and a real-time feature location fingerprint, and the location fingerprint feature data is used to search and replace a feature location fingerprint vector corresponding to a preset location fingerprint database, which specifically includes:
searching a corresponding grid in a preset position fingerprint database according to the position information;
and replacing the corresponding characteristic position fingerprint vector at the grid by using the real-time characteristic position fingerprint.
Preferably, the location fingerprint feature data carried in the location fingerprint data is a measurement report message, the measurement report message includes a real-time feature location fingerprint, and the location fingerprint feature data is used to search and replace a corresponding feature location fingerprint vector in a preset location fingerprint database, which specifically includes:
searching a characteristic position fingerprint vector closest to the real-time characteristic position fingerprint in a preset position fingerprint database according to the real-time characteristic position fingerprint;
locating a grid in the location fingerprint database where a characteristic location fingerprint vector that is closest to the real-time characteristic location fingerprint is located;
and replacing the corresponding characteristic position fingerprint vector at the grid by using the real-time characteristic position fingerprint.
Preferably, the method further comprises:
constructing a two-dimensional grid map;
dividing the two-dimensional grid map into a plurality of same grids according to a preset proportion, and taking the geometric center of each grid as a positioning reference point for acquiring a characteristic position fingerprint vector;
acquiring a characteristic position fingerprint vector at a positioning reference point of each grid;
the feature position fingerprint vectors at the positioning reference points of all grids form a position fingerprint database.
The invention also provides a position fingerprint database updating system, which is applied to an indoor positioning server and comprises the following components:
the receiving module is used for receiving the position fingerprint data of the mobile terminal uploaded within a preset time interval;
the extraction module is used for extracting the position fingerprint characteristic data carried in the position fingerprint data;
and the processing module is used for searching and replacing a corresponding characteristic position fingerprint vector in a preset position fingerprint database by utilizing the position fingerprint characteristic data, wherein the updating is to update the component of the characteristic position fingerprint vector under the corresponding network system type according to the network system type of the mobile terminal.
Preferably, the location fingerprint data further carries a network type of the mobile terminal, and the processing module is specifically configured to search a corresponding feature location fingerprint vector in a preset location fingerprint database according to the location fingerprint feature data; searching a characteristic position fingerprint component corresponding to the network type of the mobile terminal in the characteristic position fingerprint vector according to the network type of the mobile terminal to which the position fingerprint characteristic data belongs; replacing the feature location fingerprint components with the feature location fingerprint data.
Preferably, the location fingerprint feature data carried in the location fingerprint data is a minimization of drive test message, the minimization of drive test message includes location information and a real-time feature location fingerprint, and the processing module is specifically configured to search for a corresponding grid in a preset location fingerprint database according to the location information; and replacing the corresponding characteristic position fingerprint vector at the grid by using the real-time characteristic position fingerprint.
Preferably, the location fingerprint feature data carried in the location fingerprint data is a measurement report message, the measurement report message includes a real-time feature location fingerprint, and the processing module is specifically configured to search, according to the real-time feature location fingerprint, a feature location fingerprint vector that is closest to the real-time feature location fingerprint in a preset location fingerprint database; locating a grid in the location fingerprint database where a characteristic location fingerprint vector that is closest to the real-time characteristic location fingerprint is located; and replacing the corresponding characteristic position fingerprint vector at the grid by using the real-time characteristic position fingerprint.
Preferably, the method further comprises the following steps:
the construction module is used for constructing a two-dimensional grid map; dividing the two-dimensional grid map into a plurality of same grids according to a preset proportion, and taking the geometric center of each grid as a positioning reference point for acquiring a characteristic position fingerprint vector; acquiring a characteristic position fingerprint vector at a positioning reference point of each grid; the feature position fingerprint vectors at the positioning reference points of all grids form a position fingerprint database.
Compared with the prior art, the invention has at least the following advantages:
by the position fingerprint database updating design, the position fingerprint database is updated in time, and meanwhile, the updating cost of the position fingerprint database is reduced by actively reporting the position fingerprint characteristic data.
Detailed Description
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only for explaining the technical principle of the present invention, and are not intended to limit the scope of the present invention.
The invention provides a method for updating a position fingerprint database, which is applied to an indoor positioning server, and the following describes the specific implementation mode of the invention in detail by combining the attached drawings.
As shown in fig. 1, the method for updating a location fingerprint database specifically includes the following steps:
step 101, receiving position fingerprint data of a mobile terminal uploaded within a preset time interval.
Before this step, a process of constructing a preset location fingerprint database is further included, as shown in fig. 2, specifically:
step 201, constructing a two-dimensional grid map.
Step 202, dividing the two-dimensional grid map into a plurality of same grids according to a preset proportion, and taking the geometric center of each grid as a positioning reference point for acquiring the fingerprint vector of the characteristic position.
For example, the indoor area is divided by taking 1m × 1m as the precision to obtain a two-dimensional grid, and the geometric center of the grid is used as the positioning reference point of the grid.
Step 203, obtaining the characteristic position fingerprint vector at the positioning reference point of each grid.
Specifically, the characteristic location fingerprint vector may be a multi-mode signal strength at a positioning reference point; the method comprises the steps of receiving Reference Signal Received Power (RSRP) of a cellular base station at a positioning Reference Point and Receiving Signal Strength Indication (RSSI) of a non-cellular Access Point (AP) Received at the positioning Reference Point; the cellular base station includes a fourth Generation mobile communication (4G) base station, a third Generation mobile communication (3G) base station, a second Generation mobile communication (2G) base station, and the non-cellular AP refers to a Wireless Fidelity (WiFi) AP.
And step 204, forming a position fingerprint database by the characteristic position fingerprint vectors at the positioning reference points of all grids.
The characteristic position fingerprint vector corresponding to each grid comprises one or more of signal strengths corresponding to 2G, 3G, 4G and WiFi respectively, the multimode signal strength at the positioning reference point is used as the characteristic position fingerprint vector of the grid, and the characteristic position fingerprint vectors of all the positioning grids form a positioning position fingerprint database.
The characteristic position fingerprint vector comprises the signal strength of a 2G base station, the signal strength of a 3G base station, the signal strength of a 4G base station and the signal strength of a WiFi AP.
And 102, extracting the position fingerprint feature data carried in the position fingerprint data.
And 103, searching and replacing a corresponding characteristic position fingerprint vector in a preset position fingerprint database by using the position fingerprint characteristic data to update the position fingerprint database, wherein the updating is to update the component of the characteristic position fingerprint vector under the corresponding network type according to the network type of the mobile terminal.
The method includes the steps that the position fingerprint feature data carries a network type of the mobile terminal, the network type comprises 4G, 3G, 2G and WiFi, the position fingerprint feature data is used for searching and replacing a corresponding feature position fingerprint vector in a preset position fingerprint database, and the method specifically comprises the following steps:
searching a corresponding characteristic position fingerprint vector in a preset position fingerprint database according to the position fingerprint characteristic data;
searching a characteristic position fingerprint component corresponding to the network type of the mobile terminal in the characteristic position fingerprint vector according to the network type of the mobile terminal to which the position fingerprint characteristic data belongs;
replacing the feature location fingerprint components with the feature location fingerprint data.
Specifically, the following two ways may be included according to different types of the location fingerprint feature data:
in a first mode
The position fingerprint feature data carried in the position fingerprint data is specifically a minimization of drive test message, the minimization of drive test message contains position information and real-time characteristic position fingerprints, the position fingerprint feature data is utilized to search and replace corresponding characteristic position fingerprint vectors in a preset position fingerprint database, and the method specifically comprises the following steps:
searching a corresponding grid in a preset position fingerprint database according to the position information;
and replacing the corresponding characteristic position fingerprint vector at the grid by using the real-time characteristic position fingerprint.
Mode two
The position fingerprint feature data carried in the position fingerprint data is specifically a measurement report message, the measurement report message contains a real-time feature position fingerprint, the position fingerprint feature data is utilized to search and replace a corresponding feature position fingerprint vector in a preset position fingerprint database, and the method specifically comprises the following steps:
searching a characteristic position fingerprint vector closest to the real-time characteristic position fingerprint in a preset position fingerprint database according to the real-time characteristic position fingerprint;
locating a grid in the location fingerprint database where a characteristic location fingerprint vector that is closest to the real-time characteristic location fingerprint is located;
and replacing the corresponding characteristic position fingerprint vector at the grid by using the real-time characteristic position fingerprint.
Two embodiments are specifically described below with respect to the two modes mentioned above.
Detailed description of the invention
When the operator has a Drive test requirement, the cellular mobile terminal is selected to execute the Minimization of Drive Tests (MDT) report according to certain specific conditions, and real-time network quality evaluation data is provided for the operator so as to find out the network coverage problem in time and perform network optimization and other works. Wherein the minimization of drive tests MDT comprises an instantaneous minimization of drive tests (Immediate MDT) and a Logged minimization of drive tests (Logged MDT); the measurement configuration of the cellular mobile terminal in the connection state is called instantaneous Minimization of Drive Tests (MDT), the cellular mobile terminal performs measurement in the connection state, and drive test information can be fed back to a core network in time. The measurement configuration of the cellular mobile terminal in the idle state is called log-type minimization of drive tests (Logged MDT), the cellular mobile terminal performs measurement in the idle state, and the drive test information can be fed back to the core network only when the cellular mobile terminal is in the connection state next time.
Hereinafter, the Immediate MDT and the registered MDT will be described in detail.
Step 1: the cellular base station configures the cellular mobile terminal to perform the immediatate MDT measurement.
The cellular base station selects a specific cellular mobile terminal in a connected state and issues a configuration command regarding the immedate MDT measurement to the cellular mobile terminal. The cellular base station comprises a 4G base station, a 3G base station and a 2G base station; the cellular mobile terminal in the connected state performs an immediatate MDT measurement. The cellular mobile terminal records the RSRP measurement result, the absolute timestamp obtained by the measurement data, and the geographical information (including longitude, latitude, altitude) of the location, and finally reports the immediatate MDT measurement to the cellular base station. A cellular mobile terminal, comprising: 4G mobile terminal, 3G mobile terminal, 2G mobile terminal.
And 2, crowdsourcing and updating the multimode positioning position fingerprint database.
Extracting the real-time position fingerprint and the longitude and latitude information in the Immediate MDT measurement, mapping the real-time position fingerprint in the mediate MDT measurement to a corresponding grid according to the longitude and latitude information, and updating the corresponding component in the characteristic position fingerprint vector of the corresponding grid. The real-time location fingerprint specifically refers to RSRP information of a serving cell in immediatate MDT measurement.
Specifically, a real-time location fingerprint is extracted from the 2G Immediate MDT measurement and the signal strength component of the 2G base station in the feature location fingerprint vector of the corresponding grid is updated, a real-time location fingerprint is extracted from the 3G Immediate MDT measurement and the signal strength component of the 3G base station in the feature location fingerprint vector of the corresponding grid is updated, and a real-time location fingerprint is extracted from the 4G Immediate MDT measurement and the signal strength component of the 4G base station in the feature location fingerprint vector of the corresponding grid is updated.
Step 1: the cellular base station configures the cellular mobile terminal to perform a Logged MDT measurement.
The cellular base station selects a specific cellular mobile terminal in a connection state, and issues a configuration command related to the Logged MDT measurement to the cellular mobile terminal. The cellular base station comprises a 4G base station, a 3G base station and a 2G base station; the cellular mobile terminal performs a Logged MDT measurement after transitioning from the connected state to the idle state. The cellular mobile terminal records the RSRP measurement result, the absolute timestamp obtained by the measurement data and the geographical information (including longitude and latitude) of the RSRP measurement result, and reports the Logged MDT measurement result to the cellular base station when the cellular mobile terminal is in a connection state next time. A cellular mobile terminal, comprising: 4G mobile terminal, 3G mobile terminal, 2G mobile terminal.
And 2, crowdsourcing and updating the multimode positioning position fingerprint database.
And extracting real-time position fingerprints in the Logged MDT measurement, mapping the Logged MDT message to a corresponding grid according to the longitude and latitude information, and updating corresponding components in the characteristic position fingerprint vector of the corresponding grid. The real-time location fingerprint refers to RSRP information and geographic information of a serving cell in the Logged MDT measurement.
Specifically, a real-time location fingerprint is extracted from the 2G Logged MDT measurement and the signal strength component of the 2G base station in the feature location fingerprint vector of the corresponding grid is updated, a real-time location fingerprint is extracted from the 3G Logged MDT measurement and the signal strength component of the 3G base station in the feature location fingerprint vector of the corresponding grid is updated, and a real-time location fingerprint is extracted from the 4G Logged MDT measurement and the signal strength component of the 4G base station in the feature location fingerprint vector of the corresponding grid is updated.
Detailed description of the invention
The cellular base station configures the cellular mobile terminal in a connection state to perform periodic Measurement Report (MR). The cellular mobile terminal in the connection state periodically reports information such as the downlink reference signal receiving strength to the cellular base station at a certain time interval. The cellular base station comprises a 4G base station, a 3G base station and a 2G base station. A cellular mobile terminal, comprising: 4G mobile terminal, 3G mobile terminal, 2G mobile terminal.
The cellular base station forwards the MR message reported by the cellular mobile terminal to an indoor positioning server; and the indoor positioning server extracts the RSRP information of the service cell in the MR message, searches for a grid where the characteristic position fingerprint vector closest to the real-time position fingerprint is located, and finally takes the reference point coordinate of the grid as the coordinate of the MR message.
And extracting the real-time position fingerprint in the MR message, and updating the corresponding component in the characteristic position fingerprint vector of the corresponding grid. The real-time location fingerprint specifically refers to serving cell RSRP information in an MR message.
Specifically, according to different network system types of the mobile terminal, corresponding updating is performed when corresponding components in the characteristic position fingerprint vectors of corresponding grids are updated; and extracting the real-time position fingerprint from the 2G MR message and updating the signal intensity component of the 2G base station in the characteristic position fingerprint vector of the corresponding grid, extracting the real-time position fingerprint from the 3G MR message and updating the signal intensity component of the 3G base station in the characteristic position fingerprint vector of the corresponding grid, and extracting the real-time position fingerprint from the 4G MR message and updating the signal intensity component of the 4G base station in the characteristic position fingerprint vector of the corresponding grid.
According to the statistical results shown in table 1, 600 million 4G mobile terminals are shared by all beijing, about 26 hundred million MR messages are reported by all 4G mobile terminals in the beijing city every day, and 16 hundred million indoor MRs are reported. Further, according to the statistical result in table 2, in the five-ring internal chamber, the 4G mobile terminal reports about 14 hundred million MR messages every day, and the indoor MRs account for 10 hundred million; according to the statistics of Table 1 and Table 2, 25m was averaged indoors2In range, 11 4G MR messages can be collected each day, as shown in FIG. 3. Considering the permeability of 4G, 3G, 2G mobile terminals, 25m2The MR messages can be collected for each grid within the region, as shown in FIG. 4. Thus, the update frequency for each location grid may be one day.
TABLE 1 Total Beijing City MR statistics
| 5m by 5m total number of grids
|
Total number of MRs
|
Indoor MR proportion
|
| 2.98 hundred million
|
25.69 hundred million
|
62.1% |
TABLE 2 number of MR statistics in five rings
Based on the same inventive concept as the method, the invention also provides a location fingerprint database updating system, which is applied to an indoor positioning server and comprises the following steps:
the receiving module is used for receiving the position fingerprint data of the mobile terminal uploaded in a preset time interval of the base station;
the extraction module is used for extracting the position fingerprint characteristic data carried in the position fingerprint data;
and the processing module is used for searching and replacing a corresponding characteristic position fingerprint vector in a preset position fingerprint database by utilizing the position fingerprint characteristic data, wherein the updating is to update the component of the characteristic position fingerprint vector under the corresponding network system type according to the network system type of the mobile terminal.
Preferably, the location fingerprint data further carries a network type of the mobile terminal, and the processing module is specifically configured to search a corresponding feature location fingerprint vector in a preset location fingerprint database according to the location fingerprint feature data; searching a characteristic position fingerprint component corresponding to the network type of the mobile terminal in the characteristic position fingerprint vector according to the network type of the mobile terminal to which the position fingerprint characteristic data belongs; replacing the feature location fingerprint components with the feature location fingerprint data.
Preferably, the location fingerprint feature data carried in the location fingerprint data is a minimization of drive test message, the minimization of drive test message includes location information and a real-time feature location fingerprint, and the processing module is specifically configured to search for a corresponding grid in a preset location fingerprint database according to the location information; and replacing the corresponding characteristic position fingerprint vector at the grid by using the real-time characteristic position fingerprint.
Preferably, the location fingerprint feature data carried in the location fingerprint data is a measurement report message, the measurement report message includes a real-time feature location fingerprint, and the processing module is specifically configured to search, according to the real-time feature location fingerprint, a feature location fingerprint vector that is closest to the real-time feature location fingerprint in a preset location fingerprint database; locating a grid in the location fingerprint database where a characteristic location fingerprint vector that is closest to the real-time characteristic location fingerprint is located; and replacing the corresponding characteristic position fingerprint vector at the grid by using the real-time characteristic position fingerprint.
Preferably, the method further comprises the following steps:
the construction module is used for constructing a two-dimensional grid map; dividing the two-dimensional grid map into a plurality of same grids according to a preset proportion, and taking the geometric center of each grid as a positioning reference point for acquiring a characteristic position fingerprint vector; acquiring a characteristic position fingerprint vector at a positioning reference point of each grid; the feature position fingerprint vectors at the positioning reference points of all grids form a position fingerprint database.
Those of skill in the art will appreciate that the various illustrative modules, and method steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate the interchangeability of electronic hardware and software. Whether such functionality is implemented as electronic hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
So far, the technical solutions of the present invention have been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of the present invention is obviously not limited to these specific embodiments. Equivalent changes or substitutions of related technical features can be made by those skilled in the art without departing from the principle of the invention, and the technical scheme after the changes or substitutions can fall into the protection scope of the invention.