A GPS intelligent switching method, device, equipment and storage medium

Through Bluetooth ranging, intelligent GPS switching between mobile devices and wearable devices is achieved, which solves the problem of increased power consumption when the device turns on GPS at the same time, and improves the device's battery life and GPS trajectory accuracy.

CN119767393APending Publication Date: 2025-04-04GUANGDONG RUIQIN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411999503.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

When GPS is turned on at the same time as the mobile device and the wearable device, power consumption increases and the device's battery life is reduced.

Method used

Use Bluetooth ranging to obtain the detection distance between the mobile device and the wearable device, and intelligently switch the GPS state. If the detection distance is greater than the preset distance, turn off the GPS of the mobile device and maintain the GPS of the wearable device. And vice versa. When the detection distance is reduced and the maintenance time exceeds the preset time, turn off the GPS of the wearable device and turn on the GPS of the mobile device.

Benefits of technology

It effectively reduces the power consumption output when GPS is continuously turned on, improves the battery life of mobile devices and wearable devices, and speeds up the switching of GPS signals between devices, and improves the accuracy of GPS trajectory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119767393A_ABST
    Figure CN119767393A_ABST
Patent Text Reader

Abstract

The present application discloses a GPS intelligent switching method, device, equipment and storage medium, the method includes: in response to an instruction to turn on GPS, turning on the GPS of a wearable device and the GPS of a mobile device, obtaining the detection distance between the wearable device and the mobile device, if the detection distance is greater than a first preset distance, turning off the GPS of the mobile device and maintaining the GPS of the wearable device turned on, otherwise turning off the GPS of the wearable device and maintaining the GPS of the mobile device turned on, when the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the maintenance time is greater than the preset time, turning off the GPS of the wearable device and turning on the GPS of the mobile device. It can be seen that through Bluetooth ranging, it is possible to effectively identify whether the positioning of the mobile device and the wearable device overlap, reduce the time when the two devices are turned on at the same time, reduce the power consumption of the device, improve the endurance of the device, and at the same time speed up the switching of GPS signals between devices and improve the accuracy of GPS tracks.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and more specifically, to a GPS intelligent switching method, device, equipment and storage medium. Background Art

[0002] In today's era of highly popularized digital life, smart mobile devices and various wearable devices have been deeply integrated into people's daily activities. In particular, in many GPS application scenarios that rely on geographic location information, such as travel navigation, sports records, and outdoor adventures, the collaborative operation mode of the two has attracted much attention.

[0003] At present, when the mobile device and the wearable device are connected, once there is a positioning demand, such as the wearable device needs to track the movement trajectory, determine the real-time position to achieve sports health monitoring, itinerary recording and other functions, or when the mobile device opens a map navigation application, the general operation is to activate the GPS modules of the mobile device and the wearable device at the same time. This is because when the mobile device is in a relatively static state, that is, there is no obvious movement or the initial trajectory has not changed, the location information fed back by the mobile device GPS alone may not accurately reflect the dynamic trajectory of the wearable device. In order to ensure that the location and trajectory recorded by the wearable device are both accurate and coherent, the dual-end GPS is turned on.

[0004] However, as a key component for high-precision positioning, the GPS module consumes considerable power. When both the mobile device and the wearable device use GPS at the same time, the power consumption is doubled, which reduces the battery life of the mobile device and the wearable device.

[0005] Based on this, how to intelligently switch the GPS of mobile devices and wearable devices to reduce the power consumption output caused by the continuous opening of GPS and improve the battery life of mobile devices and wearable devices is an issue that needs attention. Summary of the invention

[0006] In view of the above problems, the present application provides a GPS intelligent switching method, device, equipment and storage medium to reduce the power consumption output caused by the continuous activation of GPS and improve the battery life of mobile devices and wearable devices.

[0007] In order to achieve the above objectives, the specific plan is proposed as follows:

[0008] A GPS intelligent switching method is applied to a GPS control terminal, wherein the GPS control terminal is respectively connected to a wearable device and a mobile device for communication.

[0009] The method includes:

[0010] In response to an instruction to turn on GPS, turning on the GPS of the wearable device and the GPS of the mobile device;

[0011] Acquire a detection distance between the wearable device and the mobile device by Bluetooth detection, where the Bluetooth is any one of the Bluetooth of the wearable device and the Bluetooth of the mobile device;

[0012] If the detection distance is greater than the first preset distance, turn off the GPS of the mobile device and keep the GPS of the wearable device turned on; otherwise, turn off the GPS of the wearable device and keep the GPS of the mobile device turned on;

[0013] When the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is maintained less than the second preset distance for longer than a preset time, the GPS of the wearable device is turned off and the GPS of the mobile device is turned on.

[0014] Optionally, the method further includes:

[0015] When the Bluetooth of the wearable device is disconnected from the Bluetooth of the mobile device, the GPS of the wearable device is turned on and the GPS of the mobile device is turned off.

[0016] A GPS intelligent switching method is applied to a mobile device, wherein the mobile device is connected to a wearable device via Bluetooth, and the method comprises:

[0017] In response to an instruction to turn on the GPS, turning on the GPS of the mobile device;

[0018] Detecting the detection distance between the wearable device and the mobile device through the Bluetooth;

[0019] If the detection distance is greater than a first preset distance, turning off the GPS of the mobile device, otherwise keeping the GPS of the mobile device turned on;

[0020] When the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is less than the second preset distance for a period greater than a preset time, the GPS of the mobile device is turned on again.

[0021] Optionally, the method further includes:

[0022] When the Bluetooth of the mobile device is disconnected from the Bluetooth of the wearable device, the GPS of the mobile device is turned off.

[0023] A GPS intelligent switching method is applied to a wearable device, wherein the wearable device is connected to a mobile device via Bluetooth, and the method comprises:

[0024] In response to an instruction to turn on the GPS, turning on the GPS of the wearable device;

[0025] Detecting the detection distance between the wearable device and the mobile device through the Bluetooth;

[0026] If the detection distance is greater than a first preset distance, keep the GPS of the wearable device turned on; otherwise, turn off the GPS of the wearable device;

[0027] When the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is less than the second preset distance for a period greater than a preset time, the GPS of the wearable device is turned off.

[0028] Optionally, the method further includes:

[0029] When the Bluetooth of the mobile device is disconnected from the Bluetooth of the wearable device, the GPS of the wearable device is turned on.

[0030] A GPS intelligent switching device is applied to a GPS control terminal, wherein the GPS control terminal is respectively connected to a wearable device and a mobile device for communication.

[0031] The device includes:

[0032] A dual-end GPS activation unit, configured to activate the GPS of the wearable device and the GPS of the mobile device in response to an instruction to activate the GPS;

[0033] A detection distance acquisition unit, used to acquire a detection distance between the wearable device and the mobile device by Bluetooth detection, wherein the Bluetooth is any one of the Bluetooth of the wearable device and the Bluetooth of the mobile device;

[0034] A GPS state adjustment unit, configured to turn off the GPS of the mobile device and keep the GPS of the wearable device turned on if the detection distance is greater than a first preset distance, and otherwise turn off the GPS of the wearable device and keep the GPS of the mobile device turned on;

[0035] The first GPS status switching unit is used to turn off the GPS of the wearable device and turn on the GPS of the mobile device when the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is maintained less than the second preset distance for more than a preset time.

[0036] Optionally, the device further comprises:

[0037] The second GPS state switching unit is used to turn on the GPS of the wearable device and turn off the GPS of the mobile device when the Bluetooth of the wearable device is disconnected from the Bluetooth of the mobile device.

[0038] A GPS intelligent switching device is applied to a mobile device, wherein the mobile device is connected to a wearable device via Bluetooth, and the device comprises:

[0039] A mobile device GPS activation unit, configured to activate the GPS of the mobile device in response to an instruction to activate the GPS;

[0040] A first detection distance unit, configured to detect a detection distance between the wearable device and the mobile device via the Bluetooth;

[0041] A mobile device GPS state adjustment unit, configured to turn off the GPS of the mobile device if the detection distance is greater than a first preset distance, and otherwise keep the GPS of the mobile device turned on;

[0042] The mobile device GPS activation unit is used to re-activate the GPS of the mobile device when the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is maintained less than the second preset distance for more than a preset time.

[0043] Optionally, the device further comprises:

[0044] The mobile device GPS shutoff unit is used to shut off the GPS of the mobile device when the Bluetooth of the mobile device is disconnected from the Bluetooth of the wearable device.

[0045] A GPS intelligent switching device is applied to a wearable device, wherein the wearable device is connected to a mobile device via Bluetooth, and the device comprises:

[0046] A wearable device GPS activation unit, configured to activate the GPS of the wearable device in response to an instruction to activate the GPS;

[0047] A second detection distance unit, configured to detect a detection distance between the wearable device and the mobile device via the Bluetooth;

[0048] A wearable device GPS state adjustment unit, configured to maintain the GPS of the wearable device in an on state if the detection distance is greater than a first preset distance, and otherwise turn off the GPS of the wearable device;

[0049] The wearable device GPS shutoff unit is used to shut off the GPS of the wearable device when the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is maintained less than the second preset distance for more than a preset time.

[0050] Optionally, the device further comprises:

[0051] The wearable device GPS activation unit is used to activate the GPS of the wearable device when the Bluetooth of the mobile device is disconnected from the Bluetooth of the wearable device.

[0052] A GPS intelligent switching device, comprising a memory and a processor;

[0053] The memory is used to store programs;

[0054] The processor is used to execute the program to implement the various steps of the GPS intelligent switching method as described above.

[0055] A storage medium stores a computer program, which, when executed by a processor, implements the various steps of the GPS intelligent switching method described above.

[0056] By means of the above technical solution, the present application turns on the GPS of the wearable device and the GPS of the mobile device in response to the instruction to turn on the GPS, and obtains the detection distance between the wearable device and the mobile device by Bluetooth, wherein the Bluetooth is any of the Bluetooth of the wearable device and the Bluetooth of the mobile device. If the detection distance is greater than the first preset distance, the GPS of the mobile device is turned off and the GPS of the wearable device is maintained on, otherwise the GPS of the wearable device is turned off and the GPS of the mobile device is maintained on, and when the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is maintained less than the second preset distance for a time greater than the preset time, the GPS of the wearable device is turned off and the GPS of the mobile device is turned on. It can be seen that through Bluetooth ranging, it is possible to effectively identify whether the positioning of the mobile device and the wearable device overlap, reduce the time the two devices are turned on at the same time, reduce the power consumption of the mobile device or the wearable device, and at the same time speed up the switching of GPS signals between devices to improve the accuracy of GPS tracks. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0058] Figure 1 A schematic diagram of a communication relationship between a GPS control terminal, a mobile device and a wearable device provided in an embodiment of the present application;

[0059] Figure 2 A schematic diagram of a process for realizing GPS intelligent switching by a GPS control terminal provided in an embodiment of the present application;

[0060] Figure 3A schematic diagram of a flow chart of the start / stop state control judgment of the GPS of a wearable device and the GPS of a mobile device provided in an embodiment of the present application;

[0061] Figure 4 A schematic diagram of a process for implementing GPS intelligent switching on a mobile device provided in an embodiment of the present application;

[0062] Figure 5 A schematic diagram of a process for realizing GPS intelligent switching of a wearable device provided in an embodiment of the present application;

[0063] Figure 6 A schematic diagram of a device structure for realizing GPS intelligent switching at a GPS control terminal provided in an embodiment of the present application;

[0064] Figure 7 A schematic diagram of a device structure for realizing GPS intelligent switching for a mobile device provided in an embodiment of the present application;

[0065] Figure 8 A schematic diagram of a device structure for realizing GPS intelligent switching for a wearable device provided in an embodiment of the present application;

[0066] Fig. 9 A schematic diagram of the structure of a device for implementing GPS intelligent switching provided in an embodiment of the present application. DETAILED DESCRIPTION

[0067] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0068] Figure 1 A communication relationship diagram between a GPS control terminal, a mobile device and a wearable device for realizing GPS intelligent switching provided in an embodiment of the present application, such as Figure 1 As shown, the GPS control terminal is respectively connected to the wearable device and the mobile device for communication.

[0069] Specifically, both the wearable device and the mobile device may be equipped with GPS, and when the two devices are connected to the GPS control terminal, the GPS control terminal may control the opening or closing of the GPS of the two devices.

[0070] Furthermore, the wearable device and the mobile device may be connected via Bluetooth, and both the Bluetooth of the wearable device and the Bluetooth of the mobile device may have a distance measurement function, and may measure the distance between the wearable device and the mobile device.

[0071] based on Figure 1 The communication relationship shown, Figure 2 A schematic diagram of a flow chart of a method for implementing GPS intelligent switching by a GPS control terminal provided in an embodiment of the present application is shown, referring to Figure 2 , the process may include:

[0072] Step S110: In response to the instruction to turn on GPS, turn on the GPS of the wearable device and the GPS of the mobile device.

[0073] Step S120: Acquire the detection distance between the Bluetooth detection wearable device and the mobile device.

[0074] The Bluetooth is any one of the Bluetooth of the wearable device and the Bluetooth of the mobile device.

[0075] Specifically, when the Bluetooth of the wearable device and the Bluetooth of the mobile device are connected, the Bluetooth ranging function can be used to measure the distance between the wearable device and the mobile device, and then the wearable device or the mobile device sends the detected distance information to the GPS control end for judgment and analysis by the GPS control end.

[0076] Step S130, determine whether the detection distance is greater than the first preset distance, if so, execute step S140, if not, execute step S150.

[0077] The first preset distance may indicate a distance at which the user carrying the wearable device is deemed to be too far away from the mobile device.

[0078] Step S140: turn off the GPS of the mobile device and keep the GPS of the wearable device turned on.

[0079] It is understandable that if the detection distance is greater than the first preset distance, it means that the user carrying the wearable device is too far away from the mobile device, and the user's positioning is based on the GPS positioning of the wearable device, so the GPS of the wearable device can be kept turned on. At the same time, in order to improve the user's positioning accuracy and reduce the power consumption of the mobile device, the GPS of the mobile device can be turned off.

[0080] Step S150: turn off the GPS of the wearable device and keep the GPS of the mobile device turned on.

[0081] It is understandable that if the detection distance is not greater than the first preset distance, it means that the distance between the user carrying the wearable device and the mobile device can be ignored, or the user's location and the mobile device's location can be considered the same location, so the GPS of the mobile device can be kept turned on. At the same time, since the wearable device is a portable device of the user, the wearable device has a greater battery life requirement than the mobile device. Therefore, in order to reduce the power consumption of the wearable device and improve the battery life of the wearable device, the GPS of the wearable device can be turned off.

[0082] Step S160: When the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is less than the second preset distance for a period greater than a preset time, the GPS of the wearable device is turned off and the GPS of the mobile device is turned on.

[0083] The second preset distance may indicate the distance between the user carrying the wearable device and the mobile device that can be located at the same location by GPS. The preset time may indicate the shortest time that the user carrying the wearable device and the mobile device are stable at the same location.

[0084] Specifically, it can be done as follows Figure 3 The judgment process controls the start and stop status of the GPS of the wearable device and the GPS of the mobile device, and the process may include:

[0085] Step S1601, determine whether the detection distance is reduced from greater than the first preset distance to less than the second preset distance, if so, execute step S1602, if not, execute step S1603.

[0086] Specifically, the detection distance is reduced from greater than the first preset distance to the second preset distance, which can indicate that the real-time positioning of the user by GPS changes from deviating from the GPS position range of the mobile device to entering the GPS position range of the mobile device, and can be recognized as the same positioning by GPS within the GPS position range of the mobile device.

[0087] Step S1602, start timing, and determine in real time whether the detection distance is less than the second preset distance for a maintenance time reaching a preset time, if so, execute step S1604, if not, execute step S1603.

[0088] Specifically, if the detection distance is less than the second preset distance for a preset time, it can indicate that the real-time position of the user carrying the wearable device is stable within the GPS position range of the mobile device.

[0089] Step S1603: Keep the GPS of the wearable device turned on and keep the GPS of the mobile device turned off.

[0090] It is understandable that if the user's real-time location does not enter the mobile device's GPS location range, or the user enters the mobile device's GPS location range but is not stable (such as entering the mobile device's GPS location range and then leaving), the wearable device's GPS will continue to be turned on and the mobile device's GPS will be turned off.

[0091] Step S1604: turn off the GPS of the wearable device and turn on the GPS of the mobile device.

[0092] It is understandable that once the user enters the GPS location range of the mobile device and becomes stable, it means that the user's location and the mobile device's location can be considered the same location, then the GPS of the wearable device can be turned off and the GPS of the mobile device can be turned on.

[0093] The GPS intelligent switching method provided in this embodiment responds to the instruction to turn on GPS, turns on the GPS of the wearable device and the GPS of the mobile device, obtains the detection distance between the Bluetooth detection wearable device and the mobile device, wherein the Bluetooth is any Bluetooth of the wearable device Bluetooth and the mobile device Bluetooth, if the detection distance is greater than the first preset distance, turns off the mobile device GPS and maintains the wearable device GPS turned on, otherwise turns off the wearable device GPS and maintains the mobile device GPS turned on, when the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is less than the second preset distance for a period of time greater than the preset time, turns off the wearable device GPS and turns on the mobile device GPS. It can be seen that through Bluetooth ranging, it is possible to effectively identify whether the positioning of the mobile device and the wearable device overlaps, reduce the time the two devices are turned on at the same time, reduce the power consumption of the mobile device or the wearable device, and speed up the switching of GPS signals between devices to improve the accuracy of GPS tracks.

[0094] In some embodiments of the present application, considering that the Bluetooth connection has a distance limit, when the distance between the wearable device and the mobile device is too far, or the Bluetooth fails, or the Bluetooth is disconnected, the distance between the two devices cannot be measured through Bluetooth. Based on this, the GPS smart switching solution provided by the present application may also include:

[0095] When the Bluetooth of the wearable device is disconnected from the Bluetooth of the mobile device, turn on the GPS of the wearable device and turn off the GPS of the mobile device.

[0096] It is understandable that since the Bluetooth of the wearable device is disconnected from the Bluetooth of the mobile device, the distance between the two devices cannot be measured to control the start and stop of the GPS of the two devices by distance. At this time, the possible situations are that the distance between the wearable device and the mobile device is too far, or the Bluetooth fails, or the Bluetooth is disconnected. Therefore, no matter what the situation is, the GPS positioning of the wearable device carried with you can be used as the standard, and the GPS of the wearable device can be used as the standard for user positioning. Then the GPS of the wearable device can be turned on. At the same time, in order to reduce the power consumption of the mobile device, the GPS of the mobile device can be turned off.

[0097] Next, from the perspective of mobile devices, the GPS intelligent switching solution is introduced. It is understandable that the mobile device can independently control the start and stop of the mobile device GPS. Figure 4 As shown, the process of implementing GPS intelligent switching on a mobile device may include:

[0098] Step S210: In response to the instruction to turn on the GPS, turn on the GPS of the mobile device.

[0099] At the same time, the wearable device receives and responds to the instruction to turn on the GPS, and turns on the GPS of the wearable device.

[0100] Step S220: Detect the detection distance between the wearable device and the mobile device via Bluetooth.

[0101] Specifically, when the Bluetooth of the wearable device is connected to the Bluetooth of the mobile device, the distance between the wearable device and the mobile device can be measured using the Bluetooth distance measurement function.

[0102] Step S230: If the detection distance is greater than the first preset distance, turn off the GPS of the mobile device; otherwise, keep the GPS of the mobile device turned on.

[0103] The first preset distance may indicate a distance at which the user carrying the wearable device is deemed to be too far away from the mobile device.

[0104] Step S240: When the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is less than the second preset distance for a period greater than a preset time, the GPS of the mobile device is turned on again.

[0105] The second preset distance may indicate the distance between the user carrying the wearable device and the mobile device that can be located at the same location by GPS. The preset time may indicate the shortest time that the user carrying the wearable device and the mobile device are stable at the same location.

[0106] It is understood that if the detection distance starts from being greater than the first preset distance and does not decrease or change to being less than the second preset distance, the GPS of the mobile device will continue to be kept off. If the detection distance decreases from being greater than the first preset distance to being less than the second preset distance, but the detection distance is less than the second preset distance for less than the preset time, the GPS of the mobile device will continue to be kept off.

[0107] Furthermore, when the Bluetooth of the mobile device is disconnected from the Bluetooth of the wearable device, the GPS of the mobile device is turned off.

[0108] It is understandable that when the Bluetooth of the mobile device is disconnected from the Bluetooth of the wearable device, the user's real-time location may be outside the GPS location range of the mobile device. Therefore, the GPS of the mobile device should not be used as the standard. At the same time, in order to reduce the power consumption of the mobile device, the GPS of the mobile device can be turned off.

[0109] The GPS intelligent switching method provided in this embodiment is to turn on the GPS of the mobile device in response to the instruction to turn on the GPS, and detect the detection distance between the wearable device and the mobile device through Bluetooth. If the detection distance is greater than the first preset distance, the GPS of the mobile device is turned off, otherwise the GPS of the mobile device is kept turned on, and when the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is less than the second preset distance for a period of time greater than the preset time, the GPS of the mobile device is turned on again. It can be seen that through Bluetooth ranging, it is possible to effectively identify whether the positioning of the mobile device and the wearable device overlap, thereby flexibly controlling the start and stop of the mobile device, timely reducing the power consumption of the mobile device when it is not necessary for the mobile device to provide GPS, improving the endurance of the device, accelerating the switching of GPS signals between devices, and improving the accuracy of GPS tracks.

[0110] Next, from the perspective of wearable devices, the GPS intelligent switching solution is introduced. It can be understood that the wearable device can independently control the start and stop of the wearable device GPS. Figure 5 As shown, the process of realizing GPS intelligent switching of the wearable device may include:

[0111] Step S310: In response to an instruction to turn on GPS, turn on the GPS of the wearable device.

[0112] At the same time, the mobile device simultaneously receives and responds to the instruction to turn on the GPS, and turns on the GPS of the mobile device.

[0113] Step S320: Detect the detection distance between the wearable device and the mobile device via Bluetooth.

[0114] Specifically, when the Bluetooth of the wearable device is connected to the Bluetooth of the mobile device, the distance between the wearable device and the mobile device can be measured using the Bluetooth distance measurement function.

[0115] Step S330: If the detection distance is greater than the first preset distance, keep the GPS of the wearable device turned on; otherwise, turn off the GPS of the wearable device.

[0116] The first preset distance may indicate a distance at which the user carrying the wearable device is deemed to be too far away from the mobile device.

[0117] Step S340: When the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is less than the second preset distance for a period of time greater than a preset time, turn off the GPS of the wearable device.

[0118] The second preset distance may indicate the distance between the user carrying the wearable device and the mobile device that can be located at the same location by GPS. The preset time may indicate the shortest time that the user carrying the wearable device and the mobile device are stable at the same location.

[0119] It is understandable that if the detection distance starts from being greater than the first preset distance and does not shrink or change to being less than the second preset distance, the GPS of the wearable device will continue to be turned on. If the detection distance shrinks from being greater than the first preset distance to being less than the second preset distance, but the detection distance is less than the second preset distance for less than the preset time, the GPS of the wearable device will continue to be turned on. Until the detection distance shrinks from being greater than the first preset distance to being less than the second preset distance, and the detection distance is less than the second preset distance for more than the preset time, the GPS of the mobile device can be used as the basis, then the GPS of the wearable device is turned off and the GPS of the mobile device is turned on.

[0120] Furthermore, when the Bluetooth of the mobile device is disconnected from the Bluetooth of the wearable device, the GPS of the wearable device is turned on.

[0121] It is understandable that when the Bluetooth of the mobile device is disconnected from the Bluetooth of the wearable device, the user's real-time location may be outside the GPS location range of the mobile device. Therefore, the GPS of the wearable device should be used as the standard. Then the GPS of the wearable device can be turned on to provide the user with accurate real-time positioning.

[0122] The GPS intelligent switching method provided in this embodiment turns on the GPS of the wearable device in response to the instruction to turn on the GPS, detects the detection distance between the wearable device and the mobile device through Bluetooth, and if the detection distance is greater than the first preset distance, maintains the GPS of the wearable device on, otherwise turns off the GPS of the wearable device, and turns off the GPS of the wearable device when the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is less than the second preset distance for a period of time greater than the preset time. It can be seen that through Bluetooth ranging, it is possible to effectively identify whether the positioning of the mobile device and the wearable device overlap, thereby flexibly controlling the start and stop of the wearable device, timely reducing the power consumption of the wearable device when it is not necessary for the wearable device to provide GPS, improving the endurance of the device, and taking the wearable device GPS as the standard when the distance is uncertain, thereby improving the GPS track accuracy.

[0123] The following is a description of a device for implementing GPS intelligent switching provided in an embodiment of the present application. The device for implementing GPS intelligent switching described below and the method for implementing GPS intelligent switching described above can refer to each other.

[0124] Next, see Figure 6 , Figure 6 The present invention is a schematic diagram of the structure of a device for realizing GPS intelligent switching at a GPS control terminal disclosed in an embodiment of the present application.

[0125] like Figure 6 As shown, the device may include:

[0126] A dual-end GPS activation unit 11, configured to activate the GPS of the wearable device and the GPS of the mobile device in response to an instruction to activate the GPS;

[0127] A detection distance acquisition unit 12, configured to acquire a detection distance between the wearable device and the mobile device through Bluetooth detection, wherein the Bluetooth is any one of the Bluetooth of the wearable device and the Bluetooth of the mobile device;

[0128] A GPS state adjustment unit 13, configured to turn off the GPS of the mobile device and keep the GPS of the wearable device turned on if the detection distance is greater than a first preset distance, otherwise turn off the GPS of the wearable device and keep the GPS of the mobile device turned on;

[0129] The first GPS status switching unit 14 is used to turn off the GPS of the wearable device and turn on the GPS of the mobile device when the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is maintained less than the second preset distance for more than a preset time.

[0130] Optionally, the device further comprises:

[0131] The second GPS state switching unit is used to turn on the GPS of the wearable device and turn off the GPS of the mobile device when the Bluetooth of the wearable device is disconnected from the Bluetooth of the mobile device.

[0132] Next, see Figure 7 , Figure 7 A schematic diagram of the structure of a device for realizing GPS intelligent switching in a mobile device disclosed in an embodiment of the present application.

[0133] like Figure 7 As shown, the device may include:

[0134] The mobile device GPS activation unit 21 is used to activate the GPS of the mobile device in response to an instruction to activate the GPS;

[0135] A first detection distance unit 22, used to detect the detection distance between the wearable device and the mobile device through the Bluetooth;

[0136] The mobile device GPS state adjustment unit 23 is used to turn off the GPS of the mobile device if the detection distance is greater than a first preset distance, otherwise keep the GPS of the mobile device turned on;

[0137] The mobile device GPS activation unit 24 is used to re-activate the GPS of the mobile device when the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is maintained less than the second preset distance for more than a preset time.

[0138] Optionally, the device further comprises:

[0139] The mobile device GPS shutoff unit is used to shut off the GPS of the mobile device when the Bluetooth of the mobile device is disconnected from the Bluetooth of the wearable device.

[0140] Next, see Figure 8 , Figure 8 A schematic diagram of the structure of a device for realizing GPS intelligent switching in a wearable device disclosed in an embodiment of the present application.

[0141] like Figure 8 As shown, the device may include:

[0142] A wearable device GPS activation unit 31 is used to activate the GPS of the wearable device in response to an instruction to activate the GPS;

[0143] A second detection distance unit 32, used to detect the detection distance between the wearable device and the mobile device through the Bluetooth;

[0144] The wearable device GPS state adjustment unit 33 is used to maintain the GPS of the wearable device in an on state if the detection distance is greater than a first preset distance, otherwise turn off the GPS of the wearable device;

[0145] The wearable device GPS shutoff unit 34 is used to shut off the GPS of the wearable device when the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is less than the second preset distance for a period of time greater than a preset time.

[0146] Optionally, the device further comprises:

[0147] The wearable device GPS activation unit is used to activate the GPS of the wearable device when the Bluetooth of the mobile device is disconnected from the Bluetooth of the wearable device.

[0148] The GPS intelligent switching device provided in the embodiment of the present application can be applied to a GPS intelligent switching device. The GPS intelligent switching device can be a GPS control terminal, a wearable device or a mobile device. Fig. 9 The hardware structure diagram of the GPS intelligent switching device is shown in FIG. Fig. 9 ,The hardware structure of the GPS intelligent switching device may include: at least one processor 1, at least one communication interface 2, at least one memory 3 and at least one communication bus 4;

[0149] In the embodiment of the present application, the number of the processor 1, the communication interface 2, the memory 3, and the communication bus 4 is at least one, and the processor 1, the communication interface 2, and the memory 3 communicate with each other through the communication bus 4;

[0150] The processor 1 may be a central processing unit CPU, or an application-specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present invention, etc.;

[0151] The memory 3 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), etc., such as at least one disk memory;

[0152] Among them, the memory stores a program, and the processor can call the program stored in the memory, and the program is used to: implement the various processing flows of the aforementioned GPS control terminal in the GPS intelligent switching solution, or, implement the various processing flows of the aforementioned wearable device in the GPS intelligent switching solution, or, implement the various processing flows of the aforementioned mobile device in the GPS intelligent switching solution.

[0153] An embodiment of the present application also provides a storage medium, which can store a program suitable for execution by a processor, wherein the program is used to: implement the various processing flows of the aforementioned GPS control terminal in the GPS intelligent switching solution, or, implement the various processing flows of the aforementioned wearable device in the GPS intelligent switching solution, or, implement the various processing flows of the aforementioned mobile device in the GPS intelligent switching solution.

[0154] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0155] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.

[0156] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A GPS intelligent switching method, characterized in that: Applied to the GPS control terminal, the GPS control terminal is respectively connected to the wearable device and the mobile device for communication, The method includes: In response to an instruction to turn on GPS, turning on the GPS of the wearable device and the GPS of the mobile device; Obtaining a detection distance between the wearable device and the mobile device by Bluetooth detection, where the Bluetooth is any one of the Bluetooth of the wearable device and the Bluetooth of the mobile device; If the detection distance is greater than the first preset distance, turn off the GPS of the mobile device and keep the GPS of the wearable device turned on; otherwise, turn off the GPS of the wearable device and keep the GPS of the mobile device turned on; When the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is maintained less than the second preset distance for longer than a preset time, the GPS of the wearable device is turned off and the GPS of the mobile device is turned on.

2. The method according to claim 1, characterized in that Also includes: When the Bluetooth of the wearable device is disconnected from the Bluetooth of the mobile device, the GPS of the wearable device is turned on and the GPS of the mobile device is turned off.

3. A GPS intelligent switching method, characterized in that: Applied to a mobile device, the mobile device is connected to a wearable device via Bluetooth, the method comprising: In response to an instruction to turn on the GPS, turning on the GPS of the mobile device; Detecting the detection distance between the wearable device and the mobile device through the Bluetooth; If the detection distance is greater than a first preset distance, turning off the GPS of the mobile device, otherwise keeping the GPS of the mobile device turned on; When the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is less than the second preset distance for a period greater than a preset time, the GPS of the mobile device is turned on again.

4. The method according to claim 3, characterized in that Also includes: When the Bluetooth of the mobile device is disconnected from the Bluetooth of the wearable device, the GPS of the mobile device is turned off.

5. A GPS intelligent switching method, characterized in that: Applied to a wearable device, the wearable device is connected to a mobile device via Bluetooth, and the method comprises: In response to an instruction to turn on the GPS, turning on the GPS of the wearable device; Detecting the detection distance between the wearable device and the mobile device through the Bluetooth; If the detection distance is greater than a first preset distance, keep the GPS of the wearable device turned on; otherwise, turn off the GPS of the wearable device; When the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is less than the second preset distance for a period greater than a preset time, the GPS of the wearable device is turned off.

6. The method according to claim 5, characterized in that Also includes: When the Bluetooth of the mobile device is disconnected from the Bluetooth of the wearable device, the GPS of the wearable device is turned on.

7. A GPS intelligent switching device, characterized in that: Applied to the GPS control terminal, the GPS control terminal is respectively connected to the wearable device and the mobile device for communication, The device includes: A dual-end GPS activation unit, configured to activate the GPS of the wearable device and the GPS of the mobile device in response to an instruction to activate the GPS; A detection distance acquisition unit, used to acquire a detection distance between the wearable device and the mobile device by Bluetooth detection, wherein the Bluetooth is any one of the Bluetooth of the wearable device and the Bluetooth of the mobile device; A GPS state adjustment unit, configured to turn off the GPS of the mobile device and keep the GPS of the wearable device turned on if the detection distance is greater than a first preset distance, and otherwise turn off the GPS of the wearable device and keep the GPS of the mobile device turned on; The GPS state switching unit is used to turn off the GPS of the wearable device and turn on the GPS of the mobile device when the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is maintained less than the second preset distance for more than a preset time.

8. A GPS intelligent switching device, characterized in that: Applied to a mobile device, the mobile device is connected to a wearable device via Bluetooth, and the device comprises: A mobile device GPS activation unit, configured to activate the GPS of the mobile device in response to an instruction to activate the GPS; A first detection distance unit, configured to detect a detection distance between the wearable device and the mobile device via the Bluetooth; A mobile device GPS state adjustment unit, configured to turn off the GPS of the mobile device if the detection distance is greater than a first preset distance, and otherwise keep the GPS of the mobile device turned on; The mobile device GPS activation unit is used to re-activate the GPS of the mobile device when the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is maintained less than the second preset distance for more than a preset time.

9. A GPS intelligent switching device, characterized in that: Applied to a wearable device, the wearable device is connected to a mobile device via Bluetooth, and the device comprises: A wearable device GPS activation unit, configured to activate the GPS of the wearable device in response to an instruction to activate the GPS; A second detection distance unit, configured to detect a detection distance between the wearable device and the mobile device via the Bluetooth; A wearable device GPS state adjustment unit, configured to maintain the GPS of the wearable device in an on state if the detection distance is greater than a first preset distance, and otherwise turn off the GPS of the wearable device; The wearable device GPS shutoff unit is used to shut off the GPS of the wearable device when the detection distance is reduced from greater than the first preset distance to less than the second preset distance, and the detection distance is maintained less than the second preset distance for more than a preset time.

10. A GPS intelligent switching device, characterized in that: including memory and processor; The memory is used to store programs; The processor is used to execute the program to implement the various steps of the GPS intelligent switching method as described in any one of claims 1-2, claims 3-4, or claims 5-6.

11. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, each step of the GPS intelligent switching method as described in any one of claims 1-2, claims 3-4, or claims 5-6 is implemented.