A positioning implementation method, wearable device and storage medium

By realizing scene perception and positioning mode switching on wearable devices, combined with WIFI and satellite navigation enhancement systems, the problem of low indoor and outdoor positioning accuracy in the existing technology is solved, the positioning accuracy and stability are improved, and the battery life of the device is extended. .

CN114915898BActive Publication Date: 2024-10-18GUANGDONG XIAOTIANCAI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110129876.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-29
Publication Date
2024-10-18
Estimated Expiration
2041-01-29

AI Technical Summary

Technical Problem

When existing wearable devices are positioned indoors and outdoors, the positioning accuracy is low and the stability is poor, resulting in inaccurate location information and affecting the user's navigation and travel safety.

Method used

By judging the device usage scenario, switching indoor and outdoor positioning modes, and using WIFI signals and satellite navigation enhancement systems to achieve high-precision positioning respectively. A pre-established entry point database is used indoors, and a satellite navigation augmentation system is used outdoors, combining ground-based and satellite-based augmentation systems to optimize positioning data acquisition.

Benefits of technology

It improves the positioning accuracy and stability of wearable devices indoors and outdoors, extends the battery life of the device, and ensures the accuracy and convenience of location information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114915898B_ABST
    Figure CN114915898B_ABST
Patent Text Reader

Abstract

The present invention provides a positioning implementation method, a wearable device and a storage medium, the method comprising: determining the use scenario of the wearable device at the current moment; if it is determined that the wearable device is switched to an indoor scenario, searching the pre-established entry point database to obtain the location data of the wearable device at the current moment according to the unique identification information of the WIFI signal searched by the wearable device at the current moment; if it is determined that the wearable device is switched to an outdoor scenario, obtaining the satellite information at the current moment from the corresponding satellite navigation enhancement system, and obtaining the location data of the wearable device at the current moment according to the satellite information. The present invention improves the positioning accuracy of the wearable device indoors and outdoors, reduces the power consumption of indoor and outdoor positioning, and prolongs the battery life of the wearable device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent devices, and in particular to a positioning implementation method, a wearable device and a storage medium. Background Art

[0002] When people move around indoors or outdoors (such as inside large shopping malls, on city roads, etc.), they often need to determine their location through positioning.

[0003] If current wearable devices need to achieve indoor and outdoor positioning, most of them rely on the positioning data of Baidu Maps and Amap. That is, they access the servers of Baidu Maps and Amap through application interfaces to retrieve positioning data to achieve indoor and outdoor positioning.

[0004] However, in this case, indoor and outdoor positioning using positioning data provided by map providers such as Baidu Maps and Amap has low accuracy and poor stability. Summary of the invention

[0005] The purpose of the present invention is to provide a positioning implementation method, a wearable device and a storage medium, so as to improve the positioning accuracy of the wearable device indoors and outdoors, reduce the power consumption of indoor and outdoor positioning, and extend the battery life of the wearable device.

[0006] The technical solution provided by the present invention is as follows:

[0007] The present invention provides a positioning implementation method, comprising the steps of:

[0008] Determine the usage scenario of the wearable device at the current moment;

[0009] If it is determined that the wearable device switches to an indoor scene, the location data of the wearable device at the current moment is obtained by searching the pre-established entry point database according to the unique identification information of the WIFI signal searched by the wearable device at the current moment.

[0010] Furthermore, the step of determining the usage scenario of the wearable device at the current moment includes the following steps:

[0011] When the signal strength of the GPS signal decreases to a signal threshold, determining the spatial location of the wearable device as an entry point, and starting a WIFI search function;

[0012] The unique identification information corresponding to the searched WIFI signal is respectively bound to the entry point to obtain the entry point database.

[0013] Further, the step of searching the pre-established entry point database to obtain the location data of the wearable device at the current moment according to the unique identification information of the WIFI signal searched by the wearable device at the current moment includes the following steps:

[0014] Starting a WIFI search function to search for a target WIFI signal around the wearable device, and obtaining the signal strength of the searched target WIFI signal;

[0015] According to the unique identification information corresponding to the target WIFI signals, searching the entry point database to obtain the corresponding spatial position;

[0016] The spatial position bound to the unique identification information corresponding to the maximum signal strength is determined as the position data of the wearable device at the current moment.

[0017] Furthermore, it also includes:

[0018] If it is determined that the wearable device switches to an outdoor scene, satellite information at the current moment is obtained from the corresponding satellite navigation enhancement system, and location data of the wearable device at the current moment is obtained according to the satellite information.

[0019] Furthermore, if it is determined that the wearable device switches to an outdoor scene, obtaining satellite information at the current moment from a corresponding satellite navigation enhancement system, and obtaining the location data of the wearable device at the current moment according to the satellite information includes the steps of:

[0020] If it is determined that the wearable device is switched to an outdoor scene at the current moment, the ground-based augmentation function that is in an off state is switched to an on state, and the satellite-based augmentation function is kept in an off state, and the first satellite information is obtained from the ground-based augmentation system, and the position data of the wearable device at the current moment is obtained by performing correction calculation according to the first satellite information;

[0021] After the ground-based augmentation function is turned on for a preset time, the ground-based augmentation function is turned off and the satellite-based augmentation function is turned on, and the second satellite information is obtained from the satellite-based augmentation system. The position data of the wearable device at the current moment is obtained by correcting and calculating based on the second satellite information.

[0022] Furthermore, the method further comprises the steps of:

[0023] Receive a positioning monitoring request initiated by a guardian terminal, and send the location data of the wearable device to the guardian terminal.

[0024] The present invention also provides a wearable device, comprising:

[0025] A judgment module, used to judge the usage scenario of the wearable device at the current moment;

[0026] The indoor positioning module is used to search the pre-established entry point database to obtain the location data of the wearable device at the current moment according to the unique identification information of the WIFI signal searched by the wearable device at the current moment if it is determined that the wearable device switches to the indoor scene;

[0027] The outdoor positioning module is used to obtain satellite information at the current moment from the corresponding satellite navigation enhancement system if it is determined that the wearable device switches to an outdoor scene, and obtain the location data of the wearable device at the current moment based on the satellite information.

[0028] Furthermore, it also includes:

[0029] A control module, configured to determine the spatial location of the wearable device as an entry point and enable a WIFI search function when the signal strength of the GPS signal decreases to a signal threshold;

[0030] The database building module is used to bind the unique identification information corresponding to the searched WIFI signal with the entry point to obtain the entry point database.

[0031] Furthermore, the indoor positioning module includes:

[0032] A control unit, configured to start a WIFI search function to search for a target WIFI signal around the wearable device, and obtain a signal strength of the searched target WIFI signal;

[0033] A search unit, configured to search the entry point database to obtain a corresponding spatial position according to the unique identification information corresponding to the target WIFI signals;

[0034] The first positioning unit is used to determine the spatial position bound to the unique identification information corresponding to the maximum signal strength as the position data of the wearable device at the current moment.

[0035] Furthermore, it also includes an outdoor positioning module, which is used to obtain satellite information at the current moment from the corresponding satellite navigation enhancement system if it is determined that the wearable device has switched to an outdoor scene, and obtain the location data of the wearable device at the current moment based on the satellite information.

[0036] Furthermore, the outdoor positioning module includes:

[0037] The second positioning unit is used for, if it is determined that the wearable device switches to an outdoor scene at the current moment, switching the ground-based augmentation function that is in an off state to an on state, and keeping the satellite-based augmentation function in an off state, obtaining the first satellite information from the ground-based augmentation system, and performing correction calculation according to the first satellite information to obtain the position data of the wearable device at the current moment;

