CN110837605A - Low-flow consumption quick positioning method - Google Patents

Low-flow consumption quick positioning method Download PDF

Info

Publication number
CN110837605A
CN110837605A CN201910989660.XA CN201910989660A CN110837605A CN 110837605 A CN110837605 A CN 110837605A CN 201910989660 A CN201910989660 A CN 201910989660A CN 110837605 A CN110837605 A CN 110837605A
Authority
CN
China
Prior art keywords
information
cache
geographic
positioning
matching
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.)
Pending
Application number
CN201910989660.XA
Other languages
Chinese (zh)
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.)
Seashell Housing Beijing Technology Co Ltd
Original Assignee
Beike 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 Beike Technology Co Ltd filed Critical Beike Technology Co Ltd
Priority to CN201910989660.XA priority Critical patent/CN110837605A/en
Publication of CN110837605A publication Critical patent/CN110837605A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Abstract

The invention discloses a quick positioning method with low flow consumption, which comprises the following steps: acquiring geographical position information; obtaining cache information; judging whether matching cache geographic information matched with the geographic position information exists in the cache information or not; if the matching cache geographic information exists, acquiring a current positioning position based on the matching cache geographic information; and if the matching cache geographic information does not exist, acquiring the current positioning position based on the geographic position information. Through improving the traditional positioning method and caching the reverse coded geographic position information, the current positioning position can be automatically and quickly acquired according to the cached geographic position information in the actual real-time positioning process without consuming extra communication flow, so that the positioning speed is greatly increased, the positioning efficiency is increased, the flow consumption in the positioning process is greatly reduced, the cost of a user is reduced, and the user experience is improved.

Description

Low-flow consumption quick positioning method
Technical Field
The invention relates to the technical field of position positioning, in particular to a quick positioning method with low flow consumption.
Background
With the continuous development of network communication technology, the available network bandwidth on the device is continuously increased, and the continuous development of network communication functions on the device is promoted.
In daily life, as traffic is more convenient and faster, the range of activities of people is larger and larger, and the people can move to strange environments more and more easily, so that the real-time positioning requirement of the current position of the people is continuously increased.
In a traditional positioning process, for example, a user carries an intelligent mobile terminal with him during outgoing, and performs real-time positioning through the intelligent mobile terminal during outgoing movement. The intelligent mobile terminal is provided with a positioning system, the positioning system can acquire geographical position information through wireless communication with equipment such as a satellite or a communication base station, and in the process of wireless communication, the intelligent mobile terminal needs to consume wireless flow to analyze the geographical position information, so that the current positioning position which can be identified by the intelligent mobile terminal is acquired.
In the practical application process, because the terminal equipment needs to continuously receive and transmit wireless data in the traditional positioning process to analyze the geographic position information acquired in real time, a large amount of flow is often consumed, and particularly, under the condition that the current flow rate charge is expensive, great trouble is caused to a user; meanwhile, the real-time wireless communication requirement reduces the positioning speed, and the actual requirement of a user cannot be met.
Disclosure of Invention
In order to solve the technical problems of low user experience caused by high traffic consumption and low positioning speed in the prior art for positioning the current position, embodiments of the present invention provide a low-traffic-consumption fast positioning method, which caches the reverse-coded geographic position information, so that the cached geographic position information can be automatically read when positioning is performed next time, and the matched cached geographic position information is automatically used as the current positioning position, thereby greatly improving the positioning speed, reducing the traffic consumption in the positioning process, and improving the user experience.
In order to achieve the above object, an embodiment of the present invention provides a fast positioning method with low traffic consumption, where the positioning method includes: acquiring geographical position information; obtaining cache information; judging whether matching cache geographic information matched with the geographic position information exists in the cache information or not; if the matching cache geographic information exists, acquiring a current positioning position based on the matching cache geographic information; and if the matching cache geographic information does not exist, acquiring the current positioning position based on the geographic position information.
Preferably, the obtaining of the cache information includes: acquiring a preset position cache list; judging whether the preset position cache list is acquired or not; if the preset position cache list is obtained, obtaining the at least one cache geographic information stored in the preset position cache list; taking the at least one cache geographic information as the cache information; if the preset position cache list is not acquired, generating blank cache information, and generating a corresponding preset position cache list based on the geographic position information; and storing the preset position cache list.
Preferably, the generating a corresponding preset location cache list based on the geographic location information includes: performing an anti-coding operation on the geographical position information to obtain corresponding anti-coding information; taking the geographic position information as cache geographic information, and establishing a mapping relation between the cache geographic information and the anti-coding information; and generating a preset position cache list based on the cache geographic information, the anti-coding information and the mapping relation.
Preferably, the determining whether there is matching cached geographic information that matches the geographic location information in the cached information includes: acquiring a preset deviation threshold; acquiring the minimum deviation distance between the geographical position information and each piece of cached geographical information; judging whether the minimum deviation distance is smaller than the preset deviation threshold value or not; and under the condition that the minimum deviation distance is smaller than the preset deviation threshold value, taking the cache geographic information corresponding to the minimum deviation distance as the matching cache geographic position information.
Preferably, the obtaining a minimum deviation distance between the geographic location information and each of the cached geographic information includes: obtaining at least one deviation distance between the geographical location information and the at least one cached geographical information; and sequencing and analyzing the at least one deviation distance according to a preset algorithm, and obtaining the minimum deviation distance in the at least one deviation distance.
Preferably, the obtaining the current location based on the matching cached geographic information includes: acquiring matching anti-coding information corresponding to the matching cache geographic information in the preset position cache list based on the mapping relation; and determining the current positioning position according to the matched anti-coding information.
Preferably, the obtaining the current location based on the geographical location information includes: performing an anti-coding operation on the geographical position information to obtain the anti-coding information; and determining the current positioning position according to the anti-coding information.
Preferably, after the obtaining of the current location position based on the geographical position information, the location method further includes: taking the geographic position information as cache geographic information, and establishing a mapping relation between the cache geographic information and the anti-coding information; and storing the cached geographic information, the anti-coding information and the mapping relation in the preset position cache list.
On the other hand, an embodiment of the present invention further provides a fast positioning apparatus with low flow consumption, where the positioning apparatus includes: the first acquisition unit is used for acquiring the geographical position information; the second acquisition unit is used for acquiring cache information; the judging unit is used for judging whether the cache information contains matching cache geographic information matched with the geographic position information; the first positioning unit is used for acquiring a current positioning position based on the matching cache geographic information if the matching cache geographic information exists; and the second positioning unit is used for acquiring the current positioning position based on the geographic position information if the matching cache geographic information does not exist.
Preferably, the second acquiring unit includes: the list acquisition module is used for acquiring a preset position cache list; the first judgment module is used for judging whether the preset position cache list is acquired or not; the geographic information acquisition module is used for acquiring at least one piece of cache geographic information stored in the preset position cache list if the preset position cache list is acquired; the unloading module is used for taking the at least one cache geographic information as the cache information; the list generation module is used for generating blank cache information if the preset position cache list is not acquired, and generating a corresponding preset position cache list based on the geographical position information; and the storage module is used for storing the preset position cache list.
Preferably, the list generating module includes: the anti-coding submodule is used for carrying out anti-coding operation on the geographical position information so as to obtain corresponding anti-coding information; the mapping establishing submodule is used for taking the geographical position information as cached geographical information and establishing a mapping relation between the cached geographical information and the anti-coding information; and the list generation submodule is used for generating a preset position cache list based on the cache geographic information, the anti-coding information and the mapping relation.
Preferably, the judging unit includes: the threshold value obtaining module is used for obtaining a preset deviation threshold value; the deviation value acquisition module is used for acquiring the minimum deviation distance between the geographic position information and each piece of cached geographic information; the second judgment module is used for judging whether the minimum deviation distance is smaller than the preset deviation threshold value or not; and the determining module is used for taking the cache geographic information corresponding to the minimum deviation distance as the matching cache geographic position information under the condition that the minimum deviation distance is smaller than the preset deviation threshold value.
Preferably, the deviation value acquiring module includes: the deviation value acquisition submodule is used for acquiring at least one deviation distance between the geographical position information and the at least one piece of cached geographical information; and the deviation value determining submodule is used for sequencing and analyzing the at least one deviation distance according to a preset algorithm and obtaining the minimum deviation distance in the at least one deviation distance.
Preferably, the first positioning unit includes: the anti-coding obtaining module is used for obtaining matching anti-coding information corresponding to the matching cache geographic information in the preset position cache list based on the mapping relation; and the first position determining module is used for determining the current positioning position according to the matching anti-coding information.
Preferably, the second positioning unit includes: the anti-coding module is used for carrying out anti-coding operation on the geographical position information so as to obtain the anti-coding information; and the second position determining module is used for determining the current positioning position according to the anti-coding information.
Preferably, the positioning device further comprises a storage unit, the storage unit is used for: taking the geographic position information as cache geographic information, and establishing a mapping relation between the cache geographic information and the anti-coding information; and storing the cached geographic information, the anti-coding information and the mapping relation in the preset position cache list.
In another aspect, the present invention also provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method provided by the present invention.
Through improving the traditional positioning method and caching the reverse coded geographic position information, the current positioning position can be automatically and quickly acquired according to the cached geographic position information in the actual real-time positioning process without consuming extra communication flow, so that the positioning speed is greatly increased, the positioning efficiency is increased, the flow consumption in the positioning process is greatly reduced, the cost of a user is reduced, and the user experience is improved.
Additional features and advantages of the invention will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart illustrating an implementation of a fast positioning method with low traffic consumption according to an embodiment of the present invention;
fig. 2 is a flowchart of a specific implementation of determining whether there is matching cached geographic information in the low-traffic-consumption fast positioning method according to the embodiment of the present invention
Fig. 3 is a schematic structural diagram of a fast positioning apparatus with low flow consumption according to an embodiment of the present invention.
Detailed Description
In order to solve the technical problems of low user experience caused by high traffic consumption and low positioning speed in the prior art for positioning the current position, embodiments of the present invention provide a low-traffic-consumption fast positioning method, which caches the reverse-coded geographic position information, so that the cached geographic position information can be automatically read when positioning is performed next time, and the matched cached geographic position information is automatically used as the current positioning position, thereby greatly improving the positioning speed, reducing the traffic consumption in the positioning process, and improving the user experience.
The following detailed description of embodiments of the invention refers to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present invention, are given by way of illustration and explanation only, not limitation.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The terms "system" and "network" in embodiments of the present invention may be used interchangeably. The "plurality" means two or more, and in view of this, the "plurality" may also be understood as "at least two" in the embodiments of the present invention. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" generally indicates that the preceding and following related objects are in an "or" relationship, unless otherwise specified. In addition, it should be understood that the terms first, second, etc. in the description of the embodiments of the invention are used for distinguishing between the descriptions and are not intended to indicate or imply relative importance or order to be construed.
Referring to fig. 1, the present invention provides a fast positioning method with low traffic consumption, the positioning method includes:
s10) obtaining the geographical position information;
s20) obtaining cache information;
s30) judging whether matching cache geographic information matched with the geographic position information exists in the cache information;
s40) if the matching cache geographic information exists, acquiring a current positioning position based on the matching cache geographic information;
s50) if the matching cache geographic information does not exist, acquiring the current positioning position based on the geographic position information.
In one possible implementation, a user goes out outdoors and carries with him an intelligent mobile terminal device, the user desires to walk to a place from the current location, for example, the user desires to walk from place a to place B to view the house source of place B, but the user is unfamiliar with the geographical environment, and therefore the real-time positioning is performed through the intelligent mobile terminal device. The terminal device first obtains the geographic information of the current position, for example, the geographic information of the current position is obtained through a GPS module configured on the terminal device, and then the cache information is read from a cache region of the terminal device, after obtaining the cache information, the terminal device determines whether there is matching cache geographic information matching the geographic location information in the cache information according to the geographic location information and the cache geographic information, for example, in the embodiment of the present invention, after obtaining the cache information, the terminal device, the cached geographic information is stored in the cached information, so the terminal equipment matches the geographic position information with the cached geographic information and obtains the matched cached geographic information matched with the geographic position information, therefore, the terminal equipment automatically acquires the current positioning position according to the matching cache geographic information, and therefore quick positioning without flow consumption is completed.
In the embodiment of the invention, the portable intelligent mobile terminal device includes, but is not limited to, a mobile terminal such as a smart phone, a tablet computer, and an intelligent bracelet.
In the embodiment of the invention, the traditional positioning method is improved, the positioned geographic position information and the corresponding positioning information are cached in the mobile terminal in the traditional positioning process, and when the positioning is carried out again, once the current positioning position is matched with the cached geographic information, the positioning position corresponding to the cached geographic information is automatically used as the current positioning position, so that the rapid and real-time positioning of the current position is realized under the condition of not consuming any flow, the positioning efficiency is greatly improved, and the user experience is improved.
In this embodiment of the present invention, the obtaining of the cache information includes: acquiring a preset position cache list; judging whether the preset position cache list is acquired or not; if the preset position cache list is obtained, obtaining the at least one cache geographic information stored in the preset position cache list; taking the at least one cache geographic information as the cache information; if the preset position cache list is not acquired, generating blank cache information, and generating a corresponding preset position cache list based on the geographic position information; and storing the preset position cache list.
Further, in this embodiment of the present invention, the generating a corresponding preset location cache list based on the geographic location information includes: performing an anti-coding operation on the geographical position information to obtain corresponding anti-coding information; taking the geographic position information as cache geographic information, and establishing a mapping relation between the cache geographic information and the anti-coding information; and generating a preset position cache list based on the cache geographic information, the anti-coding information and the mapping relation.
In a possible implementation manner, a user uses a tablet computer to perform real-time positioning on a current location, after obtaining geographic location information of the current location, the tablet computer first reads a preset location cache list from a cache region, for example, sends a preset location cache list reading request to the cache region, and then determines whether to obtain a preset location cache list fed back by the cache region.
In the process of generating the preset location cache list, the terminal device first performs an anti-coding operation on the geographic location information and obtains corresponding anti-coding information, for example, the geographic location information is (40.040147,116.305481), at this time, the terminal device sends an anti-coding request to the cloud server in a wireless communication manner according to the geographic location information to call the geographic coding data information of the cloud server and obtain the anti-coding information (beijing, five streets above the hail district) obtained by the cloud server after the geographic location information is anti-coded, or obtains the anti-coding information corresponding to the geographic location information based on the geographic coding information fed back by the cloud server, at this time, the terminal device takes the geographic location information as cache geographic information, establishes a mapping relationship between the geographic location information and the anti-coding information, and stores the cache geographic information, The de-coding information and the mapping relation are stored in a new table to generate a preset position cache list.
Referring to fig. 2, in the embodiment of the present invention, the determining whether there is matching cached geographic information that matches the geographic location information in the cached information includes:
s31) obtaining a preset deviation threshold value;
s32) obtaining the minimum deviation distance between the geographic position information and each piece of the cached geographic information;
s33) judging whether the minimum deviation distance is smaller than the preset deviation threshold value;
s34) when the minimum deviation distance is smaller than the preset deviation threshold, taking the cached geographical information corresponding to the minimum deviation distance as the matching cached geographical location information.
Further, in this embodiment of the present invention, the obtaining a minimum deviation distance between the geographic location information and each of the cached geographic information includes: obtaining at least one deviation distance between the geographical location information and the at least one cached geographical information; and sequencing and analyzing the at least one deviation distance according to a preset algorithm, and obtaining the minimum deviation distance in the at least one deviation distance.
In a possible implementation manner, after reading the cache information, the terminal device first obtains a preset deviation threshold, for example, in an embodiment of the present invention, a user may arbitrarily set the preset deviation threshold according to an actual requirement of the user, where the preset deviation threshold is 10m, at this time, the terminal device automatically compares the geographic position information with each cached geographic information in the cache information, calculates a deviation distance between the geographic position information and each cached geographic information, and then performs a sorting analysis on each calculated deviation distance according to a preset algorithm (for example, the preset algorithm is a minimum binary tree method) to obtain a minimum deviation distance with a minimum median of each deviation distance.
Of course, the user may also set the preset deviation threshold to other values according to actual needs, for example, to 5m or 20m, or may adjust or change the preset deviation threshold according to actual needs in the using process to meet the real-time positioning accuracy requirement, which all belong to the protection scope of the present invention and are not described herein.
At this time, the terminal device further determines whether the minimum deviation distance is smaller than the preset deviation threshold, and if the minimum deviation distance is smaller than the preset deviation threshold, it is determined that the positioning information corresponding to the minimum deviation distance can be used as the positioning information of the current position, so that the cached geographic information corresponding to the minimum deviation distance is automatically read from the preset position cache list as the matching cached geographic position information.
In the embodiment of the invention, the user freely sets the acceptable preset deviation threshold, the terminal equipment automatically compares the geographic position information of the current position with the cache information in the preset position cache list in the process of quickly positioning the current position, and obtains the matched cache geographic position information matched with the current position, the current geographic position information is not required to be uploaded to the cloud server or called to locate the data information of the cloud server in a wireless communication mode in each locating process, therefore, the flow consumption in the real-time positioning process is greatly reduced, the problem of low positioning speed caused by technical problems of network delay, network interruption, poor network communication quality and the like in the wireless communication process is effectively solved, the positioning efficiency of real-time positioning is greatly improved, and the user experience is improved.
In this embodiment of the present invention, the obtaining a current location based on the matching cached geographic information includes: acquiring matching anti-coding information corresponding to the matching cache geographic information in the preset position cache list based on the mapping relation; and determining the current positioning position according to the matched anti-coding information.
In this embodiment of the present invention, the obtaining a current positioning location based on the geographic location information includes: performing an anti-coding operation on the geographical position information to obtain the anti-coding information; and determining the current positioning position according to the anti-coding information.
Further, in this embodiment of the present invention, after obtaining the current location based on the geographic location information, the location method further includes: taking the geographic position information as cache geographic information, and establishing a mapping relation between the cache geographic information and the anti-coding information; and storing the cached geographic information, the anti-coding information and the mapping relation in the preset position cache list.
In the embodiment of the invention, the preset position cache list is updated in real time according to the geographical position information of each positioning and the corresponding anti-coding information in the real-time positioning process, so that the real-time performance, richness and effectiveness of the data of the preset position cache list are ensured, the technical effect of analyzing the repeated off-line use for a plurality of times at one time is realized, the flow consumption of a user in the subsequent real-time positioning process is reduced, the real-time positioning speed is increased, the cost consumption of the user in the real-time positioning process is further improved, the positioning efficiency is improved, and the user experience is improved under the condition of ensuring the sufficient accuracy of the time positioning.
Referring to fig. 3, based on the same concept, an embodiment of the present invention further provides a fast positioning apparatus with low traffic consumption, where the positioning apparatus includes: the first acquisition unit is used for acquiring the geographical position information; the second acquisition unit is used for acquiring cache information; the judging unit is used for judging whether the cache information contains matching cache geographic information matched with the geographic position information; the first positioning unit is used for acquiring a current positioning position based on the matching cache geographic information if the matching cache geographic information exists; and the second positioning unit is used for acquiring the current positioning position based on the geographic position information if the matching cache geographic information does not exist.
In an embodiment of the present invention, the second obtaining unit includes: the list acquisition module is used for acquiring a preset position cache list; the first judgment module is used for judging whether the preset position cache list is acquired or not; the geographic information acquisition module is used for acquiring at least one piece of cache geographic information stored in the preset position cache list if the preset position cache list is acquired; the unloading module is used for taking the at least one cache geographic information as the cache information; the list generation module is used for generating blank cache information if the preset position cache list is not acquired, and generating a corresponding preset position cache list based on the geographical position information; and the storage module is used for storing the preset position cache list.
In an embodiment of the present invention, the list generating module includes: the anti-coding submodule is used for carrying out anti-coding operation on the geographical position information so as to obtain corresponding anti-coding information; the mapping establishing submodule is used for taking the geographical position information as cached geographical information and establishing a mapping relation between the cached geographical information and the anti-coding information; and the list generation submodule is used for generating a preset position cache list based on the cache geographic information, the anti-coding information and the mapping relation.
In an embodiment of the present invention, the determining unit includes: the threshold value obtaining module is used for obtaining a preset deviation threshold value; the deviation value acquisition module is used for acquiring the minimum deviation distance between the geographic position information and each piece of cached geographic information; the second judgment module is used for judging whether the minimum deviation distance is smaller than the preset deviation threshold value or not; and the determining module is used for taking the cache geographic information corresponding to the minimum deviation distance as the matching cache geographic position information under the condition that the minimum deviation distance is smaller than the preset deviation threshold value.
In an embodiment of the present invention, the deviation value obtaining module includes: the deviation value acquisition submodule is used for acquiring at least one deviation distance between the geographical position information and the at least one piece of cached geographical information; and the deviation value determining submodule is used for sequencing and analyzing the at least one deviation distance according to a preset algorithm and obtaining the minimum deviation distance in the at least one deviation distance.
In an embodiment of the present invention, the first positioning unit includes: the anti-coding obtaining module is used for obtaining matching anti-coding information corresponding to the matching cache geographic information in the preset position cache list based on the mapping relation; and the first position determining module is used for determining the current positioning position according to the matching anti-coding information.
In an embodiment of the present invention, the second positioning unit includes: the anti-coding module is used for carrying out anti-coding operation on the geographical position information so as to obtain the anti-coding information; and the second position determining module is used for determining the current positioning position according to the anti-coding information.
In an embodiment of the present invention, the positioning apparatus further includes a storage unit, and the storage unit is configured to: taking the geographic position information as cache geographic information, and establishing a mapping relation between the cache geographic information and the anti-coding information; and storing the cached geographic information, the anti-coding information and the mapping relation in the preset position cache list.
Further, an embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method of the present invention.
The preferred embodiments of the present invention have been described in detail with reference to the accompanying drawings, however, the present invention is not limited to the specific details of the above embodiments, and various simple modifications can be made to the technical solution of the present invention within the technical idea of the present invention, and these simple modifications are within the protective scope of the present invention.
It should be noted that the various technical features described in the above embodiments can be combined in any suitable manner without contradiction, and the invention is not described in any way for the possible combinations in order to avoid unnecessary repetition.
Those skilled in the art will understand that all or part of the steps in the method according to the above embodiments may be implemented by a program, which is stored in a storage medium and includes several instructions to enable a single chip, a chip, or a processor (processor) to execute all or part of the steps in the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In addition, any combination of the various embodiments of the present invention is also possible, and the same should be considered as the disclosure of the present invention as long as it does not depart from the spirit of the present invention.

Claims (10)

1. A fast positioning method with low flow consumption is characterized in that the positioning method comprises the following steps:
acquiring geographical position information;
obtaining cache information;
judging whether matching cache geographic information matched with the geographic position information exists in the cache information or not;
if the matching cache geographic information exists, acquiring a current positioning position based on the matching cache geographic information;
and if the matching cache geographic information does not exist, acquiring the current positioning position based on the geographic position information.
2. The method according to claim 1, wherein the obtaining the cache information comprises:
acquiring a preset position cache list;
judging whether the preset position cache list is acquired or not;
if the preset position cache list is obtained, obtaining at least one cache geographic information stored in the preset position cache list;
taking the at least one cache geographic information as the cache information;
if the preset position cache list is not acquired, generating blank cache information, and generating a corresponding preset position cache list based on the geographic position information;
and storing the preset position cache list.
3. The method according to claim 2, wherein the generating a corresponding cache list of preset locations based on the geographic location information comprises:
performing an anti-coding operation on the geographical position information to obtain corresponding anti-coding information;
taking the geographic position information as cache geographic information, and establishing a mapping relation between the cache geographic information and the anti-coding information;
and generating a preset position cache list based on the cache geographic information, the anti-coding information and the mapping relation.
4. The method according to claim 1, wherein the determining whether there is matching cached geographical information matching the geographical location information in the cached information comprises:
acquiring a preset deviation threshold;
acquiring the minimum deviation distance between the geographical position information and each piece of cached geographical information;
judging whether the minimum deviation distance is smaller than the preset deviation threshold value or not;
and under the condition that the minimum deviation distance is smaller than the preset deviation threshold value, taking the cache geographic information corresponding to the minimum deviation distance as the matching cache geographic position information.
5. The method according to claim 4, wherein said obtaining a minimum deviation distance between the geographic location information and each of the cached geographic information comprises:
obtaining at least one deviation distance between the geographical location information and the at least one cached geographical information;
and sequencing and analyzing the at least one deviation distance according to a preset algorithm, and obtaining the minimum deviation distance in the at least one deviation distance.
6. The method according to claim 3, wherein said obtaining a current location based on said matching cached geographical information comprises:
acquiring matching anti-coding information corresponding to the matching cache geographic information in the preset position cache list based on the mapping relation;
and determining the current positioning position according to the matched anti-coding information.
7. The method according to claim 3, wherein said obtaining a current location position based on the geographical location information comprises:
performing an anti-coding operation on the geographical position information to obtain the anti-coding information;
and determining the current positioning position according to the anti-coding information.
8. The method according to claim 7, wherein after said obtaining a current location position based on said geographical location information, said method further comprises:
taking the geographic position information as cache geographic information, and establishing a mapping relation between the cache geographic information and the anti-coding information;
and storing the cached geographic information, the anti-coding information and the mapping relation in the preset position cache list.
9. A low-flow-consumption fast positioner, the positioner comprising:
the first acquisition unit is used for acquiring the geographical position information;
the second acquisition unit is used for acquiring cache information;
the judging unit is used for judging whether the cache information contains matching cache geographic information matched with the geographic position information;
the first positioning unit is used for acquiring a current positioning position based on the matching cache geographic information if the matching cache geographic information exists;
and the second positioning unit is used for acquiring the current positioning position based on the geographic position information if the matching cache geographic information does not exist.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 8.
CN201910989660.XA 2019-10-17 2019-10-17 Low-flow consumption quick positioning method Pending CN110837605A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910989660.XA CN110837605A (en) 2019-10-17 2019-10-17 Low-flow consumption quick positioning method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910989660.XA CN110837605A (en) 2019-10-17 2019-10-17 Low-flow consumption quick positioning method

