CN107872874B - Method for updating positioning data, server and computer readable medium - Google Patents

Method for updating positioning data, server and computer readable medium Download PDF

Info

Publication number
CN107872874B
CN107872874B CN201710850345.XA CN201710850345A CN107872874B CN 107872874 B CN107872874 B CN 107872874B CN 201710850345 A CN201710850345 A CN 201710850345A CN 107872874 B CN107872874 B CN 107872874B
Authority
CN
China
Prior art keywords
wifi
positioning
list
positioning data
fingerprints
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710850345.XA
Other languages
Chinese (zh)
Other versions
CN107872874A (en
Inventor
卢志泳
贾海禄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201710850345.XA priority Critical patent/CN107872874B/en
Publication of CN107872874A publication Critical patent/CN107872874A/en
Application granted granted Critical
Publication of CN107872874B publication Critical patent/CN107872874B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method for updating positioning data, a server and a computer readable medium. The method comprises the following steps: generating a first WIFI list according to all WIFI fingerprints in the first-time collected indoor positioning data of the building; acquiring all indoor WIFI positioning requests carrying WIFI fingerprints requiring positioning in a preset time period; generating a second WIFI list according to all WIFI positioning requests in a preset time period; and updating the WIFI fingerprint in the positioning data according to the second WIFI list and the first WIFI list. Compared with the prior art, the technical scheme of the invention can realize the updating of the positioning data according to all the WIFI fingerprints acquired for the first time and all the WIFI fingerprints requiring positioning in the preset time period without acquiring the positioning data again, thereby effectively saving the resources of manpower and material resources and effectively improving the updating efficiency of the positioning data.

Description

Method for updating positioning data, server and computer readable medium
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of computer application technologies, and in particular, to a method for updating location data, a server, and a computer-readable medium.
[ background of the invention ]
As the indoor map coverage of map products increases, the demand for indoor positioning navigation becomes very strong. The most common Positioning of the Global Positioning System (GPS) in the prior art is mostly used in outdoor scenes, and the GPS cannot perform effective indoor Positioning due to its weak penetration capability. Therefore, the existing indoor positioning mostly adopts WIFI positioning.
The existing WIFI indoor positioning method mainly comprises the steps of collecting geographical coordinates of indoor position points in advance, collecting WIFI fingerprints of the position points at the same time, establishing corresponding relations between the geographical coordinates of the position points and the corresponding WIFI fingerprints, and storing the geographical coordinates and the corresponding WIFI fingerprints as positioning data of the position points. During positioning, the positioning server acquires the geographic coordinates corresponding to the WIIF fingerprint according to the WIFI fingerprint acquired by the equipment to be positioned and the corresponding relation between the WIFI fingerprint and the geographic coordinates in the stored positioning data of each position point, so that the geographic coordinates of the position point where the equipment to be positioned is positioned according to the acquired WIFI fingerprint are positioned. However, in practical applications, after indoor positioning data of a building is acquired for a certain time, some changes, such as a loss or damage, may occur to a part of Access Points (APs) in the building for transmitting a WIFI signal, and a corresponding WIFI signal cannot be generated, so that a WIFI fingerprint received by a location Point of a device to be positioned in an AP coverage area changes relative to the positioning data when the positioning data is acquired for the first time, thereby causing a poor indoor positioning effect. In order to overcome the problem, in the prior art, the positioning data is collected again and updated half a year or a year after the collection of each positioning data, so as to ensure the positioning effect.
However, in the prior art, when the positioning data is updated every time, the acquisition of the positioning data needs to be performed again, and the recollection causes a large resource consumption of manpower and material resources, so that the updating efficiency of the positioning data in the prior art is very low.
[ summary of the invention ]
The invention provides a method, a server and a computer readable medium for updating positioning data, which are used for improving the updating efficiency of the positioning data.
The invention provides a method for updating positioning data, which comprises the following steps:
generating a first WIFI list according to all WIFI fingerprints in the first-time collected indoor positioning data of the building;
acquiring all indoor WIFI positioning requests carrying WIFI fingerprints requiring positioning in a preset time period;
generating a second WIFI list according to all WIFI positioning requests in the preset time period;
and updating the WIFI fingerprint in the positioning data according to the second WIFI list and the first WIFI list.
Further optionally, in the method, generating the first WIFI list according to all WIFI fingerprints in the first-collected indoor positioning data of the building specifically includes:
acquiring identification of an access point of a WIFI signal in each WIFI fingerprint from all the first acquired WIFI fingerprints in the indoor positioning data of the building;
and aggregating the identifications of the access points of the WIFI signals in all the WIFI fingerprints in a list to generate the first WIFI list.
Further optionally, in the method, generating a second WIFI list according to all WIFI positioning requests in the preset time period specifically includes:
acquiring all WIFI fingerprints requesting positioning in the preset time period from all WIFI positioning requests in the preset time period;
acquiring identification of an access point of a WIFI signal in each WIFI fingerprint from all the WIFI fingerprints requiring positioning;
and aggregating the identifications of the access points of all the WIFI fingerprints requesting positioning in a list to generate the second WIFI list.
Further optionally, in the method, updating the WIFI fingerprint in the positioning data according to the second WIFI list and the first WIFI list specifically includes:
acquiring identifiers of a plurality of effective access points which are still effective within the preset time period after the first acquisition according to the second WIFI list and the first WIFI list;
and updating each WIFI fingerprint in the positioning data according to the identification of the effective access points, so that only WIFI signals corresponding to the effective access points are reserved in each updated WIFI fingerprint.
Further optionally, in the method described above, after the WIFI fingerprint in the positioning data is updated according to the second WIFI list and the first WIFI list, the method further includes:
detecting a positioning effect according to the positioning data after the WIFI fingerprint is updated and a pre-trained effect detection module;
and if the positioning effect is poor, prompting that the indoor positioning data of the building needs to be acquired again.
Further optionally, in the method, before detecting a positioning effect according to the positioning data after updating the WIFI fingerprint and the pre-trained effect detection module, the method further includes:
training the effect detection module using the first acquired positioning data.
The present invention provides a positioning server, the server comprising:
the first generation module is used for generating a first WIFI list according to all WIFI fingerprints in the first-time acquired indoor positioning data of the building;
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring all indoor WIFI positioning requests carrying WIFI fingerprints requiring positioning in a preset time period;
the second generating module is used for generating a second WIFI list according to all the WIFI positioning requests in the preset time period;
and the updating module is used for updating the WIFI fingerprint in the positioning data according to the second WIFI list and the first WIFI list.
Further optionally, in the server described above, the first generating module is specifically configured to:
acquiring identification of an access point of a WIFI signal in each WIFI fingerprint from all the first acquired WIFI fingerprints in the indoor positioning data of the building;
and aggregating the identifications of the access points of the WIFI signals in all the WIFI fingerprints in a list to generate the first WIFI list.
Further optionally, in the server described above, the second generating module is specifically configured to:
acquiring all WIFI fingerprints requesting positioning in the preset time period from all WIFI positioning requests in the preset time period;
acquiring identification of an access point of a WIFI signal in each WIFI fingerprint from all the WIFI fingerprints requiring positioning;
and aggregating the identifications of the access points of all the WIFI fingerprints requesting positioning in a list to generate the second WIFI list.
Further optionally, in the server described above, the update module is specifically configured to:
acquiring identifiers of a plurality of effective access points which are still effective within the preset time period after the first acquisition according to the second WIFI list and the first WIFI list;
and updating each WIFI fingerprint in the positioning data according to the identification of the effective access points, so that only WIFI signals corresponding to the effective access points are reserved in each updated WIFI fingerprint.
Further optionally, in the server described above, the server further includes:
the detection module is used for detecting a positioning effect according to the positioning data after the WIFI fingerprint is updated and the pre-trained effect detection module;
and the prompting module is used for prompting that the indoor positioning data of the building needs to be acquired again if the detection module detects that the positioning effect is poor.
Further optionally, in the server described above, the server further includes:
and the training module is used for training the effect detection module by using the first acquired positioning data.
The present invention also provides a computer apparatus, the apparatus comprising:
one or more processors;
a memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method for updating positioning data as described above.
The invention also provides a computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method of updating positioning data as described above.
According to the method for updating the positioning data, the server and the computer readable medium, the first WIFI list is generated according to all WIFI fingerprints in the first-collected indoor positioning data of the building; acquiring all indoor WIFI positioning requests carrying WIFI fingerprints requiring positioning in a preset time period; generating a second WIFI list according to all WIFI positioning requests in a preset time period; and updating the WIFI fingerprint in the positioning data according to the second WIFI list and the first WIFI list. Compared with the prior art, the technical scheme of the invention can realize the updating of the positioning data according to all the WIFI fingerprints acquired for the first time and all the WIFI fingerprints requiring positioning in the preset time period without acquiring the positioning data again, thereby effectively saving the resources of manpower and material resources and effectively improving the updating efficiency of the positioning data.
[ description of the drawings ]
Fig. 1 is a flowchart of a first embodiment of a method for updating positioning data according to the present invention.
Fig. 2 is a flowchart of a second embodiment of a method for updating positioning data according to the present invention.
Fig. 3 is a structural diagram of a first embodiment of a positioning server according to the present invention.
Fig. 4 is a structural diagram of a second embodiment of the positioning server of the present invention.
FIG. 5 is a block diagram of an embodiment of a computer device of the present invention.
Fig. 6 is an exemplary diagram of a computer device provided by the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
Fig. 1 is a flowchart of a first embodiment of a method for updating positioning data according to the present invention. As shown in fig. 1, the method for updating positioning data of this embodiment may specifically include the following steps:
100. generating a first WIFI list according to all WIFI fingerprints in the first-time collected indoor positioning data of the building;
the main executing body of the method for updating the positioning data of this embodiment may be an updating device of the positioning data, and the updating device of the positioning data may be set in a positioning server, so the main executing body of the method for updating the positioning data may directly be the positioning server, and the positioning server is configured to provide positioning services for devices to be positioned at each indoor location of a building.
In this embodiment, before providing the positioning service, the positioning server needs to collect indoor positioning data of the building, and provides the positioning service using the first collected positioning data as a standard. In this embodiment, the first-time collected positioning data includes the geographical coordinates of each indoor position point of this building to and a plurality of WIFI fingerprints that this position point corresponds. A plurality of WIFI fingerprints of each position point can be acquired at the position point by adopting different WIFI signal acquisition modules. Because different WIFI signal acquisition modules have different capacities of receiving WIFI signals, even at the same position point, the acquired WIFI fingerprints are different. Therefore, the same location point may correspond to a plurality of different WIFI fingerprints. Each WIFI fingerprint may include information of a plurality of WIFI signals that can be received at a current location point, and the information of each WIFI signal may include an identifier of the AP for uniquely identifying the WIFI signal, a name of the AP for the WIFI signal, and a strength of the WIFI signal. Since each AP has a physical address uniquely identifying the AP, the identification of the AP for uniquely identifying the WIFI signal in this embodiment may be the physical address of the AP.
By the above, including the locating data of every position point in the indoor locating data of building, the locating data of every position point can include the geographical coordinate of this position point and a plurality of WIFI fingerprints that this position point corresponds, and includes at least the sign of at least one AP and the intensity of the WIFI signal that every AP corresponds in every WIFI fingerprint, also can include other information such as AP's name certainly. In this embodiment, the updating of the positioning data is mainly used to delete the damaged or failed AP WIFI signal in the WIFI fingerprint of the positioning data, so in the updating process of the positioning data, the first WIFI list corresponding to all WIFI fingerprints must be acquired first. In this embodiment, when the first WIFI list is generated according to all WIFI fingerprints in the first-time acquired indoor positioning data of the building, all WIFI fingerprints may be specifically collected in one list to generate the first WIFI list. At this time, the first WIFI list may include information of all WIFI fingerprints, such as an identifier of an AP corresponding to each WIFI signal in all WIFI signals in each WIFI fingerprint, and strength of each WIFI signal or other information.
101. Acquiring all indoor WIFI positioning requests carrying WIFI fingerprints requiring positioning in a preset time period;
the preset time period of this embodiment may be a period for updating the positioning data set by an operator, for example, may be one month, two months, three months, or another time period. In the preset time period, the positioning server provides positioning service for the user of each device to be positioned according to the first acquired positioning data. In the process of providing the positioning service, the positioning server receives the WIFI positioning request carrying the WIFI fingerprint requesting positioning at each time, so that the corresponding geographic coordinate is acquired from the positioning data according to the WIFI fingerprint, and the positioning of the positioning equipment can be realized. The step is used for acquiring all WIFI positioning requests requesting positioning from the positioning server within a preset time period, and each WIFI positioning request carries a WIFI fingerprint requesting positioning.
102. Generating a second WIFI list according to all WIFI positioning requests in a preset time period;
specifically, similar to the generation manner of the first WIFI list, each WIFI fingerprint in all WIFI positioning requests within a preset time period may be collected in one list, and a second WIFI list is generated.
103. And updating the WIFI fingerprint in the positioning data according to the second WIFI list and the first WIFI list.
Specifically, the second WIFI list includes WIFI fingerprints requiring positioning in all WIFI positioning requests received within a preset time period, WIFI signals sent by APs working normally within the preset time period can be recorded in all WIFI fingerprints requiring positioning, and for APs in the preset time period and being abnormal or faulty, due to the fact that WIFI signals collected by other devices to be positioned cannot be sent normally, WIFI signals of the abnormal or faulty APs cannot be contained in the WIFI fingerprints in all WIFI positioning requests within the preset time period, and therefore any information of the abnormal or faulty APs cannot be recorded in the second WIFI list. When the AP is collected for the first time in the first WIFI list, the abnormal or fault AP can normally work at that time, so that the information of the AP exists in the first WIFI list. Therefore, the first WIFI list and the second WIFI list are compared, and the related information of a part of APs coexisting in the first WIFI list and the second WIFI list can be acquired. It may be determined that the part of APs is always valid, and then the positioning data may be updated according to the part of valid APs, so that only the WIFI information of the part of valid APs is included in the positioning data, and the WIFI information of the APs that exist in the first list but do not exist within the preset time period is deleted. What include in the WIFI fingerprint of each position point in the location data after the update all is the WIFI information of present effectual AP to constitute the WIFI fingerprint according to each effectual AP's WIFI signal, can realize fixing a position effectively.
For example, at certain indoor position of building, when gathering the locating data for the first time, this position can adopt a plurality of WIFI fingerprints of including 1 in common, 2, 3, the WIFI signal that five AP identifications of 4 and 5 correspond, but in presetting the time period like the WIFI fingerprint of all location requests in two months after gathering, the AP identification has only appeared and is 2, the WIFI signal that 4 and 5 correspond, the WIFI signal that the AP identification is 1 and 3 correspondence has not appeared, can regard AP identification 1 and 3 to break down this moment, when the updating locating data, can delete the WIFI signal that includes AP identification 1 and 3 correspondence in all WIFI fingerprints of locating data. For example, the WIFI signals including AP identifiers 1, 2, and 3 are first collected from the WIFI fingerprint of a certain location point, and after updating, the WIFI fingerprint is updated to include only the WIFI signal corresponding to AP identifier 2; WIFI signals collected and included for the first time in the WIFI fingerprint of a certain position point are WIFI signals of AP identifications 2, 3 and 4, and after the WIFI fingerprint is updated, the WIFI fingerprint is updated to include WIFI signals corresponding to the AP identifications 2 and 4.
According to the method for updating the positioning data, a first WIFI list is generated according to all WIFI fingerprints in the first-time acquired indoor positioning data of the building; acquiring all indoor WIFI positioning requests carrying WIFI fingerprints requiring positioning in a preset time period; generating a second WIFI list according to all WIFI positioning requests in a preset time period; and updating the WIFI fingerprint in the positioning data according to the second WIFI list and the first WIFI list. Compared with the prior art, the technical scheme of this embodiment, need not gather the locating data again, according to all WIFI fingerprints of first collection and in presetting the time period, all WIFI fingerprints of request location, alright in order to realize the update to the locating data, can effectively save the resource of manpower and material resources, improve the update efficiency of locating data effectively.
Fig. 2 is a flowchart of a second embodiment of a method for updating positioning data according to the present invention. As shown in fig. 2, the method for updating positioning data of this embodiment further introduces the technical solution of the present invention in more detail on the basis of the technical solution of the embodiment shown in fig. 1. As shown in fig. 2, the method for updating positioning data of this embodiment may specifically include the following steps:
200. acquiring an identifier of an AP (access point) of a WIFI signal in each WIFI fingerprint from all the WIFI fingerprints in the indoor positioning data of the building acquired for the first time;
201. collecting the identifiers of the APs of the WIFI signals in all the WIFI fingerprints in a list to generate a first WIFI list;
step 200 and step 201 of this embodiment are a specific implementation manner of step 100 of the embodiment shown in fig. 1.
In practical applications, the intensity or other information of each WIFI signal in the first WIFI list in step 100 in the embodiment shown in fig. 1 may not be considered when updating the positioning data, so preferably, only the identifier of the AP that includes the WIFI signals in all WIFI fingerprints may be included in the first WIFI list, and similarly, the identifier of the AP in this embodiment may also be a physical address of the AP. Specifically, the identifier, such as a physical address, of the AP of the WIFI signal in each WIFI fingerprint may be obtained from all WIFI fingerprints in the first-collected indoor positioning data of the building; and then, collecting the identifiers of the APs of the WIFI signals in all the obtained WIFI fingerprints in a list to generate a first WIFI list.
202. Acquiring all indoor WIFI positioning requests carrying WIFI fingerprints requiring positioning in a preset time period;
this step is the same as step 101 in the embodiment shown in fig. 1, and reference may be made to the description of step 101 in the embodiment shown in fig. 1 for details, which is not repeated herein.
203. Acquiring all WIFI fingerprints requesting positioning in a preset time period from all WIFI positioning requests in the preset time period;
204. acquiring the identification of the AP of the WIFI signal in each WIFI fingerprint from all the WIFI fingerprints requiring positioning;
205. collecting the identifications of the APs of all the WIFI fingerprints requested to be positioned in a list to generate a second WIFI list;
step 203 and step 205 of this embodiment are a specific implementation manner of step 102 of the embodiment shown in fig. 1.
Similarly, the second WIFI list in the embodiment shown in fig. 1 includes the strength of the WIFI signal corresponding to the AP and the like, which may also be disregarded when updating the positioning data. Therefore, in the embodiment, all WIFI fingerprints requesting positioning within a preset time period are obtained from all WIFI positioning requests within the preset time period; acquiring the identification of the AP of the WIFI signal in each WIFI fingerprint from all the WIFI fingerprints requiring positioning; and the identifiers of the APs of all the WIFI fingerprints requiring positioning are collected in a list, and a second WIFI list is generated, so that the generated second WIFI list only comprises the identifiers of the APs contributing to updating the positioning data, and the operation is simpler and more convenient. The generation method is the same as the implementation principle of the preferred generation method of the first WIFI list in step 200-201.
206. Acquiring identifiers of a plurality of effective APs which are still effective within a preset time period after the first acquisition according to the second WIFI list and the first WIFI list;
207. and updating each WIFI fingerprint in the positioning data according to the identification of the effective APs, so that only WIFI signals corresponding to the effective APs are reserved in each updated WIFI fingerprint.
Step 206 and step 207 of this embodiment are a specific implementation manner of step 103 of the embodiment shown in fig. 1.
According to the second WIFI list and the first WIFI list, the identification of the plurality of APs in the intersection of the second WIFI list and the first WIFI list can be obtained, namely the identification of the effective APs still effective in a preset time period after the first acquisition. Then according to the identification of the effective APs, the WIFI signals of the APs, except the identification of the effective APs in the WIFI fingerprints in the positioning data acquired for the first time, are deleted, so that the WIFI fingerprints in the positioning data are updated, and the positioning data are updated.
According to the updating method of the positioning data, by adopting the technical scheme, compared with the prior art, the positioning data does not need to be collected again, and the updating of the positioning data can be realized according to all the WIFI fingerprints collected for the first time and all the WIFI fingerprints requiring positioning in the preset time period, so that the resources of manpower and material resources can be effectively saved, and the updating efficiency of the positioning data is effectively improved.
It should be noted that, after the positioning data is updated by using the technical solution of the foregoing embodiment, WIFI signals included in WIFI fingerprints of some location points are less, for example, WIIF fingerprints of some location points may only include one or two WIFI fingerprints, and the positioning effect is poor at this time. Therefore, on the basis of the technical solution of the above embodiment, after "updating the WIFI fingerprint in the positioning data according to the second WIFI list and the first WIFI list" in step 103, the following steps may be further included:
(a) detecting a positioning effect according to the positioning data after the WIFI fingerprint is updated and a pre-trained effect detection module; if the positioning effect is poor, executing the step (b); otherwise, the positioning effect can be prompted to be good so as to inform maintenance personnel of the positioning server that the positioning data can be normally used.
(b) The indoor positioning data of the suggestion building need to gather again to inform the maintainer of positioning server that the positioning effect is relatively poor, need gather again.
Further optionally, before the step (a), the method may further include: and the first-time collected positioning data is used for training the effect detection module.
Specifically, when gathering the positioning data for the first time, can adopt the WIFI fingerprint of every position point of a plurality of different WIFI collection modules simultaneous acquisitions usually, like this, in the positioning data, the position point of every geographical coordinate can correspond a plurality of different WIFI fingerprints, and wherein every in these WIFI fingerprints can all fix a position the position point of this geographical coordinate. For example, for convenience of description, in this embodiment, the WIFI fingerprints of each location point are collected by 6 different WIFI collection modules at the same time, so that in the positioning data obtained by first collection, one geographic coordinate of each location point corresponds to the WIFI fingerprints collected by 6 different WIFI collection modules. In this embodiment, can regard as the training data with the WIFI fingerprint of wherein 5 WIFI collection module gathers in the positioning data of every position point, the WIFI fingerprint of 1 WIFI collection module collection in addition is as test data, training effect detection module. The effect detection module may employ a neural network model. Before training, initial values may be set for the parameters of the model of the effects detection module. During training, the training data of each position point is input into the effect detection module, the geographic coordinates of the position point corresponding to the training data predicted by the effect detection module are obtained, and if the predicted geographic coordinates are inconsistent with the geographic coordinates in the test data, the parameters of the effect detection module are modified, so that the predicted geographic coordinates of the position points are consistent with the geographic coordinates in the test data. The parameters of the effect detection module can be determined by continuously training the classified training data and the test data in the first-time collected positioning data, so that the effect detection module is determined.
And (b) classifying the updated positioning data of each position point according to the classification mode of the training data and the test data in the first-time acquired positioning data when the positioning data is used. And then inputting training data in the positioning data of each position point into a trained effect detection module, predicting the geographic coordinates of the position point by the effect detection module, and analyzing whether the predicted geographic coordinates are consistent with the positioning effect of the position point in the test data. If the two are consistent, the prediction is determined to be correct, otherwise, the prediction is wrong. Effect detection is carried out through all position points in the positioning database after updating, if the proportion of predicting the correct position point is greater than or equal to the preset threshold value such as 90%, 95% or other numerical values, then positioning effect can be considered good, otherwise if the proportion of predicting the correct position point is less than the preset threshold value, then positioning effect can be considered poor, indoor positioning data of a building needs to be prompted to be collected again, so that maintainers who inform a positioning server that positioning effect is poor, and the positioning data needs to be collected again.
Through adopting the technical scheme of above-mentioned embodiment, can also detect the location effect of location data after the update location data to when the location effect is not good, the suggestion reacquires the location data. By adopting the technical scheme, the positioning data can be strictly monitored, and the positioning effect of the positioning data is ensured constantly.
Fig. 3 is a structural diagram of a first embodiment of a positioning server according to the present invention. As shown in fig. 3, the positioning server of this embodiment may specifically include: a first generation module 10, an acquisition module 11, a second generation module 12 and an update module 13.
The first generation module 10 is configured to generate a first WIFI list according to all WIFI fingerprints in the first-time acquired indoor positioning data of the building;
the acquisition module 11 is configured to acquire all indoor WIFI positioning requests carrying WIFI fingerprints requiring positioning in a preset time period;
the second generating module 12 is configured to generate a second WIFI list according to all WIFI positioning requests within a preset time period acquired by the acquiring module 11;
the updating module 13 is configured to update the WIFI fingerprint in the positioning data according to the second WIFI list generated by the second generating module 12 and the first WIFI list generated by the first generating module 10.
The implementation principle and technical effect of the positioning server in this embodiment for implementing the update of the positioning data by using the modules are the same as those of the related method embodiments, and reference may be made to the description of the related method embodiments in detail, which is not described herein again.
Fig. 4 is a structural diagram of a second embodiment of the positioning server of the present invention. As shown in fig. 4, the positioning server of this embodiment may further include the following technical solutions on the basis of the technical solution of the embodiment shown in fig. 3.
In the positioning server of this embodiment, the first generating module 10 is specifically configured to:
acquiring identification of an access point of a WIFI signal in each WIFI fingerprint from all the WIFI fingerprints in the indoor positioning data of the building acquired for the first time;
and aggregating the identifications of the access points of the WIFI signals in all the WIFI fingerprints in a list to generate a first WIFI list.
Further optionally, in the positioning server of this embodiment, the second generating module 12 is specifically configured to:
acquiring all WIFI fingerprints requesting positioning within a preset time period from all WIFI positioning requests within the preset time period acquired by the acquisition module 11;
acquiring identification of an access point of a WIFI signal in each WIFI fingerprint from all WIFI fingerprints requiring positioning;
and aggregating the identifications of the access points of all the WIFI fingerprints requesting positioning in a list to generate a second WIFI list.
Further optionally, in the positioning server of this embodiment, the update module 13 is specifically configured to:
acquiring identifiers of a plurality of effective access points which are still effective within a preset time period after first acquisition according to a second WIFI list generated by a second generation module 12 and a first WIFI list generated by a first generation module 10;
and updating each WIFI fingerprint in the positioning data according to the identification of the effective access points, so that only WIFI signals corresponding to the effective access points are reserved in each updated WIFI fingerprint.
As shown in fig. 4, the positioning server of this embodiment further includes:
the detection module 14 is used for detecting a positioning effect according to the positioning data after the updating of the WIFI fingerprint by the updating module 13 and a pre-trained effect detection module;
the prompting module 15 is used for prompting that the indoor positioning data of the building needs to be collected again if the detection module 14 detects that the positioning effect is poor.
Further, as shown in fig. 4, the positioning server of this embodiment further includes:
the training module 16 is used to train the effect detection module using the first acquired positioning data.
Correspondingly, the detection module 14 is configured to detect a positioning effect according to the positioning data after the update module 13 updates the WIFI fingerprint and the effect detection module trained in advance by the training module 16.
The implementation principle and technical effect of the positioning server in this embodiment for implementing the update of the positioning data by using the modules are the same as those of the related method embodiments, and reference may be made to the description of the related method embodiments in detail, which is not described herein again.
FIG. 5 is a block diagram of an embodiment of a computer device of the present invention. As shown in fig. 5, the computer device of the present embodiment includes: one or more processors 30, and a memory 40, the memory 40 being configured to store one or more programs, when the one or more programs stored in the memory 40 are executed by the one or more processors 30, the one or more processors 30 are enabled to implement the method for updating positioning data according to the embodiment shown in fig. 1-4. The embodiment shown in fig. 5 is exemplified by including a plurality of processors 30.
For example, fig. 6 is an exemplary diagram of a computer device provided by the present invention. FIG. 6 illustrates a block diagram of an exemplary computer device 12a suitable for use in implementing embodiments of the present invention. The computer device 12a shown in FIG. 6 is only an example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 6, computer device 12a is in the form of a general purpose computing device. The components of computer device 12a may include, but are not limited to: one or more processors 16a, a system memory 28a, and a bus 18a that connects the various system components (including the system memory 28a and the processors 16 a).
Bus 18a represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12a typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer device 12a and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28a may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30a and/or cache memory 32 a. Computer device 12a may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34a may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, and commonly referred to as a "hard drive"). Although not shown in FIG. 6, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18a by one or more data media interfaces. System memory 28a may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of the various embodiments of the invention described above in fig. 1-4.
A program/utility 40a having a set (at least one) of program modules 42a may be stored, for example, in system memory 28a, such program modules 42a including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may include an implementation of a network environment. Program modules 42a generally perform the functions and/or methodologies described above in connection with the various embodiments of fig. 1-4 of the present invention.
Computer device 12a may also communicate with one or more external devices 14a (e.g., keyboard, pointing device, display 24a, etc.), with one or more devices that enable a user to interact with computer device 12a, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12a to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22 a. Also, computer device 12a may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet) through network adapter 20 a. As shown, network adapter 20a communicates with the other modules of computer device 12a via bus 18 a. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computer device 12a, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processor 16a executes various functional applications and data processing by executing programs stored in the system memory 28a, for example, to implement the method for updating the positioning data shown in the above-described embodiment.
The present invention also provides a computer-readable medium, on which a computer program is stored, which when executed by a processor implements the method for updating positioning data as shown in the above embodiments.
The computer-readable media of this embodiment may include RAM30a, and/or cache memory 32a, and/or storage system 34a in system memory 28a in the embodiment illustrated in fig. 6 described above.
With the development of technology, the propagation path of computer programs is no longer limited to tangible media, and the computer programs can be directly downloaded from a network or acquired by other methods. Accordingly, the computer-readable medium in the present embodiment may include not only tangible media but also intangible media.
The computer-readable medium of the present embodiments may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (12)

