CN111757439B - Power consumption control method of wearable device and wearable device - Google Patents

Power consumption control method of wearable device and wearable device Download PDF

Info

Publication number
CN111757439B
CN111757439B CN201910733109.9A CN201910733109A CN111757439B CN 111757439 B CN111757439 B CN 111757439B CN 201910733109 A CN201910733109 A CN 201910733109A CN 111757439 B CN111757439 B CN 111757439B
Authority
CN
China
Prior art keywords
data
wearable device
latitude
gps 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.)
Active
Application number
CN201910733109.9A
Other languages
Chinese (zh)
Other versions
CN111757439A (en
Inventor
林意章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201910733109.9A priority Critical patent/CN111757439B/en
Publication of CN111757439A publication Critical patent/CN111757439A/en
Application granted granted Critical
Publication of CN111757439B publication Critical patent/CN111757439B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0254Power 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
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing 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 or not, wherein the basic base station data is base station data acquired when the wearable equipment is historically positioned in a certain safety area; if the target base station data comprise basic base station data, controlling the wearable equipment to perform WIFI scanning so as to obtain target WIFI data; judging whether the matching number of the target WIFI data and basic WIFI data exceeds a specified number, wherein the basic WIFI data are collected when the wearable equipment is historically positioned in the safety area; and if the positioning flow exceeds the preset positioning flow, stopping executing the next positioning flow of the wearable equipment. By implementing the embodiment of the invention, the power consumption of the wearable device when implementing the security region daemon reminding function can be reduced.

Description

Power consumption control method of wearable device and wearable device
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
With the increasing popularity of wearable devices, the population of users is increasingly huge, and most of small-size wearable electronic devices including smart watches, smart bracelets and the like have a security area daemon function (or electronic fence function). Through the security area daemon reminding function, the wearable device can remind a user when the wearable device is positioned out of a certain security area. In practice, it is found that the secure area daemon reminding function of the wearable device requires to locate the wearable device, and in order to accurately locate the wearable device, the wearable device is usually and periodically located by combining with multiple locating modes such as base station locating, WIFI locating and GPS locating, and the power consumption of the wearable electronic device is easily excessive in the way of accurately locating the wearable device by periodically combining with multiple locating modes such as base station locating, WIFI locating and GPS locating.
Disclosure of Invention
The embodiment of the invention discloses a power consumption control method of a wearable device and the wearable device, which can reduce power consumption when the wearable device implements a security area daemon reminding function.
The first aspect of the embodiment of the invention discloses a power consumption control method of wearable equipment, which comprises the following steps:
acquiring target base station data; the target base station data comprise base station data currently connected with the wearable equipment and surrounding base station data scanned by the wearable equipment;
judging whether the target base station data comprises basic base station data or not, wherein the basic base station data is base station data acquired when the wearable equipment is historically positioned in a certain safety area;
if the target base station data comprise basic base station data, controlling the wearable equipment to perform WIFI scanning so as to obtain target WIFI data;
judging whether the matching number of the target WIFI data and basic WIFI data exceeds a specified number, wherein the basic WIFI data are collected when the wearable equipment is historically positioned in the safety area;
and if the positioning flow exceeds the preset positioning flow, stopping executing the next positioning flow of the wearable equipment.
A second aspect of an embodiment of the present invention discloses a wearable device, the wearable device comprising:
a first acquisition unit configured to acquire target base station data; the target base station data comprise base station data currently connected with the wearable equipment and surrounding base station data scanned by the wearable equipment;
The first judging unit is used for judging whether the target base station data acquired by the first acquiring unit comprises basic base station data or not, wherein the basic base station data are base station data acquired when the wearable equipment is historically positioned in a certain safety area;
the first control unit is used for controlling the wearable device to perform WIFI scanning so as to obtain target WIFI data when the first judging unit judges that the target base station data comprise basic base station data;
the second judging unit is used for judging whether the number of matches between the target WIFI data obtained by the first control unit and basic WIFI data exceeds a specified number, wherein the basic WIFI data is WIFI data acquired when the wearable equipment is historically positioned in the safety area;
and the second control unit is used for stopping executing the next positioning process of the wearable equipment when the second judging unit judges that the matching quantity of the target WIFI data and the basic WIFI data exceeds the 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 to the memory;
the processor invokes 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 embodiment of the present invention.
A fourth aspect of the embodiments of the present invention discloses a computer-readable storage medium storing a computer program, where the computer program causes a computer 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 fifth aspect of the embodiments of the present invention discloses a computer program product, which when run on a computer causes the computer to perform 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 sixth aspect of the embodiment of the present invention discloses an application publishing platform, which is configured to publish a computer program product, where the computer program product when run on the computer causes the computer 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 embodiment of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, when the wearable device determines that the target base station data (the target base station data includes the base station data currently connected with the wearable device and the base station data around the wearable device scanned by the wearable device) includes basic base station data (the basic base station data is the base station data acquired when the wearable device is historically positioned in a certain safety area), and when the matching number of the target WIFI data obtained by WIFI scanning and the basic WIFI data (the basic WIFI data is the WIFI data acquired when the wearable device is historically positioned in the certain safety area) exceeds the specified number, the wearable device can consider that the wearable device is currently positioned in the safety area, and the corresponding wearable device can stop executing the next positioning process of the wearable device, so that the power consumption when the wearable device applies the safety area daemon function can be reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed 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 other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a power consumption control method of a wearable device according to an embodiment of the present invention;
fig. 2 is a flow chart of another method for controlling power consumption of a wearable device according to an embodiment of the present invention;
FIG. 3 is a flow chart of another method for controlling power consumption of a wearable device according to an embodiment of the present invention;
FIG. 4 is a flow chart of a method for controlling power consumption of a wearable device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a wearable device according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another wearable device according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another wearable device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another wearable device disclosed in an embodiment of the present invention;
fig. 9 is a schematic structural view of still another wearable device disclosed in an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the terms "comprises" and "comprising," along with any variations thereof, are intended to cover a non-exclusive inclusion, 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 or inherent to such process, method, article, or apparatus, 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 a wearable device and the wearable device, which can reduce power consumption when the wearable device implements a security area daemon reminding function. The following detailed description is made with reference to the accompanying drawings.
Example 1
Referring to fig. 1, fig. 1 is a flowchart of 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 currently connected with the wearable device and surrounding base station data scanned by the wearable device.
In an embodiment of the present invention, the wearable device may include, but is not limited to, products supported by a wrist (such as a wristwatch, a wrist), products supported by feet (such as shoes, socks), products supported by a head (such as glasses, helmets, headbands, hats, etc.), smart clothing, schoolbags, etc.
In one embodiment, before the wearable device acquires the target base station data, whether the moving distance of the wearable device exceeds the specified safety distance can be judged, and if so, the target base station data is acquired, so that the frequency of acquiring the target base station data can be reduced, and the power consumption of the wearable device is 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 moving step number of a wearer of the wearable device;
and the wearable device obtains a stride distance of a wearer of the wearable device;
and the wearable device calculates the movement distance of a wearer of the wearable device according to the movement step number and the step distance;
and the wearable device judges whether the calculated moving distance exceeds the 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 obtains a stride distance of a wearer of the wearable device may include:
The wearable device can shoot a face image of a wearer of the wearable device through a shooting module (such as a camera), and report the face image to the background service device, so that the background service device analyzes identity information of the wearer of the wearable device according to the face image, the background service device determines height data of the wearer of the wearable device according to the identity information of the wearer of the wearable device, and the background service device determines a stride distance of the wearer of the wearable device according to the height data of the wearer of the wearable device;
and the wearable device acquires the stride distance of the wearer of the wearable device issued by the background service device.
According to 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, so that the workload caused by the need of periodically maintaining the stride information of different wearers when the stride information of different wearers is stored in advance by the wearable device is reduced.
As another alternative embodiment, the wearable device may further perform the following steps after determining that the calculated movement distance exceeds the specified safety distance, and before the wearable device acquires the target base station data:
The wearable device determines the field position of the wearable device corresponding to the time point when the movement distance exceeds the specified safety distance and the field air pressure value of the wearable device at the field position;
the wearable device determines a historical position of the wearable device corresponding to the time point of starting the step counting sensor and a historical air pressure value of the wearable device at the historical position;
and the wearable device judges whether the distance between the site position and the historical position on the horizontal plane is smaller than the specified safety distance, if so, the wearable device judges whether the difference between the site air pressure value and the historical air pressure value exceeds a specified threshold value, if so, the wearable device can consider the moving step number generated when the wearer of the wearable device moves up and down in a building space of a safety area, at the moment, the possibility that the wearer of the wearable device is positioned in the safety area is high, and correspondingly, even if the calculated moving distance exceeds the specified safety distance, the wearable device can not acquire target base station data; if the wearable device determines that the distance between the site location and the historical location on the horizontal plane is greater than or equal to the specified safety distance, and the wearable device determines that the difference between the site air pressure value and the historical air pressure value does not exceed the specified threshold, the wearable device may consider the moving step number as the moving step number generated when the wearer of the wearable device moves on the horizontal plane of the safety area, and when the calculated moving distance exceeds the specified safety distance, the possibility that the wearer of the wearable device is located in the safety area is small, and the wearable device may acquire the target base station data.
By implementing the embodiment, the accuracy of the wearable equipment for acquiring the target base station data can be improved.
102. The wearable equipment judges whether the target base station data comprises basic base station data or not, wherein the basic base station data is base station data acquired when the wearable equipment is historically positioned in a certain safety area, and if yes, steps 103-104 are executed; if not, the process is ended.
The base station data collected when the wearable device historically locates in a certain security area may include a base station ID.
In one embodiment, the wearable device may store the base station data and the wearable device may update the base station data periodically.
Further, before the wearable device stores the base station data, it may be detected whether a condition for locating and storing the base station data is satisfied, and if so, the base station data is stored. For example: the wearable equipment detects whether a positioning data storage request sent by a control terminal associated with the wearable equipment is received, and if so, the wearable equipment is determined to meet the condition of positioning and storing basic base station data; otherwise, if the base station data is not received, the wearable device is determined to not meet the condition of positioning and storing the base station data. The implementation of the implementation mode can prevent the storage space of the wearable device from being occupied when the wearable device stores the basic base station data wantonly.
Further, after detecting that a positioning storage request sent by a control terminal associated with the wearable device is received, the wearable device can further identify whether the positioning data storage request includes unique identity data of a user, wherein the unique identity data of the control user can be physiological characteristic data (such as fingerprint data and iris data) of the control user, a password and the like; if the method comprises the steps that the wearable device matches the unique identity data of the user with the unique identity data of a legal user registered in advance and allowing the wearable device to be controlled to store positioning data, and 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, determining that the positioning storage condition of the wearable device is not satisfied. Therefore, only legal users which are registered in advance by the wearable device and allow the wearable device to be controlled to store the positioning data can store the positioning data of the wearable device, and the situation that the power consumption of the wearable device is increased due to the fact that the control terminal of other related but not registered users which allow the wearable device to be controlled to store the positioning data control the wearable device to store the positioning data wantonly can be achieved.
103. The wearable device controls the wearable device to perform WIFI scanning so as to obtain target WIFI data.
The target WIFI data may include an ID, signal strength, and the like of the target WIFI access point.
104. The wearable device judges whether the matching number of the target WIFI data and the basic WIFI data exceeds the specified number, the basic WIFI data is the WIFI data collected by the wearable device when being positioned in the safe area historically, and if yes, step 105 is executed; if not, the process is ended.
105. The wearable device stops executing the next positioning procedure for the wearable device.
As can be seen, when the number of matches between the target WIFI data obtained by scanning and the basic WIFI data exceeds the specified number, the wearable device can be considered to be currently located in the secure area, and the corresponding wearable device can stop executing the next positioning procedure on the wearable device, so as to reduce the power consumption when the wearable device applies the secure area daemon 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, workload caused by the fact that the wearable device needs to periodically maintain 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, accuracy of acquiring target base station data by the wearable device can be improved.
In addition, by implementing the power consumption control method of the wearable device described in fig. 1, the wearable device can be prevented from occupying the storage space of the wearable device when the wearable device is used for wantonly storing the basic base station data, and the control terminal of other associated but not pre-registered users which allow the wearable device to be controlled for storing the positioning data can be prevented from wantonly controlling the wearable device for storing the positioning data, so that the power consumption of the wearable device can be increased.
Example two
Referring to fig. 2, fig. 2 is a flowchart of another method for controlling power consumption of a wearable device according to an embodiment of the present 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 currently connected with the wearable device and surrounding base station data scanned by the wearable device.
In one embodiment, before the wearable device acquires the target base station data, the skin temperature of the user may be detected, in general, the skin temperature of the user is stable, usually a constant value in a normal environment, when the user suddenly accelerates (such as suddenly escapes, swings an arm or struggles), a certain temperature rise phenomenon occurs in the skin of the user, whether the wearable device is in a dangerous state (such as escaping state, swinging an arm state or struggling state) can be judged through the duration of the skin temperature rise, if the skin temperature of the user exceeds a preset temperature threshold value, the wearable device can control the wearable device to enter a countdown state, if the skin temperature of the user is not reduced after the countdown state of the wearable device is finished, the current state of the user is determined to be 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 equipment are effectively reduced, and the power consumption of the wearable equipment is reduced.
Further, after the skin temperature of the user rises, in order to dissipate heat as soon as possible, the skin generally dissipates heat through perspiration and other modes, so that the wearable device can further detect sweat on the skin contacted by the wearable device when the skin temperature of the user is not reduced after the countdown state of the wearable device is finished, if the skin contacted by the wearable device is detected to be in the perspiration state, the wearable device controls the wearable device to enter the countdown state, if the perspiration state of the user is not reduced after the countdown state is finished, the current state of the user is determined to be unsafe, and the wearable device executes the step of acquiring the target base station data. Therefore, the number of times that the wearable device acquires the target base station data can be 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 doing normal movement, the wearable device may detect whether the touch display screen of the wearable device identifies two touch points (such as two finger fingerprints) when the wearable device is in a countdown state, if so, the step of the wearable device acquiring the target base station data is stopped, and the wearable device may effectively reduce the power consumption increased by the guard function of the safety area when the user is doing normal movement.
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 acquired when the wearable device is historically positioned in a certain safety area, and if yes, steps 203-204 are executed; if not, the process 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 comprise at least one target WIFI access point and signal intensity corresponding to the scanned at least one target WIFI access point.
204. The wearable device determines whether the number of the at least one target WIFI access point exceeds a specified number, if so, executes step 205, and if not, ends the process.
205. The wearable device determines whether the average signal strength corresponding to the at least one target WIFI access point obtained by the signal strength corresponding to the at least one scanned target WIFI access point exceeds a specified signal strength value, and if yes, step 206 is executed; if not, the process is ended.
206. The wearable device judges whether the number of matches between the target WIFI data and the basic WIFI data exceeds a specified number, the basic WIFI data is WIFI data collected when the wearable device historically locates in the secure area, if yes, step 207 is executed; if not, the process is ended.
Wherein, the wearable device judges whether the matching number of the target WIFI data and the basic WIFI data exceeds a specified number, which may include:
and judging whether the matching number of the at least one target WIFI access point and the WIFI access point included in the basic WIFI data exceeds the specified number.
In one embodiment, after the base WIFI data is acquired, the wearable device may generate a movement track of the wearable device according to the sequence of the acquired base WIFI data, and after the target WIFI data is acquired, the wearable device determines whether the acquired next target WIFI data is the target WIFI data in the movement track, if so, step 207 is executed; if not, the process 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 procedure 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 security region daemon 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, so that the power consumption of the wearable device is reduced.
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 moving 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 flowchart illustrating another method for controlling power consumption of a wearable device according to an embodiment of the present 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 currently connected with 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 basic base station data or not, wherein the basic base station data is base station data acquired when the wearable device is historically positioned in a certain safety area, and if yes, steps 303-304 are executed; if not, the process is ended.
303. The wearable device controls the wearable device to perform WIFI scanning so as to obtain target WIFI data.
304. The wearable device judges whether the matching number of the target WIFI data and the basic WIFI data exceeds the specified number, the basic WIFI data is the WIFI data collected when the wearable device is historically positioned in the safe area, and if not, the steps 305-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 comprises current GPS longitude and latitude coordinates.
In one embodiment, when acquiring current GPS longitude and latitude data of the wearable device, the wearable device needs to start GPS positioning, after the GPS positioning is started, whether the duration of the GPS positioning of the wearable device exceeds a preset first time threshold value or not can be judged, the preset first time threshold value is the duration which is reached by the non-response of the GPS positioning set by the wearable device, if the positioning duration of the GPS positioning exceeds the preset first time threshold value, the GPS positioning module is controlled to close the GPS positioning, and a message of failure of the GPS positioning is sent to a server, so that the GPS positioning is closed when the GPS cannot perform positioning, and the 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 turning on GPS positioning, if the GPS positioning is turned on for 1 minute or in a non-response state, control the GPS positioning module to turn off the GPS positioning, and send a message of failure of the GPS positioning to the server.
In one embodiment, when the wearable device acquires the current GPS longitude and latitude data of the wearable device, the GPS positioning needs to be started, after the GPS positioning is started, whether the duration of the GPS positioning of the wearable device exceeds a preset second duration threshold value or not can be judged, the preset second duration threshold value is the duration which is set by the wearable device and is reached when the GPS positioning is not responded due to the fact that the wearable device is in a room, the preset second duration threshold value is smaller than the preset first duration threshold value, the GPS positioning module is controlled to close the GPS positioning, a message of failure of the GPS positioning is sent to a server, and the GPS positioning is closed when the GPS positioning is not carried out due to the fact that the wearable device is in a room, so that the power consumption of the GPS positioning is effectively reduced.
For example, the wearable device may set a preset second duration threshold to 30 seconds, determine whether the wearable device is located indoors if GPS positioning is performed for 30 seconds or a non-response state is achieved after GPS positioning is turned on, and if the wearable device is located indoors, control the GPS positioning module to turn off the GPS positioning and send a message of failure of the GPS positioning to the server.
In one embodiment, the wearable device determining whether the wearable device is located indoors may include:
judging 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, wherein the preset first signal intensity threshold is the indoor WIFI signal intensity threshold of the wearable device set by the wearable device, if so, judging 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, wherein the preset second signal intensity threshold is the indoor GPS signal intensity threshold of the wearable device set by the wearable device, and the access point (such as a router) of the general WIFI is arranged indoors.
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, wherein the basic GPS longitude and latitude data comprises 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 latitude and longitude coordinates to obtain the distance between the two latitude and longitude coordinates, and aggregate the distances to obtain a distance set.
307. The wearable device determines whether a target distance exists in the distance set, and if the target distance exceeds a preset maximum distance value, step 308 is executed; if not, go to step 309 to step 310.
308. The wearable device determines that the current GPS longitude and latitude data is not matched with the basic GPS longitude and latitude data, and executes the next positioning process of the wearable device, and the process is ended.
309. The wearable device determines that the current GPS longitude and latitude data matches the base GPS longitude and latitude data.
The steps 306 to 309 are implemented, and the wearable device may determine whether the current GPS longitude and latitude data matches with basic GPS longitude and latitude data, where the basic GPS longitude and latitude data is GPS longitude and latitude data collected when the wearable device historically locates in the secure area.
310. The wearable device stops executing the next positioning procedure 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 security region daemon 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 the 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 or not can be judged according to the WIFI signal intensity and the GPS signal intensity, so that the power consumption caused by the fact that the wearable device is located indoors and GPS positioning is not responded is effectively reduced.
Example IV
Referring to fig. 4, fig. 4 is a flowchart of a power consumption control method of a wearable device according to another 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 currently connected with 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 acquired when the wearable device is historically positioned in a certain safety area, and if yes, steps 403 to 404 are executed; if not, the process is ended.
403. The wearable device controls the wearable device to perform WIFI scanning so as to obtain target WIFI data.
404. The wearable device judges whether the matching number of the target WIFI data and the basic WIFI data exceeds the specified number, wherein the basic WIFI data is the WIFI data collected when the wearable device is historically positioned 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 comprises 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 specified distance as a radius.
407. The wearable device determines whether at least one basic GPS longitude and latitude coordinate exists in the circular area, and if not, step 408 is executed; if yes, go to step 409 to step 410.
408. The wearable device determines that the current GPS longitude and latitude data is not matched with the basic GPS longitude and latitude data, and executes the next positioning process of the wearable device, and the process is ended.
As an alternative embodiment, the wearable device performing the next positioning procedure for the wearable device may include: the method comprises the steps that the wearable device is controlled to start a camera module, the camera module of the wearable device obtains a current image of an area where the wearable device is located, and if the wearable device obtains the current image, the image is automatically sent to a control terminal, wherein the camera module of the wearable device stores GPS longitude and latitude of an area where the wearable device is located in the current image when obtaining the current image. The wearable device can automatically send the image of the current region and the longitude and latitude of the GPS to the control terminal when leaving the safety region, so that the wearable device can quickly send accurate and effective information to the control terminal when leaving the safety region, and the safety of the wearable device is improved.
409. The wearable device determines that the current GPS longitude and latitude data matches the base GPS longitude and latitude data.
The steps 406 to 409 are implemented, and the wearable device may determine whether the current GPS longitude and latitude data matches with basic GPS longitude and latitude data, where the basic GPS longitude and latitude data is GPS longitude and latitude data collected when the wearable device historically locates in the secure area.
410. The wearable device stops executing the next positioning procedure for the wearable device.
In one embodiment, after the wearable device stops executing the next positioning procedure 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 application programs (including a secure area daemon function) in the background, preferably, the wearable device may receive external information in the deep sleep mode, such as may receive a voice call sent by an external mobile device, and the wearable device exits the deep sleep mode when it may detect that the user wears the wearable device. When the user does not use the wearable device, all application programs in the background are 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.
It can be seen that implementing the power consumption control method of the wearable device described in fig. 4 can reduce power consumption when the wearable device applies the secure region daemon function.
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 longitude and latitude of the GPS can be automatically sent to the terminal for control when the wearable device leaves the safety area, so that accurate and effective information can be quickly sent to the control terminal when the wearable device leaves the safety area, and the safety of the wearable device is improved.
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, 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.
Example five
Referring to fig. 5, fig. 5 is a schematic structural diagram of a wearable device according to an embodiment of the present disclosure. As shown in fig. 5, the wearable device may include:
a first acquiring unit 501 configured to acquire target base station data; the target base station data comprises base station data of the 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 basic base station data, where the basic 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 determining unit 502 determines that the target base station data includes basic base station data, so as to obtain target WIFI data.
The second determining unit 504 is configured to determine whether the number of matches between the target WIFI data obtained by the first control unit 503 and basic WIFI data exceeds a specified number, where the basic WIFI data is WIFI data collected when the wearable device is historically located in the secure area.
And the second control unit 505 is configured to stop executing the next positioning procedure for the wearable device when the second judging unit 504 judges that the number of matches between the target WIFI data and the basic WIFI data exceeds the specified number.
In one embodiment, before the first obtaining unit 501 obtains the target base station data, the wearable device may determine whether the movement distance of the wearable device exceeds the specified safety distance, and if so, 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 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 moving step number of a wearer of the wearable device;
and the wearable device obtains a stride distance of a wearer of the wearable device;
and the wearable device calculates the movement distance of a wearer of the wearable device according to the movement step number and the step distance;
and the wearable device judges whether the calculated moving distance exceeds the 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 obtains a stride distance of a wearer of the wearable device may include:
the wearable device can shoot a face image of a wearer of the wearable device through a shooting module (such as a camera), and report the face image to the background service device, so that the background service device analyzes identity information of the wearer of the wearable device according to the face image, the background service device determines height data of the wearer of the wearable device according to the identity information of the wearer of the wearable device, and the background service device determines a stride distance of the wearer of the wearable device according to the height data of the wearer of the wearable device;
And the wearable device acquires the stride distance of the wearer of the wearable device issued by the background service device.
According to 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, so that the workload caused by the need of periodically maintaining the stride information of different wearers when the stride information of different wearers is stored in advance by the wearable device is reduced.
As another alternative embodiment, the wearable device may further perform the following steps after determining that the calculated movement distance exceeds the specified safety distance, and before the first acquisition unit 501 acquires the target base station data:
the wearable device determines the field position of the wearable device corresponding to the time point when the movement distance exceeds the specified safety distance and the field air pressure value of the wearable device at the field position;
the wearable device determines a historical position of the wearable device corresponding to the time point of starting the step counting sensor and a historical air pressure value of the wearable device at the historical position;
And the wearable device judges whether the distance between the site location and the historical location on the horizontal plane is smaller than the specified safety distance, if so, the wearable device judges whether the difference between the site air pressure value and the historical air pressure value exceeds a specified threshold, if so, the wearable device can consider the moving step number as the moving step number generated when the wearer of the wearable device moves up and down in the building space of the safety area, at this time, the possibility that the wearer of the wearable device is located in the safety area is high, and correspondingly, even if the calculated moving distance exceeds the specified safety distance, the first obtaining unit 501 can not obtain the target base station data; if the wearable device determines that the distance between the site location and the historical location on the horizontal plane is greater than or equal to the specified safety distance, and the wearable device determines that the difference between the site air pressure value and the historical air pressure value does not exceed the specified threshold, the wearable device may consider the moving step number as the moving step number generated when the wearer of the wearable device moves on the horizontal plane of the safety area, and when the calculated moving distance exceeds the specified safety distance, the possibility that the wearer of the wearable device is located in the safety area is less, and the first obtaining unit 501 may obtain the target base station data.
By implementing the embodiment, the accuracy of the wearable equipment for acquiring the target base station data can be improved.
In one embodiment, the wearable device may store the base station data and the wearable device may update the base station data periodically.
Further, before the wearable device stores the base station data, it may be detected whether a condition for locating and storing the base station data is satisfied, and if so, the base station data is stored. For example: the wearable equipment detects whether a positioning data storage request sent by a control terminal associated with the wearable equipment is received, and if so, the wearable equipment is determined to meet the condition of positioning and storing basic base station data; otherwise, if the base station data is not received, the wearable device is determined to not meet the condition of positioning and storing the base station data. The implementation of the implementation mode can prevent the storage space of the wearable device from being occupied when the wearable device stores the basic base station data wantonly.
Further, after detecting that a positioning storage request sent by a control terminal associated with the wearable device is received, the wearable device can further identify whether the positioning data storage request includes unique identity data of a user, wherein the unique identity data of the control user can be physiological characteristic data (such as fingerprint data and iris data) of the control user, a password and the like; if the method comprises the steps that the wearable device matches the unique identity data of the user with the unique identity data of a legal user registered in advance and allowing the wearable device to be controlled to store positioning data, and 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, determining that the positioning storage condition of the wearable device is not satisfied. Therefore, only legal users which are registered in advance by the wearable device and allow the wearable device to be controlled to store the positioning data can store the positioning data of the wearable device, and the situation that the power consumption of the wearable device is increased due to the fact that the control terminal of other related but not registered users which allow the wearable device to be controlled to store the positioning data control the wearable device to store the positioning data wantonly can be achieved.
As can be seen, when the number of matches between the target WIFI data obtained by scanning and the basic WIFI data exceeds the specified number, the wearable device can be considered to be currently located in the secure area, and the corresponding wearable device can stop executing the next positioning procedure on the wearable device, so that the power consumption of the wearable device when the secure area daemon function is applied is reduced.
In addition, the wearable device described in fig. 5 is implemented, so that 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, the wearable device described in fig. 5 is implemented, so that workload caused by the fact that the wearable device needs to periodically maintain the stride information of different wearers when the stride information of different wearers is stored in advance is reduced.
In addition, the wearable device described in fig. 5 is implemented, so that accuracy of acquiring the target base station data by the wearable device can be improved.
In addition, implementing the wearable device described in fig. 5 can prevent the wearable device from occupying the storage space of the wearable device when the wearable device is used to store the basic base station data, and prevent other associated but not pre-registered control terminals of users which allow the wearable device to be controlled to store the positioning data from being used to control the wearable device to store the positioning data, so as to increase the power consumption of the wearable device.
Example six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another wearable device according to an 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:
and a third determining unit 506, configured to determine, after the first control unit 503 controls the wearable device to perform WIFI scanning to obtain target WIFI data, 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 a signal strength corresponding to the at least one scanned target WIFI access point.
A fourth determining unit 507, configured to determine whether the 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 determine, when the first control unit 503 controls the wearable device to perform WIFI scanning to obtain target WIFI data, and when the fourth determining unit 507 determines that the average signal strength corresponding to the scanned at least one target WIFI access point exceeds a specified signal strength value, whether the number of matches between the target WIFI data and the base WIFI data exceeds a specified number.
The second judging unit 504 includes:
the second judging subunit 5041 is configured to, when the first control unit 503 controls the wearable device to perform WIFI scanning to obtain target WIFI data, and when the fourth judging unit 507 judges that the average signal strength corresponding to the scanned at least one target WIFI access point exceeds a specified signal strength value, judge whether the number of matches between the at least one target WIFI access point and a WIFI access point included in the base WIFI data exceeds a specified number.
In one embodiment, before the first obtaining unit 501 obtains the target base station data, the wearable device may detect the skin temperature of the user, where the skin temperature of the user is generally stable and is generally a constant value in a normal environment, and when the user suddenly accelerates (such as suddenly escapes, swings the arm or struggles), a certain temperature rise phenomenon occurs on the skin of the user, whether the wearable device is in a dangerous state (such as escape state, swing arm hit state, struggle state) can be determined by the duration of the skin temperature rise, if the skin temperature of the user exceeds a preset temperature threshold, the wearable device can be controlled to enter a countdown state, and if the skin temperature of the user does not decrease after the countdown state of the wearable device is finished, the current state of the user is determined to be 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 equipment are effectively reduced, and the power consumption of the wearable equipment is reduced.
Further, after the skin temperature of the user rises, in order to dissipate heat as soon as possible, the skin generally dissipates heat through perspiration and other modes, so that the wearable device can further detect sweat on the skin contacted by the wearable device when the skin temperature of the user is not reduced after the countdown state of the wearable device is finished, if the skin contacted by the wearable device is detected to be in the perspiration state, the wearable device controls the wearable device to enter the countdown state, if the perspiration state of the user is not reduced after the countdown state is finished, the current state of the user is determined to be unsafe, and the first acquisition unit 501 performs the step of acquiring the target base station data. Therefore, the frequency of acquiring the target base station data by the wearable equipment can be effectively reduced, and the power consumption of the wearable equipment is reduced.
Still further, the skin temperature of the user is increased and the sweating state may be that the user is performing normal movement, the wearable device may detect whether the touch display screen of the wearable device identifies two touch points (such as two finger fingerprints) when the wearable device is in the countdown state, if so, the second control unit 505 stops executing the next positioning procedure of the wearable device, and the wearable device may effectively reduce the power consumption increased by the guard function of the safety area when the user is performing normal movement.
In an embodiment, after the base WIFI data in the second determining unit 504 is obtained, the wearable device may generate a movement track of the wearable device according to the sequence of the obtained base WIFI data, and after the wearable device obtains the target WIFI data, determine whether the obtained next target WIFI data is the target WIFI data in the movement track, if yes, the second control unit 505 stops executing the next positioning procedure for 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, when the number of matches between the target WIFI data obtained by scanning and the basic WIFI data exceeds the specified number, the wearable device can be considered to be currently located in the secure area, and the corresponding wearable device can stop executing the next positioning procedure on the wearable device, so that the power consumption of the wearable device when the secure area daemon function is applied is reduced.
In addition, the wearable device described in fig. 6 is implemented, so that the number of times that the wearable device acquires the target base station data can be effectively reduced, and the power consumption of the wearable device is reduced.
In addition, the wearable device described in fig. 6 is implemented, whether the wearable device deviates from a common moving track can be effectively judged according to the acquired target WIFI data, and therefore 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 according to an embodiment of the present invention. The wearable device shown in fig. 7 is optimized from the wearable device shown in fig. 6. In comparison to the wearable device shown in fig. 6, the wearable device shown in fig. 7 may further include:
the second obtaining unit 508 is configured to obtain current GPS longitude and latitude data of the wearable device when the second determination 504 determines that the number of matches between the target WIFI data and the base WIFI data does not exceed the specified number.
A fifth determining unit 509, configured to determine, when the second obtaining unit 508 obtains current GPS longitude and latitude data of the wearable device, whether the current GPS longitude and latitude data matches with basic GPS longitude and latitude data; the basic GPS longitude and latitude data are GPS longitude and latitude data acquired when the wearable device is historically positioned in the safety area.
The second control unit 505 is further configured to stop executing the next positioning procedure for the wearable device when the fifth determining unit 509 determines that the current GPS longitude and latitude data matches with 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:
the calculating subunit 5091 is 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, to obtain a distance set.
A first judging subunit 5092, configured to judge whether a target distance exists in the obtained distance set and the distance between the current GPS longitude and latitude coordinate calculated by the calculating subunit 5091 and each of the basic GPS longitude and latitude coordinates, 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 is not matched with 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 is matched with 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 one embodiment, when acquiring the current GPS longitude and latitude data of the wearable device, the second acquiring unit 508 needs to start GPS positioning, after the GPS positioning is started, it may be determined whether the duration of the GPS positioning of the wearable device exceeds a preset first time threshold, where the preset first time threshold is a duration that the GPS positioning set by the wearable device does not respond to, and if the positioning duration of the GPS positioning exceeds the preset first time threshold, the GPS positioning module is controlled to close the GPS positioning, and a message that the GPS positioning fails is sent 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, when the number of matches between the target WIFI data obtained by scanning and the basic WIFI data exceeds the specified number, the wearable device can be considered to be currently located in the secure area, and the corresponding wearable device can stop executing the next positioning procedure on the wearable device, so that the power consumption of the wearable device when the secure area daemon function is applied is reduced.
In addition, when the positioning duration of the GPS positioning exceeds the preset first time threshold, the wearable device described in fig. 7 is implemented, and the GPS positioning module can be controlled to close the GPS positioning and send a message of failure of the GPS positioning to the server, so that the GPS positioning is closed when the GPS positioning is not responsive, and the 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 according to an embodiment of the present invention. The wearable device shown in fig. 8 is optimized by the wearable device shown in fig. 7, and compared to the wearable device shown in fig. 7, the calculating subunit 5091, the first judging subunit 5092, and the first determining subunit 5093 included in the fifth judging unit 509 in the wearable device shown in fig. 8 may be replaced by:
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 center and the specified distance as a radius, where the current GPS longitude and latitude data includes the current GPS longitude and latitude coordinate.
The second determining subunit 5095 is configured to determine whether the at least one basic GPS longitude and latitude coordinate exists in a circular area with the current GPS longitude and latitude coordinate as a center and the specified distance as a radius, which is determined by the second determining subunit 5094.
A third determining subunit 5096, configured to determine that the current GPS longitude and latitude data matches 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 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 alternative embodiment, the second control unit 505 performing the next positioning procedure of the wearable device may include: the second control unit 505 controls the wearable device to start the camera module and acquire a current image of an area where the wearable device is located, and if the current image is acquired by the second control unit 505, the image is automatically sent to the control terminal, wherein the second control unit 505 stores the GPS longitude and latitude of the area where the current wearable device is located in the current image when acquiring the current image. The second control unit 505 may automatically send the image of the current region and the longitude and latitude of the GPS to the terminal for control when the wearable device leaves the security region, thereby improving the security of the wearable device.
As can be seen, when the number of matches between the target WIFI data obtained by scanning and the basic WIFI data exceeds the specified number, the wearable device can be considered to be currently located in the secure area, and the corresponding wearable device can stop executing the next positioning procedure on the wearable device, so that the power consumption of the wearable device when the secure area daemon function is applied is reduced.
In addition, the wearable device described in fig. 8 is implemented, and when the wearable device leaves a safe area, an image of the current area and the longitude and latitude of the GPS can be automatically sent to the terminal for 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 storing executable program code;
a processor 902 coupled to the memory 901;
the processor 902 invokes executable program codes stored in the memory 901, and performs 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 storing a computer program, wherein the computer program causes a computer to execute part or all of the steps of a power consumption control method of any one of wearable devices shown in fig. 1 to 4.
The embodiments of the present invention also disclose a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform part or all of the steps of a power consumption control method of a wearable device as in any of the above method embodiments.
Those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the above embodiments may be implemented by a program that instructs associated hardware, the program may be stored in a computer readable storage medium including Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (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 (Compact Disc Read-Only Memory, CD-ROM) or other optical disk Memory, magnetic disk Memory, tape Memory, or any other medium that can be used for carrying or storing data that is readable by a computer.
The power consumption control method of the wearable device and the wearable device disclosed by the embodiment of the invention are described in detail, and specific examples are applied to illustrate the principle and implementation of the invention, and the description of the above embodiments is only used for helping to understand the method and core ideas of the invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (11)

1. A power consumption control method of a wearable device, comprising:
acquiring target base station data; the target base station data comprise base station data currently connected with the wearable equipment and surrounding base station data scanned by the wearable equipment;
judging whether the target base station data comprises basic base station data or not, wherein the basic base station data is base station data acquired when the wearable equipment is historically positioned in a certain safety area;
if the target base station data comprise basic base station data, controlling the wearable equipment to perform WIFI scanning so as to obtain target WIFI data;
Judging whether the matching number of the target WIFI data and basic WIFI data exceeds a specified number, wherein the basic WIFI data are collected when the wearable equipment is historically positioned in the safety area;
and if the positioning flow exceeds the preset positioning flow, stopping executing the next positioning flow of the wearable equipment.
2. The control method according to claim 1, wherein the target WIFI data includes at least one target WIFI access point and a signal strength corresponding to the at least one scanned target WIFI access point, and the method further includes, after obtaining the target WIFI data and before the determining whether the number of matches between the target WIFI data and the base WIFI data exceeds a specified number:
judging whether the number of the at least one target WIFI access point exceeds the designated number;
if the number of the at least one target WIFI access point exceeds the specified number, judging whether the average signal strength corresponding to the at least one target WIFI access point obtained by the signal strength corresponding to the scanned at least one target WIFI access point exceeds a specified signal strength value;
if the number exceeds the specified signal strength value, executing the judgment on whether the number of the matches between the target WIFI data and the basic WIFI data exceeds the specified number;
The judging whether the matching number of the target WIFI data and the basic WIFI data exceeds the specified number or not comprises the following steps:
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.
3. The control method according to claim 1, wherein if the number of matches of the target WIFI data and the base WIFI data does not exceed the specified number, the method further comprises:
acquiring current GPS longitude and latitude data of the wearable equipment;
judging whether the current GPS longitude and latitude data is matched with basic GPS longitude and latitude data or not; the basic GPS longitude and latitude data are GPS longitude and latitude data acquired when the wearable equipment is historically positioned in the safety area;
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 the wearable equipment after stopping executing.
4. The control method according to claim 3, wherein the current GPS longitude and latitude data includes current GPS longitude and latitude coordinates, the base GPS longitude and latitude data includes at least one base GPS longitude and latitude coordinate, and the determining whether the current GPS longitude and latitude data matches the base GPS longitude and latitude data includes:
Calculating the distance between the current GPS longitude and latitude coordinates and each basic GPS longitude and latitude coordinate to obtain a distance set;
judging whether the target distance exists in the distance set or not, 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. A control method according to claim 3, wherein the current GPS longitude and latitude data includes current GPS longitude and latitude coordinates, and the determining whether the current GPS longitude and latitude data matches base GPS longitude and latitude data comprises:
determining a circular area taking the current GPS longitude and latitude coordinates as a circle center and a specified distance as a radius;
judging whether at least one basic GPS longitude and latitude coordinate exists in the circular area;
if the longitude and latitude coordinates of the at least one basic GPS exist 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 longitude and latitude coordinates of the at least one basic GPS do 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 acquisition unit configured to acquire target base station data; the target base station data comprise base station data currently connected with the wearable equipment and surrounding base station data scanned by the wearable equipment;
the first judging unit is used for judging whether the target base station data acquired by the first acquiring unit comprises basic base station data or not, wherein the basic base station data are base station data acquired when the wearable equipment is historically positioned in a certain safety area;
the first control unit is used for controlling the wearable device to perform WIFI scanning so as to obtain target WIFI data when the first judging unit judges that the target base station data comprise basic base station data;
the second judging unit is used for judging whether the number of matches between the target WIFI data obtained by the first control unit and basic WIFI data exceeds a specified number, wherein the basic WIFI data is WIFI data acquired when the wearable equipment is historically positioned in the safety area;
and the second control unit is used for stopping executing the next positioning process of the wearable equipment when the second judging unit judges that the matching quantity of the target WIFI data and the basic WIFI data exceeds the specified quantity.
7. The wearable device of claim 6, wherein the target WIFI data includes 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 designated number after the first control unit controls the wearable device to perform WIFI scanning so as to obtain target WIFI data;
a fourth judging unit, configured to judge 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 judging unit judges that the number of the at least one target WIFI access point exceeds the specified number; the method comprises the steps of carrying out a first treatment on the surface of the
The second judging unit is specifically configured to judge, when the first control unit controls the wearable device to perform WIFI scanning to obtain target WIFI data, and when the fourth judging unit judges that an average signal strength corresponding to the scanned at least one target WIFI access point exceeds a specified signal strength value, whether a number of matches between the target WIFI data obtained by the first control unit and basic WIFI data exceeds a specified number;
The second judging unit includes:
and the second judging subunit is used for judging whether the number of the matches between the at least one target WIFI access point obtained by the first control unit and the WIFI access point included by the basic WIFI data exceeds the specified number when the first control unit controls the wearable device to perform WIFI scanning so as to obtain the target WIFI data and when the fourth judging unit judges that the average signal strength corresponding to the at least one scanned target WIFI access point exceeds the specified signal strength value.
8. The wearable device of claim 6, wherein the wearable device further comprises:
the second acquisition unit is used for acquiring the current GPS longitude and latitude data of the wearable device when the matching number of the target WIFI data and the basic WIFI data does not exceed the specified number;
a fifth judging unit, configured to judge, when the second obtaining unit obtains current GPS longitude and latitude data of the wearable device, whether the current GPS longitude and latitude data matches with basic GPS longitude and latitude data; the basic GPS longitude and latitude data are GPS longitude and latitude data acquired when the wearable equipment is historically positioned in the safety area;
And the second control unit is further configured to stop executing a next positioning procedure for the wearable device when the fifth judging unit judges that the current GPS longitude and latitude data matches with the basic GPS longitude and latitude data.
9. The wearable device according to claim 8, wherein the current GPS longitude and latitude data includes current GPS longitude and latitude coordinates, the base GPS longitude and latitude data includes at least one base GPS longitude and latitude coordinate, the fifth determination unit includes:
the computing subunit is used for computing the distance between the current GPS longitude and latitude coordinates and each basic GPS longitude and latitude coordinate after the second acquisition unit acquires the current GPS longitude and latitude data of the wearable equipment, so as to obtain a distance set;
the first judging subunit is used for judging whether a target distance exists in the obtained distance set or not, 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 longitude and latitude data includes current GPS longitude and latitude coordinates, the base GPS longitude and latitude data includes at least one base GPS longitude and latitude coordinate, the fifth determination unit includes:
the second determining subunit is used for determining a circular area taking the current GPS longitude and latitude coordinates as a circle center and taking a specified distance as a radius after the second obtaining unit obtains the current GPS longitude and latitude data of the wearable device;
the second judging subunit is used for judging whether the at least one basic GPS longitude and latitude coordinate exists in a circular area which takes the current GPS longitude and latitude coordinate as a circle center and takes a specified distance as a radius and is determined by the second determining subunit;
and the third determining subunit is used for determining that the current GPS longitude and latitude data is matched with the basic GPS longitude and latitude data when the second judging subunit judges that the at least one basic GPS longitude and latitude coordinate exists in the circular area, and determining that the current GPS longitude and latitude data is not matched with the basic GPS longitude and latitude data when the second judging subunit judges 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 the wearable device according to any one of claims 1 to 5.
CN201910733109.9A 2019-08-08 2019-08-08 Power consumption control method of wearable device and wearable device Active CN111757439B (en)

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 CN111757439A (en) 2020-10-09
CN111757439B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112468958B (en) * 2020-11-23 2023-02-24 北京元心科技有限公司 Region determination method and device, electronic equipment and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 广东小天才科技有限公司 A kind of localization method and mobile terminal based on mobile terminal

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006226740A (en) * 2005-02-16 2006-08-31 Hitachi Ltd Positioning system and radio base station
KR101416599B1 (en) * 2010-07-05 2014-07-09 에스케이플래닛 주식회사 Method for Detecting Position by Using Position Determining Access Point, And Apparatus, System And Access Point therefor
US10327103B2 (en) * 2017-10-20 2019-06-18 Koninklijke Philips N.V. Wireless location recognition for wearable device
CN108040318B (en) * 2017-10-30 2021-06-15 捷开通讯(深圳)有限公司 Positioning method, electronic equipment and computer readable storage medium
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
CN108173563B (en) * 2017-12-27 2019-11-05 广东小天才科技有限公司 A kind of method for early warning and wearable device based on wearable device positioning
CN108449707B (en) * 2018-03-08 2021-08-17 深圳市沃特沃德股份有限公司 Wearable device and positioning method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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 广东小天才科技有限公司 A kind of localization method and mobile terminal based on mobile terminal

Also Published As

Publication number Publication date
CN111757439A (en) 2020-10-09

Similar Documents

Publication Publication Date Title
US10528715B2 (en) Authentication device, authentication system, authentication method, and program
CN104822042B (en) A kind of pedestrains safety detection method and device based on camera
WO2016049898A1 (en) Method and apparatus for identity authentication and user equipment
CN110177242B (en) Video call method based on wearable device and wearable device
CN108027644B (en) Method for starting eyeball tracking function and mobile equipment
KR20150075981A (en) Bmart wear system using wearable device
US20160321903A1 (en) A method for responding to a detected fall and an apparatus for implementing the same
US11238723B2 (en) Communication devices for guards of controlled environments
CN111757439B (en) Power consumption control method of wearable device and wearable device
CN105550878A (en) Authorization request processing method and apparatus
CN111310601A (en) Intelligent runway system based on face recognition, speed measuring method and electronic equipment
CN113646027B (en) Electronic device and method for providing information for decompression by the electronic device
JP7401634B2 (en) Server device, program and method
US11147489B2 (en) Systems and methods for stand alone impairment detection
CN110177240B (en) Video call method of wearable device and wearable device
CN109620180B (en) Method, device, equipment and storage medium for controlling wearable equipment to alarm
CN107993410B (en) Environmental-based wading early warning method and wearable device
CN110177234B (en) Video call method based on scene recognition and wearable device
CN110177241B (en) Posture adjustment method of wearable device and wearable device
CN110139218B (en) Tracking method for wearable device and wearable device
CN110136395B (en) Wading detection method and wearable device
CN110197569B (en) Safety monitoring method based on wearable device and wearable device
CN104809372B (en) Judge the device and method of head-wearing type intelligent device authentication effectiveness of information
CN112433463B (en) Intelligence wrist-watch with GPS tracks location and conversation function
CN108594873B (en) Bathtub control method and device

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