[0038] The second positioning unit is used to turn off the ground-based augmentation function and turn on the satellite-based augmentation function after the ground-based augmentation function is turned on for a preset time, obtain the second satellite information from the satellite-based augmentation system, and perform correction calculation based on the second satellite information to obtain the position data of the wearable device at the current moment.

[0039] The present invention also provides a storage medium, in which at least one instruction is stored. The instruction is loaded and executed by a processor to implement the operation performed by the positioning implementation method.

[0040] The positioning implementation method, wearable device and storage medium provided by the present invention can improve the positioning accuracy of the wearable device indoors and outdoors, reduce the power consumption of indoor and outdoor positioning, and extend the battery life of the wearable device. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The following will explain the preferred implementation mode in a clear and understandable manner with reference to the accompanying drawings, and further explain the above-mentioned characteristics, technical features, advantages and implementation methods of a positioning implementation method, wearable device and storage medium.

[0042] Figure 1 is a flow chart of an embodiment of a positioning implementation method of the present invention;

[0043] Figure 2 is a flow chart of an embodiment of a positioning implementation method of the present invention;

[0044] Figure 3 is a flow chart of an embodiment of a positioning implementation method of the present invention;

[0045] Figure 4 is a flow chart of an embodiment of a positioning implementation method of the present invention;

[0046] Figure 5 It is a flow chart of an embodiment of a positioning implementation method of the present invention. DETAILED DESCRIPTION

[0047] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0048] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or collections.

[0049] In order to simplify the drawings, only the parts related to the present invention are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".

[0050] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0051] In addition, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.

[0053] One embodiment of the present invention, as Figure 1 As shown, a positioning implementation method includes:

[0054] S100 determines the usage scenario of the wearable device at the current moment;

[0055] Specifically, wearable devices include smart phones, phone watches, smart bracelets, learning machines, learning phones (phones that cannot download and use entertainment software functions), etc. Children, the elderly or disabled people, and even normal people carry and wear wearable devices at all times. Wearable devices can be equipped with GPS sensors and cameras as needed. Among them, usage scenarios include indoor and outdoor scenarios.

[0056] The wearable device can obtain video data of the wearable device's surrounding environment through a camera, perform frame processing on the video data to obtain image frames corresponding to different moments, and perform image recognition on the image frames at different moments to determine whether there are preset indoor items (such as beds, lamps, chairs, tables, vertical air conditioners, etc.). If the image recognition of the image frame at the previous moment shows that the above-mentioned preset indoor items exist, and the image recognition of the image frame at the current moment shows that the above-mentioned preset indoor items do not exist, then it is determined that the wearable device at the current moment switches from the indoor scene to the outdoor scene. If the image recognition of the image frame at the previous moment shows that the above-mentioned preset indoor items do not exist, and the image recognition of the image frame at the current moment shows that the above-mentioned preset indoor items exist, then it is determined that the wearable device at the current moment switches from the outdoor scene to the indoor scene. By analogy, the wearable device can use the camera to identify its own usage scene at each moment.

[0057] The wearable device can continuously and uninterruptedly perform GPS positioning through the GPS sensor to obtain continuous GPS signals, calculate the signal strength of the GPS signal at each moment, and perform signal strength transformation analysis based on the signal strength of the GPS signal at each moment. If the GPS signal at the current moment is less than the first threshold in chronological order, it is determined that the wearable device at the current moment switches from the indoor scene to the outdoor scene. In addition, if the GPS signal at the current moment is greater than the second threshold in chronological order, it is determined that the wearable device at the current moment switches from the outdoor scene to the indoor scene. The second threshold is greater than the first threshold.

[0058] If it is determined in S200 that the wearable device is switched to the indoor scene, the location data of the wearable device at the current moment is obtained by searching the pre-established entry point database according to the unique identification information of the WIFI signal searched by the wearable device at the current moment;

[0059] Specifically, the unique identification information of the WIFI signal is generally a MAC address, but it can also be a product S / N number, i.e., a product serial number. Because wearable devices are generally equipped with a wireless WIFI module, once the wearable device determines that it has switched from an outdoor scene to an indoor scene, the wearable device can call the wireless WIFI module to search for WIFI signals around itself, and then obtain the unique identification information of the WIFI signal searched at the current moment (for the sake of ease of description, the unique identification information of the searched WIFI signal is referred to as the target identification information below). Then, the wearable device matches the target identification information at the current moment with the pre-established entry point database to find the location data of the wearable device at the current moment.

[0060] When determining that it is an indoor scene, the present invention queries its own pre-established entry point database through the target identification information, and accurately locates the indoor position data of the wearable device, thereby realizing accurate indoor positioning of the wearable device. The present invention solves the problems of inaccurate indoor positioning information and low positioning accuracy through its own pre-established entry point database, effectively improves the accuracy and precision of indoor positioning, and improves the performance of indoor positioning.

[0061] One embodiment of the present invention, as Figure 2 As shown, a positioning implementation method includes:

[0062] S100 determines the usage scenario of the wearable device at the current moment;

[0063] If it is determined in S200 that the wearable device is switched to the indoor scene, the location data of the wearable device at the current moment is obtained by searching the pre-established entry point database according to the unique identification information of the WIFI signal searched by the wearable device at the current moment;

[0064] If it is determined in S300 that the wearable device is switched to an outdoor scene, satellite information at the current moment is obtained from the corresponding satellite navigation enhancement system, and location data of the wearable device at the current moment is obtained according to the satellite information.

[0065] Specifically, this embodiment is an optimized embodiment of the above embodiment, and the parts of this embodiment that are the same as the above embodiment refer to the above embodiment. The Global Navigation Satellite System GNSS (Global Navigation Satellie System) can provide users with all-weather satellite information (including satellite position, distance between wearable device and satellite, and time information). GPS positioning requires receiving at least 4 satellite signals, and the wearable device can obtain satellite information by parsing the electromagnetic wave signal emitted by the satellite end. However, since the observation value interpreted by the wearable device will be affected by various error sources, mainly including: satellite error, ionosphere error, troposphere error, receiver error, multipath effect, etc. Therefore, it is necessary to provide a high-precision positioning method for wearable devices, and high-precision positioning refers to a positioning method with a positioning accuracy better than 1 meter. At present, high-precision positioning is mainly achieved through the cooperation of satellite navigation system and satellite navigation enhancement system. The satellite navigation enhancement system actually increases the navigation accuracy and integrity of the satellite navigation system by adding satellites or ground reference stations with similar performance, which is equivalent to the "navigation accuracy multiplier" of the satellite navigation system. Among them, the satellite navigation augmentation system includes the Ground-Based Augmentation System (GBAS) and the Satellite-Based Augmentation System (SBAS).

[0066] The ground-based augmentation system refers to a satellite navigation augmentation system that builds ground-based augmentation stations on the ground, relies on these stations and communication networks to broadcast the differential data of the ground reference station to various terminal devices (including wearable devices) that require high-precision positioning, and assists the terminal devices to obtain high-precision positioning through the RTK (Real-Time Kinematic) algorithm. The positioning principle of the RTK algorithm is the RTK double-difference positioning principle, that is, the observation values ​​received by two wearable devices at a close distance are affected by error sources such as ionospheric error, tropospheric error, satellite error and receiver error, but by subtracting the two, the above-mentioned errors can be weakened or even eliminated, thereby improving the positioning accuracy of wearable devices.

[0067] The satellite-based augmentation system refers to a satellite-based augmentation system that provides satellite-based augmentation stations on the ground, relies on these stations and geostationary orbit satellites equipped with satellite navigation augmentation signal repeaters to broadcast error data such as ephemeris error, satellite clock error and ionospheric delay to various terminal devices (including wearable devices) that require high-precision positioning, and assists the terminal devices to obtain high-precision positioning through the PPP positioning principle. The PPP positioning principle (Precise Point Position) is a single-point positioning technology that corrects all errors from the satellite in the sky to the ground receiver to provide positioning accuracy to achieve centimeter-level positioning.

[0068] Once the wearable device determines that it has switched to an outdoor scene, it can obtain the current satellite information from the ground-based augmentation system or the satellite-based augmentation system, and then perform correction calculations based on the obtained satellite information to obtain the wearable device's current location data.

[0069] When the present invention determines that the scene is indoor, the entry point database is queried according to the target identification information to perform indoor high-precision positioning. When the scene is determined to be outdoor, high-precision outdoor positioning is performed through GPS positioning technology and satellite information obtained from the satellite navigation enhancement system, so as to achieve seamless connection between indoor and outdoor precise positioning. That is, in outdoor scenes, the outdoor location data of the wearable device is accurately located through the satellite navigation system and the satellite navigation enhancement system, and in indoor scenes, the entry point database pre-established by the wearable device is queried according to the target identification information to perform accurate positioning of the indoor location data of the wearable device, thereby achieving accurate indoor and outdoor positioning and seamless switching of the wearable device. The present invention solves the problems of inaccurate indoor and outdoor positioning information and low positioning accuracy respectively through the entry point database pre-established by itself and the satellite information obtained from the satellite navigation enhancement system, and realizes the integration of indoor and outdoor positioning in the map positioning and navigation application scenarios of wearable devices, effectively improving the convenience, accuracy and precision of positioning and navigation, and improving the positioning performance.

[0070] One embodiment of the present invention, as Figure 3 As shown, a positioning implementation method includes:

[0071] S010 determines the spatial location of the wearable device as the entry point when the signal strength of the GPS signal decreases to a signal threshold, and starts a WIFI search function;

[0072] S020: Bind the unique identification information corresponding to the searched WIFI signal to the entry points to obtain an entry point database;

[0073] Specifically, for map service providers such as Baidu Maps and Amap to solve WiFi positioning, a very important point is to know the location of the wireless AP (Wireless Access Point), and to achieve WiFi positioning through the location of the wireless AP and the WiFi signal strength.

[0074] Since the characteristic of GPS is that it can only be used outdoors, it is impossible to continuously search for GPS signals indoors due to the obstruction of obstacles such as walls, so indoor GPS cannot be positioned. Using this characteristic of GPS, the wearable device uses a GPS sensor for continuous positioning, and then finds the spatial position of the wearable device when it enters the indoor scene from the outdoor scene and records it as the entry point, and obtains the target moment when the signal strength of the GPS signal decreases to the signal threshold. The entry point is the spatial position of the wearable device located by GPS at the target moment. When GPS cannot be positioned, it means that the wearable device has entered the room. At this time, the WIFI function of the wearable device is immediately turned on, and the surrounding WIFI signals are continuously searched through the wireless WIFI module, and the unique identification information of the searched WIFI signal is obtained, and then these unique identification information are associated and bound with the corresponding entry point. In this way, an entry point database will be formed, and this entry point database includes the binding relationship between the entry point and the unique identification information in the building. Preferably, the target threshold is less than the first threshold.

[0075] S100 determines the usage scenario of the wearable device at the current moment;

[0076] If it is determined that the wearable device is switched to the indoor scene, S210 starts a WIFI search function to search for a target WIFI signal around the wearable device, and obtains the signal strength of the searched target WIFI signal;

[0077] S220 searches the entry point database to obtain the corresponding spatial location according to the unique identification information corresponding to the target WIFI signals;

[0078] S230 determines the spatial position bound to the unique identification information corresponding to the maximum signal strength as the position data of the wearable device at the current moment;

[0079] Specifically, once the wearable device is determined to be switched to an indoor scene through the above embodiment, the wearable device will start the WIFI search function, and then control its own wireless WIFI module to search for all WIFI signals around the wearable device. If only one target identification information is searched, then the entry point database is traversed to find whether the target identification information exists. If the target identification information exists in the entry point database, then the corresponding spatial position is retrieved according to the entry point bound to the target identification information, and the spatial position is determined as the indoor location data of the wearable device.

[0080] Of course, since the WIFI signal has the function of penetrating walls, when the wireless WIFI module of the wearable device searches for WIFI signals around itself, it may be possible to search for multiple WIFI signals, so there will be a scenario with multiple target identification information. Therefore, if multiple target identification information is searched, the wearable device will also detect and obtain the signal strength of the multiple WIFI signals searched, and then traverse the entry point database to find whether there are target identification information corresponding to multiple WIFI signals, filter out the target identification information that does not exist in the entry point database to obtain the remaining target identification information, and retrieve the corresponding spatial position according to the entry point bound to the remaining target identification information, and obtain the spatial position corresponding to all the remaining target identification information. Then, the wearable device compares the signal strength (Received Signal Strength, referred to as RSS) of the WIFI signals corresponding to the remaining target identification information, and finally determines that the spatial position bound to the remaining target identification information with the largest signal strength is the position data of the wearable device indoors.

[0081] Exemplarily, after the mobile phone switches to the indoor scene, if the WIFI function is turned on and three WIFI signals are searched, the three WIFI signals are WIFI-A, WIFI-B and WIFI-C, and the unique identification information corresponding to the three WIFI signals are MAC address 1, MAC address 2 and MAC address 3. Assume that the signal strengths of these three WIFI signals are RSS-A, RSS-B and RSS-C, respectively, and their size relationship is RSS-A>RSS-B>RSS-C. The mobile phone searches the pre-established entry point database for MAC address 1, MAC address 2 and MAC address 3. If MAC address 2 does not exist in the entry point database, then MAC address 2 is discarded, and the spatial locations found by the mobile phone through the entry point database are position A and position B. Then, the mobile phone directly compares the size of RSS-A and RSS-C, because RSS-A>RSS-C, therefore, finally, the mobile phone determines that MAC address 1 is the location data of the mobile phone indoors at this time.

[0082] If it is determined in S300 that the wearable device is switched to an outdoor scene, satellite information at the current moment is obtained from the corresponding satellite navigation enhancement system, and location data of the wearable device at the current moment is obtained according to the satellite information.

[0083] The present invention is different from the WIFI indoor positioning of the map service provider in that it mainly relies on the hardware of the wearable device itself, and establishes a private positioning database for the wearable device by itself. When positioning, it no longer strongly relies on the WIFI positioning of the map service provider. Therefore, the corresponding spatial position is obtained through the searched target identification information entry point database, and the spatial position corresponding to the maximum signal strength at the current moment is selected as the position data of the wearable device at the current moment, which can not only solve the large-scale error caused by the untimely update of the positioning data of the map service provider's map. Moreover, the spatial position corresponding to the entry point is actually obtained by positioning based on GPS positioning technology. Because the accuracy of GPS positioning is relatively high, most of it is within 20 meters, and the length and width of the building generally do not exceed 80 meters. In this way, the indoor positioning error can be controlled within 20 meters + the building area, so that when the user wearing the wearable device performs indoor positioning, there will be no positioning result with an error of more than 100 meters, which can ensure that the positioning position of the user wearing the wearable device is within 100 meters of the actual position. The present invention can effectively solve the problem of extremely large positioning errors caused by the map service provider's failure to update positioning data in a timely manner, so that the indoor positioning of wearable devices will not have an error greater than 100 meters.

[0084] S400 receives a positioning monitoring request initiated by a guardian terminal, and sends the location data of the wearable device to the guardian terminal.

[0085] Specifically, when guardians such as parents, teachers or doctors use guardian terminals (including smart phones, smart bracelets, tablets, laptops, etc.) to click on active positioning, the guardian terminal will generate a positioning monitoring request and send it to the bound wearable device. The wearable device establishes a communication connection with the server through wireless communication (WIFI, 2G, 3G, 4G or 5G mobile networks, etc.), and the guardian terminal also establishes a communication connection with the server through wireless communication. When the guardian terminal generates a positioning monitoring request and sends it to the bound wearable device, the wearable device will send the location data to the server and report its own identification information (such as MAC address, IP address, device serial number, etc.). The server will store the target identification information or target associated account of the guardian terminal bound to the device identification information, and then the server will send the location data to the guardian terminal corresponding to the target identification information or target registered account.

[0086] In this embodiment, the guardian terminal can obtain the location data of the wearer wearing the wearable device, so that the guardian can know the location of the wearer at any time, so that when the wearer is lost or in danger, rescue can be carried out in time based on accurate location data to ensure the wearer's travel safety.

[0087] One embodiment of the present invention, as Figure 4 As shown, a positioning implementation method includes:

[0088] S100 determines the usage scenario of the wearable device at the current moment;

[0089] If it is determined in S200 that the wearable device is switched to the indoor scene, the location data of the wearable device at the current moment is obtained by searching the pre-established entry point database according to the unique identification information of the WIFI signal searched by the wearable device at the current moment;

[0090] S310: if it is determined that the wearable device is switched to an outdoor scene at the current moment, the ground-based augmentation function that is in an off state is switched to an on state, and the satellite-based augmentation function is kept in an off state, and the first satellite information is obtained from the ground-based augmentation system, and the position data of the wearable device at the current moment is obtained by performing correction calculation according to the first satellite information;

[0091] S320: after the ground-based augmentation function is turned on for a preset time, the ground-based augmentation function is turned off and the satellite-based augmentation function is turned on, the second satellite information is obtained from the satellite-based augmentation system, and the position data of the wearable device at the current moment is obtained by performing correction calculation according to the second satellite information;

[0092] S400 receives a positioning monitoring request initiated by a guardian terminal, and sends the location data of the wearable device to the guardian terminal.

[0093] Specifically, wearable devices turn off the ground-based augmentation function and satellite-based augmentation function by default in indoor scenarios. It is well known that the convergence time of the ground-based augmentation system (convergence time is the time it takes to obtain a positioning result based on satellite information) is shorter than that of the satellite-based augmentation system. Moreover, since the ground-based augmentation system needs to rely on the network to send differential data, the power consumption of the ground-based augmentation system is higher than that of the satellite-based augmentation system.

[0094] Since the ground-based augmentation system uses RTK technology for positioning correction, RTK technology has relatively low requirements for the environment. It can help improve positioning accuracy in open, semi-occluded or lightly obscured environments, and can quickly restore positioning accuracy after the wearable device is severely obscured. The satellite-based augmentation system uses the PPP principle for positioning correction. The PPP principle has relatively high requirements for the environment. It generally needs to help improve positioning accuracy in an open environment, and it takes a long time to restore positioning accuracy after the wearable device is obscured.

[0095] Once the wearable device determines that it has switched to an outdoor scene at the current moment, it means that the wearable device is still in a shielded state. If the satellite-based augmentation system is used for auxiliary positioning correction at this time, the convergence time will be relatively long and the accuracy will be relatively low. Therefore, the wearable device first switches the ground-based augmentation function from the off state to the on state, and keeps the satellite-based augmentation function off, and obtains the first satellite information from the ground-based augmentation system, wherein the first satellite information includes the differential data of the ground reference station, and the position data of the wearable device at the current moment is obtained by correction calculation based on the differential data. At the same time, the wearable device counts at the start time of the ground-based augmentation function. After the duration of the ground-based augmentation function reaches the preset duration, the ground-based augmentation function is turned off and the satellite-based augmentation function is turned on, and the second satellite information is obtained from the satellite-based augmentation system. The second satellite information includes error data such as ephemeris error, satellite clock error, and ionospheric delay. The wearable device performs correction calculation based on the second satellite information to obtain the position data of the wearable device at the current moment.

[0096] In this embodiment, the difference between the satellite-based augmentation system and the ground-based augmentation system is that the satellite-based augmentation system has a slow convergence speed, a long time consumption and low power consumption; the ground-based augmentation system has a fast convergence speed, a short time consumption and high power consumption. The present invention combines the advantages of both systems and makes up for their shortcomings, making it suitable for outdoor positioning on wearable devices, improving the outdoor positioning accuracy of wearable devices, reducing the power consumption of outdoor positioning, and extending the battery life of wearable devices.

[0097] One embodiment of the present invention, as Figure 5 As shown, a positioning implementation method includes:

[0098] S100 determines the usage scenario of the wearable device at the current moment;

[0099] If it is determined in S200 that the wearable device is switched to the indoor scene, the location data of the wearable device at the current moment is obtained by searching the pre-established entry point database according to the unique identification information of the WIFI signal searched by the wearable device at the current moment;

[0100] S330: if it is determined that the wearable device is switched to an outdoor scene at the current moment, determining whether the distance between the wearable device and the preset blocking object is less than a preset distance threshold;

[0101] Specifically, the usage scenarios include indoor scenes and outdoor scenes, and outdoor scenes include relatively open scenes and relatively blocked scenes. Among them, relatively blocked scenes include urban main roads, pedestrian bridges, viaducts, boulevards and other non-completely blocked environments, while relatively open scenes include suburbs, playgrounds and other less blocked environments.

[0102] First, the wearable device can obtain video data of the wearable device's surrounding environment through a camera, perform frame processing on the video data to obtain image frames corresponding to different moments, perform image recognition on the image frames at different moments, and calculate the distance value between itself and the preset obstruction (such as a pedestrian bridge, an elevated bridge, a boulevard, a building) through image depth calculation to determine whether the distance value is greater than a preset distance threshold. If the distance value at the previous moment is less than (or less than or equal to) the preset distance threshold, and the distance value at the current moment is greater than or equal to (or greater than) the preset distance threshold, it is determined that the wearable device at the current moment switches from a non-completely blocked scene to an almost unobstructed scene. If the distance value at the previous moment is greater than or equal to (or greater than) the preset distance threshold, and the distance value at the current moment is less than (or less than or equal to) the preset distance threshold, it is determined that the wearable device at the current moment switches from an almost unobstructed scene to a non-completely blocked scene.

[0103] In addition, the wearable device can continuously and uninterruptedly perform GPS positioning through the GPS sensor to obtain continuous GPS signals, calculate the signal strength of the GPS signal at each moment, and perform signal strength transformation analysis based on the signal strength of the GPS signal at each moment. If the GPS signal is less than the first threshold at the current moment in chronological order, it is determined that the wearable device at the current moment switches from an indoor scene (or a non-completely blocked scene) to an outdoor scene (or an almost unobstructed scene). In addition, if the GPS signal is greater than the second threshold at the current moment in chronological order, it is determined that the wearable device at the current moment switches from an outdoor scene (or an almost unobstructed scene) to an indoor scene (or a non-completely blocked scene). Wherein, the second threshold is greater than the first threshold.

[0104] S340: if the distance value is less than the preset distance threshold, the ground-based augmentation function that is in an off state is switched to an on state, and the satellite-based augmentation function is kept in an off state, and the first satellite information is obtained from the ground-based augmentation system, and the position data of the wearable device at the current moment is obtained by performing correction calculation according to the first satellite information;

[0105] S350: if the distance value is greater than the preset distance threshold, the ground-based augmentation function is turned off and the satellite-based augmentation function is turned on, the second satellite information is obtained from the satellite-based augmentation system, and the position data of the wearable device at the current moment is obtained by performing correction calculation according to the second satellite information;

[0106] Specifically, through the characteristics of the ground-based augmentation system and the satellite-based augmentation system described in the above embodiments, it can be known that in a scenario where the wearable device is relatively close to a preset obstruction (e.g., indoors, pedestrian bridges, viaducts, boulevards, and buildings), if the satellite-based augmentation system is used for auxiliary positioning correction, the convergence time will be relatively long and the accuracy will be relatively low. Therefore, the wearable device needs to determine whether the distance value between itself and the preset obstruction is less than the preset distance threshold. If the wearable device determines that the distance value between itself and the preset obstruction is less than the preset distance threshold, it means that the wearable device is relatively close to the preset obstruction, that is, the wearable device is in a relative obstruction environment (that is, a non-completely obstructed scene) at this time. Therefore, if the wearable device determines that the distance value between itself and the preset obstruction is less than the preset distance threshold, the wearable device will switch the ground-based augmentation function in the closed state to the open state, and keep the satellite-based augmentation function in the closed state, and obtain the first satellite information from the ground-based augmentation system, wherein the first satellite information includes satellite ephemeris, differential data of the ground reference station, etc., and the position data of the wearable device at the current moment is obtained by correction calculation based on the differential data. If the wearable device determines that the distance between itself and the preset obstruction is greater than the preset distance threshold, it means that the wearable device is far away from the preset obstruction, that is, the wearable device is in a relatively open environment (that is, almost no obstruction scene). Therefore, if the wearable device determines that the distance between itself and the preset obstruction is greater than the preset distance threshold, the wearable device turns off the ground-based augmentation function and turns on the satellite-based augmentation function, and obtains the second satellite information from the satellite-based augmentation system. The second satellite information includes error data such as ephemeris error, satellite clock error, and ionospheric delay. The wearable device performs correction calculation based on the second satellite information to obtain the position data of the wearable device at the current moment.

[0107] S400 receives a positioning monitoring request initiated by a guardian terminal, and sends the location data of the wearable device to the guardian terminal.

[0108] In this embodiment, the difference between the satellite-based augmentation system and the ground-based augmentation system is that the satellite-based augmentation system has a slow convergence speed, a long time consumption and low power consumption; the ground-based augmentation system has a fast convergence speed, a short time consumption and high power consumption. The present invention combines the advantages of both systems and makes up for their shortcomings, making it suitable for outdoor positioning on wearable devices, improving the outdoor positioning accuracy of wearable devices, reducing the power consumption of outdoor positioning, and extending the battery life of wearable devices.

[0109] Exemplarily, when it is detected that the phone watch comes out of the room, the ground-based augmentation is turned on and the RTK technology is used to collect the current satellite ephemeris, differential signal and other first satellite information, and this time is within 30 seconds. Because the ground-based augmentation system needs to rely on LTE network transmission and has high power consumption, the use of satellite-based augmentation (SBAS) does not require an LTE network and can achieve low-power and high-precision positioning. Therefore, after obtaining the first satellite information from the ground-based augmentation system, the phone watch immediately switches to the satellite-based augmentation system to collect the second satellite information. Through ground-based augmentation, the satellite ephemeris collection time is shortened; through satellite-based augmentation, the power consumption of the product is reduced. Through the integration of these two technologies, the present invention enables the phone watch to achieve low-power, high-precision GPS positioning effects in outdoor scenarios.

[0110] One embodiment of the present invention provides a wearable device, comprising:

[0111] A judgment module, used to judge the usage scenario of the wearable device at the current moment;

[0112] Specifically, wearable devices include smart phones, phone watches, smart bracelets, learning machines, learning phones (phones that cannot download and use entertainment software functions), etc. Children, the elderly or disabled people, and even normal people carry and wear wearable devices at all times. Wearable devices can be equipped with GPS sensors and cameras as needed. Among them, usage scenarios include indoor and outdoor scenarios.

[0113] The wearable device can obtain video data of the wearable device's surrounding environment through a camera, perform frame processing on the video data to obtain image frames corresponding to different moments, and perform image recognition on the image frames at different moments to determine whether there are preset indoor items (such as beds, lamps, chairs, tables, vertical air conditioners, etc.). If the image recognition of the image frame at the previous moment shows that the above-mentioned preset indoor items exist, and the image recognition of the image frame at the current moment shows that the above-mentioned preset indoor items do not exist, then it is determined that the wearable device at the current moment switches from the indoor scene to the outdoor scene. If the image recognition of the image frame at the previous moment shows that the above-mentioned preset indoor items do not exist, and the image recognition of the image frame at the current moment shows that the above-mentioned preset indoor items exist, then it is determined that the wearable device at the current moment switches from the outdoor scene to the indoor scene. By analogy, the wearable device can use the camera to identify its own usage scene at each moment.

[0114] The wearable device can continuously and uninterruptedly perform GPS positioning through the GPS sensor to obtain continuous GPS signals, calculate the signal strength of the GPS signal at each moment, and perform signal strength transformation analysis based on the signal strength of the GPS signal at each moment. If the GPS signal at the current moment is less than the first threshold in chronological order, it is determined that the wearable device at the current moment switches from the indoor scene to the outdoor scene. In addition, if the GPS signal at the current moment is greater than the second threshold in chronological order, it is determined that the wearable device at the current moment switches from the outdoor scene to the indoor scene. The second threshold is greater than the first threshold.

[0115] The indoor positioning module is used to search the pre-established entry point database to obtain the location data of the wearable device at the current moment according to the unique identification information of the WIFI signal searched by the wearable device at the current moment if it is determined that the wearable device switches to the indoor scene;

[0116] Specifically, the unique identification information of the WIFI signal is generally a MAC address, but it can also be a product S / N number, i.e., a product serial number. Because wearable devices are generally equipped with a wireless WIFI module, once the wearable device determines that it has switched from an outdoor scene to an indoor scene, the wearable device can call the wireless WIFI module to search for WIFI signals around itself, and then obtain the unique identification information of the WIFI signal searched at the current moment (for the sake of ease of description, the unique identification information of the searched WIFI signal is referred to as the target identification information below). Then, the wearable device matches the target identification information at the current moment with the pre-established entry point database to find the location data of the wearable device at the current moment.

[0117] The outdoor positioning module is used to obtain the satellite information at the current moment from the corresponding satellite navigation enhancement system when it is determined that the wearable device has switched to an outdoor scene, and obtain the location data of the wearable device at the current moment based on the satellite information.

[0118] Specifically, the Global Navigation Satellite System (GNSS) can provide users with all-weather satellite information (including satellite positions, distances between wearable devices and satellites, and time information). GPS positioning requires receiving signals from at least four satellites, and wearable devices can obtain satellite information by parsing electromagnetic wave signals emitted by satellites. However, the observation values ​​interpreted by wearable devices are affected by various error sources, including satellite errors, ionospheric errors, tropospheric errors, receiver errors, multipath effects, etc. Therefore, it is necessary to provide a high-precision positioning method for wearable devices, and high-precision positioning refers to a positioning method with a positioning accuracy better than 1 meter. At present, high-precision positioning is mainly achieved through the cooperation of satellite navigation systems and satellite navigation enhancement systems. The satellite navigation enhancement system actually increases the navigation accuracy and integrity of the satellite navigation system by adding satellites or ground reference stations with similar performance, which is equivalent to the "navigation accuracy multiplier" of the satellite navigation system. Among them, the satellite navigation augmentation system includes the Ground-Based Augmentation System (GBAS) and the Satellite-Based Augmentation System (SBAS).

[0119] The ground-based augmentation system refers to a satellite navigation augmentation system that builds ground-based augmentation stations on the ground, relies on these stations and communication networks to broadcast the differential data of the ground reference station to various terminal devices (including wearable devices) that require high-precision positioning, and assists the terminal devices to obtain high-precision positioning through the RTK (Real-Time Kinematic) algorithm. The positioning principle of the RTK algorithm is the RTK double-difference positioning principle, that is, the observation values ​​received by two wearable devices at a close distance are affected by error sources such as ionospheric error, tropospheric error, satellite error and receiver error, but by subtracting the two, the above-mentioned errors can be weakened or even eliminated, thereby improving the positioning accuracy of wearable devices.

[0120] The satellite-based augmentation system refers to a satellite-based augmentation system that provides satellite-based augmentation stations on the ground, relies on these stations and geostationary orbit satellites equipped with satellite navigation augmentation signal repeaters to broadcast error data such as ephemeris error, satellite clock error and ionospheric delay to various terminal devices (including wearable devices) that require high-precision positioning, and assists the terminal devices to obtain high-precision positioning through the PPP positioning principle. The PPP positioning principle (Precise Point Position) is a single-point positioning technology that corrects all errors from the satellite in the sky to the ground receiver to provide positioning accuracy to achieve centimeter-level positioning.

[0121] Once the wearable device determines that it has switched to an outdoor scene, it can obtain the current satellite information from the ground-based augmentation system or the satellite-based augmentation system, and then perform correction calculations based on the obtained satellite information to obtain the wearable device's location data at the current moment.

[0122] When the present invention determines that the scene is indoor, the entry point database is queried according to the target identification information to perform indoor high-precision positioning. When the scene is determined to be outdoor, high-precision outdoor positioning is performed through GPS positioning technology and satellite information obtained from the satellite navigation enhancement system, so as to achieve seamless connection between indoor and outdoor precise positioning. That is, in outdoor scenes, the outdoor location data of the wearable device is accurately located through the satellite navigation system and the satellite navigation enhancement system, and in indoor scenes, the entry point database pre-established by the wearable device is queried according to the target identification information to perform accurate positioning of the indoor location data of the wearable device, thereby achieving accurate indoor and outdoor positioning and seamless switching of the wearable device. The present invention solves the problems of inaccurate indoor and outdoor positioning information and low positioning accuracy respectively through the entry point database pre-established by itself and the satellite information obtained from the satellite navigation enhancement system, and realizes the integration of indoor and outdoor positioning in the map positioning and navigation application scenarios of wearable devices, effectively improving the convenience, accuracy and precision of positioning and navigation, and improving the positioning performance.

[0123] Based on the above embodiment, it also includes:

[0124] A control module, configured to determine the spatial location of the wearable device as an entry point and start a WIFI search function when the signal strength of the GPS signal decreases to a signal threshold;

[0125] The database building module is used to bind the unique identification information corresponding to the searched WIFI signal with the entry point to obtain the entry point database.

[0126] Specifically, for map service providers such as Baidu Maps and Amap to solve WiFi positioning, a very important point is to know the location of the wireless AP (Wireless Access Point), and to achieve WiFi positioning through the location of the wireless AP and the WiFi signal strength.

[0127] Since the characteristic of GPS is that it can only be used outdoors, it is impossible to continuously search for GPS signals indoors due to the obstruction of obstacles such as walls, so indoor GPS cannot be positioned. Using this characteristic of GPS, the wearable device uses a GPS sensor for continuous positioning, and then finds the spatial position of the wearable device when it enters the indoor scene from the outdoor scene and records it as the entry point, and obtains the target moment when the signal strength of the GPS signal decreases to the signal threshold. The entry point is the spatial position of the wearable device located by GPS at the target moment. When GPS cannot be positioned, it means that the wearable device has entered the room. At this time, the WIFI function of the wearable device is immediately turned on, and the surrounding WIFI signals are continuously searched through the wireless WIFI module, and the unique identification information of the searched WIFI signal is obtained, and then these unique identification information are associated and bound with the corresponding entry point. In this way, an entry point database will be formed, and this entry point database includes the binding relationship between the entry point and the unique identification information in the building. Preferably, the target threshold is less than the first threshold.

[0128] Based on the above embodiment, the indoor positioning module includes:

[0129] A control unit, used to start a WIFI search function to search for a target WIFI signal around the wearable device, and obtain the signal strength of the searched target WIFI signal;

[0130] A search unit, used to search the entry point database to obtain the corresponding spatial position according to the unique identification information corresponding to the target WIFI signal;

[0131] The first positioning unit is used to determine the spatial position bound to the unique identification information corresponding to the maximum signal strength as the position data of the wearable device at the current moment.

[0132] Specifically, once the wearable device is determined to be switched to an indoor scene through the above embodiment, the wearable device will start the WIFI search function, and then control its own wireless WIFI module to search for all WIFI signals around the wearable device. If only one target identification information is searched, then the entry point database is traversed to find whether the target identification information exists. If the target identification information exists in the entry point database, then the corresponding spatial position is retrieved according to the entry point bound to the target identification information, and the spatial position is determined as the indoor location data of the wearable device.

[0133] Of course, since the WIFI signal has the function of penetrating walls, when the wireless WIFI module of the wearable device searches for WIFI signals around itself, it may be possible to search for multiple WIFI signals, so there will be a scenario with multiple target identification information. Therefore, if multiple target identification information is searched, the wearable device will also detect and obtain the signal strength of the multiple WIFI signals searched, and then traverse the entry point database to find whether there are target identification information corresponding to multiple WIFI signals, filter out the target identification information that does not exist in the entry point database to obtain the remaining target identification information, and retrieve the corresponding spatial position according to the entry point bound to the remaining target identification information, and obtain the spatial position corresponding to all the remaining target identification information. Then, the wearable device compares the signal strength (Received Signal Strength, referred to as RSS) of the WIFI signals corresponding to the remaining target identification information, and finally determines that the spatial position bound to the remaining target identification information with the largest signal strength is the position data of the wearable device indoors.

[0134] The present invention is different from the WIFI indoor positioning of the map service provider in that it mainly relies on the hardware of the wearable device itself, and establishes a private positioning database for the wearable device by itself. When positioning, it no longer strongly relies on the WIFI positioning of the map service provider. Therefore, the corresponding spatial position is obtained through the searched target identification information entry point database, and the spatial position corresponding to the maximum signal strength at the current moment is selected as the position data of the wearable device at the current moment, which can not only solve the large-scale error caused by the untimely update of the positioning data of the map service provider's map. Moreover, the spatial position corresponding to the entry point is actually obtained by positioning based on GPS positioning technology. Because the accuracy of GPS positioning is relatively high, most of it is within 20 meters, and the length and width of the building generally do not exceed 80 meters. In this way, the indoor positioning error can be controlled within 20 meters + the building area, so that when the user wearing the wearable device performs indoor positioning, there will be no positioning result with an error of more than 100 meters, which can ensure that the positioning position of the user wearing the wearable device is within 100 meters of the actual position. The present invention can effectively solve the problem of extremely large positioning errors caused by the map service provider's failure to update positioning data in a timely manner, so that the indoor positioning of wearable devices will not have an error greater than 100 meters.

[0135] Specifically, when guardians such as parents, teachers or doctors use guardian terminals (including smart phones, smart bracelets, tablets, laptops, etc.) to click on active positioning, the guardian terminal will generate a positioning monitoring request and send it to the bound wearable device. The wearable device establishes a communication connection with the server through wireless communication (WIFI, 2G, 3G, 4G or 5G mobile networks, etc.), and the guardian terminal also establishes a communication connection with the server through wireless communication. When the guardian terminal generates a positioning monitoring request and sends it to the bound wearable device, the wearable device will send the location data to the server and report its own identification information (such as MAC address, IP address, device serial number, etc.). The server will store the target identification information or target associated account of the guardian terminal bound to the device identification information, and then the server will send the location data to the guardian terminal corresponding to the target identification information or target registered account.

[0136] In this embodiment, the guardian terminal can obtain the location data of the wearer wearing the wearable device, so that the guardian can know the location of the wearer at any time, so that when the wearer is lost or in danger, rescue can be carried out in time based on accurate location data to ensure the wearer's travel safety.

[0137] Based on the foregoing embodiment, the outdoor positioning module includes:

[0138] The second positioning unit is used for, if it is determined that the wearable device switches to an outdoor scene at the current moment, switching the ground-based augmentation function that is in an off state to an on state, and keeping the satellite-based augmentation function in an off state, obtaining the first satellite information from the ground-based augmentation system, and performing correction calculation according to the first satellite information to obtain the position data of the wearable device at the current moment;

[0139] The second positioning unit is used to turn off the ground-based augmentation function and turn on the satellite-based augmentation function after the ground-based augmentation function is turned on for a preset time, obtain the second satellite information from the satellite-based augmentation system, and perform correction calculation based on the second satellite information to obtain the position data of the wearable device at the current moment.

[0140] Specifically, it is well known that the convergence time of the ground-based augmentation system (convergence time is the time it takes to obtain a positioning result based on satellite information) is shorter than that of the satellite-based augmentation system. Moreover, since the ground-based augmentation system needs to rely on the network to send differential data, the power consumption of the ground-based augmentation system is higher than that of the satellite-based augmentation system.

[0141] Since the ground-based augmentation system uses RTK technology for positioning correction, RTK technology has relatively low requirements for the environment. It can help improve positioning accuracy in open, semi-occluded or lightly obscured environments, and can quickly restore positioning accuracy after the wearable device is severely obscured. The satellite-based augmentation system uses the PPP principle for positioning correction. The PPP principle has relatively high requirements for the environment. It generally needs to help improve positioning accuracy in an open environment, and it takes a long time to restore positioning accuracy after the wearable device is obscured.

[0142] Once the wearable device determines that it has switched to an outdoor scene at the current moment, it means that the wearable device is still in a shielded state. If the satellite-based augmentation system is used for auxiliary positioning correction at this time, the convergence time will be relatively long and the accuracy will be relatively low. Therefore, the wearable device first switches the ground-based augmentation function from the off state to the on state, and keeps the satellite-based augmentation function off, and obtains the first satellite information from the ground-based augmentation system, wherein the first satellite information includes the differential data of the ground reference station, and the position data of the wearable device at the current moment is obtained by correction calculation based on the differential data. At the same time, the wearable device counts at the start time of the ground-based augmentation function. After the duration of the ground-based augmentation function reaches the preset duration, the ground-based augmentation function is turned off and the satellite-based augmentation function is turned on, and the second satellite information is obtained from the satellite-based augmentation system. The second satellite information includes error data such as ephemeris error, satellite clock error, and ionospheric delay. The wearable device performs correction calculation based on the second satellite information to obtain the position data of the wearable device at the current moment.

[0143] In this embodiment, the difference between the satellite-based augmentation system and the ground-based augmentation system is that the satellite-based augmentation system has a slow convergence speed, a long time consumption and low power consumption; the ground-based augmentation system has a fast convergence speed, a short time consumption and high power consumption. The present invention combines the advantages of both systems and makes up for their shortcomings, making it suitable for outdoor positioning on wearable devices, improving the outdoor positioning accuracy of wearable devices, reducing the power consumption of outdoor positioning, and extending the battery life of wearable devices.

[0144] Based on the foregoing embodiment, the outdoor positioning module includes:

[0145] A distance judgment unit, configured to judge whether the distance between the wearable device and the preset blocking object is less than a preset distance threshold if it is determined that the wearable device is switched to an outdoor scene at the current moment;

[0146] Specifically, the usage scenarios include indoor scenes and outdoor scenes, and outdoor scenes include relatively open scenes and relatively blocked scenes. Among them, relatively blocked scenes include urban main roads, pedestrian bridges, viaducts, boulevards and other non-completely blocked environments, while relatively open scenes include suburbs, playgrounds and other less blocked environments.

[0147] First, the wearable device can obtain video data of the wearable device's surrounding environment through a camera, perform frame processing on the video data to obtain image frames corresponding to different moments, perform image recognition on the image frames at different moments, and calculate the distance value between itself and the preset obstruction (such as a pedestrian bridge, an elevated bridge, a boulevard, a building) through image depth calculation to determine whether the distance value is greater than a preset distance threshold. If the distance value at the previous moment is less than (or less than or equal to) the preset distance threshold, and the distance value at the current moment is greater than or equal to (or greater than) the preset distance threshold, it is determined that the wearable device at the current moment switches from a non-completely blocked scene to an almost unobstructed scene. If the distance value at the previous moment is greater than or equal to (or greater than) the preset distance threshold, and the distance value at the current moment is less than (or less than or equal to) the preset distance threshold, it is determined that the wearable device at the current moment switches from an almost unobstructed scene to a non-completely blocked scene.

[0148] In addition, the wearable device can continuously and uninterruptedly perform GPS positioning through the GPS sensor to obtain continuous GPS signals, calculate the signal strength of the GPS signal at each moment, and perform signal strength transformation analysis based on the signal strength of the GPS signal at each moment. If the GPS signal is less than the first threshold at the current moment in chronological order, it is determined that the wearable device at the current moment switches from an indoor scene (or a non-completely blocked scene) to an outdoor scene (or an almost unobstructed scene). In addition, if the GPS signal is greater than the second threshold at the current moment in chronological order, it is determined that the wearable device at the current moment switches from an outdoor scene (or an almost unobstructed scene) to an indoor scene (or a non-completely blocked scene). Wherein, the second threshold is greater than the first threshold.

[0149] The second positioning unit is further configured to, if the distance value is less than a preset distance threshold, switch the ground-based augmentation function that is in an off state to an on state, and keep the satellite-based augmentation function in an off state, obtain the first satellite information from the ground-based augmentation system, and perform correction calculation according to the first satellite information to obtain the position data of the wearable device at the current moment;

[0150] The second positioning unit is also used to turn off the ground-based augmentation function and turn on the satellite-based augmentation function if the distance value is greater than a preset distance threshold, obtain the second satellite information from the satellite-based augmentation system, and perform correction calculations based on the second satellite information to obtain the position data of the wearable device at the current moment.

[0151] Specifically, through the characteristics of the ground-based augmentation system and the satellite-based augmentation system described in the above embodiments, it can be known that in a scenario where the wearable device is relatively close to a preset obstruction (e.g., indoors, pedestrian bridges, viaducts, boulevards, and buildings), if the satellite-based augmentation system is used for auxiliary positioning correction, the convergence time will be relatively long and the accuracy will be relatively low. Therefore, the wearable device needs to determine whether the distance value between itself and the preset obstruction is less than the preset distance threshold. If the wearable device determines that the distance value between itself and the preset obstruction is less than the preset distance threshold, it means that the wearable device is relatively close to the preset obstruction, that is, the wearable device is in a relative obstruction environment (that is, a non-completely obstructed scene) at this time. Therefore, if the wearable device determines that the distance value between itself and the preset obstruction is less than the preset distance threshold, the wearable device will switch the ground-based augmentation function in the closed state to the open state, and keep the satellite-based augmentation function in the closed state, and obtain the first satellite information from the ground-based augmentation system, wherein the first satellite information includes satellite ephemeris, differential data of the ground reference station, etc., and the position data of the wearable device at the current moment is obtained by correction calculation based on the differential data. If the wearable device determines that the distance between itself and the preset obstruction is greater than the preset distance threshold, it means that the wearable device is far away from the preset obstruction, that is, the wearable device is in a relatively open environment (that is, almost no obstruction scene). Therefore, if the wearable device determines that the distance between itself and the preset obstruction is greater than the preset distance threshold, the wearable device turns off the ground-based augmentation function and turns on the satellite-based augmentation function, and obtains the second satellite information from the satellite-based augmentation system. The second satellite information includes error data such as ephemeris error, satellite clock error, and ionospheric delay. The wearable device performs correction calculation based on the second satellite information to obtain the position data of the wearable device at the current moment.

[0152] In this embodiment, the difference between the satellite-based augmentation system and the ground-based augmentation system is that the satellite-based augmentation system has a slow convergence speed, a long time consumption and low power consumption; the ground-based augmentation system has a fast convergence speed, a short time consumption and high power consumption. The present invention combines the advantages of both systems and makes up for their shortcomings, making it suitable for outdoor positioning on wearable devices, improving the outdoor positioning accuracy of wearable devices, reducing the power consumption of outdoor positioning, and extending the battery life of wearable devices.

[0153] One embodiment of the present invention is a storage medium, in which at least one instruction is stored, and the instruction is loaded and executed by a processor to implement the operations performed by the corresponding embodiment of the above positioning implementation method. For example, the storage medium can be a read-only memory (ROM), a random access memory (RAM), a read-only compact disk (CD-ROM), a magnetic tape, a floppy disk, and an optical data storage device.

[0154] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed with hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0155] It should be noted that the above embodiments can be freely combined as needed. The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention, and these improvements and modifications should also be considered as the protection scope of the present invention.

Claims

1. A positioning implementation method, characterized in that: Includes steps: Determine the usage scenario of the wearable device at the current moment; If it is determined that the wearable device is switched to an indoor scene, the location data of the wearable device at the current moment is obtained by searching the pre-established entry point database according to the unique identification information of the WIFI signal searched by the wearable device at the current moment; The method of determining the usage scenario of the wearable device at the current moment includes the following steps: When the signal strength of the GPS signal decreases to a signal threshold, determining the spatial location of the wearable device as an entry point, and starting a WIFI search function; Binding the unique identification information corresponding to the searched WIFI signal with the entry point to obtain the entry point database; The method of searching a pre-established entry point database to obtain the location data of the wearable device at the current moment according to the unique identification information of the WIFI signal searched by the wearable device at the current moment comprises the steps of: Starting a WIFI search function to search for a target WIFI signal around the wearable device, and obtaining the signal strength of the searched target WIFI signal; According to the unique identification information corresponding to the target WIFI signals, searching the entry point database to obtain the corresponding spatial position; The spatial position bound to the unique identification information corresponding to the maximum signal strength is determined as the position data of the wearable device at the current moment.

2. The positioning method according to any one of claim 1, characterized in that: If it is determined that the wearable device switches to an outdoor scene, satellite information at the current moment is obtained from the corresponding satellite navigation enhancement system, and location data of the wearable device at the current moment is obtained according to the satellite information.

3. The positioning method according to claim 2, characterized in that: If it is determined that the wearable device is switched to an outdoor scene, obtaining satellite information at the current moment from a corresponding satellite navigation enhancement system, and obtaining the location data of the wearable device at the current moment according to the satellite information includes the following steps: If it is determined that the wearable device is switched to an outdoor scene at the current moment, the ground-based augmentation function that is in an off state is switched to an on state, and the satellite-based augmentation function is kept in an off state, and the first satellite information is obtained from the ground-based augmentation system, and the position data of the wearable device at the current moment is obtained by performing correction calculation according to the first satellite information; After the ground-based augmentation function is turned on for a preset time, the ground-based augmentation function is turned off and the satellite-based augmentation function is turned on, and the second satellite information is obtained from the satellite-based augmentation system. The position data of the wearable device at the current moment is obtained by correcting and calculating based on the second satellite information.

4. The positioning method according to claim 2, characterized in that: If it is determined that the wearable device is switched to an outdoor scene, obtaining satellite information at the current moment from a corresponding satellite navigation enhancement system, and obtaining the location data of the wearable device at the current moment according to the satellite information includes the following steps: If it is determined that the wearable device is switched to an outdoor scene at the current moment, determining whether the distance value between the wearable device and the preset blocking object is less than a preset distance threshold; If the distance value is less than the preset distance threshold, the ground-based augmentation function that is in an off state is switched to an on state, and the satellite-based augmentation function is kept in an off state, and the first satellite information is obtained from the ground-based augmentation system, and the position data of the wearable device at the current moment is obtained by performing correction calculation according to the first satellite information; If the distance value is greater than the preset distance threshold, the ground-based augmentation function is turned off and the satellite-based augmentation function is turned on, the second satellite information is obtained from the satellite-based augmentation system, and the position data of the wearable device at the current moment is corrected and calculated based on the second satellite information.

5. The positioning method according to any one of claims 1 to 4, characterized in that: Also includes the steps: Receive a positioning monitoring request initiated by a guardian terminal, and send the location data of the wearable device to the guardian terminal.

6. A wearable device, characterized in that: include: A judgment module, used to judge the usage scenario of the wearable device at the current moment; The indoor positioning module is used to search the pre-established entry point database to obtain the location data of the wearable device at the current moment according to the unique identification information of the WIFI signal searched by the wearable device at the current moment if it is determined that the wearable device switches to the indoor scene; A control module, configured to determine the spatial location of the wearable device as an entry point and enable a WIFI search function when the signal strength of the GPS signal decreases to a signal threshold; A database building module, used to bind the unique identification information corresponding to the searched WIFI signal with the entry point to obtain the entry point database; The indoor positioning module comprises: A control unit, configured to start a WIFI search function to search for a target WIFI signal around the wearable device, and obtain a signal strength of the searched target WIFI signal; A search unit, configured to search the entry point database to obtain a corresponding spatial position according to the unique identification information corresponding to the target WIFI signals; The first positioning unit is used to determine the spatial position bound to the unique identification information corresponding to the maximum signal strength as the position data of the wearable device at the current moment.

7. The wearable device according to claim 6, characterized in that: It also includes an outdoor positioning module, which is used to obtain satellite information at the current moment from the corresponding satellite navigation enhancement system if it is determined that the wearable device has switched to an outdoor scene, and obtain the location data of the wearable device at the current moment based on the satellite information.

8. The wearable device according to claim 7, characterized in that: The outdoor positioning module further comprises: The second positioning unit is used for, if it is determined that the wearable device switches to an outdoor scene at the current moment, switching the ground-based augmentation function that is in an off state to an on state, and keeping the satellite-based augmentation function in an off state, obtaining the first satellite information from the ground-based augmentation system, and performing correction calculation according to the first satellite information to obtain the position data of the wearable device at the current moment; The second positioning unit is used to turn off the ground-based augmentation function and turn on the satellite-based augmentation function after the ground-based augmentation function is turned on for a preset time, obtain the second satellite information from the satellite-based augmentation system, and perform correction calculation based on the second satellite information to obtain the position data of the wearable device at the current moment.

9. The wearable device according to claim 8, characterized in that: The outdoor positioning module comprises: A distance judgment unit, configured to judge whether the distance value between the wearable device and the preset shielding object is less than a preset distance threshold if it is determined that the wearable device is switched to an outdoor scene at the current moment; The second positioning unit is further configured to, if the distance value is less than a preset distance threshold, switch the ground-based augmentation function that is in an off state to an on state, and keep the satellite-based augmentation function in an off state, obtain the first satellite information from the ground-based augmentation system, and perform correction calculation according to the first satellite information to obtain the position data of the wearable device at the current moment; The second positioning unit is also used to turn off the ground-based augmentation function and turn on the satellite-based augmentation function if the distance value is greater than a preset distance threshold, obtain the second satellite information from the satellite-based augmentation system, and perform correction calculation based on the second satellite information to obtain the position data of the wearable device at the current moment.

Citation Information

Patent Citations

  • Indoor positioning method and system

    CN102833855A

  • Positioning method and wearable device

    CN107544085A