1. A method for updating positioning data, the method comprising:
generating a first WIFI list according to all WIFI fingerprints in the first-time collected indoor positioning data of the building; the indoor positioning data of the building comprises geographic coordinates and a plurality of WIFI fingerprints of each position point in the room of the building;
acquiring all indoor WIFI positioning requests carrying WIFI fingerprints requiring positioning in a preset time period;
generating a second WIFI list according to all WIFI positioning requests in the preset time period;
updating the WIFI fingerprint in the positioning data according to the second WIFI list and the first WIFI list;
according to the second WIFI list and the first WIFI list, updating the WIFI fingerprint in the positioning data, including:
acquiring identifiers of a plurality of effective access points which are still effective within the preset time period after the first acquisition according to the second WIFI list and the first WIFI list;
and updating each WIFI fingerprint in the positioning data according to the identification of the effective access points, so that only WIFI signals corresponding to the effective access points are reserved in each updated WIFI fingerprint.
2. The method according to claim 1, wherein generating the first WIFI list from all WIFI fingerprints in the first acquired indoor positioning data of the building comprises:
acquiring identification of an access point of a WIFI signal in each WIFI fingerprint from all the first acquired WIFI fingerprints in the indoor positioning data of the building;
and aggregating the identifications of the access points of the WIFI signals in all the WIFI fingerprints in a list to generate the first WIFI list.
3. The method according to claim 1, wherein generating a second WIFI list according to all WIFI positioning requests within the preset time period specifically includes:
acquiring all WIFI fingerprints requesting positioning in the preset time period from all WIFI positioning requests in the preset time period;
acquiring identification of an access point of a WIFI signal in each WIFI fingerprint from all the WIFI fingerprints requiring positioning;
and aggregating the identifications of the access points of all the WIFI fingerprints requesting positioning in a list to generate the second WIFI list.
4. The method of any one of claims 1 to 3, wherein after updating the WIFI fingerprint in the positioning data according to the second WIFI list and the first WIFI list, the method further comprises:
detecting a positioning effect according to the positioning data after the WIFI fingerprint is updated and a pre-trained effect detection module;
and if the positioning effect is poor, prompting that the indoor positioning data of the building needs to be acquired again.
5. The method of claim 4, wherein before detecting the positioning effect according to the positioning data after updating the WIFI fingerprint and the pre-trained effect detection module, the method further comprises:
training the effect detection module using the first acquired positioning data.
6. A positioning server, characterized in that the server comprises:
the first generation module is used for generating a first WIFI list according to all WIFI fingerprints in the first-time acquired indoor positioning data of the building; the indoor positioning data of the building comprises geographic coordinates and a plurality of WIFI fingerprints of each position point in the room of the building;
the system comprises an acquisition module, a storage module and a processing module, wherein the acquisition module is used for acquiring all indoor WIFI positioning requests carrying WIFI fingerprints requiring positioning in a preset time period;
the second generating module is used for generating a second WIFI list according to all the WIFI positioning requests in the preset time period;
the updating module is used for updating the WIFI fingerprint in the positioning data according to the second WIFI list and the first WIFI list;
the update module is specifically configured to:
acquiring identifiers of a plurality of effective access points which are still effective within the preset time period after the first acquisition according to the second WIFI list and the first WIFI list;
and updating each WIFI fingerprint in the positioning data according to the identification of the effective access points, so that only WIFI signals corresponding to the effective access points are reserved in each updated WIFI fingerprint.
7. The server according to claim 6, wherein the first generating module is specifically configured to:
acquiring identification of an access point of a WIFI signal in each WIFI fingerprint from all the first acquired WIFI fingerprints in the indoor positioning data of the building;
and aggregating the identifications of the access points of the WIFI signals in all the WIFI fingerprints in a list to generate the first WIFI list.
8. The server according to claim 6, wherein the second generating module is specifically configured to:
acquiring all WIFI fingerprints requesting positioning in the preset time period from all WIFI positioning requests in the preset time period;
acquiring identification of an access point of a WIFI signal in each WIFI fingerprint from all the WIFI fingerprints requiring positioning;
and aggregating the identifications of the access points of all the WIFI fingerprints requesting positioning in a list to generate the second WIFI list.
9. The server according to any one of claims 6-8, wherein the server further comprises:
the detection module is used for detecting a positioning effect according to the positioning data after the WIFI fingerprint is updated and the pre-trained effect detection module;
and the prompting module is used for prompting that the indoor positioning data of the building needs to be acquired again if the detection module detects that the positioning effect is poor.
10. The server of claim 9, further comprising:
and the training module is used for training the effect detection module by using the first acquired positioning data.
11. A server device, characterized in that the device comprises:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5.
12. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN201710850345.XA 2017-09-20 2017-09-20 Method for updating positioning data, server and computer readable medium Active CN107872874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710850345.XA CN107872874B (en) 2017-09-20 2017-09-20 Method for updating positioning data, server and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710850345.XA CN107872874B (en) 2017-09-20 2017-09-20 Method for updating positioning data, server and computer readable medium

Publications (2)

Publication Number Publication Date
CN107872874A CN107872874A (en) 2018-04-03
CN107872874B true CN107872874B (en) 2021-04-16

Family

ID=61762220

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710850345.XA Active CN107872874B (en) 2017-09-20 2017-09-20 Method for updating positioning data, server and computer readable medium

Country Status (1)

Country Link
CN (1) CN107872874B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427982A (en) * 2020-03-20 2020-07-17 浙江大学城市学院 WiFi indoor positioning fingerprint database construction and updating technology based on crowd sensing

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103347278A (en) * 2013-06-25 2013-10-09 百度在线网络技术(北京)有限公司 Method and device for renewing fingerprint database in wireless positioning
CN103581822A (en) * 2012-07-25 2014-02-12 中国移动通信集团公司 Location optimization method and device and location server
CN104113868A (en) * 2014-06-20 2014-10-22 浙江工业大学 Crowdsourcing maintenance-based indoor position fingerprint database establishment method and system
CN104301997A (en) * 2014-09-23 2015-01-21 上海华为技术有限公司 Server, mobile terminal, system and positioning method
CN104684083A (en) * 2015-03-26 2015-06-03 哈尔滨工业大学 AP (access point) selecting method based on clustering idea
CN104902547A (en) * 2015-06-30 2015-09-09 北京奇虎科技有限公司 WiFi (wireless fidelity) network connection method and WiFi network connection device
CN105589064A (en) * 2016-01-08 2016-05-18 重庆邮电大学 Rapid establishing and dynamic updating system and method for WLAN position fingerprint database
CN106358228A (en) * 2016-11-09 2017-01-25 北京航空航天大学 Dynamic detection and filtering method for invalid AP in WIFI indoor positioning system
CN106982414A (en) * 2016-01-15 2017-07-25 阿里巴巴集团控股有限公司 A kind of positioned update method, device and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9706366B2 (en) * 2015-11-06 2017-07-11 International Business Machines Corporation WiFi-fingerprint based indoor localization map

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581822A (en) * 2012-07-25 2014-02-12 中国移动通信集团公司 Location optimization method and device and location server
CN103347278A (en) * 2013-06-25 2013-10-09 百度在线网络技术(北京)有限公司 Method and device for renewing fingerprint database in wireless positioning
CN104113868A (en) * 2014-06-20 2014-10-22 浙江工业大学 Crowdsourcing maintenance-based indoor position fingerprint database establishment method and system
CN104301997A (en) * 2014-09-23 2015-01-21 上海华为技术有限公司 Server, mobile terminal, system and positioning method
CN104684083A (en) * 2015-03-26 2015-06-03 哈尔滨工业大学 AP (access point) selecting method based on clustering idea
CN104902547A (en) * 2015-06-30 2015-09-09 北京奇虎科技有限公司 WiFi (wireless fidelity) network connection method and WiFi network connection device
CN105589064A (en) * 2016-01-08 2016-05-18 重庆邮电大学 Rapid establishing and dynamic updating system and method for WLAN position fingerprint database
CN106982414A (en) * 2016-01-15 2017-07-25 阿里巴巴集团控股有限公司 A kind of positioned update method, device and mobile terminal
CN106358228A (en) * 2016-11-09 2017-01-25 北京航空航天大学 Dynamic detection and filtering method for invalid AP in WIFI indoor positioning system

