WO2019051657A1 - Procédé et système de positionnement intérieur et extérieur pour équipement terminal - Google Patents

Procédé et système de positionnement intérieur et extérieur pour équipement terminal Download PDF

Info

Publication number
WO2019051657A1
WO2019051657A1 PCT/CN2017/101500 CN2017101500W WO2019051657A1 WO 2019051657 A1 WO2019051657 A1 WO 2019051657A1 CN 2017101500 W CN2017101500 W CN 2017101500W WO 2019051657 A1 WO2019051657 A1 WO 2019051657A1
Authority
WO
WIPO (PCT)
Prior art keywords
positioning
terminal device
positioning data
data
gps
Prior art date
Application number
PCT/CN2017/101500
Other languages
English (en)
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 深圳先进技术研究院
Priority to PCT/CN2017/101500 priority Critical patent/WO2019051657A1/fr
Publication of WO2019051657A1 publication Critical patent/WO2019051657A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • G01S19/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
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Definitions

  • the present invention relates to the field of indoor and outdoor positioning and tracking technology, and in particular, to an indoor and outdoor positioning method and system for a terminal device.
  • wearable terminals have become more and more popular, and most wearable terminals are used for positioning and monitoring of the elderly and children.
  • the existing wearable terminal adopts GPS positioning mode to obtain the longitude and latitude of the current location, and the remote monitoring system calls Baidu map or Google Map API (Application Programming Interface) to display the map layer and set the current location. Presented on the map to grasp the location of the end user in real time.
  • the monitoring system will lose the monitoring of the end user. In such a blind spot, it is difficult to obtain the end user in the first time in the event of a dangerous event. happening.
  • the present invention provides an indoor and outdoor positioning method for a terminal device, which aims to solve at least one of the above technical problems in the prior art.
  • the present invention provides the following technical solutions:
  • An indoor and outdoor positioning method for a terminal device includes:
  • Step a receiving positioning data of the terminal device
  • Step b judging whether the positioning mode of the terminal device is GPS positioning according to the received positioning data, if the positioning mode of the terminal device is not GPS positioning, converting the positioning data into GPS positioning data, and performing step c; if the positioning of the terminal device The method is GPS positioning, and step c is performed;
  • Step c Convert the positioning data into map coordinates, and display the map coordinates in a map to locate the terminal device.
  • the technical solution adopted by the embodiment of the present invention further includes: the step a further includes: acquiring user information of the terminal device, determining, according to the user information, whether the terminal device is a wearable terminal, and if the terminal device is a wearable terminal, performing Step b: If the terminal device is not a wearable terminal, store the received positioning data in a database, and perform step b.
  • the technical solution adopted by the embodiment of the present invention further includes: determining, in the step b, whether the positioning manner of the terminal device is a GPS positioning according to the received positioning data, specifically:
  • Step b1 If the positioning mode of the terminal device is not GPS positioning, step b2 is performed; if the positioning mode of the terminal device is GPS positioning, step b4 is performed;
  • Step b2 real-time monitoring whether there is an execution task of positioning data conversion, when detecting an execution task with positioning data conversion, calling a third-party coordinate conversion interface, and converting the received positioning data into GPS positioning data;
  • Step b3 in the positioning data conversion process, real-time judgment whether the conversion program is abnormally interrupted, if the conversion program is abnormally interrupted, restart the current program and continue to perform data conversion, and after performing the positioning data conversion, perform step b4;
  • Step b4 Save the positioning data in a database.
  • the positioning data is to be Convert to map coordinates and display map coordinates in the map specifically include:
  • Step c1 reading the positioning data in the database, and determining whether the terminal device corresponding to the positioning data is a wearable terminal, and if the terminal device corresponding to the positioning data is a wearable terminal, performing step c2; The terminal device corresponding to the positioning data is not a wearable terminal, and step c3 is performed;
  • Step c2 Convert the read positioning data into map coordinates, and display the converted map coordinates and the user information of the terminal device in the map;
  • Step c3 Display the read positioning data and the user information of the terminal device in the map.
  • the technical solution adopted by the embodiment of the present invention further includes: the GPS positioning is not at least one of WIFI positioning, base station positioning, Beidou positioning, Bluetooth positioning, close positioning, and two-dimensional code positioning.
  • an indoor and outdoor positioning system of a terminal device including a terminal device and a server, where the server includes a data receiving module, a positioning mode determining module, a first coordinate conversion module, and a second coordinate. Conversion module and positioning display module;
  • the data receiving module is configured to receive positioning data of the terminal device
  • the positioning mode determining module is configured to determine, according to the received positioning data, whether the positioning mode of the terminal device is GPS positioning, and if the positioning mode of the terminal device is not GPS positioning, converting the positioning data into GPS positioning data by using the first coordinate conversion module. And converting the GPS positioning data into map coordinates by using the second coordinate conversion module; if the positioning mode of the terminal device is GPS positioning, converting the received positioning data into map coordinates by the second coordinate conversion module;
  • Positioning display module configured to display the map coordinates in a map to locate the terminal device.
  • the technical solution adopted by the embodiment of the present invention further includes: the server further includes a first device type determining module and a database module, where the first device type determining module is configured to obtain a user information of the terminal device And determining, according to the user information, whether the terminal device is a wearable terminal, and if the terminal device is a wearable terminal, determining, by the positioning manner determining module, a positioning manner of the wearable terminal; if the terminal device is not a wearable terminal, Receiving the received positioning data by using the database module; the database module is configured to store the received or/and converted positioning data.
  • the technical solution adopted by the embodiment of the present invention further includes: the first coordinate conversion module converts the positioning data into the GPS positioning data, specifically: real-time monitoring whether there is an execution task of positioning data conversion, and when the monitoring of the positioning data conversion is detected During the task, the third-party coordinate conversion interface is called to convert the received positioning data into GPS positioning data; in the process of positioning data conversion, the conversion program is abnormally interrupted in real time, and if the conversion program is abnormally interrupted, the data is continuously executed after the conversion program is restarted. Converting and storing the positioning data through the database module after the positioning data conversion is completed.
  • the technical solution adopted by the embodiment of the present invention further includes: the server further includes a second device type determining module, wherein the second device type determining module is configured to read positioning data in the database module, and determine the positioning data. Whether the corresponding terminal device is a wearable terminal, and if the terminal device corresponding to the positioning data is a wearable terminal, the positioning data is converted into map coordinates by a second coordinate conversion module; if the terminal device corresponding to the positioning data is not The wearable terminal displays the read positioning data and the user information of the terminal device in the map through the positioning display module.
  • the technical solution adopted by the embodiment of the present invention further includes: the GPS positioning is not at least one of WIFI positioning, base station positioning, Beidou positioning, Bluetooth positioning, close positioning, and two-dimensional code positioning.
  • the embodiment of the present invention has the beneficial effects that the terminal device positioning method and system in the embodiment of the present invention adopt multiple positioning methods of positioning data such as GPS, WIFI or base station to ensure that no valid GPS positioning data is obtained.
  • positioning data such as WIFI or base station
  • calling a third-party coordinate conversion interface for coordinate conversion, and using the timing execution plan timing detection program is abnormal.
  • Interrupt restart the program in time when the program is abnormally interrupted, avoiding the situation that the coordinate conversion fails due to the abnormal interruption of the program; at the same time, the positioning data coordinate conversion and the real-time positioning display are separated in two parts.
  • the third-party client requests the location of the terminal user, the execution time of the program is reduced, and the operation efficiency of the third-party client is improved.
  • FIG. 1 is a flowchart of a method for locating a terminal device according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a terminal device positioning system according to an embodiment of the present invention.
  • Fig. 3 is a schematic view showing the test results of the embodiment of the present invention.
  • the indoor/outdoor positioning method and system of the terminal device of the embodiment of the present invention are directed to the problem of the positioning mode of the existing terminal device.
  • the terminal device obtains the positioning data such as GPS, WIFI or base station in real time, and the acquired GPS, WIFI or The positioning data of the base station and the like are uploaded to the server, and the server determines the terminal device type and the positioning mode according to the uploaded positioning data. If the terminal device is a wearable terminal and the positioning mode is a non-GPS positioning mode such as WIFI or a base station, the third-party coordinate conversion is invoked.
  • the interface converts the uploaded positioning data such as WIFI or base station into GPS positioning data, and then converts the GPS positioning data into corresponding positioning map coordinates, and displays the positioning map coordinates and the user information of the terminal device on the positioning map to realize the terminal user. Real-time monitoring.
  • the positioning manner of the terminal device includes, but is not limited to, GPS positioning, WIFI positioning, base station positioning, Beidou positioning, Bluetooth positioning, close positioning, two-dimensional code positioning, etc.
  • the present invention is only The GPS positioning, WIFI positioning, and base station positioning modes are specifically described. The processing methods of other positioning methods will not be described again.
  • Terminal devices include but are not limited to Google, Android Or a handheld terminal or a wearable terminal of an operating system such as iOS
  • the location map includes but not limited to a map such as Baidu, Google or Gaode.
  • the Android handheld terminal and Baidu map are taken as examples. Give specific instructions.
  • FIG. 1 is a flowchart of a method for locating a terminal device according to an embodiment of the present invention.
  • the terminal device positioning method in the embodiment of the present invention includes the following steps:
  • Step 100 Real-time acquisition of GPS, WIFI, or base station positioning data (or WIFI and base station hybrid positioning data) by the terminal device;
  • the positioning mode of the terminal device includes GPS positioning, WIFI positioning, base station positioning, or hybrid positioning between the WIFI and the base station. Even if the terminal device cannot obtain the GPS positioning data, the terminal device may determine the location by using WIFI or base station positioning. The position of the terminal device enables precise positioning indoors and outdoors. In the embodiment of the present invention, according to the accuracy of each positioning mode, the priority positioning order of the first GPS, the re-WIFI, and the rear base station is set, and the user can also set according to the positioning requirement.
  • AP is an Access Point abbreviation, which refers to a wireless access node or bridge access device. It is mainly in media access control. Layer MAC plays a bridge between wireless workstations and wired LANs.) Signals, and WiFi hotspots are relatively fixed. As long as power is applied, signals will be transmitted to the surroundings, and all WIFI hotspots will have a globally unique identifier - MAC address. When the terminal device turns on Wi-Fi, it can scan and collect the surrounding AP signals and obtain the MAC address broadcasted by the AP.
  • the WIFI positioning data obtained by the terminal device is a string consisting of multiple sets of MAC addresses, and the format is “2a:56:5a:5e:5a:83,-53; d4:ee:07: 26:34:62,-60;12:02:b5:0b:5c:4d,-75;", the string contains a total of three sets of WiFi positioning data, each set of WiFi positioning data by the MAC address and The signal strength RSSI (Received Signal Strength Indication) is composed.
  • the number of WiFi positioning data sets included in the character string may be set according to an actual application.
  • the base station location service is also called Location Based Service (LBS).
  • LBS Location Based Service
  • the location information of the terminal user is obtained through the network of the operator such as telecommunications, and the location of the terminal is determined by the distance measured by the base station to the terminal. The accuracy depends largely on the distribution and coverage of the base station, and sometimes the error may exceed one kilometer. The farther away from the base station, the worse the signal, so the strength of the signal can be used to roughly estimate the distance from the base station.
  • the base station positioning data acquired by the terminal device is a character string composed of multiple sets of data, and the format is “460, 0, 9771, 4334, -121; 460, 0, 9771, 4871, -125; 460 , 0,9771, 4221, -125;", the string contains a total of three sets of base station positioning data, each group of base station positioning data includes MCC (country code, China code is 460), MNC (network type), LAC (cell number), CELLID (base station number), and signal strength.
  • the number of base station positioning data groups included in the character string may be set according to an actual application.
  • Step 200 Upload the acquired GPS, WIFI or base station positioning data to the server;
  • Step 300 Receive, by using a server, location data uploaded by the terminal device, and obtain user information of the terminal device.
  • the acquired user information includes at least information such as a user ID, a device name, and a current power of the terminal device.
  • Step 400 Determine whether the terminal device is a wearable terminal according to user information; if the terminal device is a wearable terminal, perform step 500; if the terminal device is not a wearable terminal, perform step 1000;
  • step 400 taking the terminal device as an Android handheld terminal as an example, since the Android handheld terminal uses Baidu map for positioning, there is no need to perform coordinate conversion on the positioning data, and the received positioning data is directly saved in the database.
  • Step 500 Determine whether the positioning mode of the terminal device is GPS positioning according to the received positioning data. If the positioning mode of the terminal device is not GPS positioning, step 600 is performed; if the positioning mode of the terminal device is GPS positioning, step 1000 is performed;
  • Step 600 Determine whether the positioning mode of the terminal device is WiFi positioning (or WiFi is mixed with the base station) If the positioning mode of the terminal device is WiFi positioning, step 700 is performed; if the positioning mode of the terminal device is not WiFi positioning, step 800 is performed;
  • Step 700 Call a third-party coordinate conversion interface, convert the received WiFi positioning data into GPS positioning data, and perform step 1000;
  • the WiFi positioning data conversion manner is: converting the three sets of WiFi positioning data in the WIFI positioning data string in order, until a set of WiFi positioning data that can be converted into accurate GPS positioning data is found, and The WiFi flag is set to a valid WiFi flag.
  • Step 800 Determine whether the positioning mode of the terminal device is the location of the base station. If the location mode of the terminal device is the location of the base station, step 900 is performed. If the location mode of the terminal device is not the location of the base station, indicating that the effective positioning data is not received, the step is re-executed. 300;
  • Step 900 Call a third-party coordinate conversion interface to convert the received base station positioning data into GPS positioning data.
  • the base station positioning data conversion mode is: converting the three sets of base station positioning data in the base station positioning data string in order, until a set of base station positioning data that can be converted into accurate GPS positioning data is found, and The base station flag is set to a valid base station flag.
  • the determining order of the positioning manners may be sorted according to the positioning precision of each positioning manner, and may also be set according to actual applications.
  • the server uses real-time monitoring to call the third-party coordinate conversion interface to perform coordinate conversion on the WiFi or base station positioning data uploaded by all wearable terminals.
  • the crond process in the operating system (Linux) is used to periodically execute the scheduled task ( The user can set the scheduled task through the crontab command to determine whether the current program is abnormally interrupted. If the current program is abnormally interrupted, the program is restarted in time to avoid the coordinate conversion failure caused by the abnormal interrupt of the program.
  • Crond is a daemon that periodically performs certain tasks or waits for certain events.
  • the service tool is installed by default, and the crond process is automatically started.
  • the crond process is checked periodically every minute. Whether there is a scheduled task to be executed, and if there is a scheduled task to be executed, the scheduled task is automatically executed. Due to the most crond process
  • the small execution time is one minute, so the embodiment of the present invention uses a delay method to detect whether the program is abnormally interrupted every thirty seconds.
  • the positioning mode of the terminal device is Beidou positioning, Bluetooth positioning, close positioning or two-dimensional code positioning
  • the third-party coordinate conversion interface is called to locate the Beidou positioning data, the Bluetooth positioning data, the short-distance positioning data or the two-dimensional code.
  • the data is converted to GPS positioning data.
  • Step 1000 save the positioning data in a database
  • Step 1100 Read the positioning data in the database, and determine again whether the terminal device corresponding to the positioning data is a wearable terminal or a handheld terminal. If the terminal device corresponding to the positioning data is a wearable terminal, step 1200 is performed; if the positioning data corresponds to the terminal The device is a handheld terminal, and step 1300 is performed;
  • the type of the wearable terminal is first determined.
  • the handheld terminal is an Android mobile phone, for example, because the positioning of the Android mobile phone is It is implemented by Baidu map, so it does not need to be converted to Baidu map coordinates; if it is a wearable terminal, it needs to convert the converted GPS positioning data into Baidu map coordinates, and add the converted Baidu map coordinates to Baidu map. .
  • Step 1200 Convert the read positioning data into Baidu map coordinates, display the converted Baidu map coordinates and the user information of the terminal device in the Baidu map, and display the corresponding positioning manner to realize real-time positioning of the terminal user;
  • step 1200 for the wearable terminal, the GPS positioning data is converted into the Baidu map coordinate method.
  • the asynchronously executed callback function is used for conversion, when the end user's motion track is played back, the track point may be displayed out of order. Phenomenon, causing confusion of the trajectory; if the conversion is performed using the API, although the out-of-order problem does not occur, the execution speed is slow, and the user waits for a long time. Therefore, the embodiment of the present invention uses the offline coordinate conversion algorithm for coordinate conversion, and specifically Use other map coordinate conversion algorithms.
  • the invention separates the coordinate conversion of the WiFi positioning data and the base station positioning data from the real-time positioning display part. Since calling the third-party coordinate conversion interface to convert the coordinates requires a certain time cost, the coordinate conversion is placed on the server back end for real-time conversion. Requesting an end user from a third party client In the location, there is no need to call the third-party coordinate conversion interface to convert, reduce the execution time of the program, improve the operation efficiency of the third-party client, and bring a good user experience. The third-party client can also set the time for refreshing the positioning point. Interval, the server obtains the user information of the terminal device according to the time interval set by the user, and displays the location of the terminal user on the map according to the device type and the positioning priority.
  • Step 1300 Display the read positioning data and the user information of the terminal device in a Baidu map to implement real-time positioning of the terminal user.
  • step 1300 the positioning data of the handheld terminal does not need coordinate conversion, and the positioning point is directly added to the Baidu map by directly determining the GPS and then determining the priority of the WiFi; the real-time positioning of the handheld terminal specifically includes the following steps:
  • Step 1301 Determine whether the read positioning data is GPS positioning data, if the read positioning data is GPS positioning data, step 1302; if the read positioning data is not GPS positioning data, step 1303;
  • Step 1302 Determine whether the read positioning data is WIFI positioning data. If the read positioning data is WIFI positioning data, perform step 1303; if the read positioning data is not WIFI positioning data, it indicates that no valid data is received. Positioning data;
  • Step 1303 Display the read GPS positioning data or WIFI positioning data and the user information of the terminal device in the Baidu map, and display the corresponding positioning manner.
  • FIG. 2 it is a schematic structural diagram of a terminal device positioning system according to an embodiment of the present invention.
  • the terminal device positioning system of the embodiment of the present invention includes a terminal device and a server.
  • the terminal device is configured to acquire GPS, WIFI or base station positioning data (or WIFI and base station hybrid positioning data) in real time, and upload the acquired GPS, WIFI or base station positioning data to the server.
  • the positioning manner of the terminal device includes, but is not limited to, at least one of GPS positioning, WIFI positioning, base station positioning, Beidou positioning, Bluetooth positioning, proximity positioning, or two-dimensional code positioning, even if the terminal device cannot obtain GPS positioning data. In the case of other locations, it can also be determined by other positioning methods such as WIFI or base station.
  • the position of the terminal device enables precise positioning indoors and outdoors. In the following embodiments, the present invention is specifically described by using GPS positioning, WIFI positioning, and base station positioning. In the embodiment of the present invention, according to the accuracy of each positioning mode, the priority positioning order of the first GPS, the re-WIFI, and the rear base station is set, and the user can also set according to the positioning requirement.
  • AP is an Access Point abbreviation, which refers to a wireless access node or bridge access device. It is mainly in media access control. Layer MAC plays a bridge between wireless workstations and wired LANs.) Signals, and WiFi hotspots are relatively fixed. As long as power is applied, signals will be transmitted to the surroundings, and all WIFI hotspots will have a globally unique identifier - MAC address. When the terminal device turns on Wi-Fi, it can scan and collect the surrounding AP signals and obtain the MAC address broadcasted by the AP.
  • the WIFI positioning data obtained by the terminal device is a string consisting of multiple sets of MAC addresses, and the format is “2a:56:5a:5e:5a:83,-53; d4:ee:07: 26:34:62,-60;12:02:b5:0b:5c:4d,-75;", the string contains a total of three sets of WiFi positioning data, each set of WiFi positioning data by the MAC address and The signal strength RSSI (Received Signal Strength Indication) is composed.
  • the number of WiFi positioning data sets included in the character string may be set according to an actual application.
  • the base station location service is a location based service (LBS), which acquires the location information of the terminal user through the network of the operator such as telecommunications, and determines the location of the terminal by using the distance measured by the distance between the base station and the terminal.
  • LBS location based service
  • the degree depends on the distribution of the base station and the size of the coverage. Sometimes the error will exceed one kilometer. The farther from the base station, the worse the signal. Therefore, the strength of the signal can be used to estimate the distance from the base station.
  • the base station positioning data acquired by the terminal device is a character string composed of multiple sets of data, and the format is “460, 0, 9771, 4334, -121; 460, 0, 9771, 4871, -125; 460 , 0,9771, 4221, -125;", the string contains a total of three sets of base station positioning data, each group of base station positioning data includes MCC (country code, China code is 460), MNC (network type), LAC (cell number), CELLID (base station number), and signal strength.
  • the number of base station positioning data groups included in the character string may be Set according to the actual application.
  • the server is configured to determine the terminal device type and the positioning mode according to the uploaded positioning data. If the terminal device is a wearable terminal and the positioning mode is WIFI or/and base station positioning, coordinate conversion is performed on the uploaded WIFI or/and the base station positioning data. Then, the converted coordinates and the end user information are displayed on the positioning map to realize real-time monitoring of the end user. If the terminal device is a handheld terminal, the positioning data and the terminal user information are directly displayed on the positioning map to realize real-time monitoring of the terminal user.
  • the server includes a data receiving module, a first device type determining module, a positioning mode determining module, a first coordinate converting module, a database module, a second device type determining module, a second coordinate converting module, and a positioning display module.
  • a data receiving module configured to receive positioning data uploaded by the terminal device
  • the first device type judging module is configured to obtain the user information of the terminal device, and determine whether the terminal device is a wearable terminal according to the user information; and if the terminal device is a wearable terminal, determine the positioning of the wearable terminal by using the positioning mode determining module. Mode; if the terminal device is not a wearable terminal, storing the received positioning data through a database module;
  • the positioning mode determining module is configured to determine, according to the received positioning data, whether the positioning mode of the terminal device is GPS positioning, WiFi positioning (or WiFi and base station hybrid positioning) or base station positioning, and if the positioning mode of the terminal device is GPS positioning, pass the database module. Storing the received positioning data; if the positioning mode of the terminal device is WiFi positioning or base station positioning, performing coordinate conversion on the received positioning data by using the first coordinate conversion module;
  • the first coordinate conversion module is configured to call a third-party coordinate conversion interface, and convert the received WiFi positioning data or base station positioning data into GPS positioning data; wherein, the WiFi positioning data conversion mode is: sequentially locating the data string to the WIFI in sequence The three sets of WiFi positioning data are converted until a set of WiFi positioning data that can be converted into accurate GPS positioning data is found, and the WiFi flag is set as an effective WiFi flag.
  • the base station positioning data conversion mode is: converting the three groups of base station positioning data in the base station positioning data string in sequence, until a group can be converted. The base station flag is set to the base station flag for accurate GPS positioning data, and the base station flag is set as the effective base station flag.
  • the determining order of the positioning manners may be sorted according to the positioning precision of each positioning manner, and may also be set according to actual applications.
  • the server uses real-time monitoring to call the third-party coordinate conversion interface to perform coordinate conversion on the WiFi or base station positioning data uploaded by all wearable terminals.
  • the crond process in the operating system (Linux) is used to periodically execute the scheduled task ( The user can set the scheduled task through the crontab command to determine whether the current program is abnormally interrupted. If the current program is abnormally interrupted, the program is restarted in time to avoid the coordinate conversion failure caused by the abnormal interrupt of the program.
  • Crond is a daemon that periodically performs certain tasks or waits for certain events.
  • the service tool is installed by default, and the crond process is automatically started.
  • the crond process is checked periodically every minute. Whether there is a scheduled task to be executed, and if there is a scheduled task to be executed, the scheduled task is automatically executed. Since the minimum execution time of the crond process is one minute, the embodiment of the present invention uses a delay method to detect whether the program is abnormally interrupted every thirty seconds.
  • Database module used to store received or converted positioning data in a database
  • the second device type judging module is configured to read the positioning data in the database, and determine again whether the terminal device corresponding to the positioning data is a wearable terminal or a handheld terminal, and if the terminal device corresponding to the positioning data is a wearable terminal, pass the second coordinate
  • the conversion module performs coordinate conversion on the positioning data; if the terminal device corresponding to the positioning data is a handheld terminal, the positioning data is displayed by the positioning display module; wherein, since the invention supports the access of the wearable terminal and the handheld terminal, when the user is positioned First, we must judge the type of wearable terminal.
  • the terminal device is an Android handheld terminal. For example, the positioning of the Android mobile phone is implemented by using Baidu map. Therefore, it is not necessary to convert to Baidu map coordinates.
  • the priority is to add the positioning point to the Baidu map; if it is a wearable terminal, the converted GPS positioning data needs to be converted into Baidu map coordinates, and the converted Baidu map coordinates are added to the Baidu map.
  • the second coordinate conversion module is configured to convert the read positioning data into Baidu map coordinates;
  • the conversion is performed, although the out-of-order problem does not occur, but the execution speed is slow, and the user waits for a long time. Therefore, the embodiment of the present invention uses the offline coordinate conversion algorithm for coordinate conversion.
  • Positioning display module when the terminal device is a wearable terminal, it is used to display the converted Baidu map coordinates and the user information of the terminal device in the Baidu map, realizing the real-time positioning of the terminal user, and displaying the corresponding positioning manner;
  • the terminal device when the terminal device is a handheld terminal, it is used to display the read positioning data and the user information of the terminal device in a Baidu map to realize real-time positioning of the terminal user.
  • the real-time positioning mode of the handheld terminal is specifically: first determining whether the read positioning data is GPS positioning data, and if the read positioning data is GPS positioning data, the GPS positioning data to be read and the user of the terminal device are The information is displayed in the Baidu map, and the positioning method is displayed as GPS positioning; if the read positioning data is not GPS positioning data, it is determined whether the read positioning data is WIFI positioning data, and if the read positioning data is WIFI Positioning data, displaying the read WIFI positioning data and the user information of the terminal device in the Baidu map, and displaying the positioning mode as WIFI positioning; if the read positioning data is not WIFI positioning data, indicating that no valid positioning is received data.
  • the invention separates the coordinate conversion of the WiFi positioning data and the base station positioning data from the real-time positioning display part. Since calling the third-party coordinate conversion interface to convert the coordinates requires a certain time cost, the coordinate conversion is placed on the server back end for real-time conversion.
  • the third-party coordinate conversion interface does not need to be called again to reduce the execution time of the program, improve the operation efficiency of the third-party client, and bring a good user experience;
  • the three-party client sets the interval for refreshing the positioning point.
  • the server obtains the user information of the terminal device according to the time interval set by the user, and displays the location of the terminal user on the map according to the device type and the positioning priority.
  • Multi-user real-time monitoring page the page displays the current location of all online terminal users, user information, terminal power and terminal positioning mode.
  • the terminal device positioning method and system in the embodiment of the present invention adopts multiple positioning modes such as GPS, WIFI or base station to ensure that when the effective GPS positioning data is not obtained, the positioning data of the terminal device is obtained through other positioning methods such as WIFI or base station, thereby realizing Accurate positioning indoors and outdoors; for non-GPS positioning data, call the third-party coordinate conversion interface for coordinate conversion, and use the timing execution plan to check whether the program is abnormally interrupted, and restart the program in time when the program is abnormally interrupted, avoiding the abnormal interruption due to the program.
  • the coordinate conversion fails, at the same time, the positioning data coordinate conversion is separated from the real-time positioning display.
  • the third-party client requests the location of the terminal user, the execution time of the program is reduced, and the operation efficiency of the third-party client is improved.

Landscapes

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

Abstract

La présente invention concerne un système et un procédé de positionnement intérieur et extérieur pour un équipement terminal. Le procédé de positionnement comprend les étapes suivantes : étape a, recevoir des données de positionnement d'un équipement terminal ; étape b, déterminer si un mode de positionnement de l'équipement terminal est un mode de positionnement par GPS en fonction des données de positionnement reçues ; si le mode de positionnement de l'équipement terminal n'est pas le mode de positionnement par GPS, convertir les données de positionnement en données de positionnement par GPS, et effectuer l'étape c ; si le mode de positionnement de l'équipement terminal est le mode de positionnement par GPS, effectuer l'étape c ; et étape c, convertir les données de positionnement en coordonnées cartographiques, et afficher les coordonnées cartographiques dans la carte, de façon à positionner l'équipement terminal. Dans le procédé et le système de positionnement, de multiples modes de positionnement, tels que des modes de positionnement GPS, Wi-Fi ou de station de base, sont utilisés, il est garanti que des données de positionnement de l'équipement terminal sont obtenues au moyen d'un Wi-Fi ou d'une station de base si des données de positionnement par GPS valides ne sont pas obtenues, ce qui permet de mettre en œuvre le positionnement intérieur et extérieur précis.
PCT/CN2017/101500 2017-09-13 2017-09-13 Procédé et système de positionnement intérieur et extérieur pour équipement terminal WO2019051657A1 (fr)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/101500 WO2019051657A1 (fr) 2017-09-13 2017-09-13 Procédé et système de positionnement intérieur et extérieur pour équipement terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/101500 WO2019051657A1 (fr) 2017-09-13 2017-09-13 Procédé et système de positionnement intérieur et extérieur pour équipement terminal

Publications (1)

Publication Number Publication Date
WO2019051657A1 true WO2019051657A1 (fr) 2019-03-21

Family

ID=65723188

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/101500 WO2019051657A1 (fr) 2017-09-13 2017-09-13 Procédé et système de positionnement intérieur et extérieur pour équipement terminal

Country Status (1)

Country Link
WO (1) WO2019051657A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367611A (zh) * 2020-11-06 2021-02-12 宁波喵走科技有限公司 电动车的定位方法、电动车及计算机可读存储介质
WO2022242548A1 (fr) * 2021-05-21 2022-11-24 华为技术有限公司 Procédé de communication et appareil de communication pour le positionnement

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140038543A1 (en) * 2012-08-06 2014-02-06 Thomas W. Rissman Personal security system for a mobile device
CN104013470A (zh) * 2014-06-19 2014-09-03 江南大学 基于Android系统的智能联合体征监测与定位装置
CN104683948A (zh) * 2015-02-04 2015-06-03 四川长虹电器股份有限公司 自我学习的异常位置轨迹点过滤方法
CN206133865U (zh) * 2016-09-26 2017-04-26 郭润泽 一种居家老人智能急救系统
CN106646573A (zh) * 2016-12-23 2017-05-10 烟台中飞海装科技有限公司 用于市区内人员定位的定位方法及定位发送设备
CN107783164A (zh) * 2017-09-13 2018-03-09 深圳先进技术研究院 一种终端设备的室内外定位方法及系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140038543A1 (en) * 2012-08-06 2014-02-06 Thomas W. Rissman Personal security system for a mobile device
CN104013470A (zh) * 2014-06-19 2014-09-03 江南大学 基于Android系统的智能联合体征监测与定位装置
CN104683948A (zh) * 2015-02-04 2015-06-03 四川长虹电器股份有限公司 自我学习的异常位置轨迹点过滤方法
CN206133865U (zh) * 2016-09-26 2017-04-26 郭润泽 一种居家老人智能急救系统
CN106646573A (zh) * 2016-12-23 2017-05-10 烟台中飞海装科技有限公司 用于市区内人员定位的定位方法及定位发送设备
CN107783164A (zh) * 2017-09-13 2018-03-09 深圳先进技术研究院 一种终端设备的室内外定位方法及系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112367611A (zh) * 2020-11-06 2021-02-12 宁波喵走科技有限公司 电动车的定位方法、电动车及计算机可读存储介质
CN112367611B (zh) * 2020-11-06 2023-03-24 宁波喵走科技有限公司 电动车的定位方法、电动车及计算机可读存储介质
WO2022242548A1 (fr) * 2021-05-21 2022-11-24 华为技术有限公司 Procédé de communication et appareil de communication pour le positionnement

Similar Documents

Publication Publication Date Title
WO2018036297A1 (fr) Technique de positionnement en intérieur et système, procédé et dispositif de distribution sélective d'informations basés sur celle-ci, et terminal
US9503856B2 (en) Method for determining wireless device location based on proximate sensor devices
US10341853B2 (en) Methods and systems for enabling control of privacy for crowdsourcing
US9949067B2 (en) Enhancing PRS searches for shorter LPP-type positioning sessions
CN107783164A (zh) 一种终端设备的室内外定位方法及系统
US20180132061A1 (en) Enhancing positioning assistance data via a mobile device-specific carrier aggregation capability
US8655371B2 (en) Location determination using cached location area codes
US9942719B2 (en) OTDOA positioning via local wireless transmitters
CN108780138B (zh) 通过运行时间条件增强prs搜索
WO2018136225A1 (fr) Recherches de configurations de signaux prs ciblés
CN110168395B (zh) 处理用于长期演进定位协议型的定位会话的早期位置定位
WO2014180072A1 (fr) Terminal mobile et procédé de localisation
US20170094454A1 (en) Efficiency crowdsourcing of wireless network-related data
CN108490464A (zh) 一种适用于消费类终端的网络rtk播发方法
WO2018129838A1 (fr) Procédé, terminal et serveur de positionnement
CN109525931B (zh) 一种定位无线设备的方法、装置、设备及存储介质
Huber Background Positioning for Mobile devices-Android vs. iphone
WO2019051657A1 (fr) Procédé et système de positionnement intérieur et extérieur pour équipement terminal
WO2016070767A1 (fr) Procédé et dispositif d'acquisition de données de positionnement
CN104853431A (zh) 一种地理位置信息定位方法、装置
CN105554696B (zh) 一种呼叫处理方法、移动终端及服务器
JP2022110756A (ja) 位置推測サーバ、位置推測方法、及びプログラム、並びに通信端末
WO2018103546A1 (fr) Procédé de positionnement basé sur un nœud coopératif, nœud à positionner, et nœud coopératif
US20240142563A1 (en) Method and system for wireless positioning
CN113423137A (zh) 一种室内外统一定位方法及系统

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: 17925091

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: 17925091

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22.09.2020)