Positioning signal source determination method and device, wearable equipment and storage medium

By comparing the quality of the positioning signal sources detected by the wearable device and the mobile terminal and selecting the better signal source as the positioning signal source, the problem of different positioning accuracy of the wearable device and the mobile terminal is solved, and the accuracy of positioning related services is improved.

CN120065260APending Publication Date: 2025-05-30BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311607631.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-28
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The selection and performance limit of wearable devices are limited in GNSS chips, resulting in positioning accuracy not as good as that of mobile terminals, and the GNSS performance of mobile terminals is also lower than that of wearable devices in some cases.

Method used

By determining the signal quality of the positioning signal source detected by the wearable device and the mobile terminal, comparing the quality between the two, and selecting a signal source with better quality as the positioning signal source to improve the accuracy of the positioning related services.

Benefits of technology

The accuracy of positioning related services is improved, and the accuracy and reliability of the positioning services provided are ensured by selecting signal sources with better quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120065260A_ABST
    Figure CN120065260A_ABST
Patent Text Reader

Abstract

The invention provides a positioning signal source determination method and device, wearable equipment and a storage medium, and relates to the technical field of wearable equipment. Comprising the steps that the first signal quality of a first signal source and the second signal quality of a second signal source are determined, the first signal source refers to a positioning signal detected by a positioning sensor in the wearable device, and the second signal source refers to a positioning signal detected in a mobile terminal in communication connection with the wearable device; determining a quality comparison result of the first signal source and the second signal source according to the first signal quality and the second signal quality; and determining a positioning signal source for positioning from the first signal source and the second signal source according to a quality comparison result. Therefore, according to the quality relationship between the quality of the first signal source detected by the wearable device and the quality of the second signal source detected by the mobile terminal, the signal source with better quality can be selected as the positioning signal source for providing the positioning-related service, so that the accuracy of the positioning-related service can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of wearable devices, and in particular, to a method, an apparatus, a wearable device, and a storage medium for determining a positioning signal source. Background Art

[0002] The integration of wearable devices and the Global Navigation Satellite System (GNSS) is related to many parameters such as the positioning accuracy, trajectory accuracy, distance, and pace of wearable devices. Summary of the Invention

[0003] The present disclosure aims to solve at least one of the technical problems in the related art to some extent.

[0004] A first aspect embodiment of the present disclosure provides a method for determining a positioning signal source, including:

[0005] Determine a first signal quality of a first signal source and a second signal quality of a second signal source, where the first signal source refers to a positioning signal detected by a positioning sensor in a wearable device, and the second signal source refers to a positioning signal detected by a positioning sensor in a mobile terminal, and the mobile terminal is communicatively connected to the wearable device;

[0006] Determine a quality comparison result corresponding to the first signal source and the second signal source according to the first signal quality and the second signal quality;

[0007] Determine a positioning signal source for positioning from the first signal source and the second signal source according to the quality comparison result.

[0008] A second aspect embodiment of the present disclosure provides a device for determining a positioning signal source, including:

[0009] A first determination module, configured to determine a first signal quality of a first signal source and a second signal quality of a second signal source, where the first signal source refers to a positioning signal detected by a positioning sensor in a wearable device, and the second signal source refers to a positioning signal detected by a positioning sensor in a mobile terminal, and the mobile terminal is communicatively connected to the wearable device;

[0010] A second determination module, configured to determine a quality comparison result corresponding to the first signal source and the second signal source according to the first signal quality and the second signal quality;

[0011] A third determination module, configured to determine a positioning signal source for positioning from the first signal source and the second signal source according to the quality comparison result.

[0012] A third aspect embodiment of the present disclosure provides a wearable device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the positioning signal source determination method proposed in the first aspect embodiment of the present disclosure is implemented.

[0013] A fourth aspect embodiment of the present disclosure provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the positioning signal source determination method proposed in the first aspect embodiment of the present disclosure.

[0014] The positioning signal source determination method, device, wearable device, and storage medium provided by the present disclosure have the following beneficial effects:

[0015] In the embodiments of the present disclosure, the first signal quality corresponding to the first signal source detected by the wearable device and the second signal quality corresponding to the second signal source detected by the mobile terminal are determined. According to the first signal quality and the second signal quality, a quality comparison result between the first signal source and the second signal source is determined. Finally, according to the quality comparison result, a positioning signal source for positioning is determined from the first signal source and the second signal source. Thus, according to the superiority and inferiority relationship between the quality of the first signal source detected by the wearable device and the quality of the second signal source detected by the mobile terminal, a signal source with better quality can be selected as the positioning signal source for providing positioning-related services, thereby improving the accuracy of positioning-related services.

[0016] Additional aspects and advantages of the present disclosure will be given in part in the following description, become apparent in part from the following description, or be learned through the practice of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The above and / or additional aspects and advantages of the present disclosure will become apparent and be readily understood from the following description of the embodiments in conjunction with the drawings, where:

[0018] Figure 1 is a schematic flowchart of a method for determining a positioning signal source provided by an embodiment of the present disclosure;

[0019] Figure 2 is a schematic flowchart of a method for determining a positioning signal source provided by another embodiment of the present disclosure;

[0020] Figure 3 is a schematic flowchart of a method for determining a positioning signal source provided by an embodiment of the present disclosure;

[0021] Figure 4 is a schematic flowchart of a method for determining a positioning signal source provided by another embodiment of the present disclosure;

[0022] Figure 5 Schematic flowchart of a method for determining a positioning signal source provided by another embodiment of the present disclosure;

[0023] Figure 6 Schematic structural diagram of a positioning signal source determination device provided by an embodiment of the present disclosure;

[0024] Figure 7 Block diagram of an exemplary wearable device suitable for implementing the embodiments of the present disclosure is shown. Detailed implementation manners

[0025] Embodiments of the present disclosure will be described in detail below. Examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to explain the present disclosure, and should not be construed as a limitation to the present disclosure.

[0026] In the related art, the computing power of wearable devices is much lower than that of mobile terminals such as mobile phones, which results in limitations in the selection of GNSS chips for wearable devices. As a result, the performance ceiling of the GNSS chips of wearable devices is lower than that of the GNSS chips of mobile terminals such as mobile phones.

[0027] With the rise of wearable products, more and more wearable devices can communicate with mobile terminals such as mobile phones. Wearable devices can use the GNSS signals received by mobile terminals such as mobile phones to obtain better GNSS signals. However, the GNSS signals received by mobile terminals such as mobile phones are not always better than those received by wearable devices. For example, when the GNSS chip model of a mobile phone is old, damaged, or the mobile phone is affected by electromagnetic interference, the GNSS performance of the mobile phone is lower than that of the wearable device.

[0028] In the embodiments of the present disclosure, according to the superiority and inferiority relationship between the quality of the first signal source detected by the wearable device and the quality of the second signal source detected by the mobile terminal, a signal source with better quality can be selected as the positioning signal source for providing positioning-related services, thereby improving the accuracy of positioning-related services.

[0029] The method, device, wearable device, and storage medium for determining a positioning signal source according to the embodiments of the present disclosure will be described below with reference to the accompanying drawings.

[0030] In the embodiments of the present disclosure, the method for determining a positioning signal source is configured in a positioning signal source determination device as an example. The positioning signal source determination device can be applied to a wearable device or a mobile terminal, so that the wearable device or the mobile terminal can perform the positioning signal source determination function.

[0031] Figure 1 Schematic flowchart of a method for determining a positioning signal source provided by an embodiment of the present disclosure.

[0032] As Figure 1 shown, the method for determining the positioning signal source may include the following steps:

[0033] Step 101: Determine the first signal quality of the first signal source and determine the second signal quality of the second signal source.

[0034] Among them, the first signal source refers to the positioning signal detected by the positioning sensor in the wearable device, and the second signal source refers to the positioning signal detected by the positioning sensor in the mobile terminal.

[0035] In the embodiment of the present disclosure, the positioning signal may be a GNSS signal.

[0036] Among them, the mobile terminal is communicatively connected to the wearable device. For example, the mobile terminal is Bluetooth-connected to the wearable device.

[0037] In the embodiment of the present disclosure, the type of the wearable device is not limited. The intelligent wearable devices include but are not limited to the following: smart watches, smart bracelets, smart earplugs, smart glasses, smart clothing, wearable fitness devices, smart wristbands, smart ankle bracelets, and smart head-mounted devices, etc.

[0038] Optionally, the first signal quality and the second signal quality may include at least one of horizontal positioning accuracy, horizontal dilution of precision (hdop), number of visible satellites, signal-to-noise ratio (SNR), longitude, and latitude.

[0039] In some embodiments, the second signal quality corresponding to the second signal source received by the mobile terminal may be determined by the mobile terminal and sent to the wearable device through the communication channel between the mobile terminal and the wearable device.

[0040] Step 102: Determine the quality comparison result corresponding to the first signal source and the second signal source according to the first signal quality and the second signal quality.

[0041] In some embodiments, the quality comparison result may be determined according to the signal-to-noise ratio in the first signal quality and the second signal quality. The higher the signal-to-noise ratio, the better the signal quality. That is, if the signal-to-noise ratio of the first signal source is greater than the signal-to-noise ratio of the second signal source, the quality comparison result is that the quality of the first signal source is better than the quality of the second signal source; if the signal-to-noise ratio of the first signal source is less than the signal-to-noise ratio of the second signal source, the quality comparison result is that the quality of the second signal source is better than the quality of the first signal source.

[0042] In some embodiments, different scores may also be set for different horizontal positioning accuracies according to the relationship between the horizontal positioning accuracy and the signal quality. The higher the horizontal positioning accuracy, the higher the score. Different scores are set for different horizontal accuracy factors according to the relationship between the horizontal accuracy factor and the signal quality. The smaller the horizontal accuracy factor, the higher the score. Different scores are set for different numbers of visible satellites according to the relationship between the number of visible satellites and the signal quality. The more the number of visible satellites, the higher the score. Different scores are set for different signal-to-noise ratios according to the relationship between the signal-to-noise ratio and the signal quality. The higher the signal-to-noise ratio, the higher the score.

[0043] After that, determine the first total score corresponding to the first signal quality and the second total score corresponding to the second signal quality. When the first total score is greater than the second total score, determine that the quality comparison result is that the quality of the first signal source is better than the quality of the second signal source; when the first total score is less than the second total score, determine that the quality comparison result is that the quality of the second signal source is better than the quality of the first signal source.

[0044] Step 103, determine the positioning signal source for positioning from the first signal source and the second signal source according to the quality comparison result.

[0045] In some embodiments, if the quality comparison result indicates that the quality of the first signal source is better than the quality of the second signal source, the first signal source is determined as the positioning signal source. If the quality comparison result indicates that the quality of the second signal source is better than the quality of the first signal source, the second signal source is determined as the positioning signal source. Thus, the positioning signal with the best quality can be determined, and based on the positioning signal with the best quality, data such as position and pace can be accurately determined.

[0046] In some embodiments, both the wearable device and the mobile terminal can use the positioning signal source with the best quality to provide positioning-related services.

[0047] In the embodiments of the present disclosure, determine the first signal quality corresponding to the first signal source received by the wearable device and the second signal quality corresponding to the second signal source received by the mobile terminal. According to the first signal quality and the second signal quality, determine the quality comparison result corresponding to the first signal source and the second signal source. Finally, according to the quality comparison result, determine the positioning signal source for positioning from the first signal source and the second signal source. Thus, according to the superiority and inferiority relationship between the quality of the first signal source detected by the wearable device and the quality of the second signal source detected by the mobile terminal, a signal source with better quality can be selected as the positioning signal source for providing positioning-related services, thereby improving the accuracy of positioning-related services.

[0048] Figure 2 It is a schematic flowchart of a method for determining a positioning signal source provided by an embodiment of the present disclosure, as Figure 2As shown, the method for determining the positioning signal source may include the following steps:

[0049] Step 201, determine the first signal quality of the first signal source and determine the second signal quality of the second signal source.

[0050] Wherein, the first signal source refers to the positioning signal detected by the positioning sensor in the wearable device, and the second signal source refers to the positioning signal detected by the positioning sensor in the mobile terminal, and the mobile terminal is communicatively connected to the wearable device.

[0051] Step 202, input the first signal quality and the second signal quality into the quality comparison model to obtain a quality comparison result.

[0052] Optionally, the quality comparison model is trained based on the third signal quality corresponding to the third signal source, the fourth signal quality corresponding to the fourth signal source, and the comparison result label corresponding to the third signal quality and the fourth signal quality.

[0053] Wherein, the third signal source refers to the positioning signal detected by the positioning sensor in the sample wearable device, the fourth signal source refers to the positioning signal detected by the positioning sensor in the sample mobile terminal, and the fifth signal source refers to the positioning signal detected by the positioning sensor in the reference positioning device.

[0054] Wherein, the third signal quality and the fourth signal quality may include at least one of horizontal positioning accuracy, horizontal dilution of precision (hdop), number of visible satellites, signal-to-noise ratio (SNR), longitude, and latitude.

[0055] In some embodiments, the comparison result label is determined according to the first longitude and latitude data corresponding to the third signal source, the second longitude and latitude data corresponding to the fourth signal source, and the third longitude and latitude data corresponding to the fifth signal source, wherein the fifth signal source refers to the positioning signal detected by the positioning sensor in the reference positioning device.

[0056] Wherein, the longitude and latitude data may represent location information.

[0057] In some embodiments, the third signal quality may include the first longitude and latitude data; the fourth signal quality may include the second longitude and latitude data.

[0058] Wherein, the reference positioning device may be referred to as a gold standard device, and the quality of the fifth signal source received by the reference positioning device is better than the quality of the third signal source and the fourth signal source.

[0059] In some embodiments, the third signal quality corresponding to the third signal source, the fourth signal quality corresponding to the fourth signal source, and the third longitude and latitude data corresponding to the fifth signal source can be obtained in different scenarios such as an open space, semi-occluded, occluded, playground, etc.

[0060] In some embodiments, when the first distance between the first longitude and latitude data and the third longitude and latitude data is greater than the second distance between the first longitude and latitude data and the third longitude and latitude data, the comparison result label indicates that the quality of the fourth signal source is better than the quality of the third signal source; when the first distance is less than or equal to the second distance, the comparison result label indicates that the quality of the third signal source is better than the quality of the fourth signal source.

[0061] It should be noted that the smaller the first distance, the better the quality of the third signal source. Similarly, the smaller the second distance, the better the quality of the fourth signal source. Therefore, the comparison result label can be determined according to the size relationship between the first distance and the second distance.

[0062] In some embodiments, the dynamic time warping (DTW) can be used to determine the first distance between the first longitude and latitude data and the third longitude and latitude data, and the second distance between the first longitude and latitude data and the third longitude and latitude data.

[0063] In some embodiments, if the comparison result label indicates that the quality of the fourth signal source is better than the quality of the third signal source, the value of the comparison result label can be 1; if the comparison result label indicates that the quality of the third signal source is better than the quality of the fourth signal source, the value of the comparison result label can be 0. In the embodiments of the present disclosure, the value of the comparison result label is not limited.

[0064] In the above embodiments, before using the quality comparison model, it is necessary to first perform model training to obtain the quality comparison model. The following details the quality comparison model training process.

[0065] Using the timestamp alignment method, align the third signal quality of the third signal source with a preset duration and the fourth signal quality of the fourth signal source with a preset duration second by second, and sequentially splice the corresponding third signal quality and fourth signal quality per second to obtain the spliced input data. Determine the comparison result label corresponding to the third signal quality and the fourth signal quality per second within the preset duration. Input the input data and the comparison result label into the model for training to obtain the quality comparison model.

[0066] In some embodiments, the xgboost model can be trained based on the third signal quality, the fourth signal quality, and the comparison result label to obtain the quality comparison model.

[0067] Step 203: Determine a positioning signal source for positioning from the first signal source and the second signal source according to the quality comparison result.

[0068] In the embodiments of the present disclosure, determine the first signal quality corresponding to the first signal source detected by the wearable device, and the second signal quality corresponding to the second signal source detected by the mobile terminal. Input the first signal quality and the second signal quality into the quality comparison model to obtain a quality comparison result. Finally, determine a positioning signal source for positioning from the first signal source and the second signal source according to the quality comparison result. Thus, based on the pre-trained quality comparison model, the superiority and inferiority relationship between the quality of the first signal source detected by the wearable device and the quality of the second signal source detected by the mobile terminal can be accurately determined, and then a positioning signal source for positioning can be determined more accurately.

[0069] Figure 3 It is a schematic flowchart of a method for determining a positioning signal source provided by an embodiment of the present disclosure. As Figure 3 shown, the method for determining a positioning signal source may include the following steps:

[0070] Step 301: Determine the first signal quality of the first signal source and determine the second signal quality of the second signal source.

[0071] Among them, the first signal source refers to the positioning signal detected by the positioning sensor in the wearable device, and the second signal source refers to the positioning signal detected by the positioning sensor in the mobile terminal. The mobile terminal is communicatively connected to the wearable device.

[0072] Step 302: According to the first signal quality corresponding to the first signal source and the second signal quality corresponding to the second signal source within the first time period, determine the first duration corresponding to the quality of the first signal source being superior to the quality of the second signal source within the first time period, and the second duration corresponding to the quality of the second signal source being superior to the quality of the first signal source.

[0073] Among them, the first time period may be a period of time after the positioning sensors of the wearable device and the mobile terminal are both in the on state. For example, it may be 10 seconds (s), 20 s, etc. after being in the on state at the same time. The present disclosure does not limit the duration of the first time period.

[0074] In some embodiments, the first signal quality and the second signal quality corresponding to each second within the first time period may be input into the quality comparison model to obtain the quality comparison result corresponding to each second. Then, according to the quality comparison result corresponding to each second, determine the total duration corresponding to the quality of the first signal source being superior to the quality of the second signal source, that is, the first duration; and the total duration corresponding to the quality of the second signal source being superior to the quality of the first signal source, that is, the second duration.

[0075] Step 303: Determine the quality comparison result corresponding to the first signal source and the second signal source within the first time period according to the first duration and the second duration.

[0076] In some embodiments, when the first duration is greater than the second duration, it is determined that the quality comparison result indicates that the quality of the first signal source is better than that of the second signal source. That the first duration is greater than the second duration means that the quality of the first signal source is better than that of the second signal source for most of the first time period. Therefore, it is determined that the quality comparison result within the first time period is that the quality of the first signal source is better than that of the second signal source.

[0077] Alternatively, when the first duration is less than or equal to the second duration, it is determined that the quality comparison result indicates that the quality of the second signal source is better than that of the first signal source. That the first duration is less than or equal to the second duration means that the quality of the second signal source is better than that of the first signal source for most of the first time period. Therefore, it is determined that the quality comparison result within the first time period is that the quality of the first signal source is better than that of the second signal source.

[0078] Step 304: Determine the positioning signal source used by the wearable device from the first signal source and the second signal source according to the quality comparison result.

[0079] In the embodiments of the present disclosure, after determining the quality comparison result corresponding to the first time period, the positioning signal source for positioning after the first time period can be determined. For example, if the first time period is 10 seconds and the determined positioning signal source is the second signal source, then starting from the 11th second, the determined positioning signal source for positioning is the second signal source.

[0080] In some embodiments, due to the limitations of the wearable device in terms of memory, computing power, etc., the quality of the second signal source detected by the mobile terminal is often better than that of the first signal source detected by the wearable device. Therefore, the positioning signal source within the first time period can be determined to be the second signal source, so as to ensure the timeliness and accuracy of providing positioning-related services.

[0081] In an embodiment of the present disclosure, the first signal quality corresponding to the first signal source detected by the wearable device and the second signal quality corresponding to the second signal source detected by the mobile terminal are obtained. Then, according to the first signal quality corresponding to the first signal source and the second signal quality corresponding to the second signal source within the first time period, the first duration corresponding to the quality of the first signal source being better than that of the second signal source and the second duration corresponding to the quality of the second signal source being better than that of the first signal source within the first time period are determined. And according to the first duration and the second duration, the quality comparison result corresponding to the first signal source and the second signal source within the first time period is determined. Finally, according to the quality comparison result, the positioning signal source for positioning is determined from the first signal source and the second signal source. Thus, according to the first signal quality of the first signal source detected by the wearable device and the first signal quality of the second signal source detected by the mobile terminal within a period of time, the superiority and inferiority relationship between the quality of the first signal source and the quality of the second signal source can be accurately determined. Therefore, not only can the signal source with better quality be determined as the positioning signal source for positioning, but also the frequent switching of the positioning signal source for positioning can be avoided, reducing the device power consumption.

[0082] Figure 4 It is a schematic flowchart of a method for determining a positioning signal source provided by an embodiment of the present disclosure. As Figure 4 shown, the method for determining the positioning signal source may include the following steps:

[0083] Step 401, determine the first signal quality of the first signal source and determine the second signal quality of the second signal source.

[0084] Wherein, the first signal source refers to the positioning signal detected by the positioning sensor in the wearable device, and the second signal source refers to the positioning signal detected by the positioning sensor in the mobile terminal. The mobile terminal is communicatively connected to the wearable device.

[0085] Step 402, determine the quality comparison result corresponding to the first signal source and the second signal source according to the first signal quality and the second signal quality.

[0086] Step 403, determine the positioning signal source for positioning from the first signal source and the second signal source according to the quality comparison result.

[0087] Among them, the specific implementation forms of steps 401 to 403 may refer to the detailed descriptions in other embodiments of the present disclosure, and will not be specifically described here.

[0088] In the embodiments of the present disclosure, after determining the positioning signal source for positioning, in order to avoid frequent switching of the positioning signal source, after determining the positioning signal source for the first time, the quality of the first signal source and the second signal source can be judged in real time, but the positioning signal source is not switched in real time. When the continuous duration that the quality of the non-positioning signal source in the first signal source and the second signal source is better than the quality of the positioning signal source is greater than a certain duration, the positioning signal source is switched. Specifically, as shown in steps 404 and 405.

[0089] Step 404, in response to the positioning signal source being the first signal source and the continuous duration that the quality of the second signal source is better than the quality of the first signal source being greater than the third duration, switch the positioning signal source from the first signal source to the second signal source.

[0090] Among them, the third duration can be 5 seconds, 10 seconds, etc. The present disclosure does not limit this.

[0091] For example, the third duration can be 15 seconds. Within the 30th - 45th seconds after the positioning signal source is the first signal source, if the quality of the second signal source is continuously better than the quality of the first signal source, then at the 45th second, the positioning signal source is switched from the first signal source to the second signal source.

[0092] Step 405, in response to the positioning signal source being the second signal source and the continuous duration that the quality of the first signal source is better than the quality of the second signal source being greater than the third duration, switch the positioning signal source from the second signal source to the first signal source.

[0093] For example, the third duration can be 10 seconds. Within the 20th - 30th seconds after the positioning signal source is the second signal source, if the quality of the second signal source is continuously better than the quality of the first signal source, then at the 30th second, the positioning signal source is switched from the second signal source to the first signal source.

[0094] In the embodiments of the present disclosure, after determining the positioning signal source for positioning, the quality of the first signal source and the second signal source is judged in real time, and when the continuous duration that the quality of the non-positioning signal source in the first signal source and the second signal source is better than the quality of the positioning signal source is greater than the third duration, the positioning signal source is switched, so as to avoid frequent switching of the positioning signal source and reduce the device power consumption.

[0095] Figure 5 It is a schematic flowchart of a method for determining a positioning signal source provided by an embodiment of the present disclosure. As Figure 5 shown, the method for determining the positioning signal source may include the following steps:

[0096] Step 501, determine the first signal quality of the first signal source and determine the second signal quality of the second signal source.

[0097] Among them, the first signal source refers to the positioning signal detected by the positioning sensor in the wearable device, and the second signal source refers to the positioning signal detected by the positioning sensor in the mobile terminal. The mobile terminal is communicatively connected to the wearable device.

[0098] Step 502, determine the quality comparison result corresponding to the first signal source and the second signal source according to the first signal quality and the second signal quality.

[0099] Step 503, determine the positioning signal source for positioning from the first signal source and the second signal source according to the quality comparison result.

[0100] Among them, for the specific implementation forms of steps 501 to 503, reference can be made to the detailed descriptions in other embodiments of the present disclosure, and no specific description will be given here.

[0101] Step 504, when the continuous duration of the second signal source as the positioning signal source is greater than the fourth duration, turn off the positioning sensor in the wearable device.

[0102] In the embodiments of the present disclosure, in order to avoid that the positioning signal source for positioning is continuously the second signal source detected by the mobile terminal, while the positioning sensor in the wearable device still detects the first signal source, resulting in a relatively high power consumption of the wearable device. Therefore, when the continuous duration of the second signal source as the positioning signal source reaches the fourth duration, the positioning sensor in the wearable device can be turned off, thereby saving the power consumption of the wearable device.

[0103] Among them, the continuous duration of the second signal source as the positioning signal source being greater than the fourth duration means that the switching of the positioning signal source is not triggered within the fourth duration.

[0104] Step 505, in response to the closing duration of the positioning sensor in the wearable device being greater than the fifth duration, turn on the positioning sensor in the wearable device.

[0105] Among them, the fifth duration is greater than the third duration.

[0106] In the embodiments of the present disclosure, setting the fifth duration to be greater than the third duration can enable the positioning sensor in the wearable device to be turned off in time but not turned on frequently, thereby saving the power consumption of the wearable device.

[0107] In the embodiments of the present disclosure, after the positioning sensor in the wearable device is turned off and then turned on, it is to avoid using the second signal source of the mobile terminal for a long time without determining whether the quality of the second signal source of the mobile terminal is always better than that of the first signal source of the wearable device. Therefore, by turning on the positioning sensor in the wearable device again, the quality of the first signal source of the wearable device is compared with the quality of the second signal source of the mobile terminal to ensure that the signal source with the best quality is determined as the positioning signal source for positioning.

[0108] Step 506: Determine the quality comparison result corresponding to the first signal source and the second signal source in the second time period.

[0109] Wherein, the second time period is after the activation time of the positioning sensor. In some embodiments, the duration corresponding to the second time period may be equal to the duration corresponding to the first time period.

[0110] Wherein, for the specific implementation form of determining the quality comparison result corresponding to the first signal source and the second signal source in the second time period, reference may be made to the detailed description of determining the quality comparison result corresponding to the first signal source and the second signal source in the first time period in other embodiments of the present disclosure, and no specific description will be given here.

[0111] Step 507: In response to the quality comparison result corresponding to the second time period indicating that the quality of the second signal source is better than that of the first signal source, turn off the positioning sensor in the wearable device.

[0112] If the quality comparison result corresponding to the second time period indicates that the quality of the second signal source is better than that of the first signal source, it means that the quality of the second signal source of the mobile terminal has always been better than that of the first signal source. Therefore, it is determined that the signal for positioning is still the second signal source, and the positioning sensor of the wearable device is turned off to save the power consumption of the wearable device in a timely manner.

[0113] Step 508: In response to the quality comparison result corresponding to the second time period indicating that the quality of the first signal source is better than that of the second signal source, determine the quality comparison result corresponding to the first signal source and the second signal source in the third time period.

[0114] Wherein, the duration of the third time period is equal to the duration of the second time period, and the third time period is after the second time period. For example, if the lengths of the third time period and the second time period are both 10 seconds, then the second time period is the 0 - 10 seconds after the activation of the positioning sensor, and the third time period is the 11 - 20 seconds after the activation of the positioning sensor.

[0115] In the embodiments of the present disclosure, if the quality of the first signal source is better than that of the second signal source in the second time period, in order to avoid frequent switching of the positioning signal source, the quality comparison result of the first signal source and the second signal source in the third time period may be further determined, and then, in combination with the quality comparison result corresponding to the third time period, it is determined whether to switch the positioning signal source from the second signal source to the first signal source.

[0116] Step 509: In response to the quality comparison result corresponding to the third time period indicating that the quality of the first signal source is better than that of the second signal source, switch the positioning signal source from the second signal source to the first signal source.

[0117] In an embodiment of the present disclosure, if the quality comparison result corresponding to the third time period indicates that the quality of the first signal source is better than that of the second signal source, it means that after the positioning sensor in the wearable device is turned on, the quality of the first signal source is better than that of the second signal source. The positioning signal source can be switched from the second signal source to the first signal source, so that the signal source with the best quality can be determined as the positioning signal source for positioning.

[0118] In some embodiments, if the quality comparison result corresponding to the third time period indicates that the quality of the first signal source is better than that of the second signal source, the positioning sensor in the wearable device is turned off.

[0119] In an embodiment of the present disclosure, after determining the positioning signal source, if the continuous duration of the second signal source as the positioning signal source is greater than the fourth duration, the positioning sensor in the wearable device is turned off. If the off duration of the positioning sensor in the wearable device is greater than the fifth duration, the positioning sensor in the wearable device is turned on. And if the quality comparison result corresponding to the second time period after the first signal source and the second signal source are detected by the positioning sensor indicates that the quality of the second signal source is better than that of the first signal source, the positioning sensor in the wearable device is turned off. If the quality comparison result corresponding to the second time period and the third time period after the chip is turned on indicates that the quality of the first signal source is better than that of the second positioning signal, the positioning signal source is switched from the second signal source to the first signal source. Thus, the on / off state of the positioning sensor in the wearable device can be controlled in a timely manner, while ensuring that the determined positioning signal source for positioning is the signal source with the best quality among the first signal source and the second signal source, and saving the power consumption of the wearable device.

[0120] To implement the above embodiments, the present disclosure also proposes a positioning signal source determination device.

[0121] Figure 6 It is a schematic structural diagram of the positioning signal source determination device provided by the embodiment of the present disclosure.

[0122] As Figure 6 shown, the positioning signal source determination device 600 may include:

[0123] A first determination module 601, configured to determine a first signal quality of a first signal source and determine a second signal quality of a second signal source, where the first signal source refers to a positioning signal detected by a positioning sensor in a wearable device, and the second signal source refers to a positioning signal detected by a positioning sensor in a mobile terminal, and the mobile terminal is communicatively connected to the wearable device;

[0124] A second determination module 602, configured to determine a quality comparison result corresponding to the first signal source and the second signal source according to the first signal quality and the second signal quality;

[0125] A third determination module 603, configured to determine a positioning signal source for positioning from the first signal source and the second signal source according to the quality comparison result.

[0126] For the functions and specific implementation principles of the above-mentioned modules in the embodiments of the present disclosure, reference may be made to the above-mentioned method embodiments, which will not be elaborated herein.

[0127] The positioning signal source determination device according to the embodiments of the present disclosure determines the first signal quality corresponding to the first signal source detected by the wearable device and the second signal quality corresponding to the second signal source detected by the mobile terminal, determines the quality comparison result corresponding to the first signal source and the second signal source according to the first signal quality and the second signal quality, and finally determines the positioning signal source for positioning from the first signal source and the second signal source according to the quality comparison result. Thus, according to the superiority and inferiority relationship between the quality of the first signal source detected by the wearable device and the quality of the second signal source detected by the mobile terminal, a signal source with better quality can be selected as the positioning signal source for providing positioning-related services, thereby improving the accuracy of positioning-related services.

[0128] To implement the above embodiments, the present disclosure also proposes a wearable device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the positioning signal source determination method proposed in the foregoing embodiments of the present disclosure is implemented.

[0129] To implement the above embodiments, the present disclosure also proposes a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the positioning signal source determination method proposed in the foregoing embodiments of the present disclosure.

[0130] Figure 7 A block diagram of an exemplary wearable device suitable for implementing the embodiments of the present disclosure is shown. Figure 7 The wearable device 12 shown is merely an example and should not impose any limitation on the functions and usage scope of the embodiments of the present disclosure.

[0131] As Figure 7 shown, the wearable device 12 is presented in the form of a general-purpose computing device. The components of the wearable device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).

[0132] Bus 18 represents one or more of several types of bus architectures, including a memory bus or memory controller, a peripheral bus, an Accelerated Graphics Port, a processor, or a local bus using any of the various bus architectures. By way of example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnection (PCI) bus.

[0133] Wearable device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by wearable device 12, including volatile and nonvolatile media, removable and non-removable media.

[0134] Memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and / or cache memory 32. Wearable device 12 may further include other removable / non-removable, volatile / nonvolatile computer system storage media. By way of example only, storage system 34 can be used for reading and writing on non-removable, nonvolatile magnetic media ( Figure 7 not shown, typically referred to as a "hard disk drive"). Although Figure 7 not shown in the figure, a disk drive for reading and writing on removable nonvolatile disks (such as a "floppy disk"), and an optical disk drive for reading and writing on removable nonvolatile optical disks (such as Compact Disc Read Only Memory (CD-ROM), Digital Video Disc Read Only Memory (DVD-ROM), or other optical media) can be provided. In these cases, each drive can be connected to bus 18 through one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the various embodiments of the present disclosure.

[0135] A program / utilities 40 having a set (at least one) of program modules 42 can be stored, for example, in a memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include an implementation of a network environment. The program modules 42 generally execute the functions and / or methods in the embodiments described in this disclosure.

[0136] The wearable device 12 can also communicate with one or more external devices 14 (such as a keyboard, a pointing device, a display 24, etc.), and can also communicate with one or more devices that enable a user to interact with the wearable device 12, and / or communicate with any device that enables the wearable device 12 to communicate with one or more other computing devices (such as a network card, a modem, etc.). Such communication can be carried out through an input / output (I / O) interface 22. Moreover, the wearable device 12 can also communicate with one or more networks (such as a Local Area Network (LAN), a Wide Area Network (WAN), and / or a public network, such as the Internet) through a network adapter 20. As shown in the figure, the network adapter 20 communicates with other modules of the wearable device 12 through a bus 18. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in combination with the wearable device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0137] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the methods mentioned in the foregoing embodiments.

[0138] In the description of this specification, the description referring to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples", etc. means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of this disclosure. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. In addition, without contradiction, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of different embodiments or examples.

[0139] In addition, the terms "first" and "second" are for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include at least one such feature. In the description of the present disclosure, "a plurality of" means at least two, such as two, three, etc., unless otherwise specifically defined.

[0140] Any process or method description represented in a flowchart or otherwise described herein may be understood to represent a module, segment, or portion of code including one or more executable instructions for implementing a customized logical function or process. The scope of the preferred embodiments of the present disclosure includes additional implementations, where functions may be executed in a substantially simultaneous manner or in a reverse order according to the involved functions, rather than in the order shown or discussed, which should be understood by those skilled in the art to which the embodiments of the present disclosure pertain.

[0141] The logic and / or steps represented in a flowchart or otherwise described herein, for example, may be considered as a sequenced list of executable instructions for implementing a logical function, and may be embodied specifically in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, a system including a processor, or other systems that can fetch and execute instructions from the instruction execution system, apparatus, or device. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium include the following: an electrical connection portion having one or more wirings (electronic device), a portable computer diskette (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or other suitable medium on which the program can be printed, as the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other appropriate processing as necessary, and then storing it in a computer memory.

[0142] It should be understood that various parts of the present disclosure can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one of the following techniques known in the art or a combination thereof can be used: discrete logic circuits with logic gate circuits for implementing logical functions on data signals, application specific integrated circuits with appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc.

[0143] Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing relevant hardware through a program. The said program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.

[0144] In addition, in each embodiment of the present disclosure, each functional unit can be integrated into a processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module. When the above integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.

[0145] The above-mentioned storage medium can be a read-only memory, a magnetic disk, an optical disc, etc. Although the embodiments of the present disclosure have been shown and described above, it can be understood that the above embodiments are exemplary and should not be construed as limiting the present disclosure. Those of ordinary skill in the art can make changes, modifications, substitutions, and variations to the above embodiments within the scope of the present disclosure.

Claims

1. A method for determining a positioning signal source, characterized in that, it includes: Determine the first signal quality of the first signal source and the second signal quality of the second signal source, where the first signal source refers to the positioning signal detected by the positioning sensor in the wearable device, and the second signal source refers to the positioning signal detected by the positioning sensor in the mobile terminal, and the mobile terminal is communicatively connected to the wearable device; Determine the quality comparison result corresponding to the first signal source and the second signal source according to the first signal quality and the second signal quality; Determine the positioning signal source for positioning from the first signal source and the second signal source according to the quality comparison result.

2. The method according to claim 1, characterized in that, The step of determining the quality comparison result corresponding to the first signal source and the second signal source according to the first signal quality and the second signal quality includes: Determine the first duration during which the quality of the first signal source is better than that of the second signal source and the second duration during which the quality of the second signal source is better than that of the first signal source within the first time period according to the first signal quality corresponding to the first signal source and the second signal quality corresponding to the second signal source within the first time period; Determine the quality comparison result corresponding to the first signal source and the second signal source within the first time period according to the first duration and the second duration.

3. The method according to claim 2, characterized in that, The step of determining the quality comparison result corresponding to the first signal source and the second signal source within the first time period according to the first duration and the second duration includes: When the first duration is greater than the second duration, determine that the quality comparison result indicates that the quality of the first signal source is better than that of the second signal source; When the first duration is less than or equal to the second duration, determine that the quality comparison result indicates that the quality of the second signal source is better than that of the first signal source.

4. The method according to claim 2, characterized in that, It further includes: Determine that the positioning signal source within the first time period is the second signal source.

5. The method according to claim 1, characterized in that, After determining the positioning signal source for positioning from the first signal source and the second signal source according to the quality comparison result, it further includes: In response to the positioning signal source being the first signal source and the continuous duration during which the quality of the second signal source is better than that of the first signal source being greater than the third duration, switch the positioning signal source from the first signal source to the second signal source; or, In response to the positioning signal source being the second signal source and the continuous duration during which the quality of the first signal source is better than that of the second signal source being greater than the third duration, switch the positioning signal source from the second signal source to the first signal source.

6. The method according to claim 1, characterized in that, After determining the positioning signal source for positioning from the first signal source and the second signal source according to the quality comparison result, the method further includes: When the continuous duration of the second signal source as the positioning signal source is greater than a fourth duration, turning off the positioning sensor in the wearable device.

7. The method according to claim 6, wherein, After turning off the positioning sensor in the wearable device, the method further includes: In response to the closing duration of the positioning sensor in the wearable device being greater than a fifth duration, turning on the positioning sensor in the wearable device, where the fifth duration is greater than the third duration; Determining the quality comparison result corresponding to the first signal source and the second signal source in a second time period, where the second time period is after the opening moment of the positioning sensor in the wearable device; In response to the quality comparison result corresponding to the second time period indicating that the quality of the second signal source is better than the quality of the first signal source, turning off the positioning sensor in the wearable device.

8. The method according to claim 7, wherein, After determining the quality comparison result corresponding to the first signal source and the second signal source in the second time period, the method further includes: In response to the quality comparison result corresponding to the second time period indicating that the quality of the first signal source is better than the quality of the second signal source, determining the quality comparison result corresponding to the first signal source and the second signal source in a third time period, where the duration of the third time period is equal to the duration of the second time period, and the third time period is after the second time period; In response to the quality comparison result corresponding to the third time period indicating that the quality of the first signal source is better than the quality of the second signal source, switching the positioning signal source from the second signal source to the first signal source.

9. The method according to claim 1, wherein, The step of determining the quality comparison result corresponding to the first signal source and the second signal source according to the first signal quality and the second signal quality includes: Inputting the first signal quality and the second signal quality into a quality comparison model to obtain the quality comparison result; wherein, the quality comparison model is trained and generated based on the third signal quality corresponding to a third signal source, the fourth signal quality corresponding to a fourth signal source, and the comparison result label corresponding to the third signal quality and the fourth signal quality. The comparison result label is determined according to the first longitude and latitude data corresponding to the third signal source, the second longitude and latitude data corresponding to the fourth signal source, and the third longitude and latitude data corresponding to a fifth signal source. The third signal source refers to the positioning signal detected by the positioning sensor in a sample wearable device, the fourth signal source refers to the positioning signal detected by the positioning sensor in a sample mobile terminal, and the fifth signal source refers to the positioning signal detected by the positioning sensor in a reference positioning device.

10. The method according to claim 9, wherein, When the first distance between the first longitude and latitude data and the third longitude and latitude data is greater than the second distance between the first longitude and latitude data and the third longitude and latitude data, the comparison result label indicates that the quality of the fourth signal source is better than the quality of the third signal source; Alternatively, when the first distance is less than or equal to the second distance, the comparison result label indicates that the quality of the third signal source is better than the quality of the fourth signal source.

11. The method according to any one of claims 1-10, characterized in that, the signal quality includes: horizontal positioning accuracy, horizontal dilution of precision, number of visible satellites, signal-to-noise ratio, longitude, latitude.

12. A positioning signal source determination device, characterized in that, the device includes: a first determination module, configured to determine the first signal quality of a first signal source and determine the second signal quality of a second signal source, where the first signal source refers to: a positioning signal detected by a positioning sensor in a wearable device, and the second signal source refers to: a positioning signal detected by a positioning sensor in a mobile terminal, and the mobile terminal is communicatively connected to the wearable device; a second determination module, configured to determine a quality comparison result corresponding to the first signal source and the second signal source according to the first signal quality and the second signal quality; a third determination module, configured to determine a positioning signal source for positioning from the first signal source and the second signal source according to the quality comparison result.

13. A wearable device, characterized in that, it includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the program, the positioning signal source determination method according to any one of claims 1-11 is implemented.

14. A computer-readable storage medium storing a computer program, characterized in that, when the computer program is executed by a processor, the positioning signal source determination method according to any one of claims 1-11 is implemented.