CN107436443B - Position information output method and device - Google Patents

Position information output method and device Download PDF

Info

Publication number
CN107436443B
CN107436443B CN201610353715.4A CN201610353715A CN107436443B CN 107436443 B CN107436443 B CN 107436443B CN 201610353715 A CN201610353715 A CN 201610353715A CN 107436443 B CN107436443 B CN 107436443B
Authority
CN
China
Prior art keywords
information
wifi hotspot
gps
wifi
hot spot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610353715.4A
Other languages
Chinese (zh)
Other versions
CN107436443A (en
Inventor
冯博
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Alibaba China 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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN201610353715.4A priority Critical patent/CN107436443B/en
Publication of CN107436443A publication Critical patent/CN107436443A/en
Application granted granted Critical
Publication of CN107436443B publication Critical patent/CN107436443B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO 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/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining 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/42Determining position
    • G01S19/45Determining position by combining measurements of signals from the satellite radio beacon positioning system with a supplementary measurement
    • G01S19/46Determining position by combining measurements of signals from the satellite radio beacon positioning system with a supplementary measurement the supplementary measurement being of a radio-wave signal type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a position information output method and a device, wherein the method comprises the following steps: after the GPS signal of the current position of the equipment and the first WiFi hot spot information are obtained, whether the similarity between the first WiFi hot spot information and the second WiFi hot spot information of the position of the equipment when the GPS position information is output last time is not smaller than a set threshold value or not is judged, if yes, the GPS position information in the GPS signal of the current position of the equipment is not output, and if not, the GPS position information in the GPS signal of the current position of the equipment is output. Therefore, the output times of wrong GPS position information are reduced, the output GPS position information is filtered, the accuracy of the finally output GPS position information is improved, the final positioning result is more accurate, and the user experience is improved.

Description

Position information output method and device
Technical Field
The present invention relates to the field of positioning, and in particular, to a method and an apparatus for outputting position information.
Background
The basic principle of the GPS (Global Positioning System) is to acquire a time difference of arrival from a GPS satellite to a GPS device (i.e., a receiver) based on an accurate position of the GPS satellite and navigation information generated by an on-satellite atomic clock continuously transmitted by the GPS satellite, and to calculate a distance between the GPS satellite and the GPS device based on the accurate position of the GPS satellite and the time difference of arrival from the GPS satellite to the GPS device. Because the orbital position of each GPS satellite is known, the GPS device can calculate its three-dimensional position by only 4 GPS satellites.
However, because the GPS signal is easily blocked by the building entity, the GPS signal cannot be received in the environment such as indoor, underground, and tunnel, or the received GPS signal is intermittent and inaccurate. For example, in the indoor window or door, although the corresponding GPS signal can be received occasionally, the received GPS signal is often inaccurate, so that, when the device at the position does not move, the GPS position information corresponding to the device, which is determined and output according to the received GPS signal, continuously jumps and drifts, so that the accuracy of the finally output GPS position information is low, an erroneous positioning result is easy to occur, and the user experience is greatly reduced.
Disclosure of Invention
The embodiment of the invention provides a position information output method and a position information output device, which are used for solving the problems that the accuracy of finally output GPS position information is low and wrong positioning results are easy to occur in a GPS signal weak area due to the jitter and the drift of the determined and output GPS position information.
The embodiment of the invention provides a position information output method, which comprises the following steps:
acquiring a GPS signal of the current position of the equipment and first wireless fidelity WiFi hotspot information;
determining similarity between the first WiFi hotspot information and second WiFi hotspot information; the second WiFi hotspot information is WiFi hotspot information of a position where the equipment outputs GPS position information last time;
and judging whether the similarity is not less than a set similarity threshold, if so, not outputting the GPS position information in the GPS signal of the current position of the equipment, and if not, outputting the GPS position information in the GPS signal of the current position of the equipment.
An embodiment of the present invention provides a position information output apparatus, including:
the acquisition module is used for acquiring a GPS signal of the current position of the equipment and first WiFi hotspot information;
the determining module is used for determining the similarity between the first WiFi hotspot information and the second WiFi hotspot information; the second WiFi hotspot information is WiFi hotspot information of a position where the equipment outputs GPS position information last time;
and the processing module is used for judging whether the similarity is not less than a set similarity threshold value, if so, not outputting the GPS position information in the GPS signal of the current position of the equipment, and if not, outputting the GPS position information in the GPS signal of the current position of the equipment.
The invention has the following beneficial effects:
the embodiment of the invention provides a position information output method and a position information output device, which can judge whether the similarity between first WiFi hot spot information and second WiFi hot spot information of a position where equipment outputs GPS position information last time is not smaller than a set threshold value after a GPS signal of the current position of the equipment and the first WiFi hot spot information are obtained, if so, the GPS position information in the GPS signal of the current position of the equipment is not output, and if not, the GPS position information in the GPS signal of the current position of the equipment is output. In practical application, the acquisition period of the GPS position information is generally short, if the GPS signal of the current position of the user is weak, the weak GPS signal is adopted for positioning, the positioned position is often inconstant, and the frequent output of the GPS position information also increases the output times of wrong GPS position information, so that in order to reduce the output times of the wrong GPS position information, in the technical scheme of the invention, if the similarity between the WiFi hot spot information of the current position and the WiFi hot spot information corresponding to the position when the GPS position information is output last time is high, the distance between the current position of the user and the previous position is relatively short, the GPS position information does not need to be output any more, thereby avoiding the problem that the inaccurate GPS position information is output if the GPS signal of the current position is weak, improving the accuracy of the finally output GPS position information and enabling the final positioning result to be more accurate, the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart illustrating a position information output method according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of a position information output device according to a second embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The first embodiment is as follows:
in order to solve the problem that in a weak GPS signal area, the accuracy of the finally output GPS location information is low and an erroneous positioning result is likely to occur due to jitter and drift of the determined and output GPS location information, an embodiment of the present invention provides a location information output method, which is a flowchart of the location information output method described in the first embodiment of the present invention, as shown in fig. 1. Specifically, as shown in fig. 1, the position information output method may include the following steps:
step 101: and acquiring a GPS signal of the current position of the equipment and first WiFi hotspot information.
It should be noted that an execution main body of the location information output method described in this embodiment may be a device having a GPS positioning function and a function of connecting to a wireless network (e.g., including a WiFi hotspot scanning module), such as a smart phone, an IPAD, and the like, for example, the device in step 101 may be used as the execution main body of the method, which is not limited in this embodiment.
The GPS signals may generally include GPS location information, signal strength, NMEA (National marine electronics Association) information, GPS satellite signal-to-noise ratio, and the like.
Optionally, the obtaining of the first WiFi hotspot information of the current location of the device may include:
selecting WiFi hotspot information of which the distance between the WiFi hotspot and the current position of the equipment is not more than a set distance threshold from the WiFi hotspot information scanned by the equipment at the current position;
taking all the selected WiFi hotspot information as the first WiFi hotspot information; or, the selected WiFi hotspot information with the signal intensity not lower than the set signal intensity threshold is taken as the first WiFi hotspot information.
In the embodiment of the invention, the position of each WiFi hotspot is known in advance, so that the distance between each WiFi hotspot and the current position of the equipment can be calculated according to the GPS position information (or the GPS position information output by the equipment for the previous time) in the GPS signal of the current position of the equipment and the position of the scanned WiFi hotspot, and the WiFi hotspot information of which the distance between the WiFi hotspot and the current position of the equipment is not more than a set distance threshold value is selected from the WiFi hotspot information scanned by the equipment at the current position.
The set distance threshold can be flexibly set according to actual requirements, such as 50 meters and 100 meters; preferably, in order to determine whether the device moves more accurately, the set distance threshold may be set to a smaller value as much as possible, so that the device can be perceived in time when moving, and the accuracy of the finally output GPS location information is improved, so that the final positioning result is more accurate.
Furthermore, the signal strength threshold may also be flexibly set according to actual situations, as long as it is ensured that the signal of the selected WiFi hotspot is sufficiently received by the device, which is not limited in this embodiment.
Furthermore, as can be seen from the above-mentioned process of determining WiFi hotspot information, the first WiFi hotspot information may include a series of WiFi hotspot information, and is not limited to one, and may include information of a plurality of WiFi hotspots, such as WiFi1, WiFi2, and WiFi 3. The information of each WiFi hotspot may include Media Access Control (MAC) address information and/or signal strength information of the WiFi hotspot, and certainly, may further include other identification information capable of uniquely identifying the WiFi hotspot, such as an IP address of the WiFi hotspot or device identification, which is not limited in this respect.
In addition, after the first WiFi hotspot information is acquired, each piece of WiFi hotspot information in the first WiFi hotspot information may be displayed in the device in a form of a list. Specifically, the WiFi hotspots may be displayed on the device in a list form according to a sequence from small to large of the distances between the corresponding WiFi hotspots and the device, or according to a sequence from high to low of the signal strengths of the corresponding WiFi hotspots, and the like, which is not described herein again.
Step 102: determining similarity between the first WiFi hotspot information and second WiFi hotspot information; the second WiFi hotspot information is WiFi hotspot information of a position where the equipment outputs the GPS position information last time.
It should be noted that, similar to the first WiFi hotspot information, the second WiFi hotspot information may also include a series of WiFi hotspot information, and each WiFi hotspot information in the second WiFi hotspot information may also be displayed in the device in a list form.
In addition, it should be noted that the obtaining manner of the second WiFi hotspot information is the same as the obtaining manner of the first WiFi hotspot information in step 101, and details are not repeated here.
Specifically, determining the similarity between the first WiFi hotspot information and the second WiFi hotspot information may include:
determining the total number of the first WiFi hotspot information and the second WiFi hotspot information (namely, the total number of the first WiFi hotspot information and the second WiFi hotspot information which have different MAC address information in all the first WiFi hotspot information and the second WiFi hotspot information), and the total number of the first WiFi hotspot information and the second WiFi hotspot information which have the same MAC address information (namely, the total number of the first WiFi hotspot information and the second WiFi hotspot information which have the same MAC address information in the first WiFi hotspot information and are overlapped by the corresponding MAC address information and the MAC address information in the first WiFi hotspot information);
and taking the ratio of the total number of WiFi hotspot information with the same MAC address information to the total number of the WiFi hotspot information with different MAC address information as the similarity between the first WiFi hotspot information and the second WiFi hotspot information.
That is to say, after the two pieces of WiFi hotspot information are acquired, the number of groups of WiFi hotspot information with the same MAC address information between the two pieces of WiFi hotspot information and the number of WiFi hotspot information with different MAC address information between the two pieces of WiFi hotspot information may be calculated respectively to determine the similarity between the two pieces of WiFi hotspot information.
For example, assume that there are 5 WiFi hotspot information, a1, B1, C1, D1, and E1, in the first WiFi hotspot information, and their MAC address information is 01-EA-01-2A-90-EF, 00-EA-01-23-90-EF, 00-23-5A-15-99-42, 00-25-5A-15-90-4A, and 00-53-5A-EF-99-42, respectively; the second WiFi hot spot information comprises 5 WiFi hot spot information, namely A2, B2, C2, D2 and E2, and the MAC address information of the two WiFi hot spot information is 01-EA-01-2A-90-EF, 09-EF-01-23-90-EF, 00-23-5F-15-99-42, 00-25-5A-15-90-4A and 00-56-5A-EF-90-42 respectively. Among the 10 WiFi hotspot information included in the first WiFi hotspot information and the second WiFi hotspot information, the MAC address information of a1 and a2 is the same, and the MAC address information of D1 and D2 is the same, that is, in the 10 WiFi hotspot information included in the first WiFi hotspot information and the second WiFi hotspot information, there are 2 sets of hotspot information having the same MAC address information and 8 pieces of hotspot information having different MAC address information, so that it can be known that the similarity between the first WiFi hotspot information and the second WiFi hotspot information may be 1/4 (i.e., 2/8).
In addition, since the information of each WiFi hotspot may include, in addition to the MAC address information of the WiFi hotspot, other identification information capable of uniquely identifying the WiFi hotspot, such as an IP address, or a device identifier, and the like, the similarity between the first WiFi hotspot information and the second WiFi hotspot information may also be determined according to other identification information of each of the first WiFi hotspot information and the second WiFi hotspot information, which is not described in detail herein.
It should be noted that, in this embodiment, in addition to determining the similarity between the first WiFi hotspot information and the second WiFi hotspot information by using the foregoing method, the similarity between the first WiFi hotspot information and the second WiFi hotspot information may also be determined by using other methods. For example, the similarity between the first WiFi hotspot information and the second WiFi hotspot information may also be determined by:
determining the total number of the hot spot information with the same MAC address information between the first WiFi hot spot information and the second WiFi hot spot information and the total number of all WiFi hot spot information included in the first WiFi hot spot information and the second WiFi hot spot information (namely the sum of the total number of all hot spot information included in the first WiFi hot spot information and the total number of all hot spot information included in the second WiFi hot spot information) according to the MAC address information in the first WiFi hot spot information and the second WiFi hot spot information;
and taking the ratio of the total number of the WiFi hotspot information with the same MAC address information to the total number of all the WiFi hotspot information as the similarity between the first WiFi hotspot information and the second WiFi hotspot information.
For example, as can be seen from the above example, since the total number of groups of the hotspot information having the same MAC address information between the first WiFi hotspot information and the second WiFi hotspot information is 2; the total number of all the hotspot information included in the first WiFi hotspot information is 5, and the total number of all the hotspot information included in the second WiFi hotspot information is 5, that is, the total number of all the wi-fi hotspot information included in the first WiFi hotspot information and the second WiFi hotspot information is 10, so that the similarity between the first WiFi hotspot information and the second WiFi hotspot information may also be 2/10 (i.e., 1/5) or 2 × 2/10 (i.e., 2/5).
Step 103: and judging whether the similarity is not less than a set similarity threshold, if so, executing step 104, and if not, executing step 105.
It should be noted that the set threshold may be flexibly set according to actual situations, as long as the repeated GPS location information can be filtered as much as possible, for example, 1/2, 1/3, 2/5, etc., which is not limited in this embodiment.
Step 104: not outputting the GPS position information in the GPS signal of the current position of the equipment;
step 105: and outputting the GPS position information in the GPS signal of the current position of the equipment.
That is to say, in the solution of this embodiment, whether the device has moved or not may be determined according to the change of the WiFi hotspot information of the location where the device is located, so as to reduce the probability of drifting and bouncing of the output GPS location information, reduce the number of times of outputting wrong GPS location information, implement filtering of the output GPS location information, improve the accuracy of the final output GPS location information, make the final positioning result more accurate, and improve the user experience.
Further, to ensure the accuracy of the output GPS location information, before the step 102 is executed, it may be further determined whether the GPS signal of the current location of the device is an available signal, if so, the GPS location information in the GPS signal of the current location is output, and if not, the step 102 is executed. Therefore, between the foregoing steps 101 and 102, there may be further included:
and determining whether the GPS signal of the current position of the equipment is an unavailable signal, if so, executing the step 102, otherwise, not executing the step 102, directly executing the step 105 and ending the process.
Optionally, determining whether the GPS signal of the current location of the device is an unavailable signal may include:
determining the number of GPS satellites used for positioning the current position of the equipment according to the NMEA information in the GPS signals;
and if the number of the GPS satellites used for positioning is smaller than a set number threshold value and/or the average signal-to-noise ratio of the GPS satellites used for positioning is lower than a set signal-to-noise ratio threshold value, determining that the GPS signals are unavailable signals (otherwise, determining that the GPS signals are available signals).
The set number threshold can be set according to actual conditions. In general, since at least 4 GPS satellites are required to determine the precise position of a device, that is, when the number of GPS satellites used for positioning is less than 4 or other minimum number of satellites capable of achieving precise positioning, it is considered that precise positioning cannot be achieved, the set number threshold may be set to 4 or other minimum number of satellites capable of achieving precise positioning. In addition, the set snr threshold may also be flexibly set according to actual situations, for example, the set snr threshold may be set to 15dB, 10dB, and the like, which is not limited in this embodiment.
For example, if there is a device (e.g., a mobile phone of a user, a tablet pc, etc.) on a certain windowsill of an office building, and it is determined that the number of GPS satellites used for positioning the device is only 2 or the average signal-to-noise ratio of the GPS satellites used for positioning is only 8dB, etc. according to NMEA information in the GPS signal of the current location of the device, it may be determined that the GPS signal of the location of the device (i.e., in the office building) is an unavailable signal, that is, the GPS signal of the location of the device is weak, and the output GPS location information of the device may have a large error, and the positioning result may be wrong.
In addition, it should be noted that, in addition to determining whether or not the GPS signal of the location where the apparatus is located is an unavailable signal based on the number of GPS satellites used for positioning and the average signal-to-noise ratio of the GPS satellites used for positioning, the determination may be made based on only the signal-to-noise ratio of any one of the GPS satellites used for positioning. That is, if it is determined that the signal-to-noise ratio of any one of the GPS satellites used for positioning is lower than the set signal-to-noise ratio threshold, the GPS signal of the location where the device is located may be determined to be an unavailable signal, which is not described in detail herein.
In the technical scheme of the invention, if the similarity between the first WiFi hot spot information of the current position and the second WiFi hot spot information of the position at the time of outputting the GPS position information for the last time is determined to be not less than the set threshold, the equipment can be determined to be in a static state (or slightly moves, namely the movement can be ignored), and the output of the wrong position can be stopped, so that the bounce and the drift of the GPS point can be reduced or eliminated, and the user experience is improved.
It should be noted that any nomenclature (the first WiFi hotspot information, the second WiFi hotspot information, and the like) described in this embodiment is only used for distinguishing, and does not have any limiting meaning, and details thereof are not described herein.
In the following, a specific example will be taken as an example to describe the GPS signal output method of the present embodiment in detail, and the GPS signal output method may specifically include the following steps:
the method comprises the steps of firstly, acquiring a GPS signal of the current position of equipment and WiFi hotspot information around the equipment;
and secondly, determining whether the GPS signal of the current position of the equipment is an unavailable signal, if so, executing the third step, and otherwise, only outputting the GPS position information in the GPS signal of the current position of the equipment.
I.e. to determine whether the device is in an area with poor GPS signals, such as indoors, in tunnels and underground.
And thirdly, outputting the GPS position information and the WiFi hotspot information in the GPS signal of the current position of the equipment, and taking the GPS position information and the WiFi hotspot information in the GPS signal of the current position of the equipment as the GPS position information and the WiFi hotspot information of a reference point.
For example, assuming that the acquired GPS location information in the GPS signal of the current location of the device is GPS 1: [ x ═ x1, y ═ y1], and the acquired WiFi hotspot information around the device is WiFi _ L IST 1: [ c 4: 05: 28: 98: a 7: d 4; 80: 89: 17: 71: 62: a 4; 78: eb: 14: df: 0 a: 8 a; 9 c: d 3: 6 d: a 3: a 5: dd ], the GPS1 and the WiFi _ L IST1 may be output together, and the GPS1 and the WiFi _ L IST1 may be set as reference points.
And fourthly, acquiring the GPS signal of the current position of the equipment and WiFi hotspot information around the equipment again, and calculating the similarity between the acquired WiFi hotspot information and the WiFi hotspot information in the reference point.
For example, assuming that the re-acquired GPS location information in the GPS signal of the current location of the device may be GPS 2: [ x ═ x2, y ═ y2], the re-acquired WiFi hotspot information around the device may be WiFi _ L IST 2: [ c 4: 05: 28: 98: a 7: d 4; 80: 89: 17: 71: 62: a 4; ec: 26: ca: 3 b: 2 e: 7 f; 9 c: d 3: 6 d: a 3: a 5: dd ], the similarity between WiFi _ L IST2 and WiFi _ L IST1 (i.e. 3/5) may be obtained through calculation, or,
assuming that the re-acquired GPS location information in the GPS signal of the current location of the device may be GPS 3: [ x-3, y-3 ], and the re-acquired WiFi hotspot information around the device may be WiFi _ L IST 3: [ 78: 31: 2 b: 60: 52: fc; 80: 89: 17: 71: 62: a 4; ec: 26: ca: 3 b: 2 e: 7 f; 80: d 0: 9 b: fe: 83 a4], a similarity between WiFi _ L IST3 and WiFi _ L IST1 (i.e., 1/7) may be obtained through calculation.
And fifthly, if the similarity between the re-acquired WiFi hot spot information and the WiFi hot spot information in the reference point is determined to be not smaller than a set threshold, not outputting the re-acquired GPS position information in the GPS signal and the re-acquired WiFi hot spot information.
For example, assuming that the set threshold of the similarity may be 1/2, and the GPS location information in the GPS signal of the current location of the device obtained again may be GPS 2: [ x ═ x2, y ═ y2], and the WiFi hotspot information around the device obtained again may be WiFi — L IST 2: [ c 4: 05: 28: 98: a 7: d 4; 80: 89: 17: 71: 62: a 4; ec: 26: ca: 3 b: 2 e: 7 f; 9 c: d 3: 6 d: a 3: a 5: dd ], since 3/5 > 1/2, that is, the similarity is not less than the set threshold, it may be stated that the device does not move, and it is not necessary to output GPS2 and WiFi — L IST2, that is the reference point may remain unchanged (for example, GPS1 and WiFi — L IST1 are still used).
And sixthly, if the similarity between the re-acquired WiFi hot spot information and the WiFi hot spot information in the reference point is determined to be smaller than the set threshold, outputting the GPS position information in the re-acquired GPS signal and the re-acquired WiFi hot spot information, and replacing the GPS position information and the WiFi hot spot information of the reference point with the re-acquired GPS position information in the GPS signal and the re-acquired WiFi hot spot information.
For example, similarly, it is assumed that the set threshold of the similarity may be 1/2, and the GPS location information in the GPS signal of the current location of the device obtained again may be GPS 3: [ x ═ x3, y ═ y3], and the WiFi hotspot information around the device obtained again may be WiFi _ L IST 3: [ 78: 31: 2 b: 60: 52: fc; 80: 89: 17: 71: 62: a 4; ec: 26: ca: 3 b: 2 e: 7 f; 80: d 0: 9 b: fe: 83: a4], and since 1/7 < 1/2, that is, the similarity is smaller than the set threshold, it may be described that the device has moved, and it is necessary to output GPS3 and WiFi _ L IST3 as new reference points, that is a change in the reference points, and when a new GPS signal and a new WiFi hotspot information are obtained subsequently, it is necessary to calculate whether a new WiFi hotspot information between the new WiFi hotspot information and WiFi hotspot information 3, and determine whether a new WiFi hotspot information in the GPS hotspot information is to be output.
And seventhly, repeating the fourth step to the sixth step, which is not described again.
The embodiment of the invention provides a position information output method, which can judge whether the similarity between first WiFi hot spot information and second WiFi hot spot information of a position where equipment outputs GPS position information last time is not smaller than a set equipment threshold value or not after the GPS signal of the current position of the equipment and the first WiFi hot spot information are obtained, if so, the GPS position information in the GPS signal of the current position of the equipment is not output, and if not, the GPS position information in the GPS signal of the current position is output. In practical application, the acquisition period of the GPS position information is generally short, if the GPS signal of the current position of the user is weak, the weak GPS signal is adopted for positioning, the positioned position is often inconstant, and the frequent output of the GPS position information also increases the output times of wrong GPS position information, so that in order to reduce the output times of the wrong GPS position information, in the technical scheme of the invention, if the similarity between the WiFi hot spot information of the current position and the WiFi hot spot information corresponding to the position when the GPS position information is output last time is high, the distance between the current position of the user and the previous position is relatively short, the GPS position information does not need to be output any more, thereby avoiding the problem that the inaccurate GPS position information is output if the GPS signal of the current position is weak, improving the accuracy of the finally output GPS position information and enabling the final positioning result to be more accurate, the user experience is improved.
Example two:
based on the same inventive concept as the first embodiment of the present invention, a second embodiment of the present invention provides a position information output apparatus, as shown in fig. 2, which is a schematic structural diagram of the position information output apparatus according to the second embodiment of the present invention, specifically, as shown in fig. 2, the position information output apparatus may include:
the acquisition module 21 is configured to acquire a GPS signal of a current location of the device and first WiFi hotspot information;
a determining module 22, configured to determine similarity between the first WiFi hotspot information and the second WiFi hotspot information; the second WiFi hotspot information is WiFi hotspot information of a position where the equipment outputs GPS position information last time;
the processing module 23 may be configured to determine whether the similarity is not smaller than a set similarity threshold, if so, not output the GPS location information in the GPS signal of the current location of the device, and if not, output the GPS location information in the GPS signal of the current location of the device.
Further, the position information output device may further include:
and the signal determining module 24 is configured to determine whether the GPS signal of the current location of the device is an unavailable signal, and if so, trigger the determining module 22.
Further, the signal determination module 24 may be specifically configured to:
determining the number of GPS satellites used for positioning the current position of the equipment according to the NMEA information of the national ocean electronics association in the GPS signals; and if the number of the GPS satellites used for positioning is smaller than a set number threshold value and/or the average signal-to-noise ratio of the GPS satellites used for positioning is lower than a set signal-to-noise ratio threshold value, determining that the GPS signals are unavailable signals.
Further, the obtaining module 21 may be specifically configured to:
selecting WiFi hotspot information of which the distance between the WiFi hotspot and the current position of the equipment is not more than a set distance threshold from the WiFi hotspot information scanned by the equipment at the current position; all the selected WiFi hotspot information is used as the first WiFi hotspot information; or, the WiFi hotspot information with the signal intensity not lower than a set signal intensity threshold value in the selected WiFi hotspot information is used as the first WiFi hotspot information.
Further, the determining module 22 may be specifically configured to:
determining the total number of the first WiFi hot spot information and the second WiFi hot spot information which are different in MAC address information according to the MAC address information in the first WiFi hot spot information and the second WiFi hot spot information, and the total number of the first WiFi hot spot information and the second WiFi hot spot information which are the same in MAC address information; and taking the ratio of the total number of WiFi hotspot information with the same MAC address information to the total number of the WiFi hotspot information with different MAC address information as the similarity between the first WiFi hotspot information and the second WiFi hotspot information.
In addition, it should be noted that, in this embodiment, the position information output device may be an independent device independent from the above-mentioned apparatus, or an integrated device integrated in the above-mentioned apparatus, which is not described in detail herein.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus (device), or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (6)

1. A position information output method, characterized by comprising:
acquiring a GPS signal of the current position of the equipment and first wireless fidelity WiFi hotspot information;
determining the number of GPS satellites used for positioning the current position of the equipment according to the NMEA information in the GPS signals;
if the number of the GPS satellites used for positioning is smaller than a set number threshold value and/or the average signal-to-noise ratio of the GPS satellites used for positioning is lower than a set signal-to-noise ratio threshold value, determining that the GPS signals are unavailable signals; if the GPS signal is determined to be an unavailable signal, determining the similarity between the first WiFi hotspot information and the second WiFi hotspot information; the second WiFi hotspot information is WiFi hotspot information of a position where the equipment outputs GPS position information last time;
and judging whether the similarity is not less than a set similarity threshold, if so, not outputting the GPS position information in the GPS signal of the current position of the equipment, and if not, outputting the GPS position information in the GPS signal of the current position of the equipment.
2. The method of claim 1, wherein obtaining the first WiFi hotspot information for the current location of the device comprises:
selecting WiFi hotspot information of which the distance between the WiFi hotspot and the current position of the equipment is not more than a set distance threshold from the WiFi hotspot information scanned by the equipment at the current position;
taking all the selected WiFi hotspot information as the first WiFi hotspot information; or, the WiFi hotspot information with the signal intensity not lower than a set signal intensity threshold value in the selected WiFi hotspot information is used as the first WiFi hotspot information.
3. The method of claim 1, wherein determining a similarity between the first WiFi hotspot information and second WiFi hotspot information comprises:
determining the total number of the hot spot information with different MAC address information in the first WiFi hot spot information and the second WiFi hot spot information and the total number of the WiFi hot spot information with the same MAC address information between the first WiFi hot spot information and the second WiFi hot spot information according to the media access control MAC address information in the first WiFi hot spot information and the second WiFi hot spot information;
and taking the ratio of the total number of WiFi hotspot information with the same MAC address information to the total number of the WiFi hotspot information with different MAC address information as the similarity between the first WiFi hotspot information and the second WiFi hotspot information.
4. A positional information output apparatus, characterized by comprising:
the acquisition module is used for acquiring a GPS signal of the current position of the equipment and first wireless fidelity WiFi hotspot information;
the signal determining module is used for determining the number of GPS satellites used for positioning the current position of the equipment according to the NMEA information in the GPS signals; if the number of the GPS satellites used for positioning is smaller than a set number threshold value and/or the average signal-to-noise ratio of the GPS satellites used for positioning is lower than a set signal-to-noise ratio threshold value, determining that the GPS signals are unavailable signals;
the determining module is used for determining the similarity between the first WiFi hotspot information and the second WiFi hotspot information if the GPS signal is determined to be an unavailable signal according to the signal determining module; the second WiFi hotspot information is WiFi hotspot information of a position where the equipment outputs GPS position information last time;
and the processing module is used for judging whether the similarity is not less than a set similarity threshold value, if so, not outputting the GPS position information in the GPS signal of the current position of the equipment, and if not, outputting the GPS position information in the GPS signal of the current position of the equipment.
5. The apparatus of claim 4, wherein the obtaining module is specifically configured to:
selecting WiFi hotspot information of which the distance between the WiFi hotspot and the current position of the equipment is not more than a set distance threshold from the WiFi hotspot information scanned by the equipment at the current position; all the selected WiFi hotspot information is used as the first WiFi hotspot information; or, the WiFi hotspot information with the signal intensity not lower than a set signal intensity threshold value in the selected WiFi hotspot information is used as the first WiFi hotspot information.
6. The apparatus of claim 4, wherein the determination module is specifically configured to:
determining the total number of the hot spot information with different MAC address information in the first WiFi hot spot information and the second WiFi hot spot information and the total number of the WiFi hot spot information with the same MAC address information between the first WiFi hot spot information and the second WiFi hot spot information according to the media access control MAC address information in the first WiFi hot spot information and the second WiFi hot spot information; and taking the ratio of the total number of WiFi hotspot information with the same MAC address information to the total number of the WiFi hotspot information with different MAC address information as the similarity between the first WiFi hotspot information and the second WiFi hotspot information.
CN201610353715.4A 2016-05-25 2016-05-25 Position information output method and device Active CN107436443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610353715.4A CN107436443B (en) 2016-05-25 2016-05-25 Position information output method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610353715.4A CN107436443B (en) 2016-05-25 2016-05-25 Position information output method and device

Publications (2)

Publication Number Publication Date
CN107436443A CN107436443A (en) 2017-12-05
CN107436443B true CN107436443B (en) 2020-07-31

Family

ID=60453237

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610353715.4A Active CN107436443B (en) 2016-05-25 2016-05-25 Position information output method and device

Country Status (1)

Country Link
CN (1) CN107436443B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110109161A (en) * 2018-02-01 2019-08-09 高德信息技术有限公司 A kind of fingerprint characteristic acquisition method and device
CN108668221A (en) * 2018-04-28 2018-10-16 北京万兔思睿科技有限公司 A kind of intelligent positioning system and method
CN109522335B (en) * 2018-09-19 2021-10-22 北京明略软件系统有限公司 Information acquisition method and device and computer readable storage medium
CN113630719B (en) * 2021-08-06 2024-08-09 恒鸿达科技有限公司 Method, device, equipment and medium for identifying mobile wifi signals

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607771A (en) * 2013-11-15 2014-02-26 四川长虹电器股份有限公司 A positioning system based on a WIFI and a method thereof
CN103728644A (en) * 2013-12-25 2014-04-16 李青花 Positioning system and positioning method
WO2015029016A1 (en) * 2013-08-27 2015-03-05 Wefind - Tech.Ltd, Location accuracy improvement method and system using network elements relations and scaling methods
CN105142214A (en) * 2015-07-23 2015-12-09 中国联合网络通信集团有限公司 WLAN hotspot positioning information acquisition method and corresponding terminal
CN105527643A (en) * 2015-12-22 2016-04-27 北京奇虎科技有限公司 Positioning method for mobile terminal and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015029016A1 (en) * 2013-08-27 2015-03-05 Wefind - Tech.Ltd, Location accuracy improvement method and system using network elements relations and scaling methods
CN103607771A (en) * 2013-11-15 2014-02-26 四川长虹电器股份有限公司 A positioning system based on a WIFI and a method thereof
CN103728644A (en) * 2013-12-25 2014-04-16 李青花 Positioning system and positioning method
CN105142214A (en) * 2015-07-23 2015-12-09 中国联合网络通信集团有限公司 WLAN hotspot positioning information acquisition method and corresponding terminal
CN105527643A (en) * 2015-12-22 2016-04-27 北京奇虎科技有限公司 Positioning method for mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN107436443A (en) 2017-12-05

Similar Documents

Publication Publication Date Title
CN107436443B (en) Position information output method and device
EP2680039B1 (en) Indoor/outdoor differentiation using radio frequency (RF) transmitters
AU2010304861B2 (en) Improvements in or relating to radio navigation
US9377519B2 (en) Server-based mobile device regional candidate position fix mode selection
CN106658701B (en) Positioning method and device
US10330792B2 (en) Repair of carrier-phase cycle slips using displacement data
US11057742B2 (en) Methods for facilitating a relative position determination
CN106443733B (en) A kind of positioning system and method for unmanned plane
CN111044050B (en) Bluetooth positioning method based on particle filtering and Kalman filtering
EP2972492A2 (en) Mobile device positioning responsive to externally generated regional candidate position fix mode selection
CN111781619B (en) Positioning method, device, equipment and storage medium based on near field communication network
JP2011179946A (en) Position estimating method and position estimating system
CA2903460A1 (en) Techniques to improve the performance of a fixed, timing-based radio positioning network using external assistance information
CN103763773A (en) Method and device for locating mobile terminal
CN113093250B (en) Pseudo-range observation data restoration method, positioning information determination method and device
JP6541044B2 (en) Mobile computing device location method and mobile computing device for performing the same
CN109416393B (en) Object tracking method and system
CN105527641A (en) Positioning method, positioning system and terminal
US8615031B2 (en) Signal processing method, correlator, software signal receiver by using code cycle
WO2018052738A1 (en) Detection of outlier range measurements using spatial displacement data
CN110366239B (en) Positioning method and device integrating signal intensity and storage medium
US10306585B2 (en) Signal determining method and apparatus
EP2827176A1 (en) Method and receiver for determining system time of a navigation system
KR20150107056A (en) Apparatus and method for estimating indoor position
CN112578336B (en) Positioning result calibration 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
TA01 Transfer of patent application right

Effective date of registration: 20200417

Address after: 310012 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 100102, Beijing, Chaoyang District, Wangjing, Tong Tung Street East Square International Center, block A, 16

Applicant before: AUTONAVI INFORMATION TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant