CN111148031B - Method for saving GPS positioning power consumption and wearable device - Google Patents
Method for saving GPS positioning power consumption and wearable device Download PDFInfo
- Publication number
- CN111148031B CN111148031B CN201910331762.2A CN201910331762A CN111148031B CN 111148031 B CN111148031 B CN 111148031B CN 201910331762 A CN201910331762 A CN 201910331762A CN 111148031 B CN111148031 B CN 111148031B
- Authority
- CN
- China
- Prior art keywords
- wearable device
- wearable
- position information
- positioning
- equipment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 238000005259 measurement Methods 0.000 claims description 9
- 230000003993 interaction Effects 0.000 claims description 8
- 238000012544 monitoring process Methods 0.000 claims description 7
- 230000002596 correlated effect Effects 0.000 claims description 6
- 230000002093 peripheral effect Effects 0.000 claims description 5
- 238000001514 detection method Methods 0.000 claims description 2
- 230000000875 corresponding effect Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 7
- 238000004364 calculation method Methods 0.000 description 6
- 238000004590 computer program Methods 0.000 description 4
- 238000003066 decision tree Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 238000012806 monitoring device Methods 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/024—Guidance services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
- H04W52/0225—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
- H04W52/0248—Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
- Telephone Function (AREA)
Abstract
A method for saving GPS positioning power consumption and a wearable device are provided, the method comprises: after a GPS module of the wearable device is started, predicting whether GPS positioning can be successfully carried out within a second specified time at intervals of a first specified time by using a prediction model; the second specified duration is longer than the first specified duration, and the prediction model at least comprises the collected time T for the final GPS positioning success under the historical connection satellite number s and the historical connection satellite average signal intensity c; if the GPS positioning is predicted not to be successful within the second specified time length, the GPS module is closed. By implementing the embodiment of the invention, the GPS positioning power consumption of the wearable equipment can be saved.
Description
Technical Field
The invention relates to the technical field of wearable equipment, in particular to a method for saving GPS positioning power consumption and the wearable equipment.
Background
Currently, many children telephone watches on the market use a GPS module to perform GPS positioning, so that parents can timely acquire the positions of children. Because the battery capacity of the child telephone watch is generally small, and the GPS positioning power consumption of the GPS module is also high, the GPS module cannot be started for a long time generally. In practical application, when a householder usually wants to acquire the position of a child, the child telephone watch sends a positioning instruction to the child telephone watch through a server, and then the child telephone watch starts a GPS module to perform GPS positioning.
However, since it is not known how long the child telephone watch turns on the GPS module before the positioning is successful, it is a common practice in the industry to set a fixed turn-on duration (e.g., 1 minute) for the GPS module, and turn off the GPS module if the positioning result is not obtained within the fixed turn-on duration. This approach has two drawbacks: firstly, the GPS positioning cannot be successful indoors, but the GPS module is started within a fixed starting time (such as 1 minute), so that the power consumption of the GPS positioning is wasted; secondly, in some places with weak outdoor signals, the positioning may need to be successful after exceeding the fixed opening time (for example, 1 minute and half minutes), but at this time, the GPS module is already closed, and the GPS positioning cannot be performed.
Disclosure of Invention
The embodiment of the invention discloses a method for saving GPS positioning power consumption and wearable equipment, which can save the GPS positioning power consumption of the wearable equipment.
The first aspect of the embodiment of the invention discloses a method for saving GPS positioning power consumption, which is applied to wearable equipment and comprises the following steps:
after the GPS module is started, the wearable equipment predicts whether the GPS positioning can be successfully carried out within the second specified time length at intervals of a first specified time length by using a prediction model; wherein the second specified time is longer than the first specified time, the prediction model comprises at least the time T for the final GPS positioning success under the historical number of connected satellites s1 and the historical average signal strength of connected satellites c1 which are collected;
and if the GPS positioning is not successfully carried out within the second specified time length, the wearable equipment closes the GPS module.
A second aspect of an embodiment of the present invention discloses a wearable device, including:
the prediction unit is used for predicting whether the GPS positioning can be successfully carried out within the second specified time length at intervals of a first specified time length by using the prediction model after the GPS module is started; wherein the second specified time is longer than the first specified time, the prediction model comprises at least the time T for the final GPS positioning success under the historical number of connected satellites s1 and the historical average signal strength of connected satellites c1 which are collected;
and the closing unit is used for closing the GPS module when the GPS positioning is predicted not to be successful within the second designated time length.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, after the GPS module is started, the wearable device predicts whether the GPS positioning can be successfully carried out within the second specified time length at intervals of a first specified time length by using a prediction model; the second designated time length is longer than the first designated time length, and the prediction model at least comprises the collected time T for the successful final GPS positioning under the historical connection satellite number s1 and the historical connection satellite average signal strength c 1; if the GPS positioning is not successfully performed within the second designated time length, the wearable device can close the GPS module, so that the GPS positioning power consumption of the wearable device is saved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flow chart of a method for saving GPS positioning power consumption according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating another method for saving power consumption in GPS positioning according to an embodiment of the present invention;
FIG. 3 is a plan view of an indoor environment of a building according to an embodiment of the present invention;
FIG. 4 is a flow chart illustrating another method for saving power consumption in GPS positioning according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a wearable device disclosed in the embodiment of the invention;
FIG. 6 is a schematic structural diagram of another wearable device disclosed in the embodiments of the present invention;
FIG. 7 is a schematic structural diagram of another wearable device disclosed in the embodiments of the present invention;
FIG. 8 is a schematic structural diagram of another wearable device disclosed in the embodiments of the present invention;
FIG. 9 is a schematic structural diagram of another wearable device disclosed in the embodiments of the present invention;
fig. 10 is a schematic structural diagram of a decision tree according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a method for saving GPS positioning power consumption and wearable equipment, which can save the GPS positioning power consumption of the wearable equipment. The following detailed description is made with reference to the accompanying drawings.
Example one
Referring to fig. 1, fig. 1 is a flowchart illustrating a method for saving GPS positioning power consumption according to an embodiment of the present invention. As shown in fig. 1, the method may include the following steps.
101. After the GPS module is started, the wearable device predicts whether GPS positioning can be successfully carried out within a second specified time period at intervals of a first specified time period by using a prediction model; wherein the second designated duration is longer than the first designated duration, and the prediction model at least comprises the collected time T for the final GPS positioning success under the historical number of connected satellites s1 and the historical average signal strength of connected satellites c 1.
In this embodiment of the present invention, the wearable device may include various intelligent wearable devices such as a smart watch (e.g., a telephone watch), a smart bracelet, a smart foot ring, a smart ear ring, a smart necklace, a smart hat, and a smart garment, which is not limited in this embodiment of the present invention.
As an alternative embodiment, the wearer of the wearable device may actively control the wearable device to turn on the GPS module, for example, the wearer of the wearable device may actively control the wearable device to turn on the GPS module when leaving a safe area (e.g., school, cell).
Or, as another alternative, the wearable device may automatically turn on the GPS module, for example, the wearable device may actively control the wearable device to turn on the GPS module when the signal from the trusted Wi-Fi hotspot is not detected.
As another example, the wearable device may obtain that the user device sends a location request through a service device and turn on the GPS module according to the location request, for example, the wearable device may obtain that a parent of the user device (e.g., a parent's mobile phone) sends a location request through the service device (e.g., a location server) and turn on the GPS module according to the location request.
Further, the location request may carry attribute information, where the attribute information includes not only an identity of the wearable device, but also identity of the user equipment and a hotspot identity of a trusted Wi-Fi hotspot to which the user equipment is currently connected; correspondingly, after the wearable device obtains the positioning request sent by the user device through the service device, whether the identity of the user device is the same as the identity of the monitoring device configured in advance by the wearable device can be checked, if not, the wearable device can ignore the positioning request and keep the GPS module in a closed state; if the Wi-Fi hotspots are the same, the wearable device can identify whether the wearable device is currently accessed to a certain Wi-Fi hotspot, if so, further checking whether a hotspot identification (such as a mac address of the Wi-Fi hotspot) of the certain Wi-Fi hotspot currently accessed by the wearable device is the same as a hotspot identification of a trusted Wi-Fi hotspot currently accessed by the user device, if so, indicating that a wearer of the wearable device and a user to which the user device belongs are both located in the same coverage range of the Wi-Fi hotspot, and the distance between the wearer of the wearable device and the user to which the user device belongs is closer, so that the wearable device can ignore the positioning request and keep the GPS module in a closed state, and power consumption caused by starting the GPS module is reduced; if the distance between the GPS module and the GPS module is different, the distance between the GPS module and the GPS module is far, and the GPS module is started according to the positioning request, so that the accuracy of starting the GPS module can be improved.
Further, after the wearable device checks that the hotspot identification (such as the mac address of the Wi-Fi hotspot) of a certain Wi-Fi hotspot currently accessed by the wearable device is different from the hotspot identification of a trusted Wi-Fi hotspot currently accessed by the user device, and before the GPS module is turned on according to the positioning request, the following steps may be further performed:
the wearable device judges whether the current residual current of the wearable device is lower than a specified electric quantity (such as 30%), and if the current residual current of the wearable device is not lower than the specified electric quantity, the wearable device starts a GPS module according to the positioning request; on the contrary, if the power consumption is lower than the specified power, the wearable device outputs prompt information, the prompt information is used for prompting that a trusted terminal (such as a mobile phone or a tablet used by a wearer of the wearable device) is close to the wearable device for near field communication, when the trusted terminal (such as a mobile phone or a tablet used by a wearer of the wearable device) is close to the wearable device, the wearable device transmits the positioning request to the trusted terminal in a near field communication mode, and the GPS module is kept in a closed state, so that the power consumption aggravation caused by the GPS module is reduced; after the trusted terminal receives the positioning request, it may first check whether the identity of the user equipment is the same as the identity of the monitoring equipment configured in advance for wearable equipment by the trusted terminal, and if not, the trusted terminal may ignore the positioning request; if the Wi-Fi hotspots are the same, the trusted terminal can identify whether the trusted terminal is currently accessed to a certain Wi-Fi hotspot, if so, further checking whether a hotspot identification (such as a mac address of the Wi-Fi hotspot) of the certain Wi-Fi hotspot currently accessed by the trusted terminal is the same as the hotspot identification of the trusted Wi-Fi hotspot currently accessed by the user equipment, and if so, the trusted terminal can ignore the positioning request; if the positioning request is different, the trusted terminal acquires the current position information of the trusted terminal as the position information of the wearable device according to the positioning request and reports the position information to the user equipment through the service equipment, so that transfer positioning can be realized, and the GPS positioning power consumption of the wearable device is reduced.
In the embodiment of the invention, the wearable device can collect big data of the corresponding relation between the historical connection satellite number s1, the historical connection satellite average signal strength c1 and the time T used for the successful final GPS positioning in advance, and performs neural network weight training on the big data by using the principle of artificial intelligence machine learning to form a set of prediction models (such as a decision tree algorithm model), wherein the prediction models at least comprise the collected time T used for the successful final GPS positioning under the historical connection satellite number s1 and the historical connection satellite average signal strength c 1. The historical number of connected satellites s1 can also be understood as the historical minimum number of connected satellites s1, that is, the prediction model can be understood as the time T taken for the final GPS positioning to be successful under the historical minimum number of connected satellites s1 and the historical average signal strength of connected satellites c 1.
As an optional implementation manner, after the GPS module is turned on, the wearable device predicts, by using the prediction model, whether GPS positioning is successful within a second specified time period at every first specified time period, where the method includes:
after the GPS module is started, the wearable device detects the number s2 of the current connected satellites and the average signal intensity c2 of the current connected satellites of the wearable device every a first specified time (such as 5 seconds);
and judging whether the current connecting satellite number s2 is less than the historical connecting satellite number s1 (which can be understood as the historical minimum connecting satellite number s1) and/or judging whether the average signal intensity c2 of the current connecting satellite is less than the average signal intensity c1 of the historical connecting satellite; wherein the second specified time length is equal to the time T;
and if the current connecting satellite number s2 is smaller than the historical connecting satellite number s1 and/or the current connecting satellite average signal intensity c2 is smaller than the historical connecting satellite average signal intensity c1, determining that the GPS positioning is predicted not to be successful within the second specified time.
If the current connecting satellite number s2 is greater than or equal to the historical connecting satellite number s1 and the current connecting satellite average signal strength c2 is greater than or equal to the historical connecting satellite average signal strength c1, it is determined that the GPS positioning is predicted to be successful within a second specified time (e.g., 2 minutes) this time.
In the embodiment of the present invention, the prediction model may use various common machine learning approximation models. One embodiment, using a decision tree algorithm model, is illustrated below. A decision tree is a tree structure similar to a flow chart in which each tree node represents a test on an attribute and each branch represents the output of an attribute. As shown in fig. 10, it is assumed that the number of currently visible satellites is attribute 1, the number of currently connected satellites is attribute 2, the average signal strength of the currently connected satellites is attribute 3, and so on. The model is trained in a large number, and the w1, w2 and w3 parameters of each opening time point are determined to form the model, so that whether the GPS positioning can be successfully predicted by using the parameters in the prediction model when the GPS is opened next time.
102. And if the GPS positioning is not successfully carried out within the second specified time length, the wearable device closes the GPS module.
If the GPS positioning can be successfully carried out within the second specified time length, the GPS module is kept in the starting state, and whether the GPS positioning can be successfully carried out is predicted again after the next first specified time length.
In the method described in fig. 1, whether the positioning is successful within the specified time after the GPS module is turned on is predicted, and the scene in which the positioning is not successful can be predicted as early as possible, so that the GPS module is turned off to achieve the effect of saving the GPS positioning power consumption of the wearable device.
Example two
Referring to fig. 2, fig. 2 is a flow chart illustrating another method for saving GPS positioning power consumption according to an embodiment of the present invention. In the method described in fig. 2, it is assumed that the wearable device and the mobile device are both located in a building (e.g., a mall), and the wearable device is not close to the entrance of the building, the mobile device is close to the entrance of the building, and the mobile device utilizes the inertial measurement unit to locate the location information of the mobile device. For example, please refer to fig. 3, fig. 3 is a plan view illustrating an indoor environment of a building according to an embodiment of the present invention. As shown in fig. 3, the entrance of the building may be a building gate (represented by a black bold line segment), the wearable device is not close to the entrance of the building, and the mobile device is close to the entrance of the building (represented by a semicircular area representing the area close to the entrance of the building). The mobile equipment is provided with an inertia measuring unit which is used for sensing data such as acceleration, angular velocity, magnetic force, pressure and the like in the traveling process of the mobile equipment and calculating the step length and the direction by using the data so as to achieve the purpose of positioning and tracking. Before the mobile equipment enters the building, the position information with higher accuracy can be obtained by using a conventional outdoor positioning method, and the mobile equipment can be positioned and tracked by using the inertial measurement unit within a short time when entering the entrance of the building (at the moment, the mobile equipment is close to the entrance of the building), so that the indoor positioning of the mobile equipment can be realized. For example, when the mobile device is located outdoors and is close to an entrance of a building, the initial longitude and latitude may be obtained by using a GPS, and then within a short time (when the mobile device is close to the entrance of the building), such as 20 seconds, when the mobile device enters the entrance of the building, the inertial measurement unit configured to the mobile device performs estimation of the step length and the direction, so that the longitude and latitude of the mobile device indoors can be calculated by combining the initial longitude and latitude as the location information of the mobile device.
In the embodiment of the present invention, the mobile device may be a wearable device, a smart phone, a tablet computer, or other mobile devices, which is not limited in the embodiment of the present invention.
As shown in fig. 2, the method may include the steps of:
201. and the wearable device acquires that the user equipment sends a positioning request through the service equipment before the GPS module is started.
Optionally, the location request may carry attribute information, where the attribute information includes not only an identity of the wearable device, but also identity information of the user equipment and a hotspot identity of a trusted Wi-Fi hotspot accessed by the user equipment; correspondingly, after the wearable device obtains the positioning request sent by the user device through the service device, whether the identity of the user device is the same as the identity of the monitoring device configured in advance by the wearable device can be checked, if not, the wearable device can ignore the positioning request and keep the GPS module in a closed state; if the Wi-Fi hotspots are the same, the wearable device can identify whether the wearable device is currently accessed to a certain Wi-Fi hotspot in the building, if so, further checking whether a hotspot identification of the certain Wi-Fi hotspot currently accessed by the wearable device is the same as a hotspot identification of a trusted Wi-Fi hotspot currently accessed by the user device, if so, indicating that a wearer of the wearable device and a user to which the user device belongs are both located in the coverage range of the same Wi-Fi hotspot in the building, and at the moment, the distance between the wearer of the wearable device and the user to which the user device belongs is closer to each other in the building, the wearable device can ignore the positioning request and keep the GPS module in a closed state so as to reduce power consumption caused by starting the GPS module; if the distance between the wearable device and the building is not the same, the distance between the wearable device and the building is far, and the wearable device starts the GPS module according to the positioning request, so that the accuracy of starting the GPS module can be improved.
Further, after the wearable device checks that the hotspot identification (such as the mac address of the Wi-Fi hotspot) of a certain Wi-Fi hotspot currently accessed by the wearable device is different from the hotspot identification of a trusted Wi-Fi hotspot currently accessed by the user device, and before the GPS module is turned on according to the positioning request, the following steps may be further performed:
the wearable device judges whether the current residual current of the wearable device is lower than a specified electric quantity (such as 30%), and if the current residual current of the wearable device is not lower than the specified electric quantity, the wearable device starts a GPS module according to the positioning request; on the contrary, if the power consumption is lower than the specified power, the wearable device outputs prompt information, the prompt information is used for prompting that a trusted terminal (such as a mobile phone or a tablet used by a wearer of the wearable device) is close to the wearable device for near field communication, when the trusted terminal (such as a mobile phone or a tablet used by a wearer of the wearable device) is close to the wearable device, the wearable device transmits the positioning request to the trusted terminal in a near field communication mode, and the GPS module is kept in a closed state, so that the power consumption aggravation caused by the GPS module is reduced; after the trusted terminal receives the positioning request, it may first check whether the identity of the user equipment is the same as the identity of the monitoring equipment configured in advance for wearable equipment by the trusted terminal, and if not, the trusted terminal may ignore the positioning request; if the Wi-Fi hotspots are the same, the trusted terminal can identify whether the trusted terminal is currently accessed to a certain Wi-Fi hotspot, if so, further checking whether a hotspot identification (such as a mac address of the Wi-Fi hotspot) of the certain Wi-Fi hotspot currently accessed by the trusted terminal is the same as the hotspot identification of the trusted Wi-Fi hotspot currently accessed by the user equipment, and if so, the trusted terminal can ignore the positioning request; if the positioning request is different, the trusted terminal acquires the current position information of the trusted terminal as the position information of the wearable device according to the positioning request and reports the position information to the user equipment through the service equipment, so that transfer positioning can be realized, and the GPS positioning power consumption of the wearable device is reduced.
The trusted terminal can acquire the current position information of the trusted terminal based on a traditional indoor positioning method.
202. The wearable device starts the GPS module according to the positioning request.
203. After the GPS module is started, the wearable device predicts whether GPS positioning can be successfully carried out within a second specified time period at intervals of a first specified time period by using a prediction model; wherein the second designated duration is longer than the first designated duration, and the prediction model at least comprises the collected time T for the final GPS positioning success under the historical number of connected satellites s1 and the historical average signal strength of connected satellites c 1.
204. And if the GPS positioning is not successfully carried out within the second specified time length, the wearable device closes the GPS module.
205. The wearable device performs Bluetooth searching, and determines the mobile device from the peripheral devices obtained through Bluetooth searching.
206. The wearable device acquires the position information of the mobile device, the distance between the wearable device and the mobile device and the relative direction between the wearable device and the mobile device in a Bluetooth mode.
In the embodiment of the present invention, for example, the wearable device may acquire the location information of the mobile device, the distance between the wearable device and the mobile device, and the relative direction between the wearable device and the mobile device by using a bluetooth 5.1 method. Wherein, bluetooth 5.1 mode has the range finding and surveys the direction function, and the precision reaches centimetre level.
207. The wearable device obtains the position information of the wearable device according to the position information of the mobile device, the distance between the wearable device and the mobile device and the relative direction between the wearable device and the mobile device.
It can be understood that, in step 207, the wearable device uses the mobile device as a reference object, and on the premise that the location information of the mobile device is known, the location information of the wearable device can be calculated according to the distance between the wearable device and the mobile device and the relative direction between the wearable device and the mobile device.
208. The wearable device sends location information including the wearable device to the user device through the service device.
As an optional implementation manner, when the user equipment receives the location information of the wearable device reported by the trusted terminal through the service device and also receives the location information of the wearable device sent by the wearable device to the user equipment through the service device, the user equipment may be subject to the fact that the wearable device sends the location information including the wearable device to the user equipment through the service device; or, the user equipment may also select, as the final location information of the wearable device, location information of an intermediate point of the location information of the wearable device, which is sent to the user equipment by the service device through both (i.e., the trusted terminal and the wearable device), so that the location accuracy of the wearable device may be improved.
209. The wearable device performs a Wi-Fi scanning operation to obtain a first set of Wi-Fi.
It is to be understood that the first set of Wi-Fi points may be a set of Wi-Fi hotspots resulting from the scanning operation.
210. The wearable device stores the position information of the wearable device and the first Wi-Fi set in a correlated mode to a service platform of a building, so that the service platform receives a second Wi-Fi set reported by a terminal located in the building, and when the overlapping degree of the second Wi-Fi set and the first Wi-Fi set is higher than a specified threshold value, the service platform pushes the position information of the wearable device serving as the position information of the terminal to the terminal.
The specified threshold may be set as needed, for example, the specified threshold may be set to 96%, and the embodiment of the present invention is not limited.
In step 209 to step 210, positioning data can be efficiently provided for the indoor terminal, so that the calculation amount of indoor Wi-Fi positioning can be reduced.
In the method described in fig. 2, whether the positioning is successful within the specified time after the GPS module is turned on is predicted, and the prediction can be performed as early as possible for a scene in which the positioning is not successful, so that the GPS module is turned off to achieve the effect of saving the GPS positioning power consumption of the wearable device.
In addition, in the method described in fig. 2, positioning data can be efficiently provided for indoor terminals, so that the amount of calculation for indoor positioning can be reduced.
Furthermore, in the method described in fig. 2, the positioning accuracy of the wearable device may be improved.
EXAMPLE III
Referring to fig. 4, fig. 4 is a flowchart illustrating another method for saving GPS positioning power consumption according to an embodiment of the present invention. In the method described in fig. 4, as shown in fig. 3, it is assumed that the wearable device and the mobile device are both located in a certain building (e.g., a mall) and the wearable device is not close to the entrance of the building, the mobile device is close to the entrance of the building, and the mobile device utilizes the inertial measurement unit to locate the position information of the mobile device. As shown in fig. 4, the method may include the steps of:
401. and the wearable device acquires that the user equipment sends a positioning request through the service equipment before the GPS module is started.
Optionally, the location request may carry attribute information, where the attribute information includes not only an identity of the wearable device, but also identity information of the user equipment and a hotspot identity of a trusted Wi-Fi hotspot accessed by the user equipment; correspondingly, after the wearable device obtains the positioning request sent by the user device through the service device, whether the identity of the user device is the same as the identity of the monitoring device configured in advance by the wearable device can be checked, if not, the wearable device can ignore the positioning request and keep the GPS module in a closed state; if the Wi-Fi hotspots are the same, the wearable device can identify whether the wearable device is currently accessed to a certain Wi-Fi hotspot in the building, if so, further checking whether a hotspot identification of the certain Wi-Fi hotspot currently accessed by the wearable device is the same as a hotspot identification of a trusted Wi-Fi hotspot currently accessed by the user device, if so, indicating that a wearer of the wearable device and a user to which the user device belongs are both located in the coverage range of the same Wi-Fi hotspot in the building, and at the moment, the distance between the wearer of the wearable device and the user to which the user device belongs is closer to each other in the building, the wearable device can ignore the positioning request and keep the GPS module in a closed state so as to reduce power consumption caused by starting the GPS module; if the distance between the wearable device and the building is not the same, the distance between the wearable device and the building is far, and the wearable device starts the GPS module according to the positioning request, so that the accuracy of starting the GPS module can be improved.
Further, after the wearable device checks that the hotspot identification (such as the mac address of the Wi-Fi hotspot) of a certain Wi-Fi hotspot currently accessed by the wearable device is different from the hotspot identification of a trusted Wi-Fi hotspot currently accessed by the user device, and before the GPS module is turned on according to the positioning request, the following steps may be further performed:
the wearable device judges whether the current residual current of the wearable device is lower than a specified electric quantity (such as 30%), and if the current residual current of the wearable device is not lower than the specified electric quantity, the wearable device starts a GPS module according to the positioning request; on the contrary, if the power consumption is lower than the specified power, the wearable device outputs prompt information, the prompt information is used for prompting that a trusted terminal (such as a mobile phone or a tablet used by a wearer of the wearable device) is close to the wearable device for near field communication, when the trusted terminal (such as a mobile phone or a tablet used by a wearer of the wearable device) is close to the wearable device, the wearable device transmits the positioning request to the trusted terminal in a near field communication mode, and the GPS module is kept in a closed state, so that the power consumption aggravation caused by the GPS module is reduced; after the trusted terminal receives the positioning request, it may first check whether the identity of the user equipment is the same as the identity of the monitoring equipment configured in advance for wearable equipment by the trusted terminal, and if not, the trusted terminal may ignore the positioning request; if the Wi-Fi hotspots are the same, the trusted terminal can identify whether the trusted terminal is currently accessed to a certain Wi-Fi hotspot, if so, further checking whether a hotspot identification (such as a mac address of the Wi-Fi hotspot) of the certain Wi-Fi hotspot currently accessed by the trusted terminal is the same as the hotspot identification of the trusted Wi-Fi hotspot currently accessed by the user equipment, and if so, the trusted terminal can ignore the positioning request; if the positioning request is different, the trusted terminal acquires the current position information of the trusted terminal as the position information of the wearable device according to the positioning request and reports the position information to the user equipment through the service equipment, so that transfer positioning can be realized, and the GPS positioning power consumption of the wearable device is reduced.
The trusted terminal can acquire the current position information of the trusted terminal based on a traditional indoor positioning method.
402. The wearable device starts the GPS module according to the positioning request.
403. After the GPS module is started, the wearable device predicts whether GPS positioning can be successfully carried out within a second specified time period at intervals of a first specified time period by using a prediction model; wherein the second designated duration is longer than the first designated duration, and the prediction model at least comprises the collected time T for the final GPS positioning success under the historical number of connected satellites s1 and the historical average signal strength of connected satellites c 1.
404. And if the GPS positioning is not successfully carried out within the second specified time length, the wearable device closes the GPS module.
405. The wearable device performs Bluetooth searching, and determines the mobile device from the peripheral devices obtained through Bluetooth searching.
406. The wearable device acquires the position information of the mobile device, the distance between the wearable device and the mobile device and the relative direction between the wearable device and the mobile device in a Bluetooth mode.
In the embodiment of the present invention, for example, the wearable device may acquire the location information of the mobile device, the distance between the wearable device and the mobile device, and the relative direction between the wearable device and the mobile device by using a bluetooth 5.1 method. Wherein, bluetooth 5.1 mode has the range finding and surveys the direction function, and the precision reaches centimetre level.
407. The wearable device obtains the position information of the wearable device according to the position information of the mobile device, the distance between the wearable device and the mobile device and the relative direction between the wearable device and the mobile device.
It can be understood that, in step 407, the wearable device uses the mobile device as a reference object, and on the premise that the location information of the mobile device is known, the location information of the wearable device can be calculated according to the distance between the wearable device and the mobile device and the relative direction between the wearable device and the mobile device.
408. The wearable device sends location information including the wearable device to the user device through the service device.
As an optional implementation manner, when the user equipment receives the location information of the wearable device reported by the trusted terminal through the service device and also receives the location information of the wearable device sent by the wearable device to the user equipment through the service device, the user equipment may be subject to the fact that the wearable device sends the location information including the wearable device to the user equipment through the service device; or, the user equipment may also select, as the final location information of the wearable device, location information of an intermediate point of the location information of the wearable device, which is sent to the user equipment by the service device through both (i.e., the trusted terminal and the wearable device), so that the location accuracy of the wearable device may be improved.
As an optional implementation manner, the wearable device may further obtain, in a bluetooth manner, current weather information corresponding to the location information of the mobile device as current weather information corresponding to the location information of the wearable device, and the wearable device sends, to the user device through the service device, the current weather information corresponding to the location information of the wearable device together with the location information of the wearable device, while sending, to the user device through the service device, location information including the wearable device.
As another optional implementation manner, while sending, by the wearable device, location information including the wearable device to the user equipment through the service device, the wearable device reports indication information to the service device, where the indication information is used to indicate the service device to acquire current weather information corresponding to the location information of the wearable device, and sends the current weather information corresponding to the location information of the wearable device to the user equipment.
409. The wearable device detects LED light signals emitted by surrounding LEDs to obtain a first set of LEDs.
In the embodiment of the present invention, each LED in the building may have a unique identification number (ID), and each LED may modulate its ID onto the LED lighting signal emitted by the LED, and the wearable device may identify the ID of the surrounding LED from the LED lighting signals emitted by the surrounding LEDs by using the photosensitive module, so as to obtain the first set of LEDs, which may also be understood as the set of IDs of the surrounding LEDs.
410. The wearable device stores the position information of the wearable device and the first LED set in a correlated mode to a service platform of a building, so that the service platform receives a second LED set reported by a terminal located in the building, and when the overlapping degree of the second LED set and the first LED set is higher than a specified threshold value, the service platform pushes the position information of the wearable device serving as the position information of the terminal to the terminal.
The specified threshold may be set as needed, for example, the specified threshold may be set to 96%, and the embodiment of the present invention is not limited.
In which, step 409 to step 410 are implemented, so as to efficiently provide positioning data for indoor terminals, thereby reducing the calculation amount of indoor LED positioning.
In the method described in fig. 4, whether the positioning is successful within the specified time after the GPS module is turned on is predicted, and the scene in which the positioning is not successful can be predicted as early as possible, so that the GPS module is turned off to achieve the effect of saving the GPS positioning power consumption of the wearable device.
In addition, in the method described in fig. 4, positioning data can be efficiently provided for indoor terminals, so that the calculation amount of indoor positioning can be reduced.
Furthermore, in the method described in fig. 4, the positioning accuracy of the wearable device may be improved.
Example four
Referring to fig. 5, fig. 5 is a schematic structural diagram of a wearable device according to an embodiment of the present invention. As shown in fig. 5, the wearable device may include:
the prediction unit 501 is configured to predict whether the GPS positioning is successful within a second specified time length at every first specified time length by using a prediction model after the GPS module is started; wherein the second designated time is longer than the first designated time, and the prediction model at least comprises the collected time T for the successful final GPS positioning under the historical number of connected satellites s1 and the historical average signal strength of connected satellites c 1;
a closing unit 502, configured to close the GPS module when it is predicted that the GPS positioning is not successful within the second specified time length this time.
As an alternative embodiment, in the wearable device shown in fig. 5, the prediction unit 501 may include:
the detection subunit 5011 is configured to detect, after the GPS module is turned on, the number s2 of currently connected satellites of the wearable device and the average signal strength c2 of the currently connected satellites at intervals of a first specified duration;
the judging subunit 5012 is configured to judge whether the current number of connected satellites s2 is less than the historical number of connected satellites s1, and/or judge whether the average signal strength c2 of the current connected satellites is less than the average signal strength c1 of the historical connected satellites; wherein the second specified time length is equal to the time T;
the determining subunit 5013 is configured to determine that the GPS positioning is not successfully performed within the second specified time period in this time when the current number of connected satellites s2 is less than the historical number of connected satellites s1 and/or the current connected satellite average signal strength c2 is less than the historical connected satellite average signal strength c 1.
In the wearable device described in fig. 5, whether the positioning is successful within the specified time after the GPS module is turned on is predicted, and the prediction can be performed as early as possible for a scene in which the positioning is not successful, so that the GPS module is turned off to achieve the effect of saving the GPS positioning power consumption of the wearable device.
EXAMPLE five
Referring to fig. 6, fig. 6 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. The wearable device shown in fig. 6 is optimized by the wearable device shown in fig. 5. In the embodiment of the present invention, as shown in fig. 3, it is assumed that the wearable device and the mobile device are both located in a certain building, and the wearable device is not close to the entrance of the building, but the mobile device is close to the entrance of the building, and the mobile device uses the inertial measurement unit to locate the position information of the mobile device. As shown in fig. 6, the wearable device may further include:
a searching unit 503, configured to perform bluetooth search after the GPS module is turned off by the turning-off unit 501, and determine a mobile device from peripheral devices obtained through bluetooth search;
an obtaining unit 504, configured to obtain, in a bluetooth manner, location information of a mobile device, a distance between a wearable device and the mobile device, and a relative direction between the wearable device and the mobile device;
a positioning unit 505, configured to obtain location information of the wearable device according to the location information of the mobile device, a distance between the wearable device and the mobile device, and a relative direction between the wearable device and the mobile device.
Optionally, the wearable device shown in fig. 6 may further include:
an interaction unit 506, configured to obtain, before the GPS module is started, that the user equipment sends a positioning request through the service equipment; and after the positioning unit 505 obtains the location information of the wearable device, transmitting the location information including the wearable device to the user device through the service device.
Further, the location request may carry attribute information, where the attribute information includes not only an identity of the wearable device, but also identity of the user equipment and a hotspot identity of a trusted Wi-Fi hotspot to which the user equipment is currently connected; correspondingly, after the interaction unit 506 obtains the positioning request sent by the user equipment through the service equipment, the wearable equipment may first check whether the identity of the user equipment is the same as the identity of the monitoring equipment configured in advance by the wearable equipment, and if not, the wearable equipment may ignore the positioning request and keep the GPS module in the off state; if the Wi-Fi hotspots are the same, the wearable device can identify whether the wearable device is currently accessed to a certain Wi-Fi hotspot, if so, further checking whether a hotspot identification (such as a mac address of the Wi-Fi hotspot) of the certain Wi-Fi hotspot currently accessed by the wearable device is the same as a hotspot identification of a trusted Wi-Fi hotspot currently accessed by the user device, if so, indicating that a wearer of the wearable device and a user to which the user device belongs are both located in the same coverage range of the Wi-Fi hotspot, and the distance between the wearer of the wearable device and the user to which the user device belongs is closer, so that the wearable device can ignore the positioning request and keep the GPS module in a closed state, and power consumption caused by starting the GPS module is reduced; if the distance between the GPS module and the GPS module is different, the distance between the GPS module and the GPS module is far, and the GPS module is started according to the positioning request, so that the accuracy of starting the GPS module can be improved.
Further, after the wearable device checks that the hotspot identification (such as the mac address of the Wi-Fi hotspot) of a certain Wi-Fi hotspot currently accessed by the wearable device is different from the hotspot identification of a trusted Wi-Fi hotspot currently accessed by the user device, and before the GPS module is turned on according to the positioning request, the following steps may be further performed:
the wearable device judges whether the current residual current of the wearable device is lower than a specified electric quantity (such as 30%), and if the current residual current of the wearable device is not lower than the specified electric quantity, the wearable device starts a GPS module according to the positioning request; on the contrary, if the power consumption is lower than the specified power, the wearable device outputs prompt information, the prompt information is used for prompting that a trusted terminal (such as a mobile phone or a tablet used by a wearer of the wearable device) is close to the wearable device for near field communication, when the trusted terminal (such as a mobile phone or a tablet used by a wearer of the wearable device) is close to the wearable device, the wearable device transmits the positioning request to the trusted terminal in a near field communication mode, and the GPS module is kept in a closed state, so that the power consumption aggravation caused by the GPS module is reduced; after the trusted terminal receives the positioning request, it may first check whether the identity of the user equipment is the same as the identity of the monitoring equipment configured in advance for wearable equipment by the trusted terminal, and if not, the trusted terminal may ignore the positioning request; if the Wi-Fi hotspots are the same, the trusted terminal can identify whether the trusted terminal is currently accessed to a certain Wi-Fi hotspot, if so, further checking whether a hotspot identification (such as a mac address of the Wi-Fi hotspot) of the certain Wi-Fi hotspot currently accessed by the trusted terminal is the same as the hotspot identification of the trusted Wi-Fi hotspot currently accessed by the user equipment, and if so, the trusted terminal can ignore the positioning request; if the positioning request is different, the trusted terminal acquires the current position information of the trusted terminal as the position information of the wearable device according to the positioning request and reports the position information to the user equipment through the service equipment, so that transfer positioning can be realized, and the GPS positioning power consumption of the wearable device is reduced.
As an optional implementation manner, when the user equipment receives the location information of the wearable device reported by the trusted terminal through the service device and also receives the location information of the wearable device sent by the interaction unit 506 to the user equipment through the service device, the user equipment may be subject to the condition that the interaction unit 506 sends the location information including the wearable device to the user equipment through the service device; or, the user equipment may also select, as the final location information of the wearable device, the location information of the intermediate point of the location information of the wearable device, which is sent by the trusted terminal and the interaction unit 506 to the user equipment through the service device, so that the positioning accuracy of the wearable device may be improved.
As an optional implementation manner, the obtaining unit 504 may further obtain, in a bluetooth manner, current weather information corresponding to the location information of the mobile device as current weather information corresponding to the location information of the wearable device, and the interacting unit 506 may send, to the user equipment through the service device, the current weather information corresponding to the location information of the wearable device together through the service device while sending, to the user equipment, location information including the wearable device.
As another optional implementation manner, while sending location information including the wearable device to the user equipment through the service device, the interaction unit 506 may report indication information to the service device together, where the indication information is used to indicate the service device to acquire current weather information corresponding to the location information of the wearable device, and send the current weather information corresponding to the location information of the wearable device to the user equipment.
In the wearable device described in fig. 6, whether the positioning is successful within the specified time after the GPS module is turned on is predicted, and the prediction can be performed as early as possible for a scene in which the positioning is not successful, so that the GPS module is turned off to achieve the effect of saving the GPS positioning power consumption of the wearable device.
Furthermore, in the wearable device described in fig. 6, the positioning accuracy of the wearable device can be improved.
EXAMPLE six
Referring to fig. 7, fig. 7 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. The wearable device shown in fig. 7 is optimized by the wearable device shown in fig. 6. In the embodiment of the present invention, as shown in fig. 3, it is assumed that the wearable device and the mobile device are both located in a certain building, and the wearable device is not close to the entrance of the building, but the mobile device is close to the entrance of the building, and the mobile device uses the inertial measurement unit to locate the position information of the mobile device. As shown in fig. 7, the wearable device may further include:
a scanning unit 507, configured to perform a Wi-Fi scanning operation to obtain a first Wi-Fi set after the positioning unit 505 obtains the location information of the wearable device;
the first storage unit 508 is configured to store the location information of the wearable device and the first Wi-Fi set in association with a service platform of the building, so that the service platform receives a second Wi-Fi set reported by a terminal located in the building, and when a degree of overlap between the second Wi-Fi set and the first Wi-Fi set is higher than a specified threshold, the service platform pushes the location information of the wearable device as the location information of the terminal to the terminal.
In the wearable device described in fig. 7, whether the positioning is successful within the specified time after the GPS module is turned on is predicted, and the prediction can be performed as early as possible for a scene in which the positioning is not successful, so that the GPS module is turned off to achieve the effect of saving the GPS positioning power consumption of the wearable device.
In addition, in the wearable device described in fig. 7, positioning data can be efficiently provided for the terminal indoors, so that the calculation amount of indoor positioning can be reduced.
Furthermore, in the wearable device described in fig. 7, the positioning accuracy of the wearable device can be improved.
EXAMPLE seven
Referring to fig. 8, fig. 8 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. The wearable device shown in fig. 8 is optimized by the wearable device shown in fig. 6. In the embodiment of the present invention, it is assumed that the wearable device and the mobile device are both located in a certain building, and the wearable device is not close to the entrance of the building, but the mobile device is close to the entrance of the building, and the mobile device utilizes the inertial measurement unit to locate the position information of the mobile device. As shown in fig. 8, the wearable device may further include:
a detecting unit 509, configured to detect, after the positioning unit 505 obtains the location information of the wearable device, LED lighting signals emitted by surrounding LEDs to obtain a first set of LEDs;
the second storage unit 510 is configured to store the location information of the wearable device and the first LED set in association with a service platform of the building, so that the service platform receives the second LED set reported by the terminal located in the building, and when the degree of overlap between the second LED set and the first LED set is higher than a specified threshold, the service platform pushes the location information of the wearable device serving as the location information of the terminal to the terminal.
In the wearable device described in fig. 8, whether the positioning is successful within the specified time after the GPS module is turned on is predicted, and the prediction can be performed as early as possible for a scene in which the positioning is not successful, so that the GPS module is turned off to achieve the effect of saving the GPS positioning power consumption of the wearable device.
In addition, in the wearable device described in fig. 8, positioning data can be efficiently provided for a terminal indoors, so that the calculation amount of indoor positioning can be reduced.
Furthermore, in the wearable device described in fig. 8, the positioning accuracy of the wearable device can be improved.
Example eight
Referring to fig. 9, fig. 9 is a schematic structural diagram of another wearable device disclosed in the embodiment of the present invention. As shown in fig. 9, the wearable device may include:
a memory 901 in which executable program code is stored;
a processor 902 coupled to a memory 901;
wherein, the processor 902 calls the executable program code stored in the memory 901 to execute part or all of the steps of the method in the above method embodiments.
The embodiment of the invention also discloses a computer readable storage medium, wherein the computer readable storage medium stores program codes, wherein the program codes comprise instructions for executing part or all of the steps of the method in the above method embodiments.
Embodiments of the present invention also disclose a computer program product, wherein, when the computer program product is run on a computer, the computer is caused to execute part or all of the steps of the method as in the above method embodiments.
The embodiment of the present invention also discloses an application publishing platform, wherein the application publishing platform is used for publishing a computer program product, and when the computer program product runs on a computer, the computer is caused to execute part or all of the steps of the method in the above method embodiments.
It should be appreciated that reference throughout this specification to "an embodiment of the present invention" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrase "in embodiments of the invention" appearing in various places throughout the specification are not necessarily all referring to the same embodiments. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are exemplary and alternative embodiments, and that the acts and modules illustrated are not required in order to practice the invention.
In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not imply an inevitable order of execution, and the execution order of the processes should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.
The method for saving the GPS positioning power consumption and the wearable device disclosed by the embodiment of the invention are described in detail, a specific example is applied in the description to explain the principle and the implementation of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (12)
1. A method for saving GPS positioning power consumption is applied to a wearable device, and is characterized in that the method comprises the following steps:
acquiring a positioning request sent by user equipment through service equipment, wherein attribute information carried in the positioning request at least comprises an identity of the wearable equipment, the identity of the user equipment and a hot spot identity of a trusted Wi-Fi hot spot currently accessed by the user equipment; verifying whether the identity of the user equipment is the same as the identity of monitoring equipment configured in advance by the wearable equipment; if the current access hotspot identification of the wearable device is the same as the hotspot identification of a trusted Wi-Fi hotspot currently accessed by the user equipment, checking whether the hotspot identification of a certain Wi-Fi hotspot currently accessed by the wearable device is the same as the hotspot identification of a trusted Wi-Fi hotspot currently accessed by the user equipment; if not, starting a GPS module according to the positioning request;
after the GPS module is started, the wearable equipment predicts whether the GPS positioning can be successfully carried out within the second specified time length at intervals of a first specified time length by using a prediction model; wherein the second specified time is longer than the first specified time, the prediction model comprises at least the time T for the final GPS positioning success under the historical number of connected satellites s1 and the historical average signal strength of connected satellites c1 which are collected;
and if the GPS positioning is not successfully carried out within the second specified time length, the wearable equipment closes the GPS module.
2. The method for saving power consumption in GPS positioning according to claim 1, wherein the wearable device predicts whether GPS positioning is successful in a second specified time period at every first specified time period by using a prediction model after the GPS module is turned on, including:
after the GPS module is started, the wearable device detects the number s2 of the current connected satellites and the average signal intensity c2 of the current connected satellites of the wearable device every other first specified time;
and judging whether the current connecting satellite number s2 is smaller than the historical connecting satellite number s1 and/or judging whether the average signal intensity c2 of the current connecting satellite is smaller than the average signal intensity c1 of the historical connecting satellite; wherein the second specified time is equal to the time T;
if the current connecting satellite number s2 is smaller than the historical connecting satellite number s1 and/or the current connecting satellite average signal strength c2 is smaller than the historical connecting satellite average signal strength c1, determining that the GPS positioning is not successfully predicted within the second specified time.
3. The method for saving GPS positioning power consumption according to claim 1 or 2, wherein the wearable device and the mobile device are both located in a building, and the wearable device is not close to an entrance of the building, the mobile device is close to the entrance of the building, and the mobile device locates position information of the mobile device using an inertial measurement unit; after turning off the GPS module, the method includes:
the wearable device executes Bluetooth search, and determines the mobile device from peripheral devices obtained through Bluetooth search;
the wearable device acquires the position information of the mobile device, the distance between the wearable device and the mobile device and the relative direction between the wearable device and the mobile device in a Bluetooth mode;
the wearable device obtains the position information of the wearable device according to the position information of the mobile device, the distance between the wearable device and the mobile device and the relative direction between the wearable device and the mobile device.
4. The method for saving GPS positioning power consumption according to claim 3, further comprising:
the wearable device sends location information including the wearable device to the user device through the service device after obtaining the location information of the wearable device.
5. The method for saving GPS positioning power consumption according to claim 3, further comprising:
after the wearable device obtains the location information of the wearable device, the wearable device performs a Wi-Fi scanning operation to obtain a first Wi-Fi set;
the wearable device stores the position information of the wearable device and the first Wi-Fi set in a correlated manner to a service platform of the building, so that when the service platform receives a second Wi-Fi set reported by a terminal located in the building and the overlapping degree of the second Wi-Fi set and the first Wi-Fi set is higher than a specified threshold value, the service platform pushes the position information of the wearable device serving as the position information of the terminal to the terminal.
6. The method for saving GPS positioning power consumption according to claim 4, further comprising:
after the wearable device obtains the location information of the wearable device, the wearable device performs a Wi-Fi scanning operation to obtain a first Wi-Fi set;
the wearable device stores the position information of the wearable device and the first Wi-Fi set in a correlated manner to a service platform of the building, so that when the service platform receives a second Wi-Fi set reported by a terminal located in the building and the overlapping degree of the second Wi-Fi set and the first Wi-Fi set is higher than a specified threshold value, the service platform pushes the position information of the wearable device serving as the position information of the terminal to the terminal.
7. The method for saving GPS positioning power consumption according to claim 3, further comprising:
after the wearable device obtains the position information of the wearable device, detecting surrounding LEDs which emit LED lamplight signals to obtain a first LED set;
and the wearable device stores the position information of the wearable device and the first LED set in a correlated manner to a service platform of the building, so that the service platform receives a second LED set reported by a terminal located in the building, and when the overlapping degree of the second LED set and the first LED set is higher than a specified threshold value, the service platform pushes the position information of the wearable device serving as the position information of the terminal to the terminal.
8. The method for saving GPS positioning power consumption according to claim 4, further comprising:
after the wearable device obtains the position information of the wearable device, detecting surrounding LEDs which emit LED lamplight signals to obtain a first LED set;
and the wearable device stores the position information of the wearable device and the first LED set in a correlated manner to a service platform of the building, so that the service platform receives a second LED set reported by a terminal located in the building, and when the overlapping degree of the second LED set and the first LED set is higher than a specified threshold value, the service platform pushes the position information of the wearable device serving as the position information of the terminal to the terminal.
9. A wearable device, comprising:
the prediction unit is used for predicting whether the GPS positioning can be successfully carried out within the second specified time length at intervals of a first specified time length by using the prediction model after the GPS module is started; wherein the second specified time is longer than the first specified time, the prediction model comprises at least the time T for the final GPS positioning success under the historical number of connected satellites s1 and the historical average signal strength of connected satellites c1 which are collected;
the closing unit is used for closing the GPS module when the GPS positioning is predicted to be unsuccessful within a second specified time length;
the wearable device further comprises:
the interaction unit is used for acquiring a positioning request sent by user equipment through service equipment before the GPS module is started, wherein attribute information carried in the positioning request at least comprises an identity of the wearable equipment, an identity of the user equipment and a hot spot identifier of a trusted Wi-Fi hot spot currently accessed by the user equipment;
means for performing the following operations:
verifying whether the identity of the user equipment is the same as the identity of monitoring equipment configured in advance by the wearable equipment; if the current access hotspot identification of the wearable device is the same as the hotspot identification of a trusted Wi-Fi hotspot currently accessed by the user equipment, checking whether the hotspot identification of a certain Wi-Fi hotspot currently accessed by the wearable device is the same as the hotspot identification of a trusted Wi-Fi hotspot currently accessed by the user equipment; and if not, starting the GPS module according to the positioning request.
10. The wearable device of claim 9, wherein the prediction unit comprises:
the detection subunit is used for detecting the number s2 of the current connected satellites and the average signal intensity c2 of the current connected satellites of the wearable device every a first specified time after the GPS module is started;
a judging subunit, configured to judge whether the current connecting satellite number s2 is smaller than the historical connecting satellite number s1, and/or judge whether the average signal strength c2 of the current connecting satellite is smaller than the average signal strength c1 of the historical connecting satellite; wherein the second specified time is equal to the time T;
a determining subunit, configured to determine that the failure of the GPS positioning within the second specified time period at this time is predicted to be successful when the current number of connected satellites s2 is less than the historical number of connected satellites s1 and/or the current connected satellite average signal strength c2 is less than the historical connected satellite average signal strength c 1.
11. The wearable device of claim 9 or 10, wherein the wearable device and the mobile device are both located within a building and the wearable device is not proximate to an entrance of the building, the mobile device is proximate to the entrance of the building, and the mobile device utilizes an inertial measurement unit to locate the location information of the mobile device; the wearable device further comprises:
the searching unit is used for executing Bluetooth searching after the GPS module is closed by the closing unit and determining the mobile equipment from the peripheral equipment obtained by the Bluetooth searching;
the acquisition unit is used for acquiring the position information of the mobile equipment, the distance between the wearable equipment and the mobile equipment and the relative direction between the wearable equipment and the mobile equipment in a Bluetooth mode;
the positioning unit is used for obtaining the position information of the wearable device according to the position information of the mobile device, the distance between the wearable device and the mobile device and the relative direction between the wearable device and the mobile device.
12. The wearable device of claim 11, wherein the interaction unit is further configured to send location information including the wearable device to the user device through the service device after the location unit obtains the location information of the wearable device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910331762.2A CN111148031B (en) | 2019-04-24 | 2019-04-24 | Method for saving GPS positioning power consumption and wearable device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910331762.2A CN111148031B (en) | 2019-04-24 | 2019-04-24 | Method for saving GPS positioning power consumption and wearable device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111148031A CN111148031A (en) | 2020-05-12 |
CN111148031B true CN111148031B (en) | 2022-05-03 |
Family
ID=70516762
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910331762.2A Active CN111148031B (en) | 2019-04-24 | 2019-04-24 | Method for saving GPS positioning power consumption and wearable device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111148031B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113470339A (en) * | 2021-06-10 | 2021-10-01 | 摩拜(北京)信息技术有限公司 | Vehicle control method, device, vehicle and system |
CN116224387B (en) * | 2023-05-09 | 2023-07-07 | 深圳市易赛通信技术有限公司 | Positioning method, device and equipment of wearable equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104822133A (en) * | 2015-04-22 | 2015-08-05 | 广东欧珀移动通信有限公司 | Method and device for controlling positioning mode of intelligent terminal |
CN105163373A (en) * | 2015-07-13 | 2015-12-16 | 广东欧珀移动通信有限公司 | Positioning method and mobile terminal |
CN105682198A (en) * | 2016-01-13 | 2016-06-15 | 广东欧珀移动通信有限公司 | Positioning control method and device of mobile terminal and mobile terminal |
CN106028280A (en) * | 2016-05-10 | 2016-10-12 | 北京奇虎科技有限公司 | Positioning method and apparatus and child watch |
CN108363082A (en) * | 2018-02-02 | 2018-08-03 | 上海康斐信息技术有限公司 | A kind of method and device reducing GPS positioning power consumption |
CN109239749A (en) * | 2018-08-22 | 2019-01-18 | 深圳普创天信科技发展有限公司 | Localization method, terminal and computer readable storage medium |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6778136B2 (en) * | 2001-12-13 | 2004-08-17 | Sirf Technology, Inc. | Fast acquisition of GPS signal |
JP5565146B2 (en) * | 2010-06-30 | 2014-08-06 | 株式会社Jvcケンウッド | Position detection apparatus and position detection method |
CN103235323A (en) * | 2013-05-15 | 2013-08-07 | 易讯思创(北京)科技发展有限公司 | Method for reducing power consumption of GPS (Global Positioning System) |
KR101509135B1 (en) * | 2014-02-10 | 2015-04-07 | 에이엠텔레콤주식회사 | Shortening Method of Position Information Providing Time in Safe Terminal |
CN105389353A (en) * | 2015-10-30 | 2016-03-09 | 彭云 | Positioning system, positioning lamp and positioning apparatus |
CN105842712B (en) * | 2016-03-25 | 2017-09-19 | 广东欧珀移动通信有限公司 | A kind of global positioning system starts method and user terminal |
US10178625B2 (en) * | 2016-07-07 | 2019-01-08 | Tile, Inc. | Power Preservation in GPS-Equipped Tracking Devices |
CN106680839B (en) * | 2016-12-26 | 2019-04-26 | 珠海德百祺科技有限公司 | Satellite positioning interference detection method and device |
CN107040881A (en) * | 2017-04-26 | 2017-08-11 | 广东小天才科技有限公司 | Terminal device positioning method and device and terminal device |
-
2019
- 2019-04-24 CN CN201910331762.2A patent/CN111148031B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104822133A (en) * | 2015-04-22 | 2015-08-05 | 广东欧珀移动通信有限公司 | Method and device for controlling positioning mode of intelligent terminal |
CN105163373A (en) * | 2015-07-13 | 2015-12-16 | 广东欧珀移动通信有限公司 | Positioning method and mobile terminal |
CN105682198A (en) * | 2016-01-13 | 2016-06-15 | 广东欧珀移动通信有限公司 | Positioning control method and device of mobile terminal and mobile terminal |
CN106028280A (en) * | 2016-05-10 | 2016-10-12 | 北京奇虎科技有限公司 | Positioning method and apparatus and child watch |
CN108363082A (en) * | 2018-02-02 | 2018-08-03 | 上海康斐信息技术有限公司 | A kind of method and device reducing GPS positioning power consumption |
CN109239749A (en) * | 2018-08-22 | 2019-01-18 | 深圳普创天信科技发展有限公司 | Localization method, terminal and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111148031A (en) | 2020-05-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111148031B (en) | Method for saving GPS positioning power consumption and wearable device | |
US20180342140A1 (en) | Security Prejudgment based on Characteristic Information | |
CN106028280B (en) | A kind of localization method, device and children's wrist-watch | |
CN105049600A (en) | Mobile terminal automatic prompting method and system based on infrared distance measuring sensor | |
CN105306318B (en) | intelligent scene configuration method, device and server | |
KR101779767B1 (en) | System and method for tracing location of terminal by analyzing signal | |
CN110049445A (en) | The method and relevant apparatus of equipment reporting position information | |
CN105847581B (en) | User reminding method and user terminal | |
CN109597110A (en) | Trans-regional equipment localization method, system, device and medium | |
CN111757271B (en) | Joint road matching method and device based on curve fitting and network topological structure | |
US10187868B2 (en) | Systems and methods for finding a user device based on sensor readings of the user device | |
CN112055301A (en) | Bluetooth-based anti-lost method and system and mobile terminal | |
CN110178395A (en) | Pseudo-base station recognition methods and terminal | |
CN104994469A (en) | GPS tracking processing method based on mobile terminal and system thereof | |
CN111757263A (en) | Positioning data sharing method and system and mobile terminal | |
CN104796981B (en) | Safety region alarming method and system based on multiple base station identifications and mobile terminal | |
CN104900021A (en) | Security and protection processing method and device, security and protection terminal and security and protection processing server | |
CN106707303A (en) | Wearable device | |
KR100782546B1 (en) | Wide emergency transceiver complex system | |
CN108882175A (en) | Positioning method and device, intelligent wearable device and storage medium | |
CN111148166A (en) | Network optimization method based on wearable device and wearable device | |
CN110839105A (en) | Terminal management method, device, terminal and computer storage medium | |
RU2715161C1 (en) | Method for determining safe status of animal using electronic monitoring device | |
US9503848B1 (en) | Method and system for locating a wireless tracking device associated with a network of alarm panels | |
CN111148016B (en) | Mobile equipment positioning method and system in indoor environment and mobile equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |