WO2016070767A1 - Positioning data acquisition method and device - Google Patents

Positioning data acquisition method and device Download PDF

Info

Publication number
WO2016070767A1
WO2016070767A1 PCT/CN2015/093578 CN2015093578W WO2016070767A1 WO 2016070767 A1 WO2016070767 A1 WO 2016070767A1 CN 2015093578 W CN2015093578 W CN 2015093578W WO 2016070767 A1 WO2016070767 A1 WO 2016070767A1
Authority
WO
WIPO (PCT)
Prior art keywords
user equipment
real
time
reported
wireless access
Prior art date
Application number
PCT/CN2015/093578
Other languages
French (fr)
Chinese (zh)
Inventor
段航
Original Assignee
高德软件有限公司
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 高德软件有限公司 filed Critical 高德软件有限公司
Publication of WO2016070767A1 publication Critical patent/WO2016070767A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • 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/48Determining position by combining or switching between position solutions derived from the satellite radio beacon positioning system and position solutions derived from a further system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/10Scheduling measurement reports ; Arrangements for measurement reports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services

Definitions

  • the present invention relates to the field of positioning data collection, and in particular to a positioning data collection method and apparatus.
  • satellite positioning signals can be used for positioning.
  • accurate positioning cannot be achieved.
  • the positioning data of the location is manually collected by the staff in advance, and the collected positioning data may include: location coordinates, and collecting terminal access at the location coordinates.
  • the information of the wireless access point and the base station, wherein the wireless access point may include a WIFI access point, etc., and the location coordinates may be determined by using an indoor map or the like.
  • the collected positioning data is uploaded to the server, and the server processes the collected positioning data, and stores the processed positioning data into the positioning database.
  • the data stored in the location database may include a correspondence between location coordinates and a wireless access point.
  • the server may perform positioning on the user equipment according to the information of the wireless access point detected by the user equipment according to the correspondence between the location coordinates stored in the positioning database and the wireless access point.
  • the collected positioning data is not limited to the above purposes, and other uses are not described herein.
  • the acquisition method has at least the following problems: 1) When the collected staff is not standardized, the result of the acquisition may also have a large error, resulting in an increase in positioning error. 2) In reality, there are a large number of areas that need to collect positioning data, and manual acquisition is difficult to meet the needs of large-area data collection.
  • the invention provides a positioning data collection method and device to achieve at least automatic acquisition of positioning data.
  • the invention provides a positioning data collection method, comprising:
  • Obtaining a real-time mobile parameter of the user equipment where the real-time mobile parameter includes: a real-time moving direction of the user equipment and a real-time moving step;
  • Real-time detecting information of the wireless access point and/or the base station accessed by the user equipment
  • the method further includes:
  • the method further includes:
  • Determining whether the moving distance is greater than the first preset distance value, and if yes, executing the real-time location coordinate reported to the user equipment by the server and the wireless detected by the user equipment The step of the information of the access point and/or the base station, wherein the moving distance of the real-time position coordinate of the user equipment to the reference coordinate is greater than the first preset distance value.
  • the determining a moving distance between the real-time location coordinates of the user equipment currently being reported and the real-time location coordinates of the user equipment that was last reported includes:
  • the difference is determined as the moving distance of the real-time location coordinates of the user equipment currently being reported and the real-time location coordinates of the user equipment that was last reported.
  • the invention also provides a positioning data collection device, the device comprising:
  • a first determining module configured to determine whether a positioning error of a satellite positioning signal of the user equipment is greater than a preset error upper limit value
  • a first acquiring module configured to acquire, when the result of the first determining module is YES, a reference coordinate of the user equipment, where the reference coordinate is the last time that the positioning error is less than the preset error upper limit value User position coordinates determined from satellite positioning signals;
  • a second acquiring module configured to acquire a real-time moving parameter of the user equipment, where the real-time moving parameter includes: a real-time moving direction of the user equipment and a real-time moving step;
  • a first determining module configured to determine real-time location coordinates of the user equipment according to a real-time moving direction of the user equipment, the real-time moving step, a preset moving step, and the reference coordinate;
  • a detecting module configured to detect information of a wireless access point and/or a base station accessed by the user equipment in real time
  • the reporting module is configured to report, to the server, real-time location coordinates of the user equipment, and information about the wireless access point and/or the base station detected by the user equipment.
  • the device further comprises:
  • a third acquiring module configured to acquire, by the user equipment currently being reported, the number of wireless access points and/or base stations detected by the user equipment;
  • a first comparison module configured to compare the number of wireless access points and/or base stations currently being reported to be compared with the number of wireless access points and/or base stations detected by the user equipment reported last time Relative
  • the first triggering module is configured to trigger the reporting module when the rate of change obtained by the first comparing module is greater than a preset rate of change threshold.
  • the device further comprises:
  • a second determining module configured to determine a moving distance of the real-time location coordinates of the user equipment currently being reported and the real-time location coordinates of the user equipment that was last reported;
  • a second determining module configured to determine whether the moving distance is greater than the first preset distance value
  • the second triggering module is configured to trigger the reporting module when the result of the second determining module is YES.
  • the second determining module comprises:
  • a first determining sub-module configured to determine a moving distance of the real-time position coordinate of the user equipment that is currently to be reported with respect to the reference coordinate, and a real-time position coordinate of the user equipment that was last reported, with respect to the reference coordinate The difference in moving distance;
  • the second determining sub-module is configured to determine the difference as the moving distance of the real-time location coordinates of the user equipment currently being reported and the real-time location coordinates of the user equipment that was last reported.
  • the positioning data collection method In the positioning data collection method provided by the present invention, firstly, when the positioning error of the satellite positioning signal of the user equipment is greater than a preset error upper limit value, the real-time moving parameter of the user equipment is obtained. Secondly, determining real-time position coordinates of the user equipment according to the real-time movement parameter. Finally, the detected real-time location coordinates of the user equipment, the wireless access point accessed by the user equipment, and/or the information of the base station are reported to the server.
  • the present invention determines whether the user enters the room by determining the relationship between the positioning error of the satellite positioning signal of the user equipment and the preset error upper limit value, and when the positioning error is greater than the error upper limit value, that is, determining
  • the real-time location coordinates of the user equipment are determined by real-time movement parameters of the user equipment acquired in real time, thereby realizing automatic collection of positioning data by the user equipment when the user enters the room.
  • FIG. 1 is a flowchart of a method for collecting positioning data according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a positioning data collection apparatus according to an embodiment of the present invention.
  • the satellite positioning signals are generated by a satellite positioning system, which may include, but is not limited to, a Global Positioning System (GPS), a China Beidou satellite system, a Galileo system in Europe, and the like.
  • GPS Global Positioning System
  • China Beidou satellite system a Galileo system in Europe, and the like.
  • the user equipment may include a mobile terminal, a tablet, a smart wearable device, and the like.
  • the user equipment includes at least one positioning module, such as a GPS module employing the GPS system described above, and the like.
  • the user device may also include a motion sensor for detecting a motion condition.
  • the user equipment acquires real-time mobile parameters of the user equipment, which may be acquired from a motion sensor on the user equipment, or obtained from a device with a function of collecting real-time mobile parameters associated with the user equipment.
  • a computer program unit which can include a processor and a storage device.
  • the computer program element can be stored in a storage device and the processor can execute a computer program unit.
  • FIG. 1 is a flowchart of a positioning data collection method according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps (S101 to S106):
  • S101 Determine whether the positioning error of the satellite positioning signal of the user equipment is greater than a preset upper error limit. The value, if greater, then executes S102. If it is less, it waits for the next positioning signal.
  • the preset error upper limit value is determined by the technician according to the decay rule of the satellite positioning signal during the process of the user equipment entering the room from the outdoor, and the determined determining may be used to determine the positioning of the user equipment from the outdoor to the outdoor. difference.
  • S102 Acquire a reference coordinate of the user equipment, where the reference coordinate is a user position coordinate determined according to a satellite positioning signal when the positioning error is determined to be less than the preset error upper limit.
  • S103 Acquire a real-time mobile parameter of the user equipment, where the real-time mobile parameter includes: a real-time moving direction of the user equipment and a real-time moving step.
  • S104 Determine real-time location coordinates of the user equipment according to the real-time moving direction of the user equipment, the real-time moving step, the preset moving step, and the reference coordinate.
  • S105 Real-time detection of information of the wireless access point and/or the base station accessed by the user equipment.
  • Step S105 and step S101-104 are executed concurrently by two threads, and the numbering is only for the purpose of satisfying the sequence number in the writing process, and is not a limitation on the execution order.
  • S106 Report real-time location coordinates of the user equipment to the server, and information about the wireless access point and/or the base station detected by the user equipment.
  • the positioning error of the satellite positioning signal of the user equipment is determined by the accuracy of the satellite positioning signal. That is to say, the higher the accuracy of the satellite positioning signal, the smaller the positioning error.
  • the user equipment detects the positioning error of the satellite positioning signal in real time. When it is determined that the positioning error of the satellite positioning signal of the user equipment is greater than a preset error upper limit value, that is, when the user equipment enters the room, the real-time movement parameter of the user equipment is obtained.
  • step 102 it may be determined whether the positioning error of the satellite positioning signal continuously exceeds the upper limit of the error reaches a predetermined number of times, after reaching Step 102 is performed, or after determining that the positioning error of the satellite positioning signal of the user equipment is gradually increased from a small value to a predetermined upper error limit value, step 102 is performed. Other methods are not described here.
  • acquiring the real-time mobile parameter of the user equipment may be obtained from a motion sensor on the user equipment, or obtained from a device with a function of collecting real-time mobile parameters associated with the user equipment.
  • the device connected to the user equipment may be a smart watch with real-time mobile parameter collection capability, etc., and a common user may carry the smart watch with the smart watch when wearing the smart watch.
  • the user equipment makes an association connection, so that the user equipment can acquire the data of the smart watch.
  • determining the real-time location coordinates of the user equipment may determine the user according to the real-time moving direction of the user equipment, the real-time moving step, the preset moving step, and the reference coordinate by using an inertial navigation technique.
  • the real-time location coordinates of the device may include, but are not limited to, the following methods.
  • the real-time position coordinates are determined by combining the reference coordinates of the user equipment with the displacement of the user equipment with respect to the reference coordinates.
  • the real-time position coordinates may also be determined by combining the reference coordinates of the user equipment with the reference position of the user equipment with respect to the reference coordinate when the real-time position coordinates of the user equipment are determined for the first time. Each time the real-time position coordinates are determined, the real-time position coordinates are determined in conjunction with the displacement of the user equipment relative to the last determined real-time position coordinate with the closest last determined real-time position coordinate as a starting point. Above, the displacement can be calculated using the inertial navigation technique through the determined starting point and the acquired real-time movement parameters.
  • the subsequent real-time position coordinates can be calculated by using the reference coordinates as a starting point, which can improve the accuracy of the real-time position coordinates.
  • the error of the real-time position coordinates may increase due to the error of the real-time position coordinates.
  • the user position coordinate determined according to the satellite positioning signal is used as the reference coordinate when the positioning error of the satellite positioning signal is less than the preset error upper limit value, and the positioning of the satellite positioning signal is considered in the process.
  • the error may be large, and the satellite positioning accuracy is low. If the coordinates of the satellite positioning are directly used as reference coordinates, the accurate position of the user equipment may not be accurately reflected. Therefore, in an optional implementation manner of the embodiment of the present invention, when the positioning error of the last satellite positioning signal is less than the preset error upper limit value, the historical position before the moment is also considered, and the comprehensive historical position and the The position of the moment determines the coordinates of the user equipment and uses the coordinates as the reference coordinates.
  • the historical position can be a position within a set time, and the like. It is determined that the accuracy of the reference coordinates can be improved by the optional embodiment, and the accuracy of subsequent processing is further improved.
  • the wireless access point may include a WIFI access point; the base station in the mobile communication may include multiple types, which is not limited herein.
  • the information of the wireless access point includes at least a zone for unique use.
  • the identification information of the different wireless access points for example, the Media Access Control (MAC) address of the WIFI access point.
  • the information of the wireless access point may further include: an access point name of the WIFI access point, an encryption method of the WIFI access point, and the like.
  • the information of the base station includes at least information for uniquely identifying the base station.
  • only the wireless access point information accessed by the user equipment may be monitored, or only the base station information accessed by the user equipment may be detected, or the wireless access point and the base station accessed by the user equipment may also be detected at the same time. information. Specifically, when the user equipment does not insert a communication card (such as a mobile phone card), the user equipment does not detect the base station information.
  • a communication card such as a mobile phone card
  • the above-mentioned real-time detected wireless access point and/or base station may include one or more, and report information of multiple wireless access points and/or base stations to the server when there are multiple wireless access points and/or base stations.
  • the user terminal may scan the wireless access network signal, and the scanning behavior may be periodic or other forms, which are not enumerated here.
  • the information of the wireless access point is reported to the server, the information of the latest wireless access point detected is preferably reported.
  • reporting real-time location coordinates of the user equipment and information of the wireless access point and/or the base station to the server may increase the usage of the user equipment data traffic, and may increase the use of the computing resources of the user equipment, which may increase the user.
  • the power consumption of the device may increase the embodiments of the present invention.
  • the change of the wireless access point and/or the base station detected by the user equipment may include: adding a wireless access point, a base station, and/or reducing wireless access. Point, base station.
  • the change of the wireless access point and the base station reaches a preset condition, the above S106 is performed. For example, after the user equipment moves, several new wireless access points, base stations are added, or several wireless access points, base stations, or both increased and decreased wireless access points and base stations are reduced.
  • the number of wireless access points and/or base stations detected by the user equipment currently being reported may be acquired first.
  • the number of wireless access points and/or base stations currently being reported to be reported and the number of wireless access points and/or base stations detected by the user equipment reported last time The quantity is compared, and the rate of change of the quantity currently being reported is compared with the quantity reported last time. If the rate of change is greater than the preset rate of change threshold, the user equipment reports the real-time location coordinates of the user equipment and the information of the wireless access point and/or the base station detected by the user equipment to the server.
  • the real-time location coordinates of the user equipment are generally updated when the wireless access point and/or the base station detected by the user equipment changes.
  • the foregoing determining whether the change of the wireless access point and/or the base station detected by the user equipment reaches a preset condition may be performed between S104 and S106, or may be performed between S101 and S104.
  • the foregoing step S104 is performed, so that the real-time position coordinate of the user equipment can be avoided when the data is not required to be reported. At least, the occupation of computing resources of the user equipment can be reduced.
  • the moving distance of the real-time position coordinate of the user equipment relative to the real-time position coordinate of the last report may be calculated according to two real-time position coordinates, optionally considering that the reference coordinate is determined when the error of the satellite positioning signal is small. Therefore, the accuracy of the reference coordinates is higher relative to other real-time position coordinates of the user equipment.
  • the difference between the two distances is determined as the real-time position of the user equipment by determining the moving distance of the user equipment relative to the reference coordinate and the moving distance of the real-time position coordinate of the user equipment that was last reported relative to the reference coordinate.
  • the moving distance of the coordinate relative to the real-time position coordinate at the time of the last report thereby determining whether the moving distance reaches the first preset distance value. When the change value reaches the first preset distance value, S106 is performed.
  • FIG. 2 is a schematic structural diagram of a positioning data collection device according to an embodiment of the present invention. As shown in FIG. 2, the device includes the following modules (201 to 206). :
  • the first determining module 201 is configured to determine whether a positioning error of the satellite positioning signal of the user equipment is greater than a preset error upper limit value
  • the first obtaining module 202 is configured to acquire, when the result of the first determining module is YES, a reference coordinate of the user equipment, where the reference coordinate is the last time that the positioning error is less than the preset error upper limit.
  • the second obtaining module 203 is configured to acquire a real-time moving parameter of the user equipment, where the real-time moving parameter includes: a real-time moving direction of the user equipment and a real-time moving step;
  • the first determining module 204 is configured to determine real-time location coordinates of the user equipment according to the real-time moving direction of the user equipment, the real-time moving step, the preset moving step, and the reference coordinate;
  • the detecting module 205 is configured to detect information of the wireless access point and/or the base station accessed by the user equipment in real time;
  • the reporting module 206 is configured to report, to the server, real-time location coordinates of the user equipment, and information about the wireless access point and/or the base station detected by the user equipment.
  • the obtaining module 203 may be configured to acquire a mobile parameter of the user equipment from a motion sensor on the user equipment, or obtain a device with a function of collecting a mobile parameter that is associated with the user equipment.
  • the obtaining module 203 may be in the satellite positioning signal.
  • the moving parameter of the user equipment is obtained when the number of times that the strength is continuously lower than the preset value reaches a predetermined number of times, or when the preset value is lower than the preset value for a certain period of time.
  • the device may further include:
  • a third acquiring module configured to acquire the wireless access detected by the user equipment that is currently scheduled to be reported The number of points and/or base stations;
  • a first comparison module configured to compare the number of wireless access points and/or base stations currently being reported to be compared with the number of wireless access points and/or base stations detected by the user equipment that was last reported;
  • the first triggering module is configured to trigger the reporting module when the rate of change obtained by the first comparing module is greater than a preset rate of change threshold.
  • the device may further include:
  • a second determining module configured to determine a moving distance of the real-time location coordinates of the user equipment currently being reported and the real-time location coordinates of the user equipment that was last reported;
  • a second determining module configured to determine whether the moving distance is greater than the first preset distance value
  • the second triggering module is configured to trigger the reporting module when the result of the second determining module is YES.
  • the first time is reported that the moving distance of the real-time location coordinate of the user equipment to the reference coordinate is greater than the first preset distance value.
  • the second determining module includes:
  • a first determining sub-module configured to determine a moving distance of the real-time position coordinate of the user equipment that is currently to be reported with respect to the reference coordinate, and a real-time position coordinate of the user equipment that was last reported, with respect to the reference coordinate The difference in moving distance;
  • the second determining sub-module is configured to determine the difference as the moving distance of the real-time location coordinates of the user equipment currently being reported and the real-time location coordinates of the user equipment that was last reported.
  • the first time is reported as the moving distance of the real-time position coordinate of the user equipment to the reference coordinate reaches the first preset distance value.
  • the first determining module 204 may include:
  • a first determining unit configured to determine the real-time position coordinate by using the reference coordinate as a starting point in combination with the displacement of the user equipment with respect to the reference coordinate, each time determining the real-time position coordinate;
  • a second determining unit configured to determine, according to the displacement of the user equipment with respect to the reference coordinate, the real-time position coordinate, when the real-time position coordinate is determined for the first time; Each time the real-time position coordinate is determined, the real-time position coordinate determined last time is a starting point, and the current real-time position coordinate is determined in conjunction with the displacement of the user equipment with respect to the last determined real-time position coordinate.
  • the positioning data collection device acquires the real-time movement parameter of the user equipment when the positioning error of the satellite positioning signal of the user equipment is greater than a preset error upper limit value. Secondly, determining real-time position coordinates of the user equipment according to the real-time movement parameter. Finally, the detected real-time location coordinates of the user equipment, the wireless access point accessed by the user equipment, and/or the information of the base station are reported to the server. Compared with the prior art, the embodiment of the present invention implements automatic collection of positioning data by using a user equipment.
  • the device embodiment since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.

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)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed in an embodiment of the present invention are a positioning data acquisition method and device, the method comprising: determining whether a positioning error of a satellite positioning signal of a user equipment (UE) is greater than a preset error upper limit value, and if so, then acquiring a reference coordinate of the UE, the reference coordinate being a user position coordinate determined according to a satellite positioning signal when last determining that the positioning error is less than the preset error upper limit value; acquiring a real-time movement parameter of the UE, the real-time movement parameter comprising a real-time movement direction and a real-time movement step number of the UE; according to the real-time movement direction, the real-time movement step number, the preset movement step length and the reference coordinate of the UE, determining the real-time position coordinate of the UE; detecting in real time the information of a base station and/or a wireless access point accessed by the UE; and reporting to a server the real-time position coordinate of the UE, and the information of the base station and/or the wireless access point detected by the UE. The present invention at least realizes automatic acquisition of positioning data.

Description

一种定位数据采集方法和装置Positioning data acquisition method and device
本申请要求于2014年11月06日提交中国专利局、申请号为201410637541.5、发明名称为“一种定位数据采集方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. 201410637541.5, entitled "A locating data collection method and apparatus" on November 6, 2014, the entire contents of which is incorporated herein by reference. in.
技术领域Technical field
本发明涉及定位数据采集领域,具体涉及一种定位数据采集方法和装置。The present invention relates to the field of positioning data collection, and in particular to a positioning data collection method and apparatus.
背景技术Background technique
随着定位技术的发展,可以利用卫星定位信号实现定位。但是,对于卫星定位信号较弱或者无卫星定位信号的场所,如室内、隧道等,无法实现准确定位。With the development of positioning technology, satellite positioning signals can be used for positioning. However, for places with weak satellite positioning signals or no satellite positioning signals, such as indoors and tunnels, accurate positioning cannot be achieved.
为了对卫星定位信号难以定位的场所进行定位,相关技术中,由工作人员预先对这些场所的定位数据进行人工采集,采集的定位数据可以包括:位置坐标,以及在该位置坐标上采集终端接入的无线接入点、基站的信息,其中,无线接入点可以包括WIFI接入点等,位置坐标可以利用室内地图等工具确定。In order to locate a location where the satellite positioning signal is difficult to locate, in the related art, the positioning data of the location is manually collected by the staff in advance, and the collected positioning data may include: location coordinates, and collecting terminal access at the location coordinates. The information of the wireless access point and the base station, wherein the wireless access point may include a WIFI access point, etc., and the location coordinates may be determined by using an indoor map or the like.
工作人员完成采集后,将采集到的定位数据上传到服务器中,服务器对采集到的定位数据进行处理,将经过处理后的定位数据存入定位数据库。一般的,存入定位数据库的数据可以包括位置坐标与无线接入点的对应关系。After the staff completes the collection, the collected positioning data is uploaded to the server, and the server processes the collected positioning data, and stores the processed positioning data into the positioning database. Generally, the data stored in the location database may include a correspondence between location coordinates and a wireless access point.
当用户设备处于卫星定位信号难以定位的场所时,服务器可以根据用户设备检测到的无线接入点的信息,根据定位数据库中存储的位置坐标与无线接入点的对应关系实现对用户设备的定位。当然,采集到的定位数据并不限于上述的用途,其他用途在此不再赘述。When the user equipment is in a location where the satellite positioning signal is difficult to locate, the server may perform positioning on the user equipment according to the information of the wireless access point detected by the user equipment according to the correspondence between the location coordinates stored in the positioning database and the wireless access point. . Of course, the collected positioning data is not limited to the above purposes, and other uses are not described herein.
然而,相关技术中的定位数据采集需要工作人员参与,这种采集方法至少存在以下问题:1)当采集的工作人员作业不规范时,采集的结果也会存在较大误差,从而导致定位误差增加;2)现实情况下,存在大量的区域需要采集定位数据,人工采集难以满足大面积数据采集的需求。 However, the positioning data collection in the related art requires the participation of the staff. The acquisition method has at least the following problems: 1) When the collected staff is not standardized, the result of the acquisition may also have a large error, resulting in an increase in positioning error. 2) In reality, there are a large number of areas that need to collect positioning data, and manual acquisition is difficult to meet the needs of large-area data collection.
发明内容Summary of the invention
本发明提供了一种定位数据采集方法和装置,以至少实现定位数据的自动采集。The invention provides a positioning data collection method and device to achieve at least automatic acquisition of positioning data.
本发明提供了一种定位数据采集方法,包括:The invention provides a positioning data collection method, comprising:
判断用户设备的卫星定位信号的定位误差是否大于预设的误差上限值,如果大于,则获取所述用户设备的参考坐标,所述参考坐标是最后一次判断得到定位误差小于所述预设误差上限值时根据卫星定位信号确定的用户位置坐标;Determining whether the positioning error of the satellite positioning signal of the user equipment is greater than a preset error upper limit value, if it is greater than, acquiring a reference coordinate of the user equipment, where the reference coordinate is the last time that the positioning error is less than the preset error The user position coordinate determined according to the satellite positioning signal at the upper limit value;
获取所述用户设备的实时移动参数,其中,所述实时移动参数包括:所述用户设备的实时移动方向和实时移动步数;Obtaining a real-time mobile parameter of the user equipment, where the real-time mobile parameter includes: a real-time moving direction of the user equipment and a real-time moving step;
根据所述用户设备的实时移动方向、所述实时移动步数、预设的移动步长以及所述参考坐标,确定所述用户设备的实时位置坐标;Determining real-time position coordinates of the user equipment according to the real-time moving direction of the user equipment, the real-time moving step, the preset moving step, and the reference coordinate;
实时检测所述用户设备接入的无线接入点和/或基站的信息;Real-time detecting information of the wireless access point and/or the base station accessed by the user equipment;
向服务器上报所述用户设备的实时位置坐标,以及所述用户设备检测到的无线接入点和/或基站的信息。And reporting, to the server, real-time location coordinates of the user equipment, and information of the wireless access point and/or the base station detected by the user equipment.
优选地,在向服务器上报所述用户设备的实时位置坐标,以及所述用户设备检测到的无线接入点和/或基站的信息之前,还包括:Preferably, before the real-time location coordinates of the user equipment and the information of the wireless access point and/or the base station detected by the user equipment are reported to the server, the method further includes:
获取当前准备上报的所述用户设备检测到的无线接入点和/或基站的数量;Obtaining, by the user equipment currently being reported, the number of wireless access points and/or base stations detected by the user equipment;
将所述当前准备上报的无线接入点和/或基站的数量与上一次上报的所述用户设备检测到的无线接入点和/或基站的数量进行比较,如果变化率大于预设的变化率阈值,则执行所述向服务器上报所述用户设备的实时位置坐标以及所述用户设备检测到的无线接入点和/或基站的信息的步骤。Comparing the number of wireless access points and/or base stations currently being reported to be compared with the number of wireless access points and/or base stations detected by the user equipment reported last time, if the rate of change is greater than a preset change And the step of reporting the real-time location coordinates of the user equipment and the information of the wireless access point and/or the base station detected by the user equipment to the server.
优选地,在向服务器上报所述用户设备的实时位置坐标,以及所述用户设备检测到的无线接入点和/或基站的信息之前,还包括:Preferably, before the real-time location coordinates of the user equipment and the information of the wireless access point and/or the base station detected by the user equipment are reported to the server, the method further includes:
确定当前准备上报的所述用户设备的实时位置坐标与上一次上报的所述用户设备的实时位置坐标的移动距离;Determining a moving distance between the real-time location coordinates of the user equipment currently being reported and the real-time location coordinates of the user equipment that was last reported;
判断所述移动距离是否大于所述第一预设距离值,如果大于,则执行所述向服务器上报所述用户设备的实时位置坐标以及所述用户设备检测到的无线 接入点和/或基站的信息的步骤,其中,第一次上报为所述用户设备的实时位置坐标到所述参考坐标的移动距离大于所述第一预设距离值。Determining whether the moving distance is greater than the first preset distance value, and if yes, executing the real-time location coordinate reported to the user equipment by the server and the wireless detected by the user equipment The step of the information of the access point and/or the base station, wherein the moving distance of the real-time position coordinate of the user equipment to the reference coordinate is greater than the first preset distance value.
优选地,所述确定当前准备上报的所述用户设备的实时位置坐标与上一次上报的所述用户设备的实时位置坐标的移动距离,包括:Preferably, the determining a moving distance between the real-time location coordinates of the user equipment currently being reported and the real-time location coordinates of the user equipment that was last reported, includes:
确定当前准备上报的所述用户设备的实时位置坐标相对于所述参考坐标的移动距离与上一次上报的所述用户设备的实时位置坐标相对于所述参考坐标的移动距离的差值;Determining a difference between a moving distance of the real-time position coordinate of the user equipment currently being reported and the moving distance of the user equipment and a moving distance of the real-time position coordinate of the user equipment that is last reported with respect to the reference coordinate;
将所述差值确定为当前准备上报的所述用户设备的实时位置坐标与上一次上报的所述用户设备的实时位置坐标的移动距离。The difference is determined as the moving distance of the real-time location coordinates of the user equipment currently being reported and the real-time location coordinates of the user equipment that was last reported.
本发明还提供一种定位数据采集装置,所述装置包括:The invention also provides a positioning data collection device, the device comprising:
第一判断模块,用于判断用户设备的卫星定位信号的定位误差是否大于预设的误差上限值;a first determining module, configured to determine whether a positioning error of a satellite positioning signal of the user equipment is greater than a preset error upper limit value;
第一获取模块,用于在所述第一判断模块的结果为是时,获取所述用户设备的参考坐标,所述参考坐标是最后一次判断得到定位误差小于所述预设误差上限值时根据卫星定位信号确定的用户位置坐标;a first acquiring module, configured to acquire, when the result of the first determining module is YES, a reference coordinate of the user equipment, where the reference coordinate is the last time that the positioning error is less than the preset error upper limit value User position coordinates determined from satellite positioning signals;
第二获取模块,用于获取所述用户设备的实时移动参数,其中,所述实时移动参数包括:所述用户设备的实时移动方向和实时移动步数;a second acquiring module, configured to acquire a real-time moving parameter of the user equipment, where the real-time moving parameter includes: a real-time moving direction of the user equipment and a real-time moving step;
第一确定模块,用于根据所述用户设备的实时移动方向、所述实时移动步数、预设的移动步长以及所述参考坐标,确定所述用户设备的实时位置坐标;a first determining module, configured to determine real-time location coordinates of the user equipment according to a real-time moving direction of the user equipment, the real-time moving step, a preset moving step, and the reference coordinate;
检测模块,用于实时检测所述用户设备接入的无线接入点和/或基站的信息;a detecting module, configured to detect information of a wireless access point and/or a base station accessed by the user equipment in real time;
上报模块,用于向服务器上报所述用户设备的实时位置坐标,以及所述用户设备检测到的无线接入点和/或基站的信息。The reporting module is configured to report, to the server, real-time location coordinates of the user equipment, and information about the wireless access point and/or the base station detected by the user equipment.
优选地,所述装置还包括:Preferably, the device further comprises:
第三获取模块,用于获取当前准备上报的所述用户设备检测到的无线接入点和/或基站的数量;a third acquiring module, configured to acquire, by the user equipment currently being reported, the number of wireless access points and/or base stations detected by the user equipment;
第一比较模块,用于将所述当前准备上报的无线接入点和/或基站的数量与上一次上报的所述用户设备检测到的无线接入点和/或基站的数量进行比 较;a first comparison module, configured to compare the number of wireless access points and/or base stations currently being reported to be compared with the number of wireless access points and/or base stations detected by the user equipment reported last time Relative
第一触发模块,用于在所述第一比较模块得到的变化率大于预设的变化率阈值时,触发所述上报模块。The first triggering module is configured to trigger the reporting module when the rate of change obtained by the first comparing module is greater than a preset rate of change threshold.
优选地,所述装置还包括:Preferably, the device further comprises:
第二确定模块,用于确定当前准备上报的所述用户设备的实时位置坐标与上一次上报的所述用户设备的实时位置坐标的移动距离;a second determining module, configured to determine a moving distance of the real-time location coordinates of the user equipment currently being reported and the real-time location coordinates of the user equipment that was last reported;
第二判断模块,用于判断所述移动距离是否大于所述第一预设距离值;a second determining module, configured to determine whether the moving distance is greater than the first preset distance value;
第二触发模块,用于在所述第二判断模块的结果为是时,触发所述上报模块。The second triggering module is configured to trigger the reporting module when the result of the second determining module is YES.
优选地,所述第二确定模块包括:Preferably, the second determining module comprises:
第一确定子模块,用于确定当前准备上报的所述用户设备的实时位置坐标相对于所述参考坐标的移动距离与上一次上报的所述用户设备的实时位置坐标相对于所述参考坐标的移动距离的差值;a first determining sub-module, configured to determine a moving distance of the real-time position coordinate of the user equipment that is currently to be reported with respect to the reference coordinate, and a real-time position coordinate of the user equipment that was last reported, with respect to the reference coordinate The difference in moving distance;
第二确定子模块,用于将所述差值确定为当前准备上报的所述用户设备的实时位置坐标与上一次上报的所述用户设备的实时位置坐标的移动距离。The second determining sub-module is configured to determine the difference as the moving distance of the real-time location coordinates of the user equipment currently being reported and the real-time location coordinates of the user equipment that was last reported.
本发明提供的定位数据采集方法中,首先在用户设备的卫星定位信号的定位误差大于预设的误差上限值时,获取所述用户设备的实时移动参数。其次,根据所述实时移动参数确定所述用户设备的实时位置坐标。最终,将检测到的用户设备的实时位置坐标、所述用户设备接入的无线接入点和/或基站的信息上报至服务器。与现有技术相比,本发明通过判断用户设备的卫星定位信号的定位误差与预设的误差上限值的关系,确定用户是否进入室内,当定位误差大于误差上限值时,也就是确定用户进入室内时,通过实时获取的用户设备的实时移动参数确定用户设备的实时位置坐标,从而实现了在用户进入室内时利用用户设备自动采集定位数据。In the positioning data collection method provided by the present invention, firstly, when the positioning error of the satellite positioning signal of the user equipment is greater than a preset error upper limit value, the real-time moving parameter of the user equipment is obtained. Secondly, determining real-time position coordinates of the user equipment according to the real-time movement parameter. Finally, the detected real-time location coordinates of the user equipment, the wireless access point accessed by the user equipment, and/or the information of the base station are reported to the server. Compared with the prior art, the present invention determines whether the user enters the room by determining the relationship between the positioning error of the satellite positioning signal of the user equipment and the preset error upper limit value, and when the positioning error is greater than the error upper limit value, that is, determining When the user enters the room, the real-time location coordinates of the user equipment are determined by real-time movement parameters of the user equipment acquired in real time, thereby realizing automatic collection of positioning data by the user equipment when the user enters the room.
附图说明DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请 的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. Obviously, the drawings in the following description are only the present application. Some embodiments of the present invention can be obtained by those skilled in the art from the drawings without any inventive labor.
图1为本发明实施例提供的定位数据采集方法的流程图;FIG. 1 is a flowchart of a method for collecting positioning data according to an embodiment of the present invention;
图2为本发明实施例提供的定位数据采集装置的结构示意图。FIG. 2 is a schematic structural diagram of a positioning data collection apparatus according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the drawings in the embodiments of the present application. It is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
在以下实施例中,卫星定位信号由卫星定位系统产生,卫星定位系统可以包括:全球定位系统(GPS)、中国北斗卫星系统、欧洲的伽利略系统等,但不限于此。In the following embodiments, the satellite positioning signals are generated by a satellite positioning system, which may include, but is not limited to, a Global Positioning System (GPS), a China Beidou satellite system, a Galileo system in Europe, and the like.
在以下实施例中,用户设备可以包括移动终端、平板电脑、智能可穿戴设备等。用户设备包括至少一个定位模块,例如采用上述GPS系统的GPS模块等。用户设备还可以包括用于检测运动状况的运动传感器。In the following embodiments, the user equipment may include a mobile terminal, a tablet, a smart wearable device, and the like. The user equipment includes at least one positioning module, such as a GPS module employing the GPS system described above, and the like. The user device may also include a motion sensor for detecting a motion condition.
在以下实施例中,用户设备获取用户设备的实时移动参数,可以包括从用户设备上的运动传感器上获取,或者从与该用户设备关联连接的具有采集实时移动参数功能的设备获取的。In the following embodiments, the user equipment acquires real-time mobile parameters of the user equipment, which may be acquired from a motion sensor on the user equipment, or obtained from a device with a function of collecting real-time mobile parameters associated with the user equipment.
可以预料的是,以下实施例所述的方法及装置可以通过计算机程序单元实现,用户设备可以包括处理器和存储装置。计算机程序单元可以存储在存储装置中,处理器可以执行计算机程序单元。It is to be expected that the methods and apparatus described in the following embodiments can be implemented by a computer program unit, which can include a processor and a storage device. The computer program element can be stored in a storage device and the processor can execute a computer program unit.
下面对本发明实施例进行描述。The embodiments of the present invention are described below.
本发明实施例提供了一种定位数据采集方法,参考图1,图1是本发明实施例的定位数据采集方法的流程图,如图1所示,该方法包括以下步骤(S101至S106):The embodiment of the present invention provides a positioning data collection method. Referring to FIG. 1, FIG. 1 is a flowchart of a positioning data collection method according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps (S101 to S106):
S101:判断用户设备的卫星定位信号的定位误差是否大于预设的误差上限 值,如果大于,则执行S102。如果小于,则等待下一个定位信号。S101: Determine whether the positioning error of the satellite positioning signal of the user equipment is greater than a preset upper error limit. The value, if greater, then executes S102. If it is less, it waits for the next positioning signal.
其中,在本发明实施例中,所述预设的误差上限值是技术人员根据用户设备从室外进入室内过程中卫星定位信号衰退规律,确定的可以用于判断用户设备从室外进入室外的定位误差值。In the embodiment of the present invention, the preset error upper limit value is determined by the technician according to the decay rule of the satellite positioning signal during the process of the user equipment entering the room from the outdoor, and the determined determining may be used to determine the positioning of the user equipment from the outdoor to the outdoor. difference.
S102:获取所述用户设备的参考坐标,所述参考坐标是最后一次判断得到定位误差小于所述预设误差上限值时根据卫星定位信号确定的用户位置坐标。S102: Acquire a reference coordinate of the user equipment, where the reference coordinate is a user position coordinate determined according to a satellite positioning signal when the positioning error is determined to be less than the preset error upper limit.
S103:获取所述用户设备的实时移动参数,其中,所述实时移动参数包括:所述用户设备的实时移动方向和实时移动步数。S103: Acquire a real-time mobile parameter of the user equipment, where the real-time mobile parameter includes: a real-time moving direction of the user equipment and a real-time moving step.
S104:根据所述用户设备的实时移动方向、所述实时移动步数、预设的移动步长以及所述参考坐标,确定所述用户设备的实时位置坐标。S104: Determine real-time location coordinates of the user equipment according to the real-time moving direction of the user equipment, the real-time moving step, the preset moving step, and the reference coordinate.
S105:实时检测所述用户设备接入的无线接入点和/或基站的信息。S105: Real-time detection of information of the wireless access point and/or the base station accessed by the user equipment.
其中,步骤S105与步骤S101-104时是由两个线程并发执行的,编号只是在撰写过程中满足顺序编号的目的,不是对执行顺序的限定。Step S105 and step S101-104 are executed concurrently by two threads, and the numbering is only for the purpose of satisfying the sequence number in the writing process, and is not a limitation on the execution order.
S106:向服务器上报所述用户设备的实时位置坐标,以及所述用户设备检测到的无线接入点和/或基站的信息。S106: Report real-time location coordinates of the user equipment to the server, and information about the wireless access point and/or the base station detected by the user equipment.
在上述S101中,用户设备的卫星定位信号的定位误差是由卫星定位信号的精度决定的。也就是说,卫星定位信号的精度越高定位误差就越小。本实施例中,用户设备实时检测卫星定位信号的定位误差。当确定用户设备的卫星定位信号的定位误差大于预设的误差上限值时,也就是判断得到用户设备进入室内时,获取所述用户设备的实时移动参数。In the above S101, the positioning error of the satellite positioning signal of the user equipment is determined by the accuracy of the satellite positioning signal. That is to say, the higher the accuracy of the satellite positioning signal, the smaller the positioning error. In this embodiment, the user equipment detects the positioning error of the satellite positioning signal in real time. When it is determined that the positioning error of the satellite positioning signal of the user equipment is greater than a preset error upper limit value, that is, when the user equipment enters the room, the real-time movement parameter of the user equipment is obtained.
在实际应用中,为了避免因卫星定位信号的暂时波动而导致判断结果不准确,可选地,可以判断卫星定位信号的定位误差连续大于上述误差上限值的次数是否达到预定次数,达到后,执行步骤102,或者,判断用户设备的卫星定位信号的定位误差是由小逐渐变大最终大于预设的误差上限值之后,执行步骤102。对于其他方法在此不再一一说明。In practical applications, in order to avoid inaccurate judgment result due to temporary fluctuation of the satellite positioning signal, optionally, it may be determined whether the positioning error of the satellite positioning signal continuously exceeds the upper limit of the error reaches a predetermined number of times, after reaching Step 102 is performed, or after determining that the positioning error of the satellite positioning signal of the user equipment is gradually increased from a small value to a predetermined upper error limit value, step 102 is performed. Other methods are not described here.
如前S103所述,获取用户设备的实时移动参数,可以包括从用户设备上的运动传感器上获取,或者从与该用户设备关联连接的具有采集实时移动参数功能的设备获取。与用户设备关联连接的设备可以是具有实时移动参数采集能力的智能手表等,常见的用户在佩戴智能手表时,可以将智能手表与随身携带 的用户设备进行关联连接,从而使得用户设备可以获取到智能手表的数据。As described in the foregoing S103, acquiring the real-time mobile parameter of the user equipment may be obtained from a motion sensor on the user equipment, or obtained from a device with a function of collecting real-time mobile parameters associated with the user equipment. The device connected to the user equipment may be a smart watch with real-time mobile parameter collection capability, etc., and a common user may carry the smart watch with the smart watch when wearing the smart watch. The user equipment makes an association connection, so that the user equipment can acquire the data of the smart watch.
在上述S104中,确定所述用户设备的实时位置坐标可以利用惯导技术根据所述用户设备的实时移动方向、所述实时移动步数、预设的移动步长以及所述参考坐标,确定用户设备的实时位置坐标,具体方法可以包括但不限于以下方法。In the above S104, determining the real-time location coordinates of the user equipment may determine the user according to the real-time moving direction of the user equipment, the real-time moving step, the preset moving step, and the reference coordinate by using an inertial navigation technique. The real-time location coordinates of the device may include, but are not limited to, the following methods.
具体的,每一次确定用户设备的实时位置坐标时,均以所述用户设备的参考坐标为起点结合所述用户设备相对于所述参考坐标的位移,确定所述实时位置坐标。Specifically, each time determining the real-time position coordinates of the user equipment, the real-time position coordinates are determined by combining the reference coordinates of the user equipment with the displacement of the user equipment with respect to the reference coordinates.
也可以仅在第一次确定所述用户设备的实时位置坐标时,以所述用户设备的参考坐标为起点结合所述用户设备相对于所述参考坐标的位移确定所述实时位置坐标。后续每一次确定所述实时位置坐标时,以最接近的上一次确定的实时位置坐标为起点,结合所述用户设备相对于所述上一次确定的实时位置坐标的位移确定所述实时位置坐标。以上,位移可以利用惯导技术通过确定的起点和获取的实时移动参数计算得到。The real-time position coordinates may also be determined by combining the reference coordinates of the user equipment with the reference position of the user equipment with respect to the reference coordinate when the real-time position coordinates of the user equipment are determined for the first time. Each time the real-time position coordinates are determined, the real-time position coordinates are determined in conjunction with the displacement of the user equipment relative to the last determined real-time position coordinate with the closest last determined real-time position coordinate as a starting point. Above, the displacement can be calculated using the inertial navigation technique through the determined starting point and the acquired real-time movement parameters.
值得注意的是,由于参考坐标较为准确,因此以参考坐标作为起点计算后续的各个实时位置坐标,可以提高实时位置坐标的精确度。而以上一次计算得到的实时位置坐标作为起点时,由于实时位置坐标本身存在误差,可能导致后续各个实时位置坐标的误差增大。It is worth noting that since the reference coordinates are more accurate, the subsequent real-time position coordinates can be calculated by using the reference coordinates as a starting point, which can improve the accuracy of the real-time position coordinates. When the real-time position coordinate obtained by the previous calculation is used as the starting point, the error of the real-time position coordinates may increase due to the error of the real-time position coordinates.
在上述S104中,以最后一次判断得到卫星定位信号的定位误差小于预设的误差上限值时根据卫星定位信号确定的用户位置坐标作为参考坐标,在该过程中,考虑到卫星定位信号的定位误差可能也较大,卫星定位准确度较低,如果直接将该卫星定位的坐标作为参考坐标,可能无法准确的反映出用户设备的准确位置。因此,在本发明实施例的一个可选实施方式中,在最后一次卫星定位信号的定位误差小于预设的误差上限值时,还考虑这一时刻前的历史位置,综合历史位置和这一时刻的位置,确定出用户设备的坐标,将该坐标作为参考坐标。历史位置可以是设定时间之内的位置等。确定通过该可选实施方式,可以提高参考坐标的精度,进一步提高后续处理的准确度。In the above S104, the user position coordinate determined according to the satellite positioning signal is used as the reference coordinate when the positioning error of the satellite positioning signal is less than the preset error upper limit value, and the positioning of the satellite positioning signal is considered in the process. The error may be large, and the satellite positioning accuracy is low. If the coordinates of the satellite positioning are directly used as reference coordinates, the accurate position of the user equipment may not be accurately reflected. Therefore, in an optional implementation manner of the embodiment of the present invention, when the positioning error of the last satellite positioning signal is less than the preset error upper limit value, the historical position before the moment is also considered, and the comprehensive historical position and the The position of the moment determines the coordinates of the user equipment and uses the coordinates as the reference coordinates. The historical position can be a position within a set time, and the like. It is determined that the accuracy of the reference coordinates can be improved by the optional embodiment, and the accuracy of subsequent processing is further improved.
在上述S105中,无线接入点可以包括WIFI接入点;移动通信中的基站可以包括多种类型,在此不作限定。无线接入点的信息至少包括用于唯一的区 分不同无线接入点的标识信息,例如,WIFI接入点的媒体接入控制(Media Access Control,简称为MAC)地址。可选地,无线接入点的信息还可以包括:WIFI接入点的接入点名称、WIFI接入点的加密方法等。基站的信息至少包括用于唯一标识所述基站的信息。In the foregoing S105, the wireless access point may include a WIFI access point; the base station in the mobile communication may include multiple types, which is not limited herein. The information of the wireless access point includes at least a zone for unique use. The identification information of the different wireless access points, for example, the Media Access Control (MAC) address of the WIFI access point. Optionally, the information of the wireless access point may further include: an access point name of the WIFI access point, an encryption method of the WIFI access point, and the like. The information of the base station includes at least information for uniquely identifying the base station.
上述S105中,可能只监测到用户设备接入的无线接入点信息,也可能只检测到用户设备接入的基站信息,或者还可以同时检测到用户设备接入的无线接入点和基站的信息。具体的,当用户设备不插通信卡(如手机卡)时,用户设备是检测不到基站信息的。In the above S105, only the wireless access point information accessed by the user equipment may be monitored, or only the base station information accessed by the user equipment may be detected, or the wireless access point and the base station accessed by the user equipment may also be detected at the same time. information. Specifically, when the user equipment does not insert a communication card (such as a mobile phone card), the user equipment does not detect the base station information.
上述实时检测到的无线接入点和/或基站可以包括一个或多个,在存在多个无线接入点和/或基站时,向服务器上报多个无线接入点和/或基站的信息。在用户设备开启无线接入功能时,用户终端可以对无线接入网信号进行扫描,该扫描行为可以是周期性的,也可以是其他形式的,在此不一一列举。上述S106中,在向服务器上报无线接入点的信息时,优选地上报检测到的最新的无线接入点的信息。The above-mentioned real-time detected wireless access point and/or base station may include one or more, and report information of multiple wireless access points and/or base stations to the server when there are multiple wireless access points and/or base stations. When the user equipment turns on the wireless access function, the user terminal may scan the wireless access network signal, and the scanning behavior may be periodic or other forms, which are not enumerated here. In the above S106, when the information of the wireless access point is reported to the server, the information of the latest wireless access point detected is preferably reported.
上述S106中,向服务器上报用户设备的实时位置坐标和无线接入点和/或基站的信息,可能增加用户设备数据流量的使用量,并且会增加用户设备的计算资源的使用,这可能增加用户设备的电量消耗。为了避免上述问题,本发明实施例提供了几种可选实施方式,下面对本发明实施例的可选实施方式进行描述。In the foregoing S106, reporting real-time location coordinates of the user equipment and information of the wireless access point and/or the base station to the server may increase the usage of the user equipment data traffic, and may increase the use of the computing resources of the user equipment, which may increase the user. The power consumption of the device. In order to avoid the above problems, the embodiments of the present invention provide several alternative embodiments. The following describes an optional implementation manner of the embodiments of the present invention.
可选实施方式一:Optional implementation method 1:
上述S106之前,还可以判断用户设备检测到的无线接入点和/或基站的变化是否达到预设条件,其中,该变化可以包括:新增无线接入点、基站和/或减少无线接入点、基站。在无线接入点、基站的变化达到预设条件时,执行上述S106。例如,用户设备移动后,新增加了几个无线接入点、基站,或者减少了几个无线接入点、基站,或者既有增加又有减少的无线接入点、基站。Before the foregoing S106, it may be further determined whether the change of the wireless access point and/or the base station detected by the user equipment reaches a preset condition, where the change may include: adding a wireless access point, a base station, and/or reducing wireless access. Point, base station. When the change of the wireless access point and the base station reaches a preset condition, the above S106 is performed. For example, after the user equipment moves, several new wireless access points, base stations are added, or several wireless access points, base stations, or both increased and decreased wireless access points and base stations are reduced.
具体的,上述S106之前,可以首先获取当前准备上报的所述用户设备检测到的无线接入点和/或基站的数量。将所述当前准备上报的无线接入点和/或基站的数量与上一次上报的所述用户设备检测到的无线接入点和/或基站的数 量进行比较,并计算当前准备上报的数量与上一次上报的数量相比的变化率。如果变化率大于预设的变化率阈值,则所述用户设备向服务器上报所述用户设备的实时位置坐标以及所述用户设备检测到的无线接入点和/或基站的信息。Specifically, before the foregoing S106, the number of wireless access points and/or base stations detected by the user equipment currently being reported may be acquired first. The number of wireless access points and/or base stations currently being reported to be reported and the number of wireless access points and/or base stations detected by the user equipment reported last time The quantity is compared, and the rate of change of the quantity currently being reported is compared with the quantity reported last time. If the rate of change is greater than the preset rate of change threshold, the user equipment reports the real-time location coordinates of the user equipment and the information of the wireless access point and/or the base station detected by the user equipment to the server.
考虑到在根据用户设备检测到的无线接入点和/或基站进行定位时,一般在用户设备检测到的无线接入点和/或基站发生变化时,更新用户设备的实时位置坐标。通过上述可选实施方式,可以在不影响后续定位效果的情况下减少用户设备上报的数据量。Considering that when the positioning is performed according to the wireless access point and/or the base station detected by the user equipment, the real-time location coordinates of the user equipment are generally updated when the wireless access point and/or the base station detected by the user equipment changes. With the foregoing optional implementation manner, the amount of data reported by the user equipment can be reduced without affecting the subsequent positioning effect.
进一步的,上述判断用户设备检测到的无线接入点和/或基站的变化是否达到预设条件,可以在上述S104和S106之间进行,也可以在上述S101和上述S104之间进行。在上述S101和上述S104之间进行时,当无线接入点和/或基站的变化达到预设条件时,才进行上述步骤S104,从而可以避免在不需要上报数据时计算用户设备的实时位置坐标,至少可以减少用户设备的计算资源的占用。Further, the foregoing determining whether the change of the wireless access point and/or the base station detected by the user equipment reaches a preset condition may be performed between S104 and S106, or may be performed between S101 and S104. When the change between the foregoing S101 and the foregoing S104 is performed, when the change of the wireless access point and/or the base station reaches the preset condition, the foregoing step S104 is performed, so that the real-time position coordinate of the user equipment can be avoided when the data is not required to be reported. At least, the occupation of computing resources of the user equipment can be reduced.
可选实施方式二:Optional implementation method 2:
在上述S106之前,还可以判断用户设备的实时位置坐标相对于上一次上报时的实时位置坐标的移动距离是否达到第一预设距离值,其中,第一次上报为用户设备相对于所述参考坐标的移动距离达到所述第一预设距离值。在上述移动距离达到上述第一预设距离值时,执行S106。通过该可选实施方式,实现了在用户设备发生移动时才上报数据,可以避免冗余数据的上报。Before the foregoing S106, it is further determined whether the moving distance of the real-time position coordinate of the user equipment relative to the real-time position coordinate of the last report reaches the first preset distance value, wherein the first report is the user equipment relative to the reference The moving distance of the coordinates reaches the first preset distance value. When the moving distance reaches the first preset distance value, S106 is performed. With this optional implementation, data is reported when the user equipment moves, and redundant data reporting can be avoided.
用户设备的实时位置坐标相对于上一次上报时的实时位置坐标的移动距离可以根据两个实时位置坐标进行计算,可选地,考虑到参考坐标是在卫星定位信号的误差较小的情况下确定的,所以,相对于用户设备的其他实时位置坐标,参考坐标的精确度较高。本实施例可以通过确定用户设备相对于参考坐标的移动距离,与上一次上报的用户设备的实时位置坐标相对于参考坐标的移动距离,将这两个距离的差值确定为用户设备的实时位置坐标相对于上一次上报时的实时位置坐标的移动距离,进而判断该移动距离是否达到第一预设距离值。在上述变化值达到上述第一预设距离值时,执行S106。The moving distance of the real-time position coordinate of the user equipment relative to the real-time position coordinate of the last report may be calculated according to two real-time position coordinates, optionally considering that the reference coordinate is determined when the error of the satellite positioning signal is small. Therefore, the accuracy of the reference coordinates is higher relative to other real-time position coordinates of the user equipment. In this embodiment, the difference between the two distances is determined as the real-time position of the user equipment by determining the moving distance of the user equipment relative to the reference coordinate and the moving distance of the real-time position coordinate of the user equipment that was last reported relative to the reference coordinate. The moving distance of the coordinate relative to the real-time position coordinate at the time of the last report, thereby determining whether the moving distance reaches the first preset distance value. When the change value reaches the first preset distance value, S106 is performed.
进一步的,还可以结合上述两个可选实施方式,确定是否向服务器上报数据,在此不再详细描述。 Further, the two optional implementation manners described above may be used to determine whether to report data to the server, and details are not described herein.
本发明实施例还提供了一种定位数据采集装置,参考图2,图2是本发明实施例的定位数据采集装置的结构示意图,如图2所示,该装置包括以下模块(201至206):The embodiment of the present invention further provides a positioning data collection device. Referring to FIG. 2, FIG. 2 is a schematic structural diagram of a positioning data collection device according to an embodiment of the present invention. As shown in FIG. 2, the device includes the following modules (201 to 206). :
第一判断模块201,用于判断用户设备的卫星定位信号的定位误差是否大于预设的误差上限值;The first determining module 201 is configured to determine whether a positioning error of the satellite positioning signal of the user equipment is greater than a preset error upper limit value;
第一获取模块202,用于在所述第一判断模块的结果为是时,获取所述用户设备的参考坐标,所述参考坐标是最后一次判断得到定位误差小于所述预设误差上限值时根据卫星定位信号确定的用户位置坐标;The first obtaining module 202 is configured to acquire, when the result of the first determining module is YES, a reference coordinate of the user equipment, where the reference coordinate is the last time that the positioning error is less than the preset error upper limit. User position coordinates determined based on satellite positioning signals;
第二获取模块203,用于获取所述用户设备的实时移动参数,其中,所述实时移动参数包括:所述用户设备的实时移动方向和实时移动步数;The second obtaining module 203 is configured to acquire a real-time moving parameter of the user equipment, where the real-time moving parameter includes: a real-time moving direction of the user equipment and a real-time moving step;
第一确定模块204,用于根据所述用户设备的实时移动方向、所述实时移动步数、预设的移动步长以及所述参考坐标,确定所述用户设备的实时位置坐标;The first determining module 204 is configured to determine real-time location coordinates of the user equipment according to the real-time moving direction of the user equipment, the real-time moving step, the preset moving step, and the reference coordinate;
检测模块205,用于实时检测所述用户设备接入的无线接入点和/或基站的信息;The detecting module 205 is configured to detect information of the wireless access point and/or the base station accessed by the user equipment in real time;
上报模块206,用于向服务器上报所述用户设备的实时位置坐标,以及所述用户设备检测到的无线接入点和/或基站的信息。The reporting module 206 is configured to report, to the server, real-time location coordinates of the user equipment, and information about the wireless access point and/or the base station detected by the user equipment.
上述获取模块203可以用于从用户设备上的运动传感器上获取所述用户设备的移动参数,或者从与该用户设备关联连接的具有采集移动参数功能的设备获取。The obtaining module 203 may be configured to acquire a mobile parameter of the user equipment from a motion sensor on the user equipment, or obtain a device with a function of collecting a mobile parameter that is associated with the user equipment.
另外,在判断用户设备的卫星定位信号的定位误差是否大于预设的误差上限值时,为了避免因卫星定位信号的暂时波动而导致判断结果不准确,上述获取模块203可以在卫星定位信号的强度连续低于上述预设值的次数达到预定次数,或者在一定时间内多次低于上述预设值时,获取所述用户设备的移动参数。In addition, when determining whether the positioning error of the satellite positioning signal of the user equipment is greater than a preset error upper limit value, in order to avoid inaccurate determination result due to temporary fluctuation of the satellite positioning signal, the obtaining module 203 may be in the satellite positioning signal. The moving parameter of the user equipment is obtained when the number of times that the strength is continuously lower than the preset value reaches a predetermined number of times, or when the preset value is lower than the preset value for a certain period of time.
为了节约用户的设备数据流量的使用量,以及减少用户设备的电量消耗,所述装置还可以包括:In order to save the usage of the device data traffic of the user and reduce the power consumption of the user equipment, the device may further include:
第三获取模块,用于获取当前准备上报的所述用户设备检测到的无线接入 点和/或基站的数量;a third acquiring module, configured to acquire the wireless access detected by the user equipment that is currently scheduled to be reported The number of points and/or base stations;
第一比较模块,用于将所述当前准备上报的无线接入点和/或基站的数量与上一次上报的所述用户设备检测到的无线接入点和/或基站的数量进行比较;a first comparison module, configured to compare the number of wireless access points and/or base stations currently being reported to be compared with the number of wireless access points and/or base stations detected by the user equipment that was last reported;
第一触发模块,用于在所述第一比较模块得到的变化率大于预设的变化率阈值时,触发所述上报模块。The first triggering module is configured to trigger the reporting module when the rate of change obtained by the first comparing module is greater than a preset rate of change threshold.
为了避免在不需要上报数据时计算用户设备的实际坐标,至少可以减少用户设备的计算资源的占用,所述装置还可以包括:In order to avoid the calculation of the actual coordinates of the user equipment when the data is not required to be reported, at least the occupation of the computing resources of the user equipment may be reduced. The device may further include:
第二确定模块,用于确定当前准备上报的所述用户设备的实时位置坐标与上一次上报的所述用户设备的实时位置坐标的移动距离;a second determining module, configured to determine a moving distance of the real-time location coordinates of the user equipment currently being reported and the real-time location coordinates of the user equipment that was last reported;
第二判断模块,用于判断所述移动距离是否大于所述第一预设距离值;a second determining module, configured to determine whether the moving distance is greater than the first preset distance value;
第二触发模块,用于在所述第二判断模块的结果为是时,触发所述上报模块。The second triggering module is configured to trigger the reporting module when the result of the second determining module is YES.
其中,第一次上报为所述用户设备的实时位置坐标到所述参考坐标的移动距离大于所述第一预设距离值。The first time is reported that the moving distance of the real-time location coordinate of the user equipment to the reference coordinate is greater than the first preset distance value.
所述第二确定模块包括:The second determining module includes:
第一确定子模块,用于确定当前准备上报的所述用户设备的实时位置坐标相对于所述参考坐标的移动距离与上一次上报的所述用户设备的实时位置坐标相对于所述参考坐标的移动距离的差值;a first determining sub-module, configured to determine a moving distance of the real-time position coordinate of the user equipment that is currently to be reported with respect to the reference coordinate, and a real-time position coordinate of the user equipment that was last reported, with respect to the reference coordinate The difference in moving distance;
第二确定子模块,用于将所述差值确定为当前准备上报的所述用户设备的实时位置坐标与上一次上报的所述用户设备的实时位置坐标的移动距离。The second determining sub-module is configured to determine the difference as the moving distance of the real-time location coordinates of the user equipment currently being reported and the real-time location coordinates of the user equipment that was last reported.
其中,第一次上报为所述用户设备的实时位置坐标到所述参考坐标的移动距离达到所述第一预设距离值。The first time is reported as the moving distance of the real-time position coordinate of the user equipment to the reference coordinate reaches the first preset distance value.
另外,所述第一确定模块204可以包括:In addition, the first determining module 204 may include:
第一确定单元,用于在每一次确定所述实时位置坐标时,均以所述参考坐标为起点结合所述用户设备相对于所述参考坐标的位移确定所述实时位置坐标;或者,a first determining unit, configured to determine the real-time position coordinate by using the reference coordinate as a starting point in combination with the displacement of the user equipment with respect to the reference coordinate, each time determining the real-time position coordinate; or
第二确定单元,用于在第一次确定所述实时位置坐标时,以所述参考坐标为起点结合所述用户设备相对于所述参考坐标的位移确定所述实时位置坐标; 后续每一次确定所述实时位置坐标时,以上一次确定的实时位置坐标为起点,结合所述用户设备相对于所述上一次确定的实时位置坐标的位移,确定当前的实时位置坐标。a second determining unit, configured to determine, according to the displacement of the user equipment with respect to the reference coordinate, the real-time position coordinate, when the real-time position coordinate is determined for the first time; Each time the real-time position coordinate is determined, the real-time position coordinate determined last time is a starting point, and the current real-time position coordinate is determined in conjunction with the displacement of the user equipment with respect to the last determined real-time position coordinate.
本实施例提供的定位数据采集装置在用户设备的卫星定位信号的定位误差大于预设的误差上限值时,获取所述用户设备的实时移动参数。其次,根据所述实时移动参数确定所述用户设备的实时位置坐标。最终,将检测到的用户设备的实时位置坐标、所述用户设备接入的无线接入点和/或基站的信息上报至服务器。与现有技术相比,本发明实施例实现了利用用户设备自动采集定位数据。The positioning data collection device provided by the embodiment acquires the real-time movement parameter of the user equipment when the positioning error of the satellite positioning signal of the user equipment is greater than a preset error upper limit value. Secondly, determining real-time position coordinates of the user equipment according to the real-time movement parameter. Finally, the detected real-time location coordinates of the user equipment, the wireless access point accessed by the user equipment, and/or the information of the base station are reported to the server. Compared with the prior art, the embodiment of the present invention implements automatic collection of positioning data by using a user equipment.
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。For the device embodiment, since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment. The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply such entities or operations. There is any such actual relationship or order between them. Furthermore, the term "comprises" or "comprises" or "comprises" or any other variations thereof is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also Other elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
以上对本发明实施例所提供的定位数据采集方法和装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般 技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 The method and device for collecting positioning data provided by the embodiments of the present invention are described in detail. The principles and embodiments of the present invention are described in the following. The description of the above embodiments is only used to help understand the present invention. Method and its core ideas; at the same time, for the general The present invention is not limited by the scope of the present invention.

Claims (8)

  1. 一种定位数据采集方法,其特征在于,所述方法包括:A positioning data collection method, the method comprising:
    判断用户设备的卫星定位信号的定位误差是否大于预设的误差上限值,如果大于,则获取所述用户设备的参考坐标,所述参考坐标是最后一次判断得到定位误差小于所述预设误差上限值时根据卫星定位信号确定的用户位置坐标;Determining whether the positioning error of the satellite positioning signal of the user equipment is greater than a preset error upper limit value, if it is greater than, acquiring a reference coordinate of the user equipment, where the reference coordinate is the last time that the positioning error is less than the preset error The user position coordinate determined according to the satellite positioning signal at the upper limit value;
    获取所述用户设备的实时移动参数,其中,所述实时移动参数包括:所述用户设备的实时移动方向和实时移动步数;Obtaining a real-time mobile parameter of the user equipment, where the real-time mobile parameter includes: a real-time moving direction of the user equipment and a real-time moving step;
    根据所述用户设备的实时移动方向、所述实时移动步数、预设的移动步长以及所述参考坐标,确定所述用户设备的实时位置坐标;Determining real-time position coordinates of the user equipment according to the real-time moving direction of the user equipment, the real-time moving step, the preset moving step, and the reference coordinate;
    实时检测所述用户设备接入的无线接入点和/或基站的信息;Real-time detecting information of the wireless access point and/or the base station accessed by the user equipment;
    向服务器上报所述用户设备的实时位置坐标,以及所述用户设备检测到的无线接入点和/或基站的信息。And reporting, to the server, real-time location coordinates of the user equipment, and information of the wireless access point and/or the base station detected by the user equipment.
  2. 根据权利要求1所述的方法,其特征在于,在向服务器上报所述用户设备的实时位置坐标,以及所述用户设备检测到的无线接入点和/或基站的信息之前,还包括:The method according to claim 1, wherein before the real-time location coordinates of the user equipment and the information of the wireless access point and/or the base station detected by the user equipment are reported to the server, the method further includes:
    获取当前准备上报的所述用户设备检测到的无线接入点和/或基站的数量;Obtaining, by the user equipment currently being reported, the number of wireless access points and/or base stations detected by the user equipment;
    将所述当前准备上报的无线接入点和/或基站的数量与上一次上报的所述用户设备检测到的无线接入点和/或基站的数量进行比较,如果变化率大于预设的变化率阈值,则执行所述向服务器上报所述用户设备的实时位置坐标以及所述用户设备检测到的无线接入点和/或基站的信息的步骤。Comparing the number of wireless access points and/or base stations currently being reported to be compared with the number of wireless access points and/or base stations detected by the user equipment reported last time, if the rate of change is greater than a preset change And the step of reporting the real-time location coordinates of the user equipment and the information of the wireless access point and/or the base station detected by the user equipment to the server.
  3. 根据权利要求1或2所述的方法,其特征在于,在向服务器上报所述用户设备的实时位置坐标,以及所述用户设备检测到的无线接入点和/或基站的信息之前,还包括:The method according to claim 1 or 2, further comprising: before reporting the real-time location coordinates of the user equipment to the server, and the information of the wireless access point and/or the base station detected by the user equipment, :
    确定当前准备上报的所述用户设备的实时位置坐标与上一次上报的所述用户设备的实时位置坐标的移动距离;Determining a moving distance between the real-time location coordinates of the user equipment currently being reported and the real-time location coordinates of the user equipment that was last reported;
    判断所述移动距离是否大于所述第一预设距离值,如果大于,则执行所述向服务器上报所述用户设备的实时位置坐标以及所述用户设备检测到的无线接入点和/或基站的信息的步骤,其中,第一次上报为所述用户设备的实时位 置坐标到所述参考坐标的移动距离大于所述第一预设距离值。Determining whether the moving distance is greater than the first preset distance value, and if yes, executing the real-time location coordinate reported to the user equipment by the server, and the wireless access point and/or the base station detected by the user equipment The step of information, wherein the first time is reported as the real time bit of the user equipment The moving distance of the coordinate to the reference coordinate is greater than the first preset distance value.
  4. 根据权利要求3所述的方法,其特征在于,所述确定当前准备上报的所述用户设备的实时位置坐标与上一次上报的所述用户设备的实时位置坐标的移动距离,包括:The method according to claim 3, wherein the determining the moving distance of the real-time position coordinates of the user equipment currently being reported and the real-time position coordinates of the user equipment that was last reported includes:
    确定当前准备上报的所述用户设备的实时位置坐标相对于所述参考坐标的移动距离与上一次上报的所述用户设备的实时位置坐标相对于所述参考坐标的移动距离的差值;Determining a difference between a moving distance of the real-time position coordinate of the user equipment currently being reported and the moving distance of the user equipment and a moving distance of the real-time position coordinate of the user equipment that is last reported with respect to the reference coordinate;
    将所述差值确定为当前准备上报的所述用户设备的实时位置坐标与上一次上报的所述用户设备的实时位置坐标的移动距离。The difference is determined as the moving distance of the real-time location coordinates of the user equipment currently being reported and the real-time location coordinates of the user equipment that was last reported.
  5. 一种定位数据采集装置,其特征在于,所述装置包括:A positioning data collection device, characterized in that the device comprises:
    第一判断模块,用于判断用户设备的卫星定位信号的定位误差是否大于预设的误差上限值;a first determining module, configured to determine whether a positioning error of a satellite positioning signal of the user equipment is greater than a preset error upper limit value;
    第一获取模块,用于在所述第一判断模块的结果为是时,获取所述用户设备的参考坐标,所述参考坐标是最后一次判断得到定位误差小于所述预设误差上限值时根据卫星定位信号确定的用户位置坐标;a first acquiring module, configured to acquire, when the result of the first determining module is YES, a reference coordinate of the user equipment, where the reference coordinate is the last time that the positioning error is less than the preset error upper limit value User position coordinates determined from satellite positioning signals;
    第二获取模块,用于获取所述用户设备的实时移动参数,其中,所述实时移动参数包括:所述用户设备的实时移动方向和实时移动步数;a second acquiring module, configured to acquire a real-time moving parameter of the user equipment, where the real-time moving parameter includes: a real-time moving direction of the user equipment and a real-time moving step;
    第一确定模块,用于根据所述用户设备的实时移动方向、所述实时移动步数、预设的移动步长以及所述参考坐标,确定所述用户设备的实时位置坐标;a first determining module, configured to determine real-time location coordinates of the user equipment according to a real-time moving direction of the user equipment, the real-time moving step, a preset moving step, and the reference coordinate;
    检测模块,用于实时检测所述用户设备接入的无线接入点和/或基站的信息;a detecting module, configured to detect information of a wireless access point and/or a base station accessed by the user equipment in real time;
    上报模块,用于向服务器上报所述用户设备的实时位置坐标,以及所述用户设备检测到的无线接入点和/或基站的信息。The reporting module is configured to report, to the server, real-time location coordinates of the user equipment, and information about the wireless access point and/or the base station detected by the user equipment.
  6. 根据权利要求5所述的装置,其特征在于,所述装置还包括:The device according to claim 5, wherein the device further comprises:
    第三获取模块,用于获取当前准备上报的所述用户设备检测到的无线接入点和/或基站的数量;a third acquiring module, configured to acquire, by the user equipment currently being reported, the number of wireless access points and/or base stations detected by the user equipment;
    第一比较模块,用于将所述当前准备上报的无线接入点和/或基站的数量与上一次上报的所述用户设备检测到的无线接入点和/或基站的数量进行比 较;a first comparison module, configured to compare the number of wireless access points and/or base stations currently being reported to be compared with the number of wireless access points and/or base stations detected by the user equipment reported last time Relative
    第一触发模块,用于在所述第一比较模块得到的变化率大于预设的变化率阈值时,触发所述上报模块。The first triggering module is configured to trigger the reporting module when the rate of change obtained by the first comparing module is greater than a preset rate of change threshold.
  7. 根据权利要求5或6所述的装置,其特征在于,所述装置还包括:The device according to claim 5 or 6, wherein the device further comprises:
    第二确定模块,用于确定当前准备上报的所述用户设备的实时位置坐标与上一次上报的所述用户设备的实时位置坐标的移动距离;a second determining module, configured to determine a moving distance of the real-time location coordinates of the user equipment currently being reported and the real-time location coordinates of the user equipment that was last reported;
    第二判断模块,用于判断所述移动距离是否大于所述第一预设距离值;a second determining module, configured to determine whether the moving distance is greater than the first preset distance value;
    第二触发模块,用于在所述第二判断模块的结果为是时,触发所述上报模块。The second triggering module is configured to trigger the reporting module when the result of the second determining module is YES.
  8. 根据权利要求7所述的装置,其特征在于,所述第二确定模块包括:The apparatus according to claim 7, wherein the second determining module comprises:
    第一确定子模块,用于确定当前准备上报的所述用户设备的实时位置坐标相对于所述参考坐标的移动距离与上一次上报的所述用户设备的实时位置坐标相对于所述参考坐标的移动距离的差值;a first determining sub-module, configured to determine a moving distance of the real-time position coordinate of the user equipment that is currently to be reported with respect to the reference coordinate, and a real-time position coordinate of the user equipment that was last reported, with respect to the reference coordinate The difference in moving distance;
    第二确定子模块,用于将所述差值确定为当前准备上报的所述用户设备的实时位置坐标与上一次上报的所述用户设备的实时位置坐标的移动距离。 The second determining sub-module is configured to determine the difference as the moving distance of the real-time location coordinates of the user equipment currently being reported and the real-time location coordinates of the user equipment that was last reported.
PCT/CN2015/093578 2014-11-06 2015-11-02 Positioning data acquisition method and device WO2016070767A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410637541.5 2014-11-06
CN201410637541.5A CN105635958B (en) 2014-11-06 2014-11-06 A kind of position data collecting method and apparatus

Publications (1)

Publication Number Publication Date
WO2016070767A1 true WO2016070767A1 (en) 2016-05-12

Family

ID=55908573

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/093578 WO2016070767A1 (en) 2014-11-06 2015-11-02 Positioning data acquisition method and device

Country Status (3)

Country Link
CN (1) CN105635958B (en)
HK (1) HK1224484A1 (en)
WO (1) WO2016070767A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106028445B (en) * 2016-07-04 2020-06-26 百度在线网络技术(北京)有限公司 Method and device for determining positioning accuracy
CN107782302B (en) * 2016-08-26 2023-08-18 深迪半导体(绍兴)有限公司 Method, device and system for realizing positioning based on lower limb movement
CN106443742A (en) * 2016-08-31 2017-02-22 北京耘华科技有限公司 Precision indicating method, apparatus and vehicle based on inertia integrated navigation
CN107786942B (en) * 2017-09-30 2020-12-25 平安科技(深圳)有限公司 Positioning apparatus, method and computer-readable storage medium based on wireless device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419180A (en) * 2011-09-02 2012-04-18 无锡智感星际科技有限公司 Indoor positioning method based on inertial navigation system and WIFI (wireless fidelity)
CN102645666A (en) * 2012-05-11 2012-08-22 常熟南师大发展研究院有限公司 Method for switching indoor ultra wide band (UWB) location and outdoor global position system (GPS) location
US20130310075A1 (en) * 2012-05-17 2013-11-21 Lg Electronics Inc. Method and apparatus for estimating location of user equipment in wireless network

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060217132A1 (en) * 2005-03-23 2006-09-28 3Com Corporation High resolution localization for indoor environments
JP5249556B2 (en) * 2007-11-06 2013-07-31 三菱重工業株式会社 On-board device for travel route detection
US8279840B2 (en) * 2008-02-01 2012-10-02 Walker Sr Jonathan B Systems and methods for providing location based services (LBS) utilizing WLAN and/or GPS signals for seamless indoor and outdoor tracking
CN103067852A (en) * 2011-10-21 2013-04-24 北京百度网讯科技有限公司 Mobile terminal location method and mobile terminal location device
CN102622792A (en) * 2012-03-14 2012-08-01 江苏钱旺网络科技有限公司 Wi-Fi (Wireless Fidelity) and GPS (Global Positioning System) positioning combined employee management device and method
CN102821356A (en) * 2012-08-31 2012-12-12 李友林 Device and method for positioning cellphones on basis of various information aggregation
CN103675866B (en) * 2012-09-21 2016-12-21 中国移动通信集团公司 Positioner and method
CN103885955B (en) * 2012-12-19 2017-11-21 中国电信股份有限公司 WiFi positioning datums collecting method, system and collection client
CN203385865U (en) * 2013-07-17 2014-01-08 南京信息工程大学 Personal positioning monitor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102419180A (en) * 2011-09-02 2012-04-18 无锡智感星际科技有限公司 Indoor positioning method based on inertial navigation system and WIFI (wireless fidelity)
CN102645666A (en) * 2012-05-11 2012-08-22 常熟南师大发展研究院有限公司 Method for switching indoor ultra wide band (UWB) location and outdoor global position system (GPS) location
US20130310075A1 (en) * 2012-05-17 2013-11-21 Lg Electronics Inc. Method and apparatus for estimating location of user equipment in wireless network

Also Published As

Publication number Publication date
CN105635958B (en) 2019-08-20
HK1224484A1 (en) 2017-08-18
CN105635958A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
US8391889B2 (en) Altitude estimation using a probability density function
EP3137921B1 (en) Indoor global positioning system
US9980096B2 (en) Utilizing mobile wireless access gateways for location and context purposes
US8903414B2 (en) Location estimation using a probability density function
US9313617B2 (en) Identification of points of interest and positioning based on points of interest
KR101440842B1 (en) Method and apparatus for collecting information of wireless access point
WO2016070767A1 (en) Positioning data acquisition method and device
CN107087263B (en) Automatic updating method and device for indoor wireless signal fingerprint data
CN105785409B (en) The forecasting procedure and system of RTK positioning accuracy
CN102695272B (en) Matching location method and mobile terminal
US20210172736A1 (en) Supporting a determination of floor heights
EP3165877A1 (en) Systems and methods for fusing inertial and bluetooth low energy sensor data for localization
JP2014524023A5 (en)
CN108931802A (en) A kind of indoor and outdoor scene detection method
CN104243580A (en) Personnel comprehensive locating method and system applied to water conservancy construction site
CN109725287B (en) Positioning method, positioning device, wearable device and storage medium
CN107889056B (en) Method and device for collecting indoor position data of multi-story building and readable medium
CN104981011B (en) The acquisition of Wi-Fi hotspot data and update method based on Sequential processing
CN103940421A (en) Vertical locating method and device
US9020753B2 (en) Method, computer program and apparatus for determining an object in sight
US20220198178A1 (en) Method and apparatus for identifying the floor of a building
WO2019051657A1 (en) Indoor and outdoor positioning method and system for terminal device
CN109596089A (en) Determine azimuthal method, apparatus, electronic equipment and storage medium
CN204334566U (en) Bluetooth navigation system
CN107302594B (en) Method and system for positioning position in building

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15857526

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15857526

Country of ref document: EP

Kind code of ref document: A1