CN110243531B - Method, device and server for acquiring ground reference air pressure - Google Patents
Method, device and server for acquiring ground reference air pressure Download PDFInfo
- Publication number
- CN110243531B CN110243531B CN201810193391.1A CN201810193391A CN110243531B CN 110243531 B CN110243531 B CN 110243531B CN 201810193391 A CN201810193391 A CN 201810193391A CN 110243531 B CN110243531 B CN 110243531B
- Authority
- CN
- China
- Prior art keywords
- mobile device
- location
- air pressure
- data
- area
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000005540 biological transmission Effects 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C5/00—Measuring height; Measuring distances transverse to line of sight; Levelling between separated points; Surveyors' levels
- G01C5/06—Measuring height; Measuring distances transverse to line of sight; Levelling between separated points; Surveyors' levels by using barometric means
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01L—MEASURING FORCE, STRESS, TORQUE, WORK, MECHANICAL POWER, MECHANICAL EFFICIENCY, OR FLUID PRESSURE
- G01L11/00—Measuring steady or quasi-steady pressure of a fluid or a fluent solid material by means not provided for in group G01L7/00 or G01L9/00
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to a method and a device for acquiring ground reference air pressure, wherein the method comprises the following steps: periodically determining mobile devices located within any one of the at least one region based on the location data of the mobile devices; and calculating a ground reference air pressure of the any area based at least on air pressure at the position of the at least one mobile device in the mobile devices in the any area. The method and the device can accurately acquire the ground reference air pressure of each area in a low-cost mode.
Description
Technical Field
The invention relates to a method, a device and a server for acquiring ground reference air pressure.
Background
When located at some off-ground location (e.g., mountain, high-rise building, etc.), one typically wants to know the height H of its current location relative to the ground (e.g., mountain foot ground of the mountain, ground of the area where the building is located, etc.), which can be calculated using the following formula:
wherein p represents the air pressure at the current position of the person, p 0 Representing the ground reference air pressure of the area where the current position of the person is located.
In general, the reference air pressure issued by the weather bureau of the city in which the target area is located via its official network or a third party is used as the ground reference air pressure of the target area. The meteorological office of each city typically measures the ground air pressure of several typical areas of the city at relatively large time intervals (e.g., once per hour) as a ground reference air pressure for use by people. However, the ground pressure of each area generally varies with time due to the influence of weather changes, and thus, it is inaccurate to take the ground reference pressure measured by the weather bureau earlier time as the ground reference pressure of the target area at the current time. In addition, the ground reference air pressure of different areas is generally different, and therefore, in the case where the target area is different from the area where the weather station is to measure the ground reference air pressure, it is also inaccurate to set the ground reference air pressure issued by the weather station as the ground reference air pressure of the target area.
In order to overcome the problem caused by the ground reference air pressure issued by the weather bureau as the ground reference air pressure of the target areas, air pressure stations may be deployed on the ground of each target area to rapidly and periodically measure the ground reference air pressure of the target areas, but when the number of the target areas is large, a large number of air pressure stations need to be deployed in this way, and the cost is high.
Disclosure of Invention
Embodiments of the present invention provide a method, apparatus, and server for acquiring a ground reference air pressure, which can accurately acquire the ground reference air pressure of each region in a low-cost manner.
A method for acquiring a ground reference air pressure according to an embodiment of the present invention includes: periodically determining, by a location service based server, mobile devices located within any one of the at least one region based on location data of the mobile devices; and calculating, by the server, a ground reference barometric pressure for the arbitrary area based at least on barometric pressure at a location thereof provided by at least one of the mobile devices located within the arbitrary area, respectively, wherein the calculating the ground reference barometric pressure for the arbitrary area comprises: calculating a respective air pressure weighting value of the at least one mobile device based on at least one of a brand to which the at least one mobile device belongs, a distance of the at least one mobile device from a central position of the any area, and a data freshness value of the at least one mobile device, wherein the data freshness value of each mobile device is equal to a time difference between a time at which air pressure at the position of the mobile device is measured and a current time provided by the mobile device; calculating a weighted air pressure of each of the at least one mobile device based on the air pressure weighted value of each of the at least one mobile device and the air pressure provided by each of the at least one mobile device at the location thereof; and calculating a ground reference air pressure for the any one area based on the weighted air pressures of the at least one mobile device.
An apparatus for acquiring ground reference air pressure according to an embodiment of the present invention, which is installed in a location-based service server, includes: a determining module for periodically determining mobile devices located in any one of the at least one area according to the location data of the mobile devices; and a calculation module for calculating a ground reference air pressure for the arbitrary area based at least on air pressure at a location thereof provided by at least one of the mobile devices located within the arbitrary area, wherein the calculation module is further configured to: calculating a respective air pressure weighting value of the at least one mobile device based on at least one of a brand to which the at least one mobile device belongs, a distance of the at least one mobile device from a central position of the any area, and a data freshness value of the at least one mobile device, wherein the data freshness value of each mobile device is equal to a time difference between a time at which air pressure at the position of the mobile device is measured and a current time provided by the mobile device; calculating a weighted air pressure of each of the at least one mobile device based on the air pressure weighted value of each of the at least one mobile device and the air pressure provided by each of the at least one mobile device at the location thereof; and calculating a ground reference air pressure for the any one area based on the weighted air pressures of the at least one mobile device.
A server according to an embodiment of the present invention includes: a processor; and a memory having stored thereon executable instructions, wherein the executable instructions when executed cause the processor to perform the aforementioned method.
A machine-readable storage medium according to an embodiment of the present invention has stored thereon executable instructions that, when executed, cause a machine to perform the aforementioned method.
As can be seen from the above, the solution of the embodiment of the present invention periodically uses the air pressure provided by the mobile device located in each area to calculate the ground reference air pressure of each area, and since it is not necessary to place an air pressure station in each area, and the calculated ground reference air pressure of each area is very close to the actual ground air pressure of each area with a small ground reference air pressure calculation period, the solution of the embodiment of the present invention can accurately obtain the ground reference air pressure of each area in a low cost manner as compared with the prior art.
Drawings
The features, characteristics, advantages and benefits of the present invention will become apparent from the following detailed description taken in conjunction with the accompanying drawings.
FIG. 1 shows a schematic diagram of a system architecture for acquiring ground reference air pressure in accordance with one embodiment of the invention.
Fig. 2 shows a general flow diagram of a method for acquiring ground reference air pressure in accordance with one embodiment of the invention.
FIG. 3 illustrates a flow chart of a method for acquiring ground reference air pressure in accordance with one embodiment of the invention.
Fig. 4 shows a schematic view of an apparatus for acquiring ground reference air pressure according to an embodiment of the present invention.
Fig. 5 shows a schematic diagram of a server according to an embodiment of the invention.
Detailed Description
The subject matter described herein will now be discussed with reference to example embodiments. It should be appreciated that these embodiments are discussed only to enable a person skilled in the art to better understand and thereby practice the subject matter described herein, and are not limiting of the scope, applicability, or examples set forth in the claims. Changes may be made in the function and arrangement of elements discussed without departing from the scope of the disclosure. Various examples may omit, replace, or add various procedures or components as desired. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. In addition, features described with respect to some examples may be combined in other examples as well.
As used herein, the term "comprising" and variations thereof mean open-ended terms, meaning "including, but not limited to. The term "based on" means "based at least in part on". The terms "one embodiment" and "an embodiment" mean "at least one embodiment. The term "another embodiment" means "at least one other embodiment". The terms "first," "second," and the like, may refer to different or the same object. Other definitions, whether explicit or implicit, may be included below. Unless the context clearly indicates otherwise, the definition of a term is consistent throughout this specification.
Various embodiments of the present invention are described in detail below with reference to the attached drawing figures.
FIG. 1 shows a schematic diagram of a system architecture for acquiring ground reference air pressure in accordance with one embodiment of the invention. The system framework 10 shown in fig. 1 may include a plurality of mobile devices 20 and servers 30.
Each of the plurality of mobile devices 20 is at least an electronic device having communication and positioning capabilities such as, but not limited to, a cell phone, tablet computer, laptop computer, personal Digital Assistant (PDA), or wearable device, etc. At least some of the plurality of mobile devices 30 have barometers for measuring the barometric pressure of the location where the mobile device in which they are currently located.
The server 30 is a server providing Location-based services (LBS), such as, but not limited to, a map server, etc. In addition to providing location-based services to mobile device 30, server 30 may also calculate a ground reference air pressure for each of a plurality of areas a, as will be described in more detail below. The multiple areas a may be all areas obtained by meshing a certain area (for example, but not limited to, a certain city or a certain province or a certain country, etc.), or some interested areas in the certain area, etc.
The server 30 pre-stores a blacklist BL for indicating various mobile devices that cannot be used to calculate the ground reference air pressure, such as, but not limited to, the blacklist BL records International Mobile Equipment Identity (IMEI) or brands, etc. of those mobile devices that cannot provide accurate air pressure or cannot provide air pressure in time, etc.
Fig. 2 shows a general flow diagram of a method for acquiring ground reference air pressure in accordance with one embodiment of the invention. The method 200 shown in FIG. 2 is described in detail below with reference to the system architecture shown in FIG. 1.
As shown in fig. 2, at block 202, when a mobile device 20i of the plurality of mobile devices 20 is to use a location-based service, the mobile device 20i sends a location-based service request to the server 30. Wherein if the mobile device 20i does not have a barometer, the location-based service request includes only location data of the mobile device 20i indicating its current location. If the mobile device 20i has a barometer, the location-based service request includes both location data and barometric data for the mobile device 20i, where the barometric data for the mobile device 20i includes a barometric pressure at its location measured with its own barometer and a timestamp indicating a time at which the barometric pressure was measured.
At block 204, upon receiving the location-based service request from the mobile device 20i, the server 30 stores the location data of the mobile device 20i included in the received location-based service request, or the location data and barometric pressure data of the mobile device 20 i. Here, if the location data of the mobile device 20i has been previously stored in the server 30, the server 30 deletes or invalidates the location data of the mobile device 20i that has been previously stored.
At block 206, the server 30 provides a predetermined service to the mobile device 20i based on its current location.
At block 208, the server 30 determines the area Ai in which the mobile device 20i of the plurality of areas a is located using the received location data of the mobile device 20i included in the location-based service request. Here, the operations of block 208 may be performed when the received location-based service request includes barometric data for mobile device 20i, or the operations of block 208 may be performed regardless of whether the received location-based service request includes barometric data for mobile device 20 i.
At block 210, the server 30 transmits the stored ground reference air pressure for the area Ai to the mobile device 20 i.
The server 30 periodically uses the stored location data for the respective mobile device 20 to determine mobile devices located within each of the plurality of areas a, aj, block 212.
At block 214, the server 30 determines a mobile device having a barometer that is located within the area Aj from among the mobile devices that are located within the area Aj. Here, for each mobile device located in the area Aj, if the server 30 has stored its barometric data, the mobile device is determined to be a mobile device with barometer located in the area Aj.
At block 216, the server 30 selects mobile devices 20X from the mobile devices with barometers located within the area Aj that are not recorded in the blacklist BL stored by the server 30.
At block 218, the server 30 obtains the brands to which each of the selected mobile devices 20X belongs based on the brands to which each of the previously received mobile devices 20 belongs. Here, each mobile device 20 transmits its own brand to the server 30 when it communicates with the server 30 for the first time.
At block 220, the server 30 sets a first weighting value for each of the selected mobile devices 20X based on the brand to which each of the selected mobile devices 20X belongs. Here, if a brand to which a mobile device belongs has a higher data accuracy reputation, the first weighting value of the mobile device is set to be larger.
At block 222, the server 30 calculates the data freshness value for each of the selected mobile devices 20X. Wherein the data freshness value of each of the selected mobile devices 20X is equal to the time difference between the time indicated by the timestamp included in the barometric pressure data received by the server 30 from that mobile device and the current time. The smaller the data freshness value of a mobile device, the more fresh the air pressure provided by the mobile device, the closer it is to the air pressure at the location of the mobile device at the current time.
At block 224, the server 30 sets a second weighting value for each of the selected mobile devices 20X based on the data freshness value for each of the selected mobile devices 20X. Here, if the data freshness value of one mobile device is smaller, the second weighting value of the mobile device is set to be larger.
At block 226, the server 30 sets a third weight for each of the selected mobile devices 20X based on the distance of each of the selected mobile devices 20X from the center location of the area Aj. Here, if the distance of the mobile device from the center position of the area Aj is smaller, the third weight value of the mobile device is set larger.
At block 228, the server 30 calculates the sum of the first, second, and third weight values for each of the selected mobile devices 20X as the total weight value for each of the selected mobile devices 20X.
At block 230, the server 30 calculates the product of the total weight of each of the selected mobile devices 20X and the barometric pressure included in the barometric pressure data for that mobile device stored by the server 30 as the weighted barometric pressure for that mobile device, resulting in the respective weighted barometric pressures for the selected mobile devices 20X.
At block 232, the server 30 calculates the average of the sum of the weighted barometric pressures of each of the selected mobile devices 20X as the ground reference barometric pressure for the area Aj. Since the area Aj represents each of the plurality of areas a as mentioned in block 212, after the ground reference air pressure of the area Aj is calculated, it is equivalent to calculating the ground reference air pressure of each of the plurality of areas a (i.e., the ground reference air pressure of each of the plurality of areas a).
At block 234, server 30 stores the calculated ground reference air pressure for each of the plurality of areas a in place of the previously stored ground reference air pressure for each of the plurality of areas a.
Here, the operations of blocks 202-210 and the operations of blocks 212-234 are performed in parallel.
As can be seen from the above description, the solution of the present embodiment periodically uses the air pressure provided by the mobile device located in each area to calculate the ground reference air pressure of each area, and since the air pressure station is not required to be placed in each area, the cost of the solution of the present embodiment is low, and the calculated ground reference air pressure of each area is very close to the actual ground air pressure of each area with a small calculation period of the ground reference air pressure, so that the accuracy is high. Therefore, the scheme of the embodiment can accurately acquire the ground reference air pressure of each region in a low-cost manner.
Other variants
It will be appreciated by those skilled in the art that although in the above embodiments, blocks 212-234 for calculating the ground reference air pressure for each zone are implemented in the server 30 providing location-based services, the invention is not so limited. In other embodiments of the present invention, blocks 212-234 for calculating the ground reference air pressure for each zone may also be implemented in another server BZ than server 30. In this case, the server 30 transmits the obtained position data and barometric pressure data of the mobile device with barometer to the server BZ for storage each time the position data and barometric pressure data of the mobile device with barometer are obtained. Further, for the ground reference air pressure of each of the plurality of areas a calculated by the server BZ, the following three ways can be adopted.
In the first mode, the server BZ calculates the ground reference air pressure of each of the plurality of areas a each time, and then transmits the calculated ground reference air pressure of each of the plurality of areas a to the server 30.
In the second mode, after each calculation of the ground reference air pressure of each of the plurality of areas a, the server BZ stores the calculated ground reference air pressure of each of the plurality of areas a, and then when the server 30 requests the ground reference air pressure of each of the plurality of areas a, transmits the stored ground reference air pressure of each of the plurality of areas a to the server 30.
In a third mode, the server BZ calculates the ground reference air pressure of each of the plurality of areas a each time, and then stores the calculated ground reference air pressure of each of the plurality of areas a. After any mobile device 20u transmits a location-based service request to the server 30, the server 30 transmits the location data of the mobile device 20u or both the location data and the air pressure data of the mobile device 20u to the server BZ, the server BZ determines the area Au in which the mobile device 20u is located among the plurality of areas a using the received location data of the mobile device 20u, then the server BZ transmits the stored ground reference air pressure of the area 20u to the server 20, and finally the server 30 transmits the ground reference air pressure of the area 20u received from the server BZ to the mobile device 20 u.
It will be appreciated by those skilled in the art that although in the above embodiments the ground reference air pressure of the area Aj is calculated as the average of the sum of the weighted air pressures of the selected mobile devices 20X, the invention is not so limited. In other embodiments of the present invention, for example, but not limited to, the weighted barometric pressure at the median location of the respective weighted barometric pressures of the selected mobile device 20X may be used as the ground reference barometric pressure for the area Aj.
It will be appreciated by those skilled in the art that while in the above embodiments, the total weight of each of the selected mobile devices 20X is calculated using the brand-based first weight, the data freshness-based second weight, and the distance-based third weight, the present invention is not so limited. In other embodiments of the present invention, the total weight of each mobile device 20n of the selected mobile devices 20X may also be calculated using any one or any two of the brand-based first weight, the data freshness-based second weight, and the distance-based third weight of that mobile device 20 n; alternatively, the total weight of each mobile device 20n is determined using at least one of the selected brand-based first weight, the data freshness-based second weight, and the distance-based third weight for that mobile device 20n, and one or more weights of that mobile device 20n determined based on other parameters; alternatively, the total weight of each mobile device 20n of the selected mobile devices 20X is determined using one or more other parameter-based weights of each mobile device 20n, except for the brand-based first weight, the data freshness-based second weight, and the distance-based third weight. In the event that the calculation of the total weight of mobile device 20n does not require the use of a second weight of mobile device 20n based on data freshness, mobile device 20n does not need to send a timestamp to server 30 to indicate the time when barometric pressure was measured.
It will be appreciated by those skilled in the art that although in the above embodiments the ground reference air pressure for the area Aj is calculated using the respective weighted air pressures of the selected mobile devices 20X, the invention is not so limited. In other embodiments of the present invention, the ground air pressure of the area Aj may also be calculated using the unweighted air pressures provided by each of the selected mobile devices 20X.
It will be appreciated by those skilled in the art that although in the above embodiments the selected mobile device 20X does not comprise a mobile device recorded in the blacklist BL, the invention is not limited thereto. In other embodiments of the invention, the selected mobile device 20X may also include mobile devices recorded in the blacklist BL, for example, the air pressure provided by the mobile devices recorded in the blacklist BL may be given less weight.
Those skilled in the art will appreciate that while in the above embodiments, mobile device 20 sends the brand to which it belongs to server 30 when first communicating with server 30, the invention is not so limited. In other embodiments of the present invention, for example, it may be that mobile device 20 sends the brand to which mobile device 20 belongs to server 30 only when server 30 needs to use the brand.
It will be appreciated by those skilled in the art that although in the above embodiments, if the mobile device has a barometer, the location-based service request sent by the mobile device to the server 30 includes both location data and barometric pressure data for the mobile device, the invention is not so limited. In other embodiments of the present invention, for any mobile device 20g, whether or not it has a barometer, the location-based service request sent by the mobile device 20g to the server 30 does not include barometer data for the mobile device 20g, but after receiving the location-based service request from the mobile device 20g, the server 30 sends a message to the mobile device 20g indicating to send its barometer data, and then if the mobile device 20g has a barometer, the mobile device 20g sends its barometer data to the server 30.
It will be appreciated by those skilled in the art that although in the above embodiments, the ground reference air pressure for each of a plurality of regions is calculated, the invention is not so limited. In other embodiments of the invention, the ground reference pressure for only one region of interest may also be calculated.
FIG. 3 illustrates a flow chart of a method for acquiring ground reference air pressure in accordance with one embodiment of the invention. The method 300 shown in fig. 3 may be performed, for example, by the server 30 or the server BZ, etc.
As shown in fig. 3, the method 300 may include, at block 302, periodically determining mobile devices located within any of at least one region based on location data of the mobile devices.
The method 300 may further include, at block 304, calculating a ground reference air pressure for the arbitrary region based at least on the determined air pressure at its location provided by each of the at least one mobile device located within the arbitrary region.
In one aspect, block 304 includes: calculating a respective air pressure weighting value of the at least one mobile device based on at least one of a brand to which the at least one mobile device belongs, a distance of the at least one mobile device from a central position of the any area, and a data freshness value of the at least one mobile device, wherein the data freshness value of each mobile device is equal to a time difference between a time at which the air pressure provided by the mobile device is measured and a current time; calculating a weighted air pressure for each of the at least one mobile device based on the air pressure weighted value for each of the at least one mobile device and the air pressure provided by each of the at least one mobile device; and calculating the ground reference air pressure of any area based on the weighted air pressure of each mobile device.
In another aspect, the at least one mobile device is a mobile device located in the any one of the areas that is capable of providing an air pressure at its location, or is a mobile device located in the any one of the areas that is capable of providing an air pressure at its location and is not in a blacklist, wherein the blacklist is used to indicate individual mobile devices that are not available for calculating the ground reference air pressure.
In yet another aspect, the method 300 may further comprise: when a location-based service request containing its location data and barometric pressure data is received from a first mobile device, storing the location data and barometric pressure data of the first mobile device contained in the location-based service request, wherein the barometric pressure data of the first mobile device comprises the barometric pressure at the location of the first mobile device or comprises the barometric pressure at the location of the first mobile device and a timestamp indicating the time at which the barometric pressure was measured; determining a first area in the at least one area in which the first mobile device is located based on the location data of the first mobile device included in the location-based service request; and transmitting a ground reference air pressure of the first area to the first mobile device.
In yet another aspect, the method 300 may further comprise: transmitting a message for instructing transmission of barometric pressure data to a second mobile device when a location-based service request containing its location data is received from the second mobile device; storing, if its barometric data is received from the second mobile device, location data of the second mobile device contained in the location-based service request and the received barometric data of the second mobile device, wherein the barometric data of the second mobile device comprises the barometric pressure at the location of the second mobile device or comprises the barometric pressure at the location of the second mobile device and a timestamp indicating the time at which the barometric pressure was measured; determining a second area in the at least one area in which the second mobile device is located based on the location data of the second mobile device included in the location-based service request; and transmitting a ground reference air pressure of the second area to the second mobile device.
In yet another aspect, the method 300 may further comprise: storing, when position data and barometric pressure data of a third mobile device are received from a server providing a location-based service, the received position data and barometric pressure data of the third mobile device, wherein the barometric pressure data of the third mobile device comprises a barometric pressure at a location of the third mobile device or comprises a barometric pressure at the location of the third mobile device and a timestamp indicating a time when the barometric pressure was measured; determining a third area in which the third mobile device is located in the at least one area based on the received location data of the third mobile device; and transmitting the ground reference air pressure of the third area to the server.
Fig. 4 shows a schematic view of an apparatus for acquiring ground reference air pressure according to an embodiment of the present invention. The apparatus 400 shown in fig. 4 may be implemented in software, hardware, or a combination of software and hardware. The apparatus 400 may be installed in the server 30 or the server BZ, for example.
As shown in fig. 4, apparatus 400 may include a determination module 402 and a calculation module 404. The determining module 402 is configured to periodically determine a mobile device located in any one of the at least one region based on the location data of the mobile device. The calculation module 404 is configured to calculate a ground air pressure of the any area based at least on an air pressure at a location thereof provided by at least one of the mobile devices located in the any area.
In one aspect, the computing module 404 is further to: calculating a respective air pressure weighting value of the at least one mobile device based on at least one of a brand to which the at least one mobile device belongs, a distance of the at least one mobile device from a central position of the any area, and a data freshness value of the at least one mobile device, wherein the data freshness value of each mobile device is equal to a time difference between a time at which the air pressure provided by the mobile device is measured and a current time; calculating a weighted air pressure for each of the at least one mobile device based on the air pressure weighted value for each of the at least one mobile device and the air pressure provided by each of the at least one mobile device; and calculating the ground reference air pressure of any area based on the weighted air pressure of each mobile device.
In another aspect, the at least one mobile device is a mobile device located in the any one of the areas that is capable of providing an air pressure at its location, or is a mobile device located in the any one of the areas that is capable of providing an air pressure at its location and is not in a blacklist, wherein the blacklist is used to indicate individual mobile devices that are not available for calculating the ground reference air pressure.
In yet another aspect, the apparatus 400 may further include: a first storage module for storing, when a location-based service request containing its location data and barometric pressure data is received from a first mobile device, the location data and barometric pressure data of the first mobile device contained in the location-based service request, where the barometric pressure data of the first mobile device includes a barometric pressure at a location of the first mobile device or includes a barometric pressure at the location of the first mobile device and a timestamp indicating a time when the barometric pressure is measured; a first obtaining module, configured to determine a first area in which the first mobile device is located in the at least one area, based on location data of the first mobile device included in the location-based service request; and a first transmitting module, configured to transmit a ground reference air pressure of the first area to the first mobile device.
In yet another aspect, the apparatus 400 may further include: a second transmitting module that transmits a message for instructing transmission of air pressure data to a second mobile device when receiving a location-based service request containing its location data from the second mobile device; a second storage module configured to store, if air pressure data thereof is received from the second mobile device, location data of the second mobile device included in the location-based service request and the received air pressure data of the second mobile device, wherein the air pressure data of the second mobile device includes air pressure at a location of the second mobile device or includes air pressure at the location of the second mobile device and a timestamp indicating a time when the air pressure is measured; a second obtaining module, configured to determine a second area in the at least one area in which the second mobile device is located, based on the location data of the second mobile device included in the location-based service request; and a third transmitting module, configured to transmit a ground reference air pressure of the second area to the second mobile device.
In yet another aspect, the apparatus 400 may further include: a third storage module for storing, when position data and barometric pressure data of a third mobile device are received from a server providing a location-based service, the received position data and barometric pressure data of the third mobile device, wherein the barometric pressure data of the third mobile device includes a barometric pressure at a location of the third mobile device or includes a barometric pressure at the location of the third mobile device and a timestamp indicating a time when the barometric pressure is measured; a third obtaining module, configured to determine a third area in which the third mobile device is located in the at least one area based on the received location data of the third mobile device; and a fourth transmitting module, configured to transmit the ground reference air pressure of the third area to the server.
Fig. 5 shows a schematic diagram of a server according to an embodiment of the invention. As shown in fig. 5, the server 20 may include a processor 502 and a memory 504. The memory 504 has stored thereon executable instructions that, when executed, cause the processor 502 to perform the method 300 shown in fig. 3.
There is also provided, in accordance with an embodiment of the present invention, a machine-readable storage medium having stored thereon executable instructions that, when executed, cause a machine to perform the method 300 shown in fig. 3.
The detailed description set forth above in connection with the appended drawings describes exemplary embodiments, but does not represent all embodiments that may be implemented or fall within the scope of the claims. The term "exemplary" used throughout this specification means "serving as an example, instance, or illustration," and does not mean "preferred" or "advantageous over other embodiments. The detailed description includes specific details for the purpose of providing an understanding of the described technology. However, the techniques may be practiced without these specific details. In some instances, well-known structures and devices are shown in block diagram form in order to avoid obscuring the concepts of the described embodiments.
The previous description of the disclosure is provided to enable any person skilled in the art to make or use the disclosure. Various modifications to the disclosure will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other variations without departing from the scope of the disclosure. Thus, the disclosure is not limited to the examples and designs described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (12)
1. A method for acquiring a ground reference air pressure, comprising:
periodically determining, by a location service based server, mobile devices located within any one of the at least one region based on location data of the mobile devices; and
calculating, by the server, a ground reference air pressure for the arbitrary area based at least on air pressures at locations thereof provided by at least one of the mobile devices located within the arbitrary area,
wherein said calculating the ground reference air pressure of said arbitrary region comprises:
calculating a respective air pressure weighting value of the at least one mobile device based on at least one of a brand to which the at least one mobile device belongs, a distance of the at least one mobile device from a central position of the any area, and a data freshness value of the at least one mobile device, wherein the data freshness value of each mobile device is equal to a time difference between a time at which air pressure at the position of the mobile device is measured and a current time provided by the mobile device;
calculating a weighted air pressure of each of the at least one mobile device based on the air pressure weighted value of each of the at least one mobile device and the air pressure provided by each of the at least one mobile device at the location thereof; and
the ground reference air pressure of the any area is calculated based on the respective weighted air pressures of the at least one mobile device.
2. The method of claim 1, wherein,
the at least one mobile device is one of the mobile devices located in any one of the areas capable of providing air pressure at the location thereof, or
The at least one mobile device is a mobile device that is located in the location of the mobile device in any one of the areas, is capable of providing air pressure at the location of the mobile device, and is not in a blacklist, wherein the blacklist is used for indicating each mobile device that cannot be used for calculating the ground reference air pressure.
3. The method of claim 1, further comprising:
when a location-based service request containing its location data and barometric pressure data is received from a first mobile device, storing the location data and barometric pressure data of the first mobile device contained in the location-based service request, wherein the barometric pressure data of the first mobile device comprises the barometric pressure at the location of the first mobile device or comprises the barometric pressure at the location of the first mobile device and a timestamp indicating the time at which the barometric pressure was measured;
determining a first area in the at least one area in which the first mobile device is located based on the location data of the first mobile device included in the location-based service request; and
and transmitting the ground reference air pressure of the first area to the first mobile equipment.
4. The method of claim 1, further comprising:
transmitting a message for instructing transmission of barometric pressure data to a second mobile device when a location-based service request containing its location data is received from the second mobile device;
storing, if its barometric data is received from the second mobile device, location data of the second mobile device contained in the location-based service request and the received barometric data of the second mobile device, wherein the barometric data of the second mobile device comprises the barometric pressure at the location of the second mobile device or comprises the barometric pressure at the location of the second mobile device and a timestamp indicating the time at which the barometric pressure was measured;
determining a second area in the at least one area in which the second mobile device is located based on the location data of the second mobile device included in the location-based service request; and
and transmitting the ground reference air pressure of the second area to the second mobile equipment.
5. The method of claim 1, further comprising:
storing, when position data and barometric pressure data of a third mobile device are received from the server, the received position data and barometric pressure data of the third mobile device, wherein the barometric pressure data of the third mobile device comprises a barometric pressure at a location of the third mobile device or comprises a barometric pressure at a location of the third mobile device and a timestamp indicating a time when the barometric pressure was measured;
determining a third area in which the third mobile device is located in the at least one area based on the received location data of the third mobile device; and
and sending the ground reference air pressure of the third area to the server.
6. An apparatus for acquiring ground reference air pressure, the apparatus installed in a location-based service server, comprising:
a determining module for periodically determining mobile devices located in any one of the at least one area according to the location data of the mobile devices; and
a calculation module for calculating a ground reference air pressure of any one area based at least on air pressure at a location thereof provided by at least one of the mobile devices located within the any one area,
wherein,,
the computing module is further to:
calculating a respective air pressure weighting value of the at least one mobile device based on at least one of a brand to which the at least one mobile device belongs, a distance of the at least one mobile device from a central position of the any area, and a data freshness value of the at least one mobile device, wherein the data freshness value of each mobile device is equal to a time difference between a time at which air pressure at the position of the mobile device is measured and a current time provided by the mobile device;
calculating a weighted air pressure of each of the at least one mobile device based on the air pressure weighted value of each of the at least one mobile device and the air pressure provided by each of the at least one mobile device at the location thereof; and
the ground reference air pressure of the any area is calculated based on the respective weighted air pressures of the at least one mobile device.
7. The apparatus of claim 6, wherein,
the at least one mobile device is one of the mobile devices located in any one of the areas capable of providing air pressure at the location thereof, or
The at least one mobile device is a mobile device that is located in the location of the mobile device in any one of the areas, is capable of providing air pressure at the location of the mobile device, and is not in a blacklist, wherein the blacklist is used for indicating each mobile device that cannot be used for calculating the ground reference air pressure.
8. The apparatus of claim 6, further comprising:
a first storage module for storing, when a location-based service request containing its location data and barometric pressure data is received from a first mobile device, the location data and barometric pressure data of the first mobile device contained in the location-based service request, where the barometric pressure data of the first mobile device includes a barometric pressure at a location of the first mobile device or includes a barometric pressure at the location of the first mobile device and a timestamp indicating a time when the barometric pressure is measured;
a first obtaining module, configured to determine a first area in which the first mobile device is located in the at least one area, based on location data of the first mobile device included in the location-based service request; and
and the first transmitting module is used for transmitting the ground reference air pressure of the first area to the first mobile equipment.
9. The apparatus of claim 6, further comprising:
a second transmitting module that transmits a message for instructing transmission of air pressure data to a second mobile device when receiving a location-based service request containing its location data from the second mobile device;
a second storage module configured to store, if air pressure data thereof is received from the second mobile device, location data of the second mobile device included in the location-based service request and the received air pressure data of the second mobile device, wherein the air pressure data of the second mobile device includes air pressure at a location of the second mobile device or includes air pressure at the location of the second mobile device and a timestamp indicating a time when the air pressure is measured;
a second obtaining module, configured to determine a second area in the at least one area in which the second mobile device is located, based on the location data of the second mobile device included in the location-based service request; and
and the third sending module is used for sending the ground reference air pressure of the second area to the second mobile equipment.
10. The apparatus of claim 6, further comprising:
a third storage module for storing, when position data and barometric pressure data of a third mobile device are received from the server, the received position data and barometric pressure data of the third mobile device, where the barometric pressure data of the third mobile device includes a barometric pressure at a location of the third mobile device or includes a barometric pressure at the location of the third mobile device and a timestamp indicating a time when the barometric pressure is measured;
a third obtaining module, configured to determine a third area in which the third mobile device is located in the at least one area based on the received location data of the third mobile device; and
and the fourth sending module is used for sending the ground reference air pressure of the third area to the server.
11. A server, comprising:
a processor; and
a memory having stored thereon executable instructions, wherein the executable instructions when executed cause the processor to perform the method of any of claims 1-5.
12. A machine-readable storage medium having stored thereon executable instructions, wherein the executable instructions when executed cause a machine to perform the method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810193391.1A CN110243531B (en) | 2018-03-09 | 2018-03-09 | Method, device and server for acquiring ground reference air pressure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810193391.1A CN110243531B (en) | 2018-03-09 | 2018-03-09 | Method, device and server for acquiring ground reference air pressure |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110243531A CN110243531A (en) | 2019-09-17 |
CN110243531B true CN110243531B (en) | 2023-05-26 |
Family
ID=67882193
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810193391.1A Active CN110243531B (en) | 2018-03-09 | 2018-03-09 | Method, device and server for acquiring ground reference air pressure |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110243531B (en) |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101992141B1 (en) * | 2012-12-26 | 2019-06-25 | 삼성전자주식회사 | Apparatus and method for measuring altitude in terminal |
US9612114B2 (en) * | 2013-01-13 | 2017-04-04 | Qualcomm Incorporated | Access network node based barometric reference pressure network |
US9841284B2 (en) * | 2013-03-15 | 2017-12-12 | Robert Bosch Tool Corporation | Distributed barometer network to assist in indoor navigation |
JP6293009B2 (en) * | 2014-07-18 | 2018-03-14 | Kddi株式会社 | Mobile terminal, program and method for estimating ground clearance |
WO2016025902A1 (en) * | 2014-08-15 | 2016-02-18 | Qualcomm Incorporated | Mobile-assisted determination of the altitude of a mobile device |
US9588006B2 (en) * | 2014-09-26 | 2017-03-07 | Invensense, Inc. | Systems and methods for pressure sensor calibration |
-
2018
- 2018-03-09 CN CN201810193391.1A patent/CN110243531B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110243531A (en) | 2019-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10281560B2 (en) | Positioning method based on time difference of arrival, user equipment, and network device | |
US9019077B2 (en) | System and method for predicting future meetings of wireless users | |
EP3032272B1 (en) | Method for estimating location, and electronic device and server thereof | |
CN103379427B (en) | A kind of localization method, equipment and system | |
US8838151B2 (en) | Method and apparatus for positioning using quasi-fingerprinting | |
US8243626B2 (en) | Estimating user device location in a wireless network | |
EP3271739B1 (en) | Enabling a validation of an estimated position of a mobile device | |
US20100099433A1 (en) | Method and Arrangement for Enhanced Cell Identification and Cell Positioning | |
US20200200857A1 (en) | Statistical analysis of mismatches for spoofing detection | |
US20100056180A1 (en) | Method and device for determination of the position of a terminal in a mobile communication network | |
US9479902B1 (en) | Determining a propagation-time adjustment for a wireless coverage area, based on information provided by wireless terminals | |
JP2011158459A (en) | Estimating whether wireless terminal is indoors using pattern classification | |
US20150373495A1 (en) | Enhancement of Positioning Quality of Service | |
US20230384097A1 (en) | Calibrating A Pressure Sensor | |
JP2010130520A (en) | System and method of managing database, system and method of detecting reception environment change | |
EP3665493B1 (en) | Method and apparatus for handling positioning of a target device in a communications network | |
CN110243531B (en) | Method, device and server for acquiring ground reference air pressure | |
US10827452B2 (en) | Trustworthiness of location estimates | |
CN108600413B (en) | Positioning method and device and electronic equipment | |
CN110972071A (en) | Multi-mode positioning method, positioning server, terminal and storage medium | |
EP3314286B1 (en) | Advertising ambient pressure information | |
US9989620B1 (en) | Estimating the location of a wireless terminal based on radio-frequency pattern matching and cooperative measurements | |
JP6185804B2 (en) | Determination device, network node, determination method, and program | |
KR102134416B1 (en) | Apparatus and method for estimating altitude of access point | |
CN116939478A (en) | Method for verifying terminal position, terminal and network equipment |
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 |