Also Published As

Publication number Publication date
CN107872874A (en) 2018-04-03

Similar Documents

Publication Publication Date Title
CN109509260B (en) Labeling method, equipment and readable medium of dynamic obstacle point cloud
CN108229364B (en) Building contour generation method and device, computer equipment and storage medium
WO2022142685A1 (en) Infection probability prediction method and apparatus for infectious disease, storage medium and electronic device
CN104866542A (en) POI data verification method and device
CN110677815A (en) Stay point identification method and device, computer equipment and storage medium
CN110515758B (en) Fault positioning method and device, computer equipment and storage medium
CN109284801B (en) Traffic indicator lamp state identification method and device, electronic equipment and storage medium
CN104111073A (en) Method and device for identifying inaccurate paths in map data
CN107948274B (en) Transaction authentication method and system, server, and storage medium
CN113556167B (en) Data management method and device, electronic equipment and storage medium
CN111796978B (en) Interface detection method, device, system, equipment and storage medium
JP2017102672A (en) Geographic position information specification system and geographic position information specification method
CN111121797B (en) Road screening method, device, server and storage medium
CN113076358A (en) Report generation method, device, equipment and storage medium
CN107872874B (en) Method for updating positioning data, server and computer readable medium
CN112182132A (en) Subway user identification method, system, equipment and storage medium
CN111737082A (en) Container and monitoring method, device, equipment and medium for container application
CN110659280A (en) Road blocking abnormity detection method and device, computer equipment and storage medium
CN115905260A (en) Map updating method and device, electronic equipment and storage medium
CN113377610B (en) Performance monitoring method, device, computer equipment and storage medium
CN109446433A (en) A kind of interest point failure method of calibration, device, server and storage medium
CN114090650A (en) Sample data identification method and device, electronic equipment and storage medium
CN114064510A (en) Function testing method and device, electronic equipment and storage medium
CN111741046B (en) Data reporting method, data acquisition method, device, equipment and medium
CN110542426B (en) Method, device and readable medium for identifying small path

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant