CN112423231A - Positioning method, device and equipment - Google Patents
Positioning method, device and equipment Download PDFInfo
- Publication number
- CN112423231A CN112423231A CN201910779345.4A CN201910779345A CN112423231A CN 112423231 A CN112423231 A CN 112423231A CN 201910779345 A CN201910779345 A CN 201910779345A CN 112423231 A CN112423231 A CN 112423231A
- Authority
- CN
- China
- Prior art keywords
- positioning
- information
- current
- historical
- repeated
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
- G01S19/00—Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
- G01S19/38—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
- G01S19/39—Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
- G01S19/42—Determining position
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
Abstract
A positioning method, apparatus, device and computer-readable storage medium, wherein the method comprises: in the positioning process, identifying the current positioning process and determining whether the positioning process is repeated; and when the current positioning processing is determined to be repeated positioning processing, not starting GPS positioning, and determining a positioning result according to historical positioning information. The embodiment of the invention can avoid repeatedly and ineffectively starting GPS positioning in the positioning process, thereby reducing the positioning power consumption of equipment, simultaneously ensuring the positioning accuracy and reducing the overhead of positioning calculation, thereby improving the standby time of the product and increasing the competitiveness.
Description
Technical Field
This document relates to, but is not limited to, a positioning method, apparatus, device, and computer-readable storage medium.
Background
In positioning products, the requirements on power consumption are generally met, and the standard-reaching standby time is a qualified hard index of the products. Optimization with respect to power consumption of the product is particularly important.
Currently, the Positioning mode of the Positioning products is not only single GPS (Global Positioning System). And the positioning requirements of users under all scenes are met by combining three modes of base station positioning, WIFI (wireless fidelity) positioning and GPS positioning.
The GPS positioning depends on a GPS navigation satellite to realize positioning, belongs to a core positioning mode, and is accurate in positioning, but the GPS positioning depends on satellite signals and is greatly influenced by environmental factors, for example, the positioning fails because of satellite searching failure indoors.
The WIFI positioning is a process of scanning and collecting WIFI hotspot (AP) information through a WIFI hardware module, sending the collected information to a positioning server, and finally obtaining positioning information through calculation of the positioning server. The WIFI positioning relies on a positioning service provider, and generally under the indoor condition, more accurate position information can be obtained by scanning a plurality of WIFI hotspot information.
The base station positioning is a process of acquiring information of nearby base stations through a wireless modem module, sending the information of the base stations to a positioning server, and finally obtaining positioning information through calculation of the positioning server. The positioning error of the base station is large, and the base station can give an approximate position when WIFI positioning and GPS positioning are unavailable.
The three modes are integrated for positioning, namely, in the user positioning process each time, base station information is collected for base station positioning, AP information is scanned for WIFI positioning, and a GPS module is started for satellite searching for GPS positioning. In this positioning mode, when the user performs continuous positioning or performs repeated positioning at the same position, the power consumption is considerable, and the main consumption is GPS positioning. Therefore, research on methods for meeting the positioning requirements of users in various scenes and enabling the power consumption of products to reach the standard is urgent.
Disclosure of Invention
The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
The embodiment of the invention provides a positioning method, a positioning device, positioning equipment and a computer readable storage medium.
The embodiment of the invention provides a positioning method, which comprises the following steps:
in the positioning process, identifying the current positioning process and determining whether the positioning process is repeated;
and when the current positioning processing is determined to be repeated positioning processing, not starting GPS positioning, and determining a positioning result according to historical positioning information.
An embodiment of the present invention further provides a positioning apparatus, including:
the identification module is used for identifying the current positioning processing in the positioning processing process and determining whether the positioning processing is repeated;
and the positioning result determining module is used for not starting GPS positioning when the current positioning processing is determined to be repeated positioning processing, and determining a positioning result according to historical positioning information.
An embodiment of the present invention further provides a positioning apparatus, including: memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the positioning method when executing the program.
The embodiment of the invention also provides a computer-readable storage medium, which stores computer-executable instructions, wherein the computer-executable instructions are used for executing the positioning method.
The embodiment of the invention comprises the following steps: in the positioning process, identifying the current positioning process and determining whether the positioning process is repeated; and when the current positioning processing is determined to be repeated positioning processing, not starting GPS positioning, and determining a positioning result according to historical positioning information. The embodiment of the invention can avoid repeatedly and ineffectively starting GPS positioning in the positioning process, thereby reducing the positioning power consumption of equipment, simultaneously ensuring the positioning accuracy and reducing the overhead of positioning calculation, thereby improving the standby time of the product and increasing the competitiveness.
Other aspects will be apparent upon reading and understanding the attached drawings and detailed description.
Drawings
FIG. 1 is a schematic diagram of a Tracker system;
FIG. 2 is a schematic diagram of a Tracker device with a positioning mode;
FIG. 3 is a flow chart of a positioning method of an embodiment of the present invention;
FIG. 4 is a functional block diagram according to an embodiment of the present invention;
FIG. 5 is a flow chart of a movement distance calculation of an embodiment of the present invention;
FIG. 6 is a flow chart of a positioning pre-process of an embodiment of the present invention;
FIG. 7 is a process flow diagram of a first positioning processing subunit of an embodiment of the present invention;
FIG. 8 is a process flow diagram of a second positioning processing subunit of an embodiment of the present invention;
FIG. 9 is a process flow diagram of a location record collection unit of an embodiment of the present invention;
fig. 10 is a schematic diagram of the positioning device according to the embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The steps illustrated in the flow charts of the figures may be performed in a computer system such as a set of computer-executable instructions. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The positioning method provided by the embodiment of the invention can be applied to positioning equipment (Tracker), such as positioning products like child watches, trackers, pet trackers and the like. As shown in fig. 1, Tracker11 communicates with a cloud end including the location server 12 through a wireless communication module, so that the Tracker can receive an instruction from the cloud end and send information related to the Tracker to the cloud end. The APP13 in the terminal communicates with the Tracker11 through the cloud, so that the real-time state information of the Tracker11 is acquired, and the Tracker11 is controlled. Meanwhile, the Tracker11 and the APP13 can communicate with each other through a wireless communication module, such as bluetooth.
The positioning modes of the Tracker equipment in the embodiment of the invention are shown in fig. 2, and the Tracker positioning modes include three types: base station positioning, WIFI positioning and GPS positioning. The base station positioning and WIFI positioning modes are that corresponding positioning information is collected, and finally the positioning information is sent to a positioning server at the cloud end for positioning. The three modes work together to meet the positioning requirements of users in various scenes.
In the positioning process, the embodiment of the invention identifies whether the positioning process is repeated (repeated and invalid positioning process or repeated positioning process at the same position and different time); if the positioning is repeated and invalid or the repeated positioning processing is carried out at the same position for different time, the GPS positioning is not started, and the effects of reducing the positioning power consumption and keeping the positioning accurate are achieved.
As shown in fig. 3, the positioning method according to the embodiment of the present invention includes:
The identifying the current positioning process and determining whether the positioning process is repeated may include the following situations:
1. and comparing the current information with the historical positioning information, and determining whether the repeated positioning processing is performed according to a comparison result.
The historical positioning information may include base station information, WIFI hotspot information, positioning time and positioning results of the historical positioning records.
For example, a storage location for historical location data is established locally at the device. The storage unit stores the historical positioning data information record of the user. Each record contains four fields: the positioning system comprises base station information, WIFI hotspot information, positioning time and positioning results. Wherein the base station information includes CID: base station number, MCC: mobile country code, MNC: mobile network number, LAC: a location area code; the WIFI hotspot information comprises SSID: WIFI hotspot name, BSSID, and WIFI hotspot MAC address. This field may contain multiple pieces of WIFI hotspot information. The positioning time is time information when the positioning result is generated. The positioning result refers to the longitude and latitude values of the specific position obtained after the equipment reports the collected information of the base station, the WIFI and the GPS to the positioning server and the positioning server calculates.
The current information may be current time, a current WIFI hotspot information list, and current base station information.
(1) Determining whether to perform repeated positioning processing according to time information
The current information comprises current time, the historical positioning information comprises positioning time of historical positioning records, the current time and the positioning time of the latest historical positioning record are obtained, a difference value between the current time and the positioning time of the latest historical positioning record is determined, and when the difference value is smaller than a preset time threshold value, repeated positioning processing is determined.
In one embodiment, the current system time (set as Tc) and the time of the last historical positioning record (set as Th) are obtained, the difference between Tc and Th is calculated, and if the difference is less than the time threshold, repeated positioning is indicated.
(2) Determining whether repeated positioning processing is performed according to WIFI hotspot information
The current information comprises a current WIFI hotspot information list, the historical positioning information comprises historical positioning record WIFI hotspot information, the current WIFI hotspot information list is obtained, the current WIFI hotspot information list is matched with the historical positioning record WIFI hotspot information, the corresponding matching degree is determined, and when the matching degree is larger than or equal to a preset first matching degree threshold value, repeated positioning processing is determined.
In an embodiment, a WIFI hotspot information list (set as APlist) in the current environment is obtained. And matching the historical positioning data one by using the APlist, wherein the matched content is WIFI hotspot information comprising SSID and BSSID. And when each record is matched, calculating a corresponding matching degree (set as P), and if the matching degree P of the hot spot information in the APlist and the hot spot information in the history record reaches a higher percentage (a high threshold), determining that the repeated positioning processing is performed.
(3) Determining whether to perform repeated positioning processing according to base station information
The current information further comprises current base station information, the historical positioning information further comprises base station information of historical positioning records, when the matching degree is smaller than a preset first matching degree threshold value, the current base station information is obtained, the current base station information is matched with the base station information of the historical positioning records, when the current base station information is consistent with the base station information of the historical positioning records and the matching degree is larger than or equal to a second matching degree threshold value, repeated positioning processing is determined, and the second matching degree threshold value is smaller than the first matching degree threshold value.
In an embodiment, when the matching degree is smaller than a preset first matching degree threshold, base station information (set as topwerinfo) in the current environment is acquired, and the topwerinfo is used to match the base station information in the record, where the matching content includes CID, MCC, MNC, and LAC. If the TowerInfo is matched with the base station information in the record consistently, judging whether the matching degree P reaches a lower percentage (a low threshold value), and if the matching degree P reaches the lower percentage, determining that the positioning is repeated. This is because the TowerInfo can only assist in positioning, and the same base station information location may vary greatly. And when the WIFI matching degree reaches a high threshold value, directly sending positioning information. And when the WIFI matching degree only reaches a low threshold value, starting the base station for auxiliary positioning, and if the positions of the base stations are consistent, indicating that the position of the user does not change greatly.
2. And determining whether the positioning is repeated according to the moving distance.
And the moving distance is the moving distance from the last GPS positioning to the current time.
The moving distance can be calculated through an acceleration sensor, and when the moving distance is smaller than a preset distance threshold, the repeated positioning processing is determined.
When the positioning process is not started, Tracker starts to collect data of the acceleration sensor and calculates the moving distance of the device. In each fixed period (set to Ts), three-axis acceleration values (set to Axs, Ays and Azs) are collected once, average acceleration (set to Axv, Ayv and Azv) in the current collected total time period (set to Ta) is calculated, and the moving distance (set to St) of the current equipment is calculated according to the average acceleration.
When the positioning processing is started, the device moving distance St calculated according to the acceleration sensor at present is acquired, whether St is smaller than a distance threshold value or not is judged, and when the St is smaller than the distance threshold value, the repeated positioning processing is determined.
And step 302, when the current positioning processing is determined to be repeated positioning processing, not starting GPS positioning, and determining a positioning result according to historical positioning information.
And when the repeated positioning processing is judged according to the time information, taking the latest positioning result in the historical positioning information as the current positioning result.
And when the repeated positioning processing is judged according to the WIFI hotspot information, taking a positioning result corresponding to the WIFI hotspot information which is successfully matched in the historical positioning information as a current positioning result.
And when the base station information is judged to be repeatedly positioned, taking the positioning result corresponding to the successfully matched base station information in the historical positioning information as the current positioning result.
And when the repeated positioning processing is judged according to the moving distance, taking the latest positioning result in the historical positioning information as the current positioning result.
And after the positioning result is determined according to the historical positioning information, the positioning result is directly sent to a positioning server.
In one embodiment, when the current positioning processing is determined not to be the repeated positioning processing, the GPS positioning is started, and the positioning result is acquired and recorded.
The positioning server is used for acquiring positioning results, and recording the current base station information, the current WIFI hotspot information list, the positioning results and the current positioning time.
In one embodiment, the data information related to the calculated moving distance is reset and cleared, including the calculated St, Ta, and the like. And sending the data acquired by the current GPS module, the current base station information TowerInfo and the current WIFI hotspot information list APlist to a positioning server. And the positioning server performs positioning calculation according to the information and returns the positioning result to the equipment. And meanwhile, a new record is established in a storage unit of historical positioning data, and current base station information, WIFI hotspot information, a positioning result and current positioning time are stored in the record.
The embodiment of the invention can avoid repeatedly and ineffectively starting GPS positioning in the positioning process, thereby reducing the positioning power consumption of equipment, simultaneously ensuring the positioning accuracy and reducing the overhead of positioning calculation, thereby improving the standby time of the product and increasing the competitiveness.
The following describes an embodiment in detail.
In the embodiment of the invention, under the scene that the Tracker equipment adopts three modes of base station positioning, WIFI positioning and GPS positioning, historical positioning information and the characteristics of a G-Sensor (acceleration Sensor) in the equipment are mainly utilized, the historical positioning information is analyzed and compared, and the moving distance of the equipment is monitored by combining the G-Sensor, so that whether the equipment needs to start the GPS positioning or not is finally judged. Therefore, the repeated and invalid starting of GPS positioning in the positioning processing is avoided, the effect of reducing the positioning power consumption of the equipment is achieved, and meanwhile, the positioning accuracy is ensured and the overhead of positioning calculation is reduced.
Tracker first establishes a local storage unit of historical positioning data, and a user can preset the time limit or data size of data storage. The data in the local storage unit mainly comprises four key fields of base station information, WIFI hotspot information, positioning time and positioning results.
When a user carries out positioning, the base station information and the wifi hotspot information of the current position are matched in the historical data record, if the matching contact degree reaches a certain threshold value, GPS positioning is not started, and the positioning result in the historical record is directly sent to the server. If the moving distance is within a certain threshold value, GPS positioning is not started, and the positioning result in the latest history record is directly sent to the server. Otherwise, starting the GPS and carrying out new positioning.
And resetting the data of the moving distance of the G-Sensor monitoring equipment and starting a new monitoring action every time the user finishes one positioning. If the positioning is a new positioning, a new record is established in the local storage unit, and the corresponding positioning data is written into the record.
The functional modules divided in the implementation process of the present embodiment are shown in fig. 4, and include a historical positioning data storage unit 41, a positioning preprocessing unit 42 in the process of starting positioning, a positioning processing unit 43, a positioning record collection unit 44, and a moving distance calculation unit 45 in the process of not starting positioning.
The historical positioning data storage unit 41 is used to store historical positioning information of the user.
The location pre-processing unit 42 is used to identify duplicate invalid locations.
The location processing unit 43 is used to identify whether the current location of the user has been previously located.
The location record collection unit 44 is used for collecting historical location information of the user.
The movement distance calculation unit 45 is used to calculate the device movement distance.
The positioning processing unit 43 may comprise two parts, a first positioning processing subunit and a second positioning processing subunit. The first positioning processing subunit is used for identifying whether repeated positioning is carried out according to the WIFI hotspot information and the base station information, and the second positioning processing subunit is used for identifying whether repeated positioning is carried out according to the moving distance.
The following description is made for the implementation steps of each unit module:
1) historical positioning data storage unit 41
A location data storage unit is established locally at the device. Each data record in the storage unit mainly comprises four fields: the positioning system comprises base station information, WIFI hotspot information, positioning time and positioning results.
Wherein the base station information mainly comprises CID: base station number, MCC: mobile country code, MNC: mobile network number, LAC: location area code, signal: signal strength;
the WIFI hotspot information mainly comprises SSID: WIFI hotspot name, BSSID, and WIFI hotspot MAC address. This field may contain multiple pieces of WIFI hotspot information.
The positioning time refers to a time when the positioning result is generated.
The positioning result refers to the longitude and latitude values of the specific position obtained after the equipment reports the collected information of the base station, the WIFI and the GPS to the positioning server and the positioning server calculates.
2) When the positioning process is not started, the moving distance calculating unit 45 performs the steps as shown in fig. 5:
in step 501, Tracker collects triaxial acceleration values (Axs, Ays, and Azs) every other period Ts.
In step 503, Tracker calculates the average acceleration values (Axv, Ayv, and Azv) over the duration of Ta.
And step 504, Tracker obtains the moving distance St in the Ta duration according to the average acceleration value.
Step 505 stores the calculated distance St.
3) When the positioning process is started, the positioning preprocessing unit 42 performs the steps shown in fig. 6:
In step 602, the positioning time Th of the latest history is obtained.
The time threshold is a preset value, and may be 5 seconds, for example.
And step 605, if the difference is smaller than the time threshold, the repeated positioning is indicated, the GPS positioning is not started, and the latest positioning result is directly sent to the server.
In step 606, if the difference is greater than or equal to the time threshold, the positioning processing unit 43 enters the first positioning processing subunit to perform the processing.
4) The execution steps of the first positioning processing subunit are shown in fig. 7:
In step 703, it is determined whether the matching degree P is greater than or equal to a preset first matching degree threshold (reaching a higher percentage (high threshold)), if so, step 704 is executed, and if not, step 705 is executed.
In step 707, if the matching is consistent, it is determined whether the matching degree P is greater than or equal to the second matching degree threshold (reaches a lower percentage (low threshold)), if yes, step 708 is executed, and if not, step 709 is executed.
In step 708, the matching degree P reaches a low percentage, and the positioning result of the history record is directly sent to the server without starting GPS positioning.
And step 709, if the matching degree P does not reach a lower percentage or the topwerinfo is not matched with the base station information in the record, entering a second positioning processing subunit for processing.
5) The second positioning processing subunit performs the steps shown in fig. 8:
in step 801, the device movement distance St currently calculated from the acceleration sensor is acquired.
And 803, if the current time is less than the preset time, the GPS positioning is not required to be started, and the positioning result of the latest historical record is directly sent to the server.
And step 804, if the value is larger than the preset value, the GPS is started to perform positioning, and the positioning record collection unit 44 is used for processing.
In practical application, the processing sequences of the second positioning processing subunit and the first positioning processing subunit can be interchanged, that is, the judgment is performed according to the moving distance, and if the moving distance is greater than the distance threshold, the judgment is performed according to the WIFI hotspot information and the base station information.
6) The positioning record collection unit 44 performs the steps as shown in fig. 9:
in step 901, the relevant data information for calculating the movement distance is reset and cleared, including St, Ta, Axv, Ayv, Azv, etc. obtained through calculation, and the calculation of the movement distance is restarted.
And step 903, the server returns a positioning result to the equipment after performing positioning calculation.
And 904, establishing a new record in a storage unit of the historical positioning data, and storing the current base station information, the WIFI hotspot information, the positioning result and the current positioning time in the record.
In summary, the embodiment of the present invention can avoid repeated operation positioning and avoid power consumption and positioning calculation overhead caused by repeated positioning at the same position, thereby improving the standby time of the product and increasing the competitiveness.
As shown in fig. 10, an embodiment of the present invention further provides a positioning apparatus, including:
an identifying module 1001, configured to identify current positioning processing in a positioning processing process, and determine whether the positioning processing is repeated;
the positioning result determining module 1002 is configured to determine a positioning result according to historical positioning information without starting GPS positioning when it is determined that the current positioning process is a repeated positioning process.
In an embodiment, the identifying module 1001 is configured to:
and comparing the current information with the historical positioning information, and determining whether the repeated positioning processing is performed according to a comparison result.
In an embodiment, the current information includes a current time, the historical positioning information includes a positioning time of a historical positioning record, and the identifying module 1001 is configured to:
the method comprises the steps of obtaining the current time and the positioning time of the last historical positioning record, determining the difference value between the current time and the positioning time of the last historical positioning record, and determining repeated positioning processing when the difference value is smaller than a preset time threshold value.
In an embodiment, the positioning result determining module 1002 is configured to:
and taking the latest positioning result in the historical positioning information as the current positioning result.
In an embodiment, the current information includes a current WIFI hotspot information list, the historical positioning information includes historical positioning recorded WIFI hotspot information, and the identifying module 1001 is configured to:
the method comprises the steps of obtaining a current WIFI hotspot information list, matching the current WIFI hotspot information list with WIFI hotspot information of historical positioning records, determining corresponding matching degree, and determining repeated positioning processing when the matching degree is larger than or equal to a preset first matching degree threshold value.
In an embodiment, the positioning result determining module 1002 is configured to:
and taking the positioning result corresponding to the successfully matched WIFI hotspot information in the historical positioning information as the current positioning result.
In an embodiment, the current information further includes current base station information, the historical positioning information further includes base station information of a historical positioning record, and the identifying module 1001 is configured to:
and when the matching degree is smaller than a preset first matching degree threshold value, acquiring current base station information, matching the current base station information with base station information of a historical positioning record, and when the current base station information is consistent with the base station information of the historical positioning record and the matching degree is greater than or equal to a second matching degree threshold value, determining that the repeated positioning processing is performed, wherein the second matching degree threshold value is smaller than the first matching degree threshold value.
In an embodiment, the positioning result determining module 1002 is configured to:
and taking the positioning result corresponding to the successfully matched base station information in the historical positioning information as the current positioning result.
In an embodiment, the identifying module 1001 is configured to:
and acquiring the moving distance from the latest GPS positioning start to the current time, and determining whether the positioning is repeated according to the moving distance.
In an embodiment, the identifying module 1001 is configured to:
and calculating the moving distance through an acceleration sensor, and determining repeated positioning processing when the moving distance is smaller than a preset distance threshold.
In an embodiment, the positioning result determining module 1002 is configured to:
and taking the latest positioning result in the historical positioning information as the current positioning result.
In an embodiment, the positioning result determining module 1002 is further configured to:
and when the current positioning processing is determined not to be repeated positioning processing, starting GPS positioning, and acquiring and recording a positioning result.
In an embodiment, the positioning result determining module 1002 is configured to:
sending the data acquired by GPS positioning, current base station information and a current WIFI hotspot information list to a positioning server;
and acquiring a positioning result from a positioning server, and recording the current base station information, the current WIFI hotspot information list, the positioning result and the current positioning time.
An embodiment of the present invention further provides a positioning apparatus, including: memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the positioning method when executing the program.
The embodiment of the invention also provides a computer-readable storage medium, which stores computer-executable instructions, wherein the computer-executable instructions are used for executing the positioning method.
In this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
Claims (16)
1. A method of positioning, comprising:
in the positioning process, identifying the current positioning process and determining whether the positioning process is repeated;
and when the current positioning processing is determined to be repeated positioning processing, not starting GPS positioning, and determining a positioning result according to historical positioning information.
2. The method of claim 1, wherein identifying a current location process and determining whether it is a duplicate location process comprises:
and comparing the current information with the historical positioning information, and determining whether the repeated positioning processing is performed according to a comparison result.
3. The method as claimed in claim 2, wherein the current information includes a current time, the historical positioning information includes a positioning time of a historical positioning record, the comparing the current information with the historical positioning information, and determining whether the positioning process is repeated according to a comparison result comprises:
the method comprises the steps of obtaining the current time and the positioning time of the last historical positioning record, determining the difference value between the current time and the positioning time of the last historical positioning record, and determining repeated positioning processing when the difference value is smaller than a preset time threshold value.
4. The method of claim 3, wherein determining a location result based on historical location information comprises:
and taking the latest positioning result in the historical positioning information as the current positioning result.
5. The method of claim 2, wherein the current information includes a current WIFI hotspot information list, the historical positioning information includes historical positioning recorded WIFI hotspot information, and the comparing the current information with the historical positioning information and determining whether the repeated positioning processing is performed according to the comparison result include:
the method comprises the steps of obtaining a current WIFI hotspot information list, matching the current WIFI hotspot information list with WIFI hotspot information of historical positioning records, determining corresponding matching degree, and determining repeated positioning processing when the matching degree is larger than or equal to a preset first matching degree threshold value.
6. The method of claim 5, wherein determining a location result based on historical location information comprises:
and taking the positioning result corresponding to the successfully matched WIFI hotspot information in the historical positioning information as the current positioning result.
7. The method as claimed in claim 5, wherein the current information further includes current base station information, the historical positioning information further includes base station information of historical positioning records, the comparing is performed according to the current information and the historical positioning information, and whether the repeated positioning processing is performed is determined according to the comparing result, further comprising:
and when the matching degree is smaller than a preset first matching degree threshold value, acquiring current base station information, matching the current base station information with base station information of a historical positioning record, and when the current base station information is consistent with the base station information of the historical positioning record and the matching degree is greater than or equal to a second matching degree threshold value, determining that the repeated positioning processing is performed, wherein the second matching degree threshold value is smaller than the first matching degree threshold value.
8. The method of claim 7, wherein determining a location result based on historical location information comprises:
and taking the positioning result corresponding to the successfully matched base station information in the historical positioning information as the current positioning result.
9. The method of claim 1, wherein identifying a current location process and determining whether it is a duplicate location process comprises:
and acquiring the moving distance from the latest GPS positioning start to the current time, and determining whether the positioning is repeated according to the moving distance.
10. The method of claim 9, wherein said obtaining a travel distance from a last GPS fix enabled to a current time, and determining whether to repeat the locating process based on the travel distance comprises:
and calculating the moving distance through an acceleration sensor, and determining repeated positioning processing when the moving distance is smaller than a preset distance threshold.
11. The method of claim 9 or 10, wherein determining a location result from historical location information comprises:
and taking the latest positioning result in the historical positioning information as the current positioning result.
12. The method of claim 1, wherein the method further comprises:
and when the current positioning processing is determined not to be repeated positioning processing, starting GPS positioning, and acquiring and recording a positioning result.
13. The method of claim 12, wherein said obtaining and recording positioning results comprises:
sending the data acquired by GPS positioning, current base station information and a current WIFI hotspot information list to a positioning server;
and acquiring a positioning result from a positioning server, and recording the current base station information, the current WIFI hotspot information list, the positioning result and the current positioning time.
14. A positioning device, comprising:
the identification module is used for identifying the current positioning processing in the positioning processing process and determining whether the positioning processing is repeated;
and the positioning result determining module is used for not starting GPS positioning when the current positioning processing is determined to be repeated positioning processing, and determining a positioning result according to historical positioning information.
15. A positioning apparatus, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 13 when executing the program.
16. A computer-readable storage medium storing computer-executable instructions for performing the method of any one of claims 1-13.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910779345.4A CN112423231A (en) | 2019-08-22 | 2019-08-22 | Positioning method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910779345.4A CN112423231A (en) | 2019-08-22 | 2019-08-22 | Positioning method, device and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112423231A true CN112423231A (en) | 2021-02-26 |
Family
ID=74780254
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910779345.4A Pending CN112423231A (en) | 2019-08-22 | 2019-08-22 | Positioning method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112423231A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116709181A (en) * | 2022-12-28 | 2023-09-05 | 荣耀终端有限公司 | Management method and device based on remote distributed communication |
-
2019
- 2019-08-22 CN CN201910779345.4A patent/CN112423231A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116709181A (en) * | 2022-12-28 | 2023-09-05 | 荣耀终端有限公司 | Management method and device based on remote distributed communication |
CN116709181B (en) * | 2022-12-28 | 2024-07-16 | 荣耀终端有限公司 | Management method and device based on remote distributed communication |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106211078B (en) | Positioning method, device, equipment and system | |
US9420424B2 (en) | System and method for measuring the crowdedness of people at a place | |
US9185677B2 (en) | Method device and system for estimating access points using log data | |
US8577389B2 (en) | Filtering and clustering crowd-sourced data for determining beacon positions | |
US9173057B2 (en) | Apparatus and method of managing peripheral wireless LAN radio signal for positioning service | |
US9155029B2 (en) | Method and apparatus for scanning for a wireless access point | |
CN102571910B (en) | Method for searching nearby users in social network, and server | |
US9052204B2 (en) | Behavior pattern extraction system, apparatus, method and recording medium storing program | |
CN107580787B (en) | Location-driven profile switching | |
US8866674B2 (en) | Concept of generating experience messages for updating a reference database | |
CN106550446B (en) | Positioning method and geographical position monitoring equipment | |
RU2008139627A (en) | NETWORK SELECTION BY WIRELESS TERMINALS | |
CN103747519A (en) | Method and system for dynamically establishing indoor positioning fingerprint database | |
WO2010101546A1 (en) | Screening terminal positions at a terminal | |
CN105572699B (en) | Method and device for detecting fix drift | |
CN103476111A (en) | Method, device and system for obtaining geographic position information | |
CN101977435A (en) | Terminal positioning method and system | |
EP3028513A1 (en) | Assigning location information to wireless local area network access points | |
CN105992267B (en) | A kind of method and apparatus determining offline location data quality | |
CN102692635A (en) | Method for selecting global positioning system (GPS) positioning and base station positioning during store visit | |
CN102520428A (en) | Method for realizing region warning at global position system (GPSOne) terminal and system thereof | |
EP2404400B1 (en) | State-machine-based operation of a coverage-model-related process | |
CN101562806A (en) | Method for triggering terminal location, device and system thereof | |
CN104837114A (en) | Method and device used for determining abnormal positioning information of user | |
CN112423231A (en) | Positioning method, device and 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 |