Publications (1)

Publication Number Publication Date
CN110837605A true CN110837605A (en) 2020-02-25

Family

ID=69575533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910989660.XA Pending CN110837605A (en) 2019-10-17 2019-10-17 Low-flow consumption quick positioning method

Country Status (1)

Country Link
CN (1) CN110837605A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002400A (en) * 2012-08-31 2013-03-27 无锡莱吉特信息科技有限公司 MEMS (micro-electromechanical system) technology based GPS (global positioning system) cache positioning system
CN103023997A (en) * 2012-11-29 2013-04-03 江苏鸿信系统集成有限公司 Massive geographical information name and address conversion method and device based on grid caching technology
CN106454743A (en) * 2016-11-29 2017-02-22 北京米可世界科技有限公司 Geographic position asynchronous obtaining method
US20170150335A1 (en) * 2015-11-12 2017-05-25 LaaSer Critical Communications Corp. Text message sender location and psap determination systems and methods
CN107977407A (en) * 2017-11-20 2018-05-01 深圳市科比特航空科技有限公司 tile map storage method, device, storage medium and computer equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103002400A (en) * 2012-08-31 2013-03-27 无锡莱吉特信息科技有限公司 MEMS (micro-electromechanical system) technology based GPS (global positioning system) cache positioning system
CN103023997A (en) * 2012-11-29 2013-04-03 江苏鸿信系统集成有限公司 Massive geographical information name and address conversion method and device based on grid caching technology
US20170150335A1 (en) * 2015-11-12 2017-05-25 LaaSer Critical Communications Corp. Text message sender location and psap determination systems and methods
CN106454743A (en) * 2016-11-29 2017-02-22 北京米可世界科技有限公司 Geographic position asynchronous obtaining method
CN107977407A (en) * 2017-11-20 2018-05-01 深圳市科比特航空科技有限公司 tile map storage method, device, storage medium and computer equipment

Similar Documents

Publication Publication Date Title
CN102823309B (en) The method and apparatus of serviceability historical data in localization method selection
CA3006903C (en) Location based information service application
CN106708833A (en) Position information-based data obtaining method and apparatus
KR20170018015A (en) Method, apparatus and system for implementing location based services
CN103970835A (en) Vector map data storage method and system
CN109996185A (en) The localization method and device of terminal, storage medium, electronic device
CN105282844A (en) Positioning method and system, terminal, and positioning server
CN108289281A (en) Method, apparatus, electronic equipment and the storage medium that location information is shared
CN105407156A (en) Method and device for positioning through client
CN105282692A (en) Speed measurement information display method and device
JP2007170956A (en) Positioning method and system
CN105376715A (en) Positioning information acquisition method and device
CN103023997A (en) Massive geographical information name and address conversion method and device based on grid caching technology
CN106375593B (en) A kind of determination method and apparatus of station-keeping mode
CN110837605A (en) Low-flow consumption quick positioning method
CN104915394B (en) The method and apparatus for updating yellow page information
CN111641924A (en) Position data generation method and device and electronic equipment
CN113074735B (en) Processing method of map data structure
CN105025436A (en) Information acquiring method and mobile terminal
CN111328013B (en) Mobile terminal positioning method and system
CN104703214A (en) Positioning monitoring method and device
CN108024197A (en) Localization method and device
CN113891418A (en) User terminal access method in heaven-earth integrated information network, device and medium
Elghazal et al. Applying location based services for reducing mobile power consumption
CN113038573B (en) Network search control method, device, mobile terminal and storage medium

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
TA01 Transfer of patent application right

Effective date of registration: 20200324

Address after: 100085 Floor 102-1, Building No. 35, West Second Banner Road, Haidian District, Beijing

Applicant after: Seashell Housing (Beijing) Technology Co.,Ltd.

Address before: 300280 unit 05, room 112, floor 1, building C, comprehensive service area, Nangang Industrial Zone, Binhai New Area, Tianjin

Applicant before: BEIKE TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20200225

RJ01 Rejection of invention patent application after publication