CN111757439A - Power consumption control method of wearable device and wearable device - Google Patents
Power consumption control method of wearable device and wearable device Download PDFInfo
- Publication number
- CN111757439A CN111757439A CN201910733109.9A CN201910733109A CN111757439A CN 111757439 A CN111757439 A CN 111757439A CN 201910733109 A CN201910733109 A CN 201910733109A CN 111757439 A CN111757439 A CN 111757439A
- Authority
- CN
- China
- Prior art keywords
- data
- wearable device
- latitude
- longitude
- basic
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 87
- 238000004590 computer program Methods 0.000 claims description 12
- 238000004364 calculation method Methods 0.000 claims description 2
- 230000006870 function Effects 0.000 description 18
- 238000013500 data storage Methods 0.000 description 14
- 238000010586 diagram Methods 0.000 description 10
- 230000035900 sweating Effects 0.000 description 8
- 230000004044 response Effects 0.000 description 4
- 238000001514 detection method Methods 0.000 description 2
- 210000004243 sweat Anatomy 0.000 description 2
- 238000010792 warming Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 210000000707 wrist Anatomy 0.000 description 1
Images
Classifications
-
- 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
-
- 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/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
-
- 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/0251—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
- H04W52/0254—Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity detecting a user operation or a tactile contact or a motion of the device
-
- 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)
- Telephone Function (AREA)
Abstract
The embodiment of the invention discloses a power consumption control method of wearable equipment and the wearable equipment, wherein the method comprises the following steps: acquiring target base station data; judging whether the target base station data comprises basic base station data, wherein the basic base station data is base station data collected when the wearable equipment is positioned in a certain safety area historically; if the target base station data comprises basic base station data, controlling the wearable equipment to carry out WIFI scanning so as to obtain target WIFI data; judging whether the matching quantity of the target WIFI data and basic WIFI data exceeds a specified quantity, wherein the basic WIFI data is WIFI data collected when the wearable equipment is positioned in the safety area historically; and if so, stopping executing the next positioning process of the wearable equipment. By implementing the embodiment of the invention, the power consumption of the wearable device in implementing the safety region guard reminding function can be reduced.
Description
Technical Field
The invention relates to the technical field of wearable equipment, in particular to a power consumption control method of wearable equipment and the wearable equipment.
Background
Along with wearable equipment is more and more popular, user group is huge day by day, including wearable electronic equipment of small volume such as intelligent wrist-watch, intelligent bracelet most all possess safe region guard and remind the function (or called electronic fence function). The wearable device can remind the user when the wearable device is positioned out of a certain safety area through the safety area guard reminding function. In practice, it is found that a security area guarding reminding function of the wearable device requires positioning of the wearable device, and in order to accurately position the wearable device, the wearable device is usually accurately positioned periodically by combining various positioning modes such as base station positioning, WIFI positioning and GPS positioning, and the power consumption of the wearable electronic device is easily excessive by combining various positioning modes such as base station positioning, WIFI positioning and GPS positioning periodically to accurately position the wearable device.
Disclosure of Invention
The embodiment of the invention discloses a power consumption control method of wearable equipment and the wearable equipment, which can reduce the power consumption of the wearable equipment when implementing a safety region guard reminding function.
The first aspect of the embodiments of the present invention discloses a power consumption control method for a wearable device, including:
acquiring target base station data; the target base station data comprises base station data currently connected with the wearable device and surrounding base station data scanned by the wearable device;
judging whether the target base station data comprises basic base station data, wherein the basic base station data is base station data collected when the wearable equipment is positioned in a certain safety area historically;
if the target base station data comprises basic base station data, controlling the wearable equipment to carry out WIFI scanning so as to obtain target WIFI data;
judging whether the matching quantity of the target WIFI data and basic WIFI data exceeds a specified quantity, wherein the basic WIFI data is WIFI data collected when the wearable equipment is positioned in the safety area historically;
and if so, stopping executing the next positioning process of the wearable equipment.
A second aspect of an embodiment of the present invention discloses a wearable device, including:
a first obtaining unit, configured to obtain target base station data; the target base station data comprises base station data currently connected with the wearable device and surrounding base station data scanned by the wearable device;
a first determining unit, configured to determine whether the target base station data acquired by the first acquiring unit includes base station data, where the base station data is base station data acquired when the wearable device is historically located in a certain security area;
the first control unit is used for controlling the wearable device to carry out WIFI scanning to obtain target WIFI data when the first judgment unit judges that the target base station data comprises basic base station data;
a second determination unit, configured to determine whether a matching amount of the target WIFI data and basic WIFI data obtained by the first control unit exceeds a specified amount, where the basic WIFI data is WIFI data acquired by the wearable device when historically positioning in the secure area;
and the second control unit is used for stopping executing the next positioning process of the wearable device when the second judgment unit judges that the matching quantity of the target WIFI data and the basic WIFI data exceeds a specified quantity.
A third aspect of an embodiment of the present invention discloses a wearable device, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute part or all of the steps of the power consumption control method of any one of the wearable devices disclosed in the first aspect of the embodiments of the present invention.
A fourth aspect of the present invention discloses a computer-readable storage medium storing a computer program, where the computer program enables a computer to execute part or all of the steps of any one of the power consumption control methods for a wearable device disclosed in the first aspect of the present invention.
A fifth aspect of the embodiments of the present invention discloses a computer program product, which, when running on a computer, causes the computer to execute some or all of the steps of any one of the power consumption control methods for a wearable device disclosed in the first aspect of the embodiments of the present invention.
A sixth aspect of the present invention discloses an application publishing platform, where the application publishing platform is configured to publish a computer program product, where when the computer program product runs on a computer, the computer is enabled to execute some or all of the steps of the power consumption control method for any one of the wearable devices disclosed in the first aspect of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the present invention, when the wearable device determines that the target base station data (the target base station data includes base station data currently connected to the wearable device and surrounding base station data scanned by the wearable device) includes base station data (the base station data is base station data collected when the wearable device has historically been located in a certain security area), and when the matching quantity of the target WIFI data obtained by the WIFI scanning and the basic WIFI data (the basic WIFI data is the WIFI data collected when the wearable device is positioned in the certain safety area historically) is judged to exceed the specified quantity, the wearable device can be considered to be currently located in the safe area, and the corresponding wearable device can stop executing the next positioning process of the wearable device, so that power consumption of the wearable device when the safe area guard reminding function is applied can be reduced.
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 schematic flowchart of a power consumption control method for a wearable device according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another power consumption control method for a wearable device according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a power consumption control method of another wearable device according to an embodiment of the disclosure;
fig. 4 is a flowchart illustrating a power consumption control method of another wearable device according to an embodiment of the disclosure;
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 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.
It should be noted that the terms "comprises" and "comprising," and any variations thereof, of embodiments of the present invention are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses a power consumption control method of wearable equipment and the wearable equipment, which can reduce the power consumption of the wearable equipment when implementing a safety region guard reminding function. The following detailed description is made with reference to the accompanying drawings.
Example one
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a power consumption control method of a wearable device according to an embodiment of the present invention. As shown in fig. 1, the power consumption control method of the wearable device may include the steps of:
101. the wearable device acquires target base station data, wherein the target base station data comprises base station data of current connection of the wearable device and surrounding base station data scanned by the wearable device.
In embodiments of the present invention, wearable devices may include, but are not limited to, wrist-supported products (e.g., watches, wrists), foot-supported products (e.g., shoes, socks), head-supported products (e.g., glasses, helmets, headbands, hats, etc.), and smart clothing, bags, and the like.
In one embodiment, before acquiring the target base station data, the wearable device may determine whether a moving distance of the wearable device exceeds a specified safety distance, and if so, the target base station data is acquired, so that the number of times of acquiring the target base station data may be reduced, and the power consumption of the wearable device may be reduced. For example, the wearable device determining whether the movement distance of the wearable device exceeds a specified safety distance may include:
the wearable device starts a step counting sensor to detect the number of moving steps of a wearer of the wearable device;
and the wearable device obtaining a stride distance of a wearer of the wearable device;
and the wearable device calculates the moving distance of the wearer of the wearable device according to the moving step number and the striding distance;
and the wearable device judges whether the calculated moving distance exceeds a specified safety distance, and if so, the wearable device can acquire the target base station data, so that the frequency of acquiring the target base station data can be reduced, and the power consumption of the wearable device is reduced.
As an alternative embodiment, the wearable device obtaining the stride distance of the wearer of the wearable device may include:
the wearable equipment can shoot a face image of a wearer of the wearable equipment through the shooting module (such as a camera), and the face image is reported to the background service equipment, so that the background service equipment analyzes the identity information of the wearer of the wearable equipment according to the face image, the height data of the wearer of the wearable equipment is determined by the background service equipment according to the identity information of the wearer of the wearable equipment, and the step distance of the wearer of the wearable equipment is determined by the background service equipment according to the height data of the wearer of the wearable equipment;
and the wearable equipment acquires the stride distance of the wearer of the wearable equipment issued by the background service equipment.
By implementing the embodiment, the wearable device can flexibly obtain the stride information of different wearers even under the condition that the stride information of different wearers is not required to be stored in advance, and the workload brought by the need of periodically maintaining the stride information of different wearers when the wearable device stores the stride information of different wearers in advance is reduced.
As another optional implementation, after determining that the calculated moving distance exceeds the specified safe distance and before the wearable device acquires the target base station data, the wearable device may further perform the following steps:
the wearable device determines the field position of the wearable device corresponding to the time point when the moving distance exceeds the specified safe distance and the field air pressure value of the wearable device at the field position;
the wearable device determines the historical position of the wearable device corresponding to the time point of turning on the step counting sensor and the historical air pressure value of the wearable device at the historical position;
and the wearable device judges whether the distance between the field position and the historical position on the horizontal plane is smaller than the specified safe distance, if so, the wearable device judges whether the difference value between the field air pressure value and the historical air pressure value exceeds a specified threshold value, if so, the wearable device can consider that the moving step number is the moving step number generated when a wearer of the wearable device moves up and down in a building space of a safe area, at the moment, the possibility that the wearer of the wearable device is located in the safe area is higher, and accordingly, the wearable device can not acquire target base station data even if the calculated moving distance exceeds the specified safe distance; if the wearable device determines that the distance between the field position and the historical position on the horizontal plane is greater than or equal to the specified safe distance, and the wearable device determines that the difference between the field air pressure value and the historical air pressure value does not exceed the specified threshold, the wearable device may consider that the moving step number is the moving step number generated when the wearer of the wearable device moves on the horizontal plane of the safe area, and when the calculated moving distance exceeds the specified safe distance, the wearer of the wearable device is less likely to be located in the safe area, and the wearable device may obtain the target base station data.
By the implementation of the embodiment, the accuracy of the wearable device for acquiring the target base station data can be improved.
102. The wearable device judges whether the target base station data comprises basic base station data, wherein the basic base station data is base station data collected when the wearable device historically locates in a certain safety area, and if yes, the steps 103-104 are executed; if not, the flow is ended.
Wherein the base station data collected by the wearable device when historically located within a certain security area may include a base station ID.
In one embodiment, the wearable device may store base station data, and the wearable device may periodically update the base station data.
Further, before the wearable device stores the basic base station data, whether the condition of positioning the stored basic base station data is met or not can be detected, and if the condition is met, the basic base station data is stored. For example: the wearable device detects whether a positioning data storage request sent by a control terminal associated with the wearable device is received, and if the positioning data storage request is received, the wearable device is determined to meet the condition of positioning and storing basic base station data; otherwise, if the data is not received, it is determined that the wearable device does not meet the condition of positioning and storing the basic base station data. By the implementation of the implementation mode, the storage space of the wearable device can be prevented from being occupied when the wearable device stores basic base station data.
Further, after the wearable device detects that a positioning storage request sent by a control terminal associated with the wearable device is received, the wearable device may further identify whether the positioning storage request includes unique identity data of the user, where the unique identity data of the control user may be physiological characteristic data (such as fingerprint data, iris data), a password, and the like of the control user; if the matching is successful, the wearable device determines that the positioning storage condition of the wearable device is met; if the matching is unsuccessful, it is determined that the location storage condition of the wearable device is not satisfied. Therefore, the wearable device can be subjected to positioning data storage only by a legal user who allows the wearable device to be controlled to perform positioning data storage and is registered in advance, and the phenomenon that the wearable device is subjected to positioning data storage and power consumption of the wearable device is increased due to the fact that the wearable device is subjected to positioning data storage by a control terminal of a user who allows the wearable device to be controlled to perform positioning data storage and is associated with other users but not registered in advance is prevented.
103. The wearable device controls the wearable device to carry out WIFI scanning so as to obtain target WIFI data.
The target WIFI data may include an ID, a signal strength, and the like of the target WIFI access point.
104. The wearable device judges whether the matching quantity of the target WIFI data and basic WIFI data exceeds a specified quantity, the basic WIFI data is WIFI data collected when the wearable device historically locates in the safe area, and if yes, step 105 is executed; if not, the flow is ended.
105. The wearable device stops executing the next positioning process for the wearable device.
As can be seen, with the power consumption control method of the wearable device described in fig. 1, when the matching number of the target WIFI data and the basic WIFI data obtained by scanning exceeds a specified number, the wearable device may consider that the wearable device is currently located in the secure area, and the corresponding wearable device may stop executing the next positioning process for the wearable device, so as to reduce power consumption when the wearable device applies the secure area guard reminding function.
In addition, by implementing the power consumption control method of the wearable device described in fig. 1, the number of times of acquiring the target base station data can be reduced, and the power consumption of the wearable device can be reduced.
In addition, by implementing the power consumption control method of the wearable device described in fig. 1, the workload caused by the need of periodically maintaining the stride information of different wearers when the wearable device stores the stride information of different wearers in advance is reduced.
In addition, by implementing the power consumption control method of the wearable device described in fig. 1, the accuracy of the wearable device acquiring the target base station data can be improved.
In addition, by implementing the power consumption control method for the wearable device described in fig. 1, it is possible to prevent the wearable device from occupying a storage space of the wearable device when the wearable device stores basic base station data arbitrarily, and prevent a control terminal of a user who is associated with the wearable device but not registered in advance and allows the wearable device to be controlled to store location data from controlling the wearable device arbitrarily to store the location data, thereby increasing the power consumption of the wearable device.
Example two
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating another power consumption control method of a wearable device according to an embodiment of the invention. As shown in fig. 2, the power consumption control method of the wearable device may include the steps of:
201. the wearable device acquires target base station data, wherein the target base station data comprises base station data of current connection of the wearable device and surrounding base station data scanned by the wearable device.
In one embodiment, the wearable device may detect the skin temperature of the user prior to acquiring the target base station data, and, in general, the user is in a normal environment, the skin temperature of the user is stable, usually at a constant value, when the user suddenly accelerates the speed movement (such as suddenly escaping, waving arms or struggling), the skin of the user will have a certain temperature rise phenomenon, whether the wearable device is in a dangerous state (such as an escape state, an arm waving state and a struggle state) can be judged according to the duration of the skin warming, and if the skin temperature of the user exceeds a preset temperature threshold, the wearable device may control the wearable device to enter a countdown state, if the skin temperature of the user does not decrease after the wearable device countdown state ends, then it is determined that the current state of the user is unsafe and the wearable device performs the step of obtaining target base station data. Therefore, the times of acquiring the target base station data by the wearable device are effectively reduced, and the power consumption of the wearable device is reduced.
Further, after the skin temperature of the user rises, in order to dissipate heat as soon as possible, the skin usually dissipates heat by means of sweating and the like, so that the wearable device can further perform sweat detection on the skin contacted by the wearable device when the skin temperature of the user does not decrease after the countdown state of the wearable device is finished, if the skin contacted by the wearable device is detected to be in the sweating state, the wearable device controls the wearable device to enter the countdown state, if the sweating state of the user does not decrease after the countdown state is finished, it is determined that the current state of the user is unsafe, and the wearable device performs the step of acquiring the target base station data. Therefore, the times of acquiring the target base station data by the wearable device can be reduced more effectively, and the power consumption of the wearable device is reduced.
Furthermore, the skin temperature rise and the sweating state of the user may be that the user is performing normal exercise, the wearable device may detect whether two touch points (for example, two finger fingerprints) are identified by a touch display screen of the wearable device when the wearable device is in a countdown state, and if so, the step of the wearable device acquiring the target base station data is stopped, and the wearable device may effectively reduce power consumption increased by a security area guarding function when the user performs normal exercise.
202. The wearable device judges whether the target base station data comprises basic base station data, wherein the basic base station data is base station data collected when the wearable device historically locates in a certain safety area, and if yes, the steps 203-204 are executed; if not, the flow is ended.
203. The wearable device controls the wearable device to perform WIFI scanning so as to obtain target WIFI data, wherein the target WIFI data comprises at least one target WIFI access point and signal intensity corresponding to the at least one scanned target WIFI access point.
204. The wearable device judges whether the number of the at least one target WIFI access point exceeds a specified number, if so, step 205 is executed, and if not, the process is ended.
205. The wearable device judges whether the average signal intensity corresponding to the at least one target WIFI access point obtained from the signal intensity corresponding to the at least one scanned target WIFI access point exceeds a specified signal intensity value, if yes, step 206 is executed; if not, the flow is ended.
206. The wearable device judges whether the matching quantity of the target WIFI data and basic WIFI data exceeds a specified quantity, the basic WIFI data is WIFI data collected when the wearable device historically locates in the safe area, if yes, step 207 is executed; if not, the flow is ended.
Wherein, wearable equipment judges whether the matching quantity of this target WIFI data and basic WIFI data exceeds the appointed quantity, can include:
and judging whether the matching number of the at least one target WIFI access point and the WIFI access points included in the basic WIFI data exceeds the specified number.
In an embodiment, after acquiring the basic WIFI data, the wearable device may generate a movement track of the wearable device according to a sequence of the acquired basic WIFI data, and after acquiring the target WIFI data, the wearable device determines whether the next acquired target WIFI data is the target WIFI data in the movement track, and if yes, executes step 207; if not, the flow is ended. The wearable device can effectively judge whether the wearable device deviates from a common moving track according to the acquired target WIFI data, so that the safety performance of the wearable device is improved.
207. The wearable device stops executing the next positioning process for the wearable device.
Therefore, by implementing the power consumption control method of the wearable device described in fig. 2, the power consumption of the wearable device when the secure area guard reminding function is applied can be reduced.
In addition, by implementing the power consumption control method of the wearable device described in fig. 2, the number of times that the wearable device acquires the target base station data can be effectively reduced, thereby reducing the power consumption of the wearable device.
In addition, by implementing the power consumption control method of the wearable device described in fig. 2, whether the wearable device deviates from a common movement track can be effectively judged according to the acquired target WIFI data, so that the safety performance of the wearable device is improved.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flow chart illustrating another power consumption control method of a wearable device according to an embodiment of the invention. As shown in fig. 3, the power consumption control method of the wearable device may include the steps of:
301. the wearable device acquires target base station data, wherein the target base station data comprises base station data of current connection of the wearable device and surrounding base station data scanned by the wearable device.
302. The wearable device judges whether the target base station data comprises base station data, wherein the base station data is base station data collected when the wearable device historically locates in a certain safety area, and if yes, the steps 303 to 304 are executed; if not, the flow is ended.
303. The wearable device controls the wearable device to carry out WIFI scanning so as to obtain target WIFI data.
304. The wearable device judges whether the matching quantity of the target WIFI data and basic WIFI data exceeds a specified quantity, the basic WIFI data is WIFI data collected when the wearable device historically locates in the safe area, and if not, the steps 305 to 307 are executed; if yes, go to step 310.
305. The wearable device obtains current GPS longitude and latitude data of the wearable device, wherein the current GPS longitude and latitude data comprise current GPS longitude and latitude coordinates.
In one embodiment, when the wearable device acquires the current GPS longitude and latitude data of the wearable device, GPS positioning needs to be started, after the GPS positioning is started, it may be determined whether the GPS positioning duration of the wearable device exceeds a preset first duration threshold, where the preset first duration threshold is a duration reached by the wearable device when the GPS positioning has no response, and if the GPS positioning duration exceeds the preset first duration threshold, the GPS positioning module is controlled to close the GPS positioning and send a message that the GPS positioning fails to the server, so that the GPS positioning is closed when the GPS cannot perform positioning, and power consumption of the GPS positioning is effectively reduced.
For example, the wearable device may set a preset first time threshold to be 1 minute, and after GPS positioning is started, if the GPS positioning is still in a no-response state when the GPS positioning time reaches 1 minute, the wearable device controls the GPS positioning module to close the GPS positioning, and sends a message that the GPS positioning fails to the server.
In one embodiment, when the wearable device acquires current GPS longitude and latitude data of the wearable device, GPS positioning needs to be started, after the GPS positioning is started, it may be determined whether the duration of the GPS positioning of the wearable device exceeds a preset second duration threshold, where the preset second duration threshold is a duration that is set by the wearable device and is reached when the wearable device does not respond to the GPS positioning because the wearable device is indoors, and where the preset second duration threshold is smaller than the preset first duration threshold, the GPS positioning module is controlled to close the GPS positioning, and a message indicating that the GPS positioning fails is sent to a server, and the GPS positioning is closed when the wearable device is indoors and the GPS cannot perform positioning, thereby effectively reducing power consumption of the GPS positioning.
For example, the wearable device may set the preset second duration threshold to be 30 seconds, after GPS positioning is started, if GPS positioning is not in a response state when the GPS positioning duration is started for 30 seconds, determine whether the wearable device is located indoors, and if the wearable device is located indoors, control the GPS positioning module to close the GPS positioning, and send a message that the GPS positioning fails to the server.
In one embodiment, the wearable device determining whether the wearable device is located indoors may include:
whether the signal intensity value of the target WIFI with the largest signal intensity value in the target WIFI data exceeds a preset first signal intensity threshold value or not is judged, the preset first signal intensity threshold value is an indoor WIFI signal intensity threshold value of the wearable device set by the wearable device, if the signal intensity value of the target WIFI in the target WIFI data exceeds the preset first signal intensity threshold value, whether the signal intensity value of the GPS with the largest signal intensity value in the GPS positioning data is smaller than a preset second signal intensity threshold value or not is judged, the preset second signal intensity threshold value is an indoor GPS signal intensity threshold value of the wearable device set by the wearable device, and general WIFI access points (such as routers) are arranged indoors The power consumption of the wearable device caused by no response of GPS positioning due to indoor positioning is effectively reduced.
306. The wearable device calculates the distance between the current GPS longitude and latitude coordinates and each basic GPS longitude and latitude coordinate to obtain a distance set, and the basic GPS longitude and latitude data comprise at least one basic GPS longitude and latitude coordinate.
In one embodiment, the wearable device may calculate the distance between two points according to the longitude and latitude coordinates to obtain the distance between two longitude and latitude coordinates, and sum the distances to obtain a distance set.
307. The wearable device judges whether a target distance exists in the distance set, the target distance exceeds a preset maximum distance value, if yes, step 308 is executed; if not, go to step 309-step 310.
308. And the wearable device determines that the current GPS longitude and latitude data is not matched with the basic GPS longitude and latitude data, executes the next positioning process of the wearable device, and ends the process.
309. The wearable device determines that the current GPS longitude and latitude data is matched with the basic GPS longitude and latitude data.
By implementing the above step 306 to step 309, the wearable device may determine whether the current GPS longitude and latitude data matches the basic GPS longitude and latitude data, where the basic GPS longitude and latitude data is the GPS longitude and latitude data collected by the wearable device when positioning is performed in the secure area historically.
310. The wearable device stops executing the next positioning process for the wearable device.
Therefore, by implementing the power consumption control method of the wearable device described in fig. 3, the power consumption of the wearable device when the secure area guard reminding function is applied can be reduced.
In addition, by implementing the power consumption control method of the wearable device described in fig. 3, the power consumption of GPS positioning can be effectively reduced.
In addition, by implementing the power consumption control method of the wearable device described in fig. 3, whether the wearable device is located indoors can be judged according to the WIFI signal strength and the GPS signal strength, so that power consumption caused by GPS positioning unresponsiveness due to the fact that the wearable device is located indoors is effectively reduced.
Example four
Referring to fig. 4, fig. 4 is a flowchart illustrating a power consumption control method of another wearable device according to an embodiment of the present invention. As shown in fig. 4, the power consumption control method of the wearable device may include the steps of:
401. the wearable device acquires target base station data, wherein the target base station data comprises base station data of current connection of the wearable device and surrounding base station data scanned by the wearable device.
402. The wearable device judges whether the target base station data comprises basic base station data, wherein the basic base station data is base station data collected when the wearable device historically locates in a certain safety area, and if yes, the steps 403 to 404 are executed; if not, the flow is ended.
403. The wearable device controls the wearable device to carry out WIFI scanning so as to obtain target WIFI data.
404. The wearable device judges whether the matching quantity of the target WIFI data and basic WIFI data exceeds a specified quantity, the basic WIFI data is WIFI data collected when the wearable device historically locates in the safe area, and if not, the steps 405-407 are executed; if yes, go to step 410.
405. The wearable device obtains current GPS longitude and latitude data of the wearable device, wherein the current GPS longitude and latitude data comprise current GPS longitude and latitude coordinates.
406. The wearable device determines a circular area with the current GPS longitude and latitude coordinates as a circle center and the designated distance as a radius.
407. The wearable device judges whether at least one basic GPS longitude and latitude coordinate exists in the circular area, if not, step 408 is executed; if yes, go to step 409-step 410.
408. And the wearable device determines that the current GPS longitude and latitude data is not matched with the basic GPS longitude and latitude data, executes the next positioning process of the wearable device, and ends the process.
As an optional implementation, the wearable device performing a next positioning process on the wearable device may include: the wearable equipment is controlled to start the camera module, the camera module of the wearable equipment acquires the current image of the area where the wearable equipment is located, if the current image acquired by the wearable equipment is acquired, the image is automatically sent to the control terminal, and when the camera module of the wearable equipment acquires the current image, the GPS longitude and latitude of the area where the wearable equipment is located can be stored in the current image. The wearable device can automatically send the image of the current region and the GPS longitude and latitude to the control terminal when leaving the safe region, so that the wearable device can quickly send accurate and effective information to the control terminal when leaving the safe region, and the safety of the wearable device is improved.
409. The wearable device determines that the current GPS longitude and latitude data is matched with the basic GPS longitude and latitude data.
By implementing the above steps 406 to 409, the wearable device may determine whether the current GPS longitude and latitude data matches the basic GPS longitude and latitude data, where the basic GPS longitude and latitude data is the GPS longitude and latitude data collected by the wearable device historically when positioning in the secure area.
410. The wearable device stops executing the next positioning process for the wearable device.
In one embodiment, after the wearable device stops performing the next positioning process on the wearable device, the wearable device may detect whether the user wears the wearable device, and if the wearable device is not worn, the wearable device controls the wearable device to enter a deep sleep mode, where the deep sleep mode may control the wearable device to close all background applications (including a secure area guard function), preferably, the wearable device may receive external information in the deep sleep mode, such as a voice call sent by an external mobile device, and the wearable device may exit the deep sleep mode when detecting that the user wears the wearable device. When the user does not use the wearable device, all application programs in the background can be closed, external information can be received when the user enters the deep sleep mode, and the external information can be received while the power consumption is saved.
Therefore, by implementing the power consumption control method of the wearable device described in fig. 4, the power consumption of the wearable device when the secure area guard reminding function is applied can be reduced.
In addition, by implementing the power consumption control method of the wearable device described in fig. 4, the image of the current area and the GPS longitude and latitude can be automatically sent to the terminal control when the wearable device leaves the secure area, so that the wearable device can quickly send accurate and effective information to the control terminal when the wearable device leaves the secure area, thereby improving the security of the wearable device.
In addition, by implementing the power consumption control method of the wearable device described in fig. 4, when the user does not use the wearable device, all application programs in the background can be closed, and external information can be received when the user enters the deep sleep mode, so that the power consumption can be saved and the external information can be received at the same time.
EXAMPLE five
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:
a first obtaining unit 501, configured to obtain target base station data; the target base station data comprises base station data of current connection of the wearable device and surrounding base station data scanned by the wearable device.
A first determining unit 502, configured to determine whether the target base station data acquired by the first acquiring unit 501 includes base station data, where the base station data is the number of base stations acquired when the wearable device is historically located in a certain security area.
The first control unit 503 is configured to control the wearable device to perform WIFI scanning when the first determination unit 502 determines that the target base station data includes basic base station data, so as to obtain target WIFI data.
A second determining unit 504, configured to determine whether the matching amount of the target WIFI data and the basic WIFI data obtained by the first controlling unit 503 exceeds a specified amount, where the basic WIFI data is WIFI data collected when the wearable device is historically located in the security area.
A second control unit 505, configured to stop executing a next positioning process on the wearable device when the second determining unit 504 determines that the matching amount of the target WIFI data and the basic WIFI data exceeds a specified amount.
In an embodiment, before the first obtaining unit 501 obtains the target base station data, the wearable device may first determine whether a moving distance of the wearable device exceeds a specified safety distance, and if the moving distance exceeds the specified safety distance, the first obtaining unit 501 obtains the target base station data, so that the number of times of obtaining the target base station data may be reduced, and the power consumption of the wearable device may be reduced. For example, the wearable device determining whether the movement distance of the wearable device exceeds a specified safety distance may include:
the wearable device starts a step counting sensor to detect the number of moving steps of a wearer of the wearable device;
and the wearable device obtaining a stride distance of a wearer of the wearable device;
and the wearable device calculates the moving distance of the wearer of the wearable device according to the moving step number and the striding distance;
and the wearable device judges whether the calculated moving distance exceeds a specified safety distance, and if so, the wearable device can acquire the target base station data, so that the frequency of acquiring the target base station data can be reduced, and the power consumption of the wearable device is reduced.
As an alternative embodiment, the wearable device obtaining the stride distance of the wearer of the wearable device may include:
the wearable equipment can shoot a face image of a wearer of the wearable equipment through the shooting module (such as a camera), and the face image is reported to the background service equipment, so that the background service equipment analyzes the identity information of the wearer of the wearable equipment according to the face image, the height data of the wearer of the wearable equipment is determined by the background service equipment according to the identity information of the wearer of the wearable equipment, and the step distance of the wearer of the wearable equipment is determined by the background service equipment according to the height data of the wearer of the wearable equipment;
and the wearable equipment acquires the stride distance of the wearer of the wearable equipment issued by the background service equipment.
By implementing the embodiment, the wearable device can flexibly obtain the stride information of different wearers even under the condition that the stride information of different wearers is not required to be stored in advance, and the workload brought by the need of periodically maintaining the stride information of different wearers when the wearable device stores the stride information of different wearers in advance is reduced.
As another optional embodiment, after determining that the calculated moving distance exceeds the specified safe distance and before the first obtaining unit 501 obtains the target base station data, the wearable device may further perform the following steps:
the wearable device determines the field position of the wearable device corresponding to the time point when the moving distance exceeds the specified safe distance and the field air pressure value of the wearable device at the field position;
the wearable device determines the historical position of the wearable device corresponding to the time point of turning on the step counting sensor and the historical air pressure value of the wearable device at the historical position;
and the wearable device determines whether the distance between the field location and the historical location on the horizontal plane is smaller than the specified safe distance, if so, the wearable device determines whether the difference between the field air pressure value and the historical air pressure value exceeds a specified threshold, and if so, the wearable device may determine that the moving step number is the moving step number generated when the wearer of the wearable device moves up and down in the building space of the safe area, and at this time, the possibility that the wearer of the wearable device is located in the safe area is high, and accordingly, even if the calculated moving distance exceeds the specified safe distance, the first obtaining unit 501 may not obtain the target base station data; if the wearable device determines that the distance between the field location and the historical location on the horizontal plane is greater than or equal to the specified safe distance, and the wearable device determines that the difference between the field air pressure value and the historical air pressure value does not exceed the specified threshold, the wearable device may consider that the moving step number is the moving step number generated when the wearer of the wearable device moves on the horizontal plane of the safe area, and when the calculated moving distance exceeds the specified safe distance, the wearer of the wearable device is less likely to be located in the safe area, and the first obtaining unit 501 may obtain the target base station data.
By the implementation of the embodiment, the accuracy of the wearable device for acquiring the target base station data can be improved.
In one embodiment, the wearable device may store base station data, and the wearable device may periodically update the base station data.
Further, before the wearable device stores the basic base station data, whether the condition of positioning the stored basic base station data is met or not can be detected, and if the condition is met, the basic base station data is stored. For example: the wearable device detects whether a positioning data storage request sent by a control terminal associated with the wearable device is received, and if the positioning data storage request is received, the wearable device is determined to meet the condition of positioning and storing basic base station data; otherwise, if the data is not received, it is determined that the wearable device does not meet the condition of positioning and storing the basic base station data. By the implementation of the implementation mode, the storage space of the wearable device can be prevented from being occupied when the wearable device stores basic base station data.
Further, after the wearable device detects that a positioning storage request sent by a control terminal associated with the wearable device is received, the wearable device may further identify whether the positioning storage request includes unique identity data of the user, where the unique identity data of the control user may be physiological characteristic data (such as fingerprint data, iris data), a password, and the like of the control user; if the matching is successful, the wearable device determines that the positioning storage condition of the wearable device is met; if the matching is unsuccessful, it is determined that the location storage condition of the wearable device is not satisfied. Therefore, the wearable device can be subjected to positioning data storage only by a legal user who allows the wearable device to be controlled to perform positioning data storage and is registered in advance, and the phenomenon that the wearable device is subjected to positioning data storage and power consumption of the wearable device is increased due to the fact that the wearable device is subjected to positioning data storage by a control terminal of a user who allows the wearable device to be controlled to perform positioning data storage and is associated with other users but not registered in advance is prevented.
As can be seen, with the implementation of the wearable device described in fig. 5, when the matching number of the target WIFI data and the basic WIFI data obtained by scanning exceeds a specified number, the wearable device may consider that the wearable device is currently located in the secure area, and the corresponding wearable device may stop executing the next positioning process for the wearable device, so as to reduce power consumption when the wearable device applies the secure area guard reminding function.
In addition, by implementing the wearable device described in fig. 5, the number of times of acquiring target base station data can be reduced, and the power consumption of the wearable device can be reduced.
In addition, the wearable device described in fig. 5 is implemented to reduce the workload caused by the need of periodically maintaining the stride information of different wearers when the wearable device stores the stride information of different wearers in advance.
In addition, by implementing the wearable device described in fig. 5, the accuracy of the wearable device in acquiring the target base station data can be improved.
In addition, the wearable device described in fig. 5 is implemented, so that the wearable device can be prevented from occupying a storage space of the wearable device when the wearable device stores basic base station data, and the control terminal of a user who is associated with the wearable device but not registered in advance and allowed to control the wearable device to store positioning data can be prevented from controlling the wearable device to store positioning data, so that power consumption of the wearable device is increased.
EXAMPLE six
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, and compared with the wearable device shown in fig. 5, the wearable device shown in fig. 6 may further include:
a third determining unit 506, configured to control the wearable device to perform WIFI scanning at the first control unit 503 to obtain target WIFI data, and then determine whether the number of at least one target WIFI access point exceeds the specified number, where the target WIFI data includes at least one target WIFI access point and signal strength corresponding to the at least one scanned target WIFI access point.
A fourth determining unit 507, configured to determine whether an average signal strength corresponding to the scanned at least one target WIFI access point exceeds a specified signal strength value when the third determining unit 506 determines that the number of the at least one target WIFI access point exceeds the specified number.
The second determining unit 504 is specifically configured to control the wearable device to perform WIFI scanning at the first control unit 503 to obtain target WIFI data, and when the fourth determining unit 507 determines that the average signal strength corresponding to the at least one scanned target WIFI access point exceeds a specified signal strength value, determine whether the matching number of the target WIFI data and the basic WIFI data exceeds a specified number.
The second determining unit 504 includes:
a second determining subunit 5041, configured to control the wearable device to perform WIFI scanning at the first control unit 503 to obtain target WIFI data, and when the fourth determining unit 507 determines that the average signal strength corresponding to the at least one scanned target WIFI access point exceeds a specified signal strength value, determine whether the matching number between the at least one target WIFI access point and the WIFI access point included in the basic WIFI data exceeds a specified number.
In one embodiment, the wearable device may detect the skin temperature of the user before the first obtaining unit 501 obtains the target base station data, and in general, the user is in a normal environment, the skin temperature of the user is stable, usually at a constant value, when the user suddenly accelerates the speed movement (such as suddenly escaping, waving arms or struggling), the skin of the user will have a certain temperature rise phenomenon, whether the wearable device is in a dangerous state (such as an escape state, an arm-waving hitting state and a struggle state) can be judged according to the duration of the skin warming, and if the skin temperature of the user exceeds a preset temperature threshold, the wearable device can be controlled to enter a countdown state, if the skin temperature of the user does not decrease after the countdown state of the wearable device is finished, it is determined that the current status of the user is not safe, and the first obtaining unit 501 performs the step of obtaining the data of the target base station. Therefore, the times of acquiring the target base station data by the wearable device are effectively reduced, and the power consumption of the wearable device is reduced.
Further, after the skin temperature of the user rises, in order to dissipate heat as soon as possible, the skin usually dissipates heat by means of sweating and the like, and therefore, the wearable device may further perform sweat detection on the skin contacted by the wearable device when the skin temperature of the user does not decrease after the countdown state of the wearable device is ended, if it is detected that the skin contacted by the wearable device is in the sweating state, the wearable device controls the wearable device to enter the countdown state, and if the sweating state of the user does not decrease after the countdown state is ended, it is determined that the current state of the user is unsafe, and the first obtaining unit 501 performs the step of obtaining the target base station data. Therefore, the times of acquiring the target base station data by the wearable device can be more effectively reduced, and the power consumption of the wearable device is reduced.
Furthermore, the skin temperature of the user is increased and the sweating state may be that the user is performing normal exercise, the wearable device may detect whether two touch points (for example, two finger fingerprints) are recognized by a touch display screen of the wearable device when the wearable device is in the countdown state, if so, the second control unit 505 stops executing the next positioning process for the wearable device, and the wearable device may effectively reduce power consumption increased by the security area guarding function when the user performs normal exercise.
In an embodiment, after the basic WIFI data in the second determining unit 504 is acquired, the wearable device may generate a movement track of the wearable device according to a sequence of the acquired basic WIFI data, and after the wearable device acquires the target WIFI data, determine whether the acquired next target WIFI data is the target WIFI data in the movement track, if so, the second controlling unit 505 stops executing a next positioning process on the wearable device. The wearable device can effectively judge whether the wearable device deviates from a common moving track according to the target WIFI data acquired by the first control unit 503, so that the safety performance of the wearable device is improved.
As can be seen, with the implementation of the wearable device described in fig. 6, when the matching number of the target WIFI data and the basic WIFI data obtained by scanning exceeds a specified number, the wearable device may consider that the wearable device is currently located in the secure area, and the corresponding wearable device may stop executing the next positioning process for the wearable device, so as to reduce power consumption when the wearable device applies the secure area guard reminding function.
In addition, by implementing the wearable device described in fig. 6, the number of times that the wearable device acquires the target base station data can be effectively reduced, thereby reducing the power consumption of the wearable device.
In addition, by implementing the wearable device described in fig. 6, whether the wearable device deviates from a common movement trajectory can be effectively determined according to the acquired target WIFI data, so that the safety performance of the wearable device is improved.
EXAMPLE seven
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 from the wearable device shown in fig. 6. Compared to the wearable device shown in fig. 6, the wearable device shown in fig. 7 may further include:
a second obtaining unit 508, configured to obtain current GPS longitude and latitude data of the wearable device when the second determining unit 504 determines that the matching amount of the target WIFI data and the basic WIFI data does not exceed the specified amount.
A fifth determining unit 509, configured to determine whether the current GPS longitude and latitude data matches the basic GPS longitude and latitude data when the second obtaining unit 508 obtains the current GPS longitude and latitude data of the wearable device; the basic GPS longitude and latitude data are collected in the safety area historically by the wearable device.
The second control unit 505 is further configured to stop executing the next positioning process of the wearable device when the fifth determining unit 509 determines that the current GPS longitude and latitude data matches the basic GPS longitude and latitude data.
Wherein, the current GPS longitude and latitude data includes a current GPS longitude and latitude coordinate, the basic GPS longitude and latitude data includes at least one basic GPS longitude and latitude coordinate, and the fifth determining unit 509 includes:
a calculating subunit 5091, configured to calculate, after the second obtaining unit 508 obtains the current GPS longitude and latitude data of the wearable device, a distance between the current GPS longitude and latitude coordinate and each of the basic GPS longitude and latitude coordinates, so as to obtain a distance set.
A first determining subunit 5092, configured to determine a distance between the current GPS longitude and latitude coordinate and each of the basic GPS longitude and latitude coordinates calculated by the calculating subunit 5091, and determine whether a target distance exists in the obtained distance set, where the target distance exceeds a preset maximum distance value.
A first determining subunit 5093, configured to determine that the current GPS longitude and latitude data does not match the basic GPS longitude and latitude data when the first determining subunit 5092 determines that the target distance exists in the distance set, and determine that the current GPS longitude and latitude data matches the basic GPS longitude and latitude data when the first determining subunit 5092 determines that the target distance does not exist in the distance set.
In an embodiment, the second obtaining unit 508 needs to start GPS positioning when obtaining the current GPS longitude and latitude data of the wearable device, and after the GPS positioning is started, may determine whether a duration of the GPS positioning of the wearable device exceeds a preset first duration threshold, where the preset first duration threshold is a duration that is reached when the GPS positioning set by the wearable device does not respond, and if the duration of the GPS positioning exceeds the preset first duration threshold, control the GPS positioning module to close the GPS positioning, and send a message that the GPS positioning fails to the server, so that the GPS positioning is closed when the GPS cannot perform positioning, and power consumption of the GPS positioning is effectively reduced.
As can be seen, with the implementation of the wearable device described in fig. 7, when the matching number of the target WIFI data and the basic WIFI data obtained by scanning exceeds a specified number, the wearable device may consider that the wearable device is currently located in the secure area, and the corresponding wearable device may stop executing the next positioning process for the wearable device, so as to reduce power consumption when the wearable device applies the secure area guard reminding function.
In addition, when the positioning duration of the GPS positioning exceeds the preset first duration threshold, the wearable device described in fig. 7 may control the GPS positioning module to close the GPS positioning, and send a message that the GPS positioning fails to the server, so that the GPS positioning is closed when the GPS positioning is unresponsive, and power consumption of the GPS positioning is effectively reduced.
Example eight
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. 7, and compared with the wearable device shown in fig. 7, the calculation subunit 5091, the first judgment subunit 5092 and the first determination subunit 5093 included in the fifth judgment unit 509 in the wearable device shown in fig. 8 may be replaced with:
the second determining subunit 5094 is configured to determine, after the second obtaining unit 508 obtains the current GPS longitude and latitude data of the wearable device, a circular area with the current GPS longitude and latitude coordinate as a circle center and a specified distance as a radius, where the current GPS longitude and latitude data includes the current GPS longitude and latitude coordinate.
A second judging subunit 5095, configured to judge whether the at least one basic GPS longitude and latitude coordinate exists in the circular area, which is determined by the second determining subunit 5094 and has the current GPS longitude and latitude coordinate as a center and a specified distance as a radius.
A third determining subunit 5096, configured to determine that the current GPS longitude and latitude data matches with the basic GPS longitude and latitude data when the second determining subunit 5095 determines that the at least one basic GPS longitude and latitude coordinate exists in the circular area, and determine that the current GPS longitude and latitude data does not match with the basic GPS longitude and latitude data when the second determining subunit 5095 determines that the at least one basic GPS longitude and latitude coordinate does not exist in the circular area.
As an optional implementation, the second control unit 505 executing the next positioning process for the wearable device may include: the second control unit 505 controls the wearable device to start the camera module, acquires a current image of an area where the wearable device is located, and automatically sends the image to the control terminal if the current image is acquired by the second control unit 505, wherein the GPS longitude and latitude of the area where the wearable device is located can be stored in the current image by the second control unit 505 when the current image is acquired. The second control unit 505 can automatically send the image of the current region and the GPS longitude and latitude to the terminal for control when the wearable device leaves the security area, thereby improving the security of the wearable device.
As can be seen, when the wearable device described in fig. 8 is implemented, and the matching number of the target WIFI data and the basic WIFI data obtained by scanning exceeds the specified number, the wearable device may consider that the wearable device is currently located in the security area, and the corresponding wearable device may stop executing the next positioning process for the wearable device, so as to reduce power consumption when the wearable device applies the security area guard reminding function.
In addition, by implementing the wearable device described in fig. 8, when the wearable device leaves a safe area, the image of the current area and the GPS longitude and latitude can be automatically sent to the terminal control, so that the safety of the wearable device is improved.
Example nine
Referring to fig. 9, fig. 9 is a schematic structural diagram of another wearable device according to an 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 the memory 901;
the processor 902 calls the executable program code stored in the memory 901 to execute part or all of the steps of the power consumption control method of any one of the wearable devices in fig. 1 to 4.
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute part or all of the steps of the power consumption control method of any one wearable device in figures 1-4.
The embodiment of the invention also discloses a computer program product, wherein when the computer program product runs on a computer, the computer is caused to execute part or all of the steps of the power consumption control method of any one wearable device in the above method embodiments.
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 instructions associated with a program, which 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, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
The above detailed description is given to the power consumption control method of the wearable device and the wearable device disclosed in the embodiments of the present invention, and a specific example is applied in the detailed description to explain the principle and the implementation of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present 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 controlling power consumption of a wearable device, comprising:
acquiring target base station data; the target base station data comprises base station data currently connected with the wearable device and surrounding base station data scanned by the wearable device;
judging whether the target base station data comprises basic base station data, wherein the basic base station data is base station data collected when the wearable equipment is positioned in a certain safety area historically;
if the target base station data comprises basic base station data, controlling the wearable equipment to carry out WIFI scanning so as to obtain target WIFI data;
judging whether the matching quantity of the target WIFI data and basic WIFI data exceeds a specified quantity, wherein the basic WIFI data is WIFI data collected when the wearable equipment is positioned in the safety area historically;
and if so, stopping executing the next positioning process of the wearable equipment.
2. The control method of claim 1, wherein the target WIFI data comprises at least one target WIFI access point and signal strength corresponding to the at least one scanned target WIFI access point, and after obtaining the target WIFI data and before the determining whether the number of matches between the target WIFI data and the underlying WIFI data exceeds a specified number, the method further comprises:
judging whether the number of the at least one target WIFI access point exceeds the specified number;
if the number of the at least one target WIFI access point exceeds the specified number, judging whether the average signal intensity of the at least one target WIFI access point obtained by the signal intensity of the at least one scanned target WIFI access point exceeds a specified signal intensity value;
if the number of the target WIFI data and the number of the basic WIFI data exceeds the designated number, executing the judgment to judge whether the matching number of the target WIFI data and the basic WIFI data exceeds the designated number;
wherein, the judging whether the matching quantity of the target WIFI data and the basic WIFI data exceeds a specified quantity includes:
and judging whether the matching number of the at least one target WIFI access point and the WIFI access points included in the basic WIFI data exceeds a specified number.
3. The control method of claim 1, wherein if the number of matches between the target WIFI data and the underlying WIFI data does not exceed the specified number, the method further comprises:
acquiring current GPS longitude and latitude data of the wearable device;
judging whether the current GPS longitude and latitude data is matched with the basic GPS longitude and latitude data; the basic GPS longitude and latitude data are collected when the wearable device is positioned in the safety area historically;
and if the current GPS longitude and latitude data is matched with the basic GPS longitude and latitude data, executing the next positioning process of stopping executing the wearable equipment.
4. The control method of claim 3, wherein the current GPS latitude and longitude data includes current GPS latitude and longitude coordinates, the base GPS latitude and longitude data includes at least one base GPS latitude and longitude coordinate, and the determining whether the current GPS latitude and longitude data matches the base GPS latitude and longitude data includes:
calculating the distance between the current GPS longitude and latitude coordinate and each basic GPS longitude and latitude coordinate to obtain a distance set;
judging whether a target distance exists in the distance set, wherein the target distance exceeds a preset maximum distance value;
if the target distance exists in the distance set, determining that the current GPS longitude and latitude data is not matched with the basic GPS longitude and latitude data; and if the target distance does not exist in the distance set, determining that the current GPS longitude and latitude data is matched with the basic GPS longitude and latitude data.
5. The control method of claim 3, wherein the current GPS latitude and longitude data includes current GPS latitude and longitude coordinates, and the determining whether the current GPS latitude and longitude data matches the base GPS latitude and longitude data comprises:
determining a circular area which takes the current GPS longitude and latitude coordinates as a circle center and takes a specified distance as a radius;
judging whether the at least one basic GPS longitude and latitude coordinate exists in the circular area;
if the at least one basic GPS longitude and latitude coordinate exists in the circular area, determining that the current GPS longitude and latitude data is matched with the basic GPS longitude and latitude data; and if the at least one basic GPS longitude and latitude coordinate does not exist in the circular area, determining that the current GPS longitude and latitude data is not matched with the basic GPS longitude and latitude data.
6. A wearable device, comprising:
a first obtaining unit, configured to obtain target base station data; the target base station data comprises base station data currently connected with the wearable device and surrounding base station data scanned by the wearable device;
a first determining unit, configured to determine whether the target base station data acquired by the first acquiring unit includes base station data, where the base station data is base station data acquired when the wearable device is historically located in a certain security area;
the first control unit is used for controlling the wearable device to carry out WIFI scanning to obtain target WIFI data when the first judgment unit judges that the target base station data comprises basic base station data;
a second determination unit, configured to determine whether a matching amount of the target WIFI data and basic WIFI data obtained by the first control unit exceeds a specified amount, where the basic WIFI data is WIFI data acquired by the wearable device when historically positioning in the secure area;
and the second control unit is used for stopping executing the next positioning process of the wearable device when the second judgment unit judges that the matching quantity of the target WIFI data and the basic WIFI data exceeds a specified quantity.
7. The wearable device of claim 6, wherein the target WIFI data comprises at least one target WIFI access point and a signal strength corresponding to the at least one scanned target WIFI access point, the wearable device further comprising:
the third judging unit is used for judging whether the number of the at least one target WIFI access point exceeds the specified number or not after the first control unit controls the wearable device to carry out WIFI scanning so as to obtain target WIFI data;
a fourth judging unit, configured to, when the third judging unit judges that the number of the at least one target WIFI access point exceeds the specified number, judge whether an average signal strength corresponding to the scanned at least one target WIFI access point exceeds a specified signal strength value;
the second determining unit is specifically configured to determine whether the matching quantity of the target WIFI data and the basic WIFI data obtained by the first controlling unit exceeds a specified quantity when the first controlling unit controls the wearable device to perform WIFI scanning to obtain target WIFI data, and when the fourth determining unit determines that the average signal intensity corresponding to the at least one scanned target WIFI access point exceeds a specified signal intensity value.
The second determination unit includes:
the second judgment subunit is configured to, when the first control unit controls the wearable device to perform WIFI scanning to obtain target WIFI data, and when the fourth judgment unit judges that the average signal intensity corresponding to the at least one scanned target WIFI access point exceeds a specified signal intensity value, judge whether the matching number of the at least one target WIFI access point obtained by the first control unit and WIFI access points included in basic WIFI data exceeds a specified number.
8. The wearable device of claim 6, further comprising:
the second acquisition unit is used for acquiring the current GPS longitude and latitude data of the wearable device when the matching quantity of the target WIFI data and the basic WIFI data does not exceed the specified quantity;
the fifth judging unit is used for judging whether the current GPS longitude and latitude data is matched with the basic GPS longitude and latitude data or not when the second acquiring unit acquires the current GPS longitude and latitude data of the wearable device; the basic GPS longitude and latitude data are collected when the wearable device is positioned in the safety area historically;
the second control unit is further configured to stop executing a next positioning process of the wearable device when the fifth judgment unit judges that the current GPS longitude and latitude data matches the basic GPS longitude and latitude data.
9. The wearable device according to claim 8, wherein the current GPS latitude and longitude data includes current GPS latitude and longitude coordinates, the base GPS latitude and longitude data includes at least one base GPS latitude and longitude coordinate, and the fifth determining unit includes:
the calculating subunit is configured to calculate a distance between the current GPS longitude and latitude coordinate and each of the basic GPS longitude and latitude coordinates after the second acquiring unit acquires the current GPS longitude and latitude data of the wearable device, so as to obtain a distance set;
the first judgment subunit is used for judging whether a target distance exists in the obtained distance set or not, wherein the distance between the current GPS longitude and latitude coordinate and each basic GPS longitude and latitude coordinate is calculated by the calculation subunit, and the target distance exceeds a preset maximum distance value;
the first determining subunit is configured to determine that the current GPS longitude and latitude data is not matched with the basic GPS longitude and latitude data when the first determining subunit determines that the target distance exists in the distance set, and determine that the current GPS longitude and latitude data is matched with the basic GPS longitude and latitude data when the first determining subunit determines that the target distance does not exist in the distance set.
10. The wearable device according to claim 8, wherein the current GPS latitude and longitude data includes current GPS latitude and longitude coordinates, the base GPS latitude and longitude data includes at least one base GPS latitude and longitude coordinate, and the fifth determining unit includes:
the second determining subunit is used for determining a circular area which takes the current GPS longitude and latitude coordinate as a circle center and takes the specified distance as a radius after the second acquiring unit acquires the current GPS longitude and latitude data of the wearable device;
the second judgment subunit is used for judging whether the at least one basic GPS longitude and latitude coordinate exists in the circular area which is determined by the second determination subunit and takes the current GPS longitude and latitude coordinate as the circle center and the designated distance as the radius;
a third determining subunit, configured to determine that the current GPS longitude and latitude data matches the basic GPS longitude and latitude data when the second determining subunit determines that the at least one basic GPS longitude and latitude coordinate exists in the circular area, and determine that the current GPS longitude and latitude data does not match the basic GPS longitude and latitude data when the second determining subunit determines that the at least one basic GPS longitude and latitude coordinate does not exist in the circular area.
11. A computer-readable storage medium storing a computer program, wherein the computer program causes a computer to execute the power consumption control method of a wearable device according to any one of claims 1 to 5.
12. A computer program product, which, when run on a computer, causes the computer to perform the method of controlling power consumption of a wearable device according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910733109.9A CN111757439B (en) | 2019-08-08 | 2019-08-08 | Power consumption control method of wearable device and wearable device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910733109.9A CN111757439B (en) | 2019-08-08 | 2019-08-08 | Power consumption control method of wearable device and wearable device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111757439A true CN111757439A (en) | 2020-10-09 |
CN111757439B CN111757439B (en) | 2023-06-27 |
Family
ID=72672821
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910733109.9A Active CN111757439B (en) | 2019-08-08 | 2019-08-08 | Power consumption control method of wearable device and wearable device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111757439B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112468958A (en) * | 2020-11-23 | 2021-03-09 | 北京元心科技有限公司 | Region determination method and device, electronic equipment and computer readable storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060183485A1 (en) * | 2005-02-16 | 2006-08-17 | Kenichi Mizugaki | Location system and wireless base station |
US20130165150A1 (en) * | 2010-07-05 | 2013-06-27 | Sk Telecom Co., Ltd. | Method for measuring position using a positioning access point, and device, system, and access point for same |
CN106102005A (en) * | 2016-06-16 | 2016-11-09 | 惠州Tcl移动通信有限公司 | A kind of method and system reducing location mobile device power consumption |
CN107613552A (en) * | 2017-10-31 | 2018-01-19 | 广东小天才科技有限公司 | Positioning method based on mobile terminal and mobile terminal |
CN107872875A (en) * | 2017-12-21 | 2018-04-03 | 维沃移动通信有限公司 | The method and device of network positions |
CN108040318A (en) * | 2017-10-30 | 2018-05-15 | 捷开通讯(深圳)有限公司 | A kind of localization method, electronic equipment and computer-readable recording medium |
CN108135027A (en) * | 2017-12-22 | 2018-06-08 | 深圳市航天华拓科技有限公司 | Reduce the method and wearable device of wearable device power consumption |
CN108173563A (en) * | 2017-12-27 | 2018-06-15 | 广东小天才科技有限公司 | Early warning method based on wearable device positioning and wearable device |
CN108449707A (en) * | 2018-03-08 | 2018-08-24 | 深圳市沃特沃德股份有限公司 | Wearable device and its localization method |
US20190124469A1 (en) * | 2017-10-20 | 2019-04-25 | Koninklijke Philips N.V. | Wireless location recognition for wearable device |
-
2019
- 2019-08-08 CN CN201910733109.9A patent/CN111757439B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060183485A1 (en) * | 2005-02-16 | 2006-08-17 | Kenichi Mizugaki | Location system and wireless base station |
US20130165150A1 (en) * | 2010-07-05 | 2013-06-27 | Sk Telecom Co., Ltd. | Method for measuring position using a positioning access point, and device, system, and access point for same |
CN106102005A (en) * | 2016-06-16 | 2016-11-09 | 惠州Tcl移动通信有限公司 | A kind of method and system reducing location mobile device power consumption |
US20190124469A1 (en) * | 2017-10-20 | 2019-04-25 | Koninklijke Philips N.V. | Wireless location recognition for wearable device |
CN108040318A (en) * | 2017-10-30 | 2018-05-15 | 捷开通讯(深圳)有限公司 | A kind of localization method, electronic equipment and computer-readable recording medium |
CN107613552A (en) * | 2017-10-31 | 2018-01-19 | 广东小天才科技有限公司 | Positioning method based on mobile terminal and mobile terminal |
CN107872875A (en) * | 2017-12-21 | 2018-04-03 | 维沃移动通信有限公司 | The method and device of network positions |
CN108135027A (en) * | 2017-12-22 | 2018-06-08 | 深圳市航天华拓科技有限公司 | Reduce the method and wearable device of wearable device power consumption |
CN108173563A (en) * | 2017-12-27 | 2018-06-15 | 广东小天才科技有限公司 | Early warning method based on wearable device positioning and wearable device |
CN108449707A (en) * | 2018-03-08 | 2018-08-24 | 深圳市沃特沃德股份有限公司 | Wearable device and its localization method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112468958A (en) * | 2020-11-23 | 2021-03-09 | 北京元心科技有限公司 | Region determination method and device, electronic equipment and computer readable storage medium |
CN112468958B (en) * | 2020-11-23 | 2023-02-24 | 北京元心科技有限公司 | Region determination method and device, electronic equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111757439B (en) | 2023-06-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104822042B (en) | A kind of pedestrains safety detection method and device based on camera | |
CN110179198B (en) | Early warning method and device for intelligent safety helmet | |
CN107146386B (en) | Abnormal behavior detection method and device, and user equipment | |
CN113639446A (en) | Method and device for controlling air conditioner, air conditioner and storage medium | |
CN108597176A (en) | Wearable device based safety early warning method and wearable device | |
CN108027644B (en) | Method for starting eyeball tracking function and mobile equipment | |
CN110177242B (en) | Video call method based on wearable device and wearable device | |
CN109062402B (en) | Underwater photographing method based on wearable device and wearable device | |
CN111148215B (en) | Positioning method and system of mobile equipment and related equipment | |
CN111310601A (en) | Intelligent runway system based on face recognition, speed measuring method and electronic equipment | |
KR20190119571A (en) | Information processing system and information processing method | |
CN111757439B (en) | Power consumption control method of wearable device and wearable device | |
CN105893750A (en) | Information push method, device and system | |
CN111356081B (en) | Bluetooth starting control method and device | |
CN113646027B (en) | Electronic device and method for providing information for decompression by the electronic device | |
CN110177240B (en) | Video call method of wearable device and wearable device | |
CN109620180A (en) | Control method, apparatus, equipment and the storage medium of wearable device alarm | |
CN107993410B (en) | Environmental-based wading early warning method and wearable device | |
CN111757263A (en) | Positioning data sharing method and system and mobile terminal | |
CN108055398B (en) | Eye protection reminding control method and electronic equipment | |
CN104809370B (en) | Judge the device and method of the authentication information validity of head-wearing type intelligent equipment | |
CN110177234B (en) | Video call method based on scene recognition and wearable device | |
CN110139023B (en) | Positioning method for wearable device and wearable device | |
CN104809372B (en) | Judge the device and method of head-wearing type intelligent device authentication effectiveness of information | |
CN115134754A (en) | Floor positioning method and device, electronic equipment and storage medium |
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 |