CN113423096B - Power saving control method and device, wearable device and computer-readable storage medium - Google Patents

Power saving control method and device, wearable device and computer-readable storage medium Download PDF

Info

Publication number
CN113423096B
CN113423096B CN202010136147.9A CN202010136147A CN113423096B CN 113423096 B CN113423096 B CN 113423096B CN 202010136147 A CN202010136147 A CN 202010136147A CN 113423096 B CN113423096 B CN 113423096B
Authority
CN
China
Prior art keywords
wearable device
electronic device
wearable
distance
bluetooth signal
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
CN202010136147.9A
Other languages
Chinese (zh)
Other versions
CN113423096A (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 Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010136147.9A priority Critical patent/CN113423096B/en
Priority to PCT/CN2021/075185 priority patent/WO2021175074A1/en
Publication of CN113423096A publication Critical patent/CN113423096A/en
Application granted granted Critical
Publication of CN113423096B publication Critical patent/CN113423096B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • 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
    • 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/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • 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 application relates to a power saving control method and device, a wearable device and a computer readable storage medium, wherein the distance between the wearable device and an electronic device is acquired according to a Bluetooth signal received by the wearable device. When the distance between the wearable device and the electronic device is smaller than the distance threshold, the remaining capacity of the wearable device and the remaining capacity of the electronic device are obtained. If the residual capacity of the wearable device is smaller than the residual capacity of the electronic device, the electronic device is determined to be a current use device, and the current use device can support a preset function. When the distance between the wearable device and the electronic device is less than the distance threshold, it is convenient for the user to use both devices at the same time. The electronic equipment is determined to be the current using equipment according to the residual electric quantity, and the current using equipment can support the preset function, so that the electric quantity of the wearable equipment can be saved while the preset function of the user is met, and the using time of the wearable equipment is prolonged.

Description

Power saving control method and device, wearable device and computer-readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a power saving control method and apparatus, a wearable device, and a computer-readable storage medium.
Background
With the continuous development of computer technology, various wearable devices are increasingly popular. Wearable devices refer to portable devices that can be worn directly on the body or integrated into the clothing or accessories of the user.
Wearable equipment accessible software supports and data interaction, high in the clouds interaction realizes powerful function, and people can acquire information from wearable equipment anytime and anywhere, and these convenient powerful functions on the wearable equipment will bring very big transformation to people's life, perception. However, wearable devices are limited in their small size, small batteries, and thus limited in range. However, due to the defect of limited cruising ability, serious obstacles are brought to the development of wearable devices.
Therefore, the problem of limited cruising ability of the traditional wearable equipment is urgently needed to be solved.
Disclosure of Invention
The embodiment of the application provides a power saving control method and device, wearable equipment and a computer readable storage medium, which can save the electric quantity of the wearable equipment and prolong the service life of the wearable equipment.
A power saving control method, the method comprising:
acquiring the distance between the wearable device and the electronic device according to the Bluetooth signal received by the wearable device;
when the distance between the wearable device and the electronic device is smaller than a distance threshold, acquiring the residual electric quantity of the wearable device and the residual electric quantity of the electronic device;
and if the residual electric quantity of the wearable device is smaller than the residual electric quantity of the electronic device, determining that the electronic device is a currently-used device, and the currently-used device can support a preset function.
A power saving control apparatus, the apparatus comprising:
the distance acquisition module is used for acquiring the distance between the wearable device and the electronic device according to the Bluetooth signal received by the wearable device;
the residual electric quantity obtaining module is used for obtaining the residual electric quantity of the wearable device and the residual electric quantity of the electronic device when the distance between the wearable device and the electronic device is smaller than a distance threshold value;
and the current use equipment determining module is used for determining that the electronic equipment is the current use equipment if the residual electric quantity of the wearable equipment is less than the residual electric quantity of the electronic equipment, and the current use equipment can support a preset function.
A wearable device comprising a memory and a processor, the memory having stored therein a computer program, the computer program, when executed by the processor, causing the processor to perform the steps of the power saving control method as described above.
A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, implements the steps of the power saving control method as described above.
According to the power saving control method and device, the wearable device and the computer readable storage medium, the distance between the wearable device and the electronic device is acquired according to the Bluetooth signal received by the wearable device. When the distance between the wearable device and the electronic device is smaller than a distance threshold, the remaining capacity of the wearable device and the remaining capacity of the electronic device are obtained. If the residual capacity of the wearable device is smaller than the residual capacity of the electronic device, the electronic device is determined to be a current use device, and the current use device can support a preset function. Adopt bluetooth signal to calculate the distance between wearable equipment and the electronic equipment, the distance accuracy of calculating is higher. When the distance between the wearable device and the electronic device is less than the distance threshold, it is convenient for the user to use both devices at the same time. Then, if the remaining capacity of the wearable device is smaller than the remaining capacity of the electronic device, the electronic device is determined to be the current using device, and the current using device can support the preset function, so that the electric quantity of the wearable device can be saved while the preset function of the user is met, and the using time of the wearable device is prolonged.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of an exemplary power saving control method;
FIG. 2 is a flow chart of a power saving control method according to an embodiment;
fig. 3 is a flowchart of a method for acquiring a distance between the wearable device and the electronic device according to the bluetooth signal received by the wearable device in fig. 2;
fig. 4 is a flowchart of the intensity saving method for preprocessing the intensity of the bluetooth signal received by the wearable device to obtain a preprocessed bluetooth signal in fig. 3;
fig. 5 is a flowchart illustrating a method for preprocessing the intensity of the bluetooth signal received by the wearable device to obtain a preprocessed bluetooth signal intensity in another embodiment;
fig. 6 is a flowchart illustrating a method for detecting a remaining amount of a battery of a wearable device according to an embodiment;
FIG. 7 is a flowchart of a power saving control method according to another embodiment;
FIG. 8 is a flowchart of a power saving control method in an exemplary embodiment;
FIG. 9 is a block diagram of a power saving control apparatus according to an embodiment;
FIG. 10 is a block diagram of the distance acquisition module of FIG. 9;
fig. 11 is a schematic diagram of the internal structure of the wearable device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first system may be termed a second system, and, similarly, a second system may be termed a first system, without departing from the scope of the present application. Both the first system and the second system are systems, but they are not the same system.
Fig. 1 is a diagram illustrating an application scenario of a power saving control method according to an embodiment. As shown in fig. 1, the application environment includes a wearable device 120 and an electronic device 140. The wearable device 120 may obtain the distance between the wearable device and the electronic device according to the bluetooth signal received by the wearable device. When the distance between the wearable device and the electronic device is smaller than a distance threshold, the remaining capacity of the wearable device and the remaining capacity of the electronic device are obtained. And if the residual electric quantity of the wearable device is smaller than the residual electric quantity of the electronic device, determining that the electronic device is the current using device, and the current using device can support the preset function. It should be understood that the wearable device 120 is not limited to various wrist watch (including wrist watch and wrist band) products, foot shoes (including shoes, socks, or other leg wearing products in the future), head glasses (including glasses, helmets, headbands, etc.), smart clothes, schoolbag, crutch, accessories, etc. The electronic device 140 may not be limited to various mobile phones, tablet computers, and the like.
FIG. 2 is a flowchart illustrating a power saving control method according to an embodiment. The power saving control method in this embodiment is described by taking the wearable device 120 in fig. 1 as an example. As shown in fig. 2, the power saving control method includes steps 220 to 260. Wherein, the first and the second end of the pipe are connected with each other,
step 220, obtaining the distance between the wearable device and the electronic device according to the bluetooth signal received by the wearable device.
When wearable equipment and electronic equipment pair through the bluetooth, wearable equipment sends the bluetooth signal with electronic equipment and shakes hands, and after the success of shaking hands, then established the bluetooth and connected between wearable equipment and electronic equipment. Thus, data can be transmitted between the wearable device and the electronic device through Bluetooth. The wearable device receives the Bluetooth signal transmitted by the electronic device, and the distance between the wearable device and the electronic device can be calculated according to the intensity of the Bluetooth signal. Adopt bluetooth signal to calculate the distance between wearable equipment and the electronic equipment, the distance accuracy of calculating is higher.
In step 240, when the distance between the wearable device and the electronic device is smaller than the distance threshold, the remaining power of the wearable device and the remaining power of the electronic device are obtained.
Here, the distance threshold here refers to a distance between the wearable device and the electronic device when the user can conveniently use the two devices at the same time. While the distance of a bluetooth connection is typically about 30 feet (9 meters), two devices relying on a bluetooth connection beyond this distance will automatically disconnect. Therefore, the distance threshold here is generally a certain threshold smaller than 9 meters, and of course, the distance between the wearable device and the electronic device may also be given according to empirical values in the case that the user conveniently uses the two devices at the same time. Here, the application does not limit the specific value of the distance threshold.
After the distance between the wearable device and the electronic device is acquired according to the Bluetooth signal received by the wearable device, whether the distance between the wearable device and the electronic device is smaller than a distance threshold value is judged. If yes, acquiring the residual electric quantity of the wearable device and the residual electric quantity of the electronic device. The residual electric quantity of the wearable device can be obtained by periodically detecting the electric quantity detection module on the wearable device. The information corresponding to the residual capacity of the electronic equipment can be sent to the wearable equipment through the Bluetooth signal, so that the wearable equipment correspondingly acquires the residual capacity of the electronic equipment.
If the distance between the two devices is judged to be larger than or equal to the distance threshold value, the user is inconvenient to use the wearable device and the electronic device at the same time, namely the user is closer to one device, the distance between the user and the other device is farther, the user can only conveniently and timely use one device at the moment, and the device with the closer distance is generally the current using device no matter how much the residual electric quantity of the two devices is.
In step 260, if the remaining power of the wearable device is less than the remaining power of the electronic device, it is determined that the electronic device is a currently used device, and the currently used device can support a preset function.
When the distance between the two devices is smaller than the distance threshold, after the residual electric quantity of the wearable device and the residual electric quantity of the electronic device are obtained, if the residual electric quantity of the wearable device is smaller than the residual electric quantity of the electronic device, the electronic device is determined to be the current using device for normal use of a user. For example, if it is determined that the electronic device is a currently used device, the electronic device may support preset functions, which include call, e-mail, and short message functions. Namely, the user can use the electronic equipment to realize the communication functions of connecting a telephone, receiving and sending short messages, receiving and sending mails and the like.
Of course, if it is determined that the electronic device is the currently used device, if there is an incoming call, a response (e.g., ringing, vibrating, etc.) is made on the electronic device to remind the user to answer the call. While only incoming call notifications may be displayed on the wearable device and not provide the user with a response to answer (e.g., ring, vibrate, etc.). Therefore, the user answers the call on the electronic equipment according to the response, the wearable equipment is obviously not needed to answer the call, the electric quantity of the wearable equipment is saved, and the service life of the wearable equipment is prolonged.
In the embodiment of the application, the distance between the wearable device and the electronic device is acquired according to the Bluetooth signal received by the wearable device. When the distance between the wearable device and the electronic device is smaller than a distance threshold, the remaining capacity of the wearable device and the remaining capacity of the electronic device are obtained. If the residual capacity of the wearable device is smaller than the residual capacity of the electronic device, the electronic device is determined to be a current use device, and the current use device can support a preset function. Adopt bluetooth signal to calculate the distance between wearable equipment and the electronic equipment, the distance accuracy of calculating is higher. When the distance between the wearable device and the electronic device is less than the distance threshold, it is convenient for the user to use both devices at the same time. And then, if the residual capacity of the wearable device is smaller than the residual capacity of the electronic device, determining that the electronic device realizes the preset function for the current use device. The wearable device is not needed to realize the preset function, so that the electric quantity of the wearable device can be saved while the preset function is met, and the service life of the wearable device is prolonged.
In one embodiment, as shown in fig. 3, the step 220 of acquiring a distance between the wearable device and the electronic device according to the bluetooth signal received by the wearable device includes:
in step 222, the intensity of the bluetooth signal received by the wearable device within the preset time period is obtained.
The Strength of the bluetooth Signal can be represented by the Strength of the bluetooth Signal, and the Strength RSSI (Received Signal Strength Indicator) of the bluetooth Signal refers to the Strength indication of the Signal Received by bluetooth. The wearable device is generally worn on the user, and the electronic device may be on the user or placed beside the user. Therefore, the wearable device can continuously and correspondingly move along with the movement of the user. Then, the distance between the wearable device and the electronic device dynamically changes in real time. Because the distance between the wearable device and the electronic device dynamically changes in real time, if the distance between the wearable device and the electronic device is calculated by only using the bluetooth signal received at a certain moment, the accuracy of the calculation result is low. Therefore, the intensity of the bluetooth signal received by the wearable device within the preset time period needs to be acquired when the dynamic ranging is performed. And calculating the distance between the wearable device and the electronic device according to the intensity of the Bluetooth signal received by the wearable device in a preset time period.
Step 224, preprocessing the intensity of the bluetooth signal received by the wearable device to obtain the intensity of the preprocessed bluetooth signal.
The intensity of the Bluetooth signal received by the wearable device in the preset time period is preprocessed, and the intensity of the preprocessed Bluetooth signal is obtained. The preprocessing includes any one or more of noise removal, smoothing, weighting, and filtering according to the motion trend. The noise removal comprises filtering processing and the like, smoothing processing comprises modes of calculating an average value and the like, weighting processing comprises modes of respectively giving different weights to the Bluetooth signals and the like, and judgment according to the motion trend is carried out for filtering, and modes of filtering the Bluetooth signals which do not accord with the motion trend according to the motion trend and the like are carried out.
And step 226, calculating the distance between the wearable device and the electronic device according to the strength of the preprocessed Bluetooth signal.
After the intensity of the bluetooth signal received by the wearable device is preprocessed to obtain the intensity of the preprocessed bluetooth signal, the distance between the wearable device and the electronic device can be calculated according to the intensity of the preprocessed bluetooth signal, and the method and the device are not limited herein.
The strength RSSI of the Bluetooth signal is positively correlated with the distance between the receiving and sending devices to some extent, and the unit of the RSSI is Dbm. According to the strength RSSI of the Bluetooth signal, the formula for calculating the distance between the wearable device and the electronic device is as follows:
d=10^((abs(RSSI)-A)/(10*n)) (1-1)
wherein: d represents the calculated distance, RSSI represents the received Bluetooth signal strength (negative), A represents the signal strength at a distance of 1 meter between the transmitting end and the receiving end, and n represents the environmental attenuation factor.
The A value and the n value can be obtained only by field testing continuously, the environmental attenuation factors of different fields are different, and even the environmental attenuation factors are influenced to a great extent by the obstruction of objects in the same field. However, in the same field, the default values of the parameters a and n are generally set, so that the distance between the wearable device and the electronic device can be calculated according to the formula.
In the embodiment of the application, the intensity of the Bluetooth signal received by the wearable device in the preset time period is acquired, and the intensity of the Bluetooth signal received by the wearable device is preprocessed to obtain the intensity of the preprocessed Bluetooth signal. And calculating the distance between the wearable device and the electronic device according to the strength of the preprocessed Bluetooth signal. The wearable device can move correspondingly with the movement of the user, so that the distance between the wearable device and the electronic device can be dynamically changed in real time. When the distance between the wearable device and the electronic device is dynamically measured, the intensity of the bluetooth signal received by the wearable device within the preset time period needs to be obtained. Because the intensity of the bluetooth signal received by the wearable device in the preset time period may have an unstable problem, the stability of the intensity of the bluetooth signal is improved by adopting a preprocessing mode, and then the distance between the wearable device and the electronic device is calculated according to the intensity of the preprocessed bluetooth signal. Thereby, the accuracy of the calculated distance between the wearable device and the electronic device is improved.
In one embodiment, as shown in fig. 4, preprocessing the strength of the bluetooth signal received by the wearable device to obtain the strength of the preprocessed bluetooth signal includes:
step 224a, performing filtering processing on the intensity of the bluetooth signal received by the wearable device to obtain the intensity of the filtered bluetooth signal;
and step 224b, performing weighting processing on the intensity of the filtered bluetooth signal to obtain the intensity of the weighted bluetooth signal.
Specifically, firstly, the intensity of the bluetooth signal received by the wearable device is filtered to obtain the intensity of the filtered bluetooth signal. Here, the filtering process may be performed by calculating an average value, where the average value includes an arithmetic average value, a geometric average value, a square average value (root mean square average value), a harmonic average value, a weighted average value, and the like, and the present application is not limited thereto. Filtering may also be performed by using gaussian filtering, for example, smoothing the large value and the small value by using a gaussian blur algorithm. Here, the smoothing process may be performed by using a one-dimensional gaussian function, where the formula of the one-dimensional gaussian function is:
Figure BDA0002397397090000041
where μ is the mean of x and σ is the variance of x. Since the center point is the origin when calculating the average, μ is equal to 0. A two-dimensional Gaussian function can be obtained through derivation according to the one-dimensional Gaussian function, and based on the two-dimensional Gaussian function, the weight of each point can be calculated to obtain a weight matrix. Filtering can be achieved based on the weight matrix.
And secondly, weighting the intensity of the filtered Bluetooth signal to obtain the intensity of the weighted Bluetooth signal. The weighting process here may be a time weighting process, and the time weighting is a process in which a value closer to the current time is given a higher weight, whereas a value farther from the current time is given a lower weight, in the averaging process. For example, the sampling queue corresponding to the strength of the bluetooth signal is divided into a "current group" and a "past group" according to time, and the weight of the "current group" can be set to be 2 times that of the "past group", so that only one copy of the data in the "current group" is needed to be added into the sampling queue, and then the average value of the new sampling queue is calculated, so that the strength of the filtered bluetooth signal is weighted, and the strength of the weighted bluetooth signal is obtained.
In the embodiment of the application, when intensity of the Bluetooth signal received by the wearable device is preprocessed, firstly, filtering processing is performed on the intensity of the Bluetooth signal received by the wearable device, and the intensity of the filtered Bluetooth signal is obtained. The filtering process can improve the stability of the bluetooth signal strength. Secondly, the intensity of the filtered Bluetooth signal is weighted to obtain the intensity of the weighted Bluetooth signal, so that the problem of hysteresis caused by calculation of an average value in the filtering process can be solved. Therefore, accuracy of the intensity of the preprocessed Bluetooth signals is finally improved, and accuracy of the distance between the subsequent calculation wearable device and the electronic device is further improved.
In the last embodiment, as shown in fig. 5, after the weighting processing is performed on the intensity of the filtered bluetooth signal to obtain the intensity of the weighted bluetooth signal, the method includes:
and step 520, calculating the initial distance between the wearable device and the electronic device according to the intensity of the weighted Bluetooth signal.
And 540, judging the movement trend of the wearable device relative to the electronic device according to the initial distance between the wearable device and the electronic device to obtain a judgment result.
After the weighted bluetooth signal strengths in the sampling queue are obtained, an initial distance between the wearable device and the electronic device is calculated by using formula 1-1. And judging the movement trend of the wearable device relative to the electronic device according to the initial distance between the wearable device and the electronic device. Wherein the motion trend includes that the wearable device is approaching relative to the electronic device or that the wearable device is distancing relative to the electronic device. The movement trend of the wearable device relative to the electronic device can be judged by, for example, acquiring a maximum value and a minimum value from the initial distances of the sampling queue, and determining a first threshold value and a second threshold value according to the maximum value and the minimum value and all the initial distance data in the sampling queue. And defining all data with initial distance data larger than a first threshold value in the sampling queue as a large value, and defining data with initial distance data smaller than a second threshold value in the sampling queue as a small value. And the sum of the number of the data with larger value and smaller value can not exceed one half of the total length of the sampling queue. Then, if it is determined that the larger value is concentrated in the first third of the sampling queue, the wearable device is considered to be far away from the electronic device. If the small values are concentrated in the first third of the sampling queue, the wearable device is considered to be approaching relative to the electronic device. Of course, one third of these examples are merely examples, and the present application is not limited thereto. For example, if the maximum value of all the initial distance data in the sampling queue is 3 and the minimum value is 1. And determining that the first threshold is 2.9 and the second threshold is 1.1 according to the maximum value, the minimum value and all data in the sampling queue.
And step 560, acquiring the initial distance between the wearable device and the electronic device which accords with the judgment result.
If the movement trend is judged to be far away, a smaller value in the initial distance between the wearable device and the electronic device is filtered, and a larger value is filtered. The initial distance between the wearable device and the electronic device according with the judgment result is obtained.
And 580, calculating the distance between the wearable device and the electronic device according to the initial distance between the wearable device and the electronic device which meets the judgment result.
After the initial distance between the wearable device and the electronic device is filtered according to the judgment result of the movement trend, the final distance between the wearable device and the electronic device is obtained in a mean value calculation mode after the initial distance between the wearable device and the electronic device which accords with the judgment result is obtained.
In the embodiment of the application, when intensity of the Bluetooth signal received by the wearable device is preprocessed, firstly, filtering processing is performed on the intensity of the Bluetooth signal received by the wearable device, and the intensity of the filtered Bluetooth signal is obtained. And secondly, weighting the intensity of the filtered Bluetooth signal to obtain the intensity of the weighted Bluetooth signal. And finally, filtering the initial distance between the wearable device and the electronic device according to the judgment result of the motion trend of the wearable device relative to the electronic device, and obtaining the final distance between the wearable device and the electronic device by calculating an average value of the filtered initial distance. The processing of the initial distance according to the movement trend is combined with the filtering processing and the weighting processing, so that the situation that the data processing is too aggressive and sensitive due to the processing of the initial distance according to the movement trend can be avoided. Because motion has inertia, filtering data based on motion trends allows the data to be closer to reality and more sensitive to data response. Therefore, accuracy of the intensity of the preprocessed Bluetooth signals is finally improved, and accuracy of the distance between the subsequent calculation wearable device and the electronic device is further improved.
In one embodiment, the wearable device comprises a first system and a second system, wherein the first system can support the preset function, and the second system can not support the preset function; there is provided a power saving control method further comprising:
when the residual capacity of the wearable equipment is larger than a first residual capacity threshold value, the residual capacity of the wearable equipment is obtained again by adopting a first frequency;
when the residual capacity of the wearable device obtained by adopting the first frequency is smaller than or equal to a first residual capacity threshold value, starting to close the first system;
and in the process of closing the operation of the first system, acquiring the residual capacity of the wearable device by adopting a second frequency until the first system is closed, wherein the second frequency is higher than the first frequency.
The wearable device can simultaneously run a dual system, and the dual system comprises a first system and a second system. The first system may support the predetermined function and the second system may not support the predetermined function. The preset functions include communication functions such as conversation, mail receiving and sending, short message receiving and sending and the like.
Here, the first system may specifically refer to an Android system, an ios system, a symbian system, a Windows Phone system, or other systems that can operate on an electronic device or a wearable device and support communication functions including call, sending and receiving email, sending and receiving short message, and the like. The second system may not support communication functions including conversation, sending and receiving mails, sending and receiving short messages, and for the wearable device, the second system refers to a system which has low power consumption and only supports basic functions such as a basic clock and health detection, for example, an RTOS system. The first system generally runs on a Central Processing Unit (CPU), and the second system runs on a Micro Controller Unit (MCU). The MCU is obtained by appropriately reducing the frequency, specification, memory, etc. of the CPU, and therefore, the MCU is inferior to the CPU in performance and is also lower in power consumption.
Generally, the wearable device is operated with dual systems simultaneously, a first system can provide a user with multiple functions, and a second system can only maintain basic functions of the wearable device. Therefore, regardless of the power of the wearable device, the second system needs to be operated on the wearable device all the time, and when the power of the wearable device is insufficient, the first system can be turned off to achieve the effect of saving power.
For example, when the wearable device simultaneously runs an Android system and an RTOS system, the wearable device is in a Watch Mode (Watch Mode). And when the Android system is closed on the wearable device and only the RTOS system is operated, the wearable device is in a bracelet Mode (Twist Band Mode).
Specifically, the wearable device needs to count the remaining power, for example, an Analog-to-digital converter (ADC) is used to detect the battery voltage and convert the battery voltage into the remaining power of the battery. Therefore, there is provided a power saving control method further comprising: and when the residual capacity of the wearable device is larger than the first residual capacity threshold value, the residual capacity of the wearable device is obtained again by adopting the first frequency. When the residual capacity of the wearable device acquired by the first frequency is smaller than or equal to a first residual capacity threshold value, starting to close the first system. And in the process of closing the operation of the first system, acquiring the residual capacity of the wearable device by adopting a second frequency until the first system is closed, wherein the second frequency is higher than the first frequency.
In particular, the first remaining power threshold refers to the remaining power at which the wearable device has been unable to support simultaneous operation of the first system and the second system for a long period of time. The first remaining power threshold may be obtained by performing multiple tests on the wearable device, for example, the first remaining power threshold is set to be 10%, which is not specifically limited in this application. When the remaining capacity of the wearable device is greater than the first remaining capacity threshold value, it is indicated that the remaining capacity of the wearable device is still large, and therefore the remaining capacity of the wearable device is obtained again by adopting the first frequency. For example, the first frequency is 1 measurement every 30 minutes, and the time interval for measuring the remaining capacity using the first frequency is large.
Then, when the remaining capacity of the wearable device acquired by using the first frequency is less than or equal to the first remaining capacity threshold, it indicates that the wearable device cannot support the simultaneous operation of the first system and the second system for a long time, and therefore, the operation of shutting down the first system is started, and only the second system is kept to operate.
Because the remaining power of the wearable device is already less than or equal to the first remaining power threshold, the remaining power needs to be detected more frequently. Therefore, in the process of closing the operation of the first system, the second frequency is adopted to obtain the residual capacity of the wearable device until the first system is closed, and the second frequency is higher than the first frequency. For example, the second frequency is 1 measurement every 2 minutes. After the first system is turned off, since the power consumption of the second system is very small, the detection of the remaining power can be performed at a lower frequency than the first frequency.
Fig. 6 is a flowchart of a method for detecting a remaining amount of a battery of a wearable device, where the method includes:
step 602, receiving a minute message and counting (count);
step 604, judging whether the count (count) is greater than or equal to 30min or 2min, if not, returning to step 602, and if so, entering step 606;
step 606, detecting the battery voltage, and converting the battery voltage into battery percentage;
step 608, determining whether the battery percentage is less than 10%, if yes, entering step 610; if not, go to step 614;
step 610, starting the operation of closing the first system running on the CPU, immediately inquiring the electric quantity of the large-core battery after receiving the message (MSG _ FROM _ MCU _ ACTIVITY _ wake _ MAIN) that the MCU actively wakes up the CPU, and entering step 612;
step 612, judging whether a reply of the CPU is received, if yes, entering step 614; if not, go to step 616;
step 614, clearing the count (count);
step 616, determining whether the number of times of inquiring the electric quantity of the large core battery reaches 3 times, if so, entering step 618; if not, wait 20s and then enter step 610;
step 618 shuts down the CPU.
In an embodiment of the present application, a power saving control method is provided, which further includes: and when the residual capacity of the wearable device is larger than the first residual capacity threshold value, the residual capacity of the wearable device is obtained again by adopting the first frequency. When the remaining capacity of the wearable device acquired by the first frequency is less than or equal to a first remaining capacity threshold value, starting to shut down the first system. And in the process of closing the operation of the first system, acquiring the residual capacity of the wearable device by adopting a second frequency until the first system is closed, wherein the second frequency is higher than the first frequency. When the residual electric quantity of the wearable equipment is large, detecting the residual electric quantity by adopting low frequency; when the remaining power of the wearable device is low, the remaining power is detected with high frequency, and the first system with high power consumption is turned off. After the first system is closed, the wearable device only operates the second system, so that the electric quantity of the wearable device can be greatly saved, and the service life of the wearable device is prolonged.
In one embodiment, the wearable device includes a first system and a second system, the first system can support a preset function, and the second system can not support the preset function. As shown in fig. 7, there is provided a power saving control method including:
step 220, obtaining the distance between the wearable device and the electronic device according to the bluetooth signal received by the wearable device.
In step 240, when the distance between the wearable device and the electronic device is smaller than the distance threshold, the remaining power of the wearable device and the remaining power of the electronic device are obtained.
In step 260, if the remaining power of the wearable device is less than the remaining power of the electronic device, it is determined that the electronic device is a currently used device, and the currently used device can support a preset function.
Step 280, the first system in the wearable device is turned off.
The wearable device can simultaneously run double systems, and the double systems comprise a first system and a second system. The first system may support the predetermined function and the second system may not support the predetermined function. The preset functions include communication functions such as conversation, mail receiving and sending, short message receiving and sending and the like.
Here, the first system may specifically refer to an Android system, an ios system, a symbian system, a Windows Phone system, or other systems that can operate on an electronic device or a wearable device and support communication functions including call, sending and receiving email, sending and receiving short messages, and the like. The second system may not support communication functions including conversation, sending and receiving mails, sending and receiving short messages, and for the wearable device, the second system refers to a system which has low power consumption and only supports basic functions such as a basic clock and health detection, for example, an RTOS system. The first system generally runs on a Central Processing Unit (CPU), and the second system runs on a Micro Controller Unit (MCU). The MCU is obtained by appropriately reducing the frequency, specification, memory, etc. of the CPU, and therefore, the MCU is inferior to the CPU in performance and is also lower in power consumption.
Generally, the wearable device runs two systems simultaneously, a first system can provide a plurality of functions for a user, and a second system only maintains the basic functions of the wearable device. Therefore, regardless of the power of the wearable device, the second system needs to be operated on the wearable device all the time, and when the power of the wearable device is insufficient, the first system can be turned off to achieve the effect of saving power.
For example, when the wearable device simultaneously runs an Android system and an RTOS system, the wearable device is in Watch Mode (Watch Mode). And when the Android system is closed on the wearable device and only the RTOS system is operated, the wearable device is in a bracelet Mode (Twist Band Mode).
Specifically, the distance between the wearable device and the electronic device is obtained according to the Bluetooth signal received by the wearable device. When the distance between the wearable device and the electronic device is smaller than a distance threshold, the remaining capacity of the wearable device and the remaining capacity of the electronic device are obtained. If the residual capacity of the wearable device is smaller than the residual capacity of the electronic device, the electronic device is determined to be a current use device, and the current use device can support a preset function. At this time, since the wearable device is not required to support the preset function, the first system in the wearable device may be turned off, and only the second system is left to operate.
In this application embodiment, at first, adopt bluetooth signal to calculate the distance between wearable equipment and the electronic equipment, the distance accuracy of calculating is higher. When the distance between the wearable device and the electronic device is less than the distance threshold, it is convenient for the user to use both devices at the same time. Then, if the residual capacity of the wearable device is smaller than the residual capacity of the electronic device, the electronic device is determined to be the current using device, and the current using device can support the preset function, so that the user can use the preset function, meanwhile, the first system in the wearable device is closed, and only the second system is kept to operate. The electric quantity of the wearable equipment is greatly saved, and the service life of the wearable equipment is prolonged.
In one embodiment, a power saving control method is provided, further comprising:
if the residual electric quantity of the wearable device is larger than or equal to the residual electric quantity of the electronic device, the wearable device is determined to be the current using device, and the current using device can support the preset function.
Specifically, when the distance between the two devices is smaller than the distance threshold, after the remaining capacity of the wearable device and the remaining capacity of the electronic device are obtained, if the remaining capacity of the wearable device is smaller than the remaining capacity of the electronic device, it is determined that the electronic device is the currently-used device, so as to be normally used by the user. For example, if it is determined that the electronic device is a currently used device, the electronic device may support preset functions, which include call, e-mail, and short message functions. Namely, the user can use the electronic equipment to realize the communication functions of call connection, short message sending and receiving, mail sending and the like.
And if the residual electric quantity of the wearable equipment is larger than or equal to the residual electric quantity of the electronic equipment, determining that the wearable equipment is the currently used equipment, wherein the currently used equipment can support the preset function. The function of predetermineeing is realized by wearable equipment this moment promptly, and is the dual system of simultaneous operation on the wearable equipment, just can realize predetermineeing the function. And the remaining capacity of the wearable device should be greater than a first remaining capacity threshold, which refers to the remaining capacity of the wearable device that cannot support the simultaneous operation of the first system and the second system for a long time. The first remaining power threshold may be obtained by performing multiple tests on the wearable device, for example, the first remaining power threshold is set to be 10%, which is not specifically limited in this application.
In the embodiment of the application, when the distance between the two devices is smaller than the distance threshold, after the remaining power of the wearable device and the remaining power of the electronic device are obtained, if the remaining power of the wearable device is greater than or equal to the remaining power of the electronic device, it is determined that the wearable device is the currently-used device, and the currently-used device can support a preset function. The function of predetermineeing is realized by wearable equipment this moment promptly, just can realize satisfying the user and use when predetermineeing the function, saves electronic equipment's electric quantity, and the length of time of using of extension electronic equipment.
In one embodiment, the preset functions include functions of calling, sending and receiving mails, and sending and receiving short messages.
In the embodiment of the application, the wearable device can simultaneously run dual systems, and the dual systems comprise a first system and a second system. The first system may support the predetermined function and the second system may not support the predetermined function. The preset function is relative to the basic functions supported by the second system, the preset function comprises communication functions which can be realized on the first system, such as conversation, mail receiving and sending, short message receiving and sending and the like, and the basic functions comprise functions of clock, health detection and the like which are realized on the second system. The method comprises the steps of determining a currently used device according to the residual capacities of the electronic device and the wearable device, wherein the currently used device can support preset functions. Therefore, one of the two devices is selected as the current using device to realize the preset function, so that the electric quantity of the other device can be saved to a certain extent, and the using time length is prolonged.
In one embodiment, the wearable device can simultaneously run two systems, wherein the two systems comprise a first system and a second system. The first system may support the predetermined function and the second system may not support the predetermined function. The preset functions include communication functions such as conversation, mail receiving and sending, short message receiving and sending and the like.
Here, the first system may specifically refer to an Android system, an ios system, a symbian system, a Windows Phone system, or other systems that can operate on an electronic device or a wearable device and support communication functions including call, sending and receiving email, sending and receiving short messages, and the like. The second system may not support communication functions including conversation, sending and receiving mails, sending and receiving short messages, and for the wearable device, the second system refers to a system which has low power consumption and only supports basic functions such as a basic clock and health detection, for example, an RTOS system. The first system generally runs on a Central Processing Unit (CPU), and the second system runs on a Micro Controller Unit (MCU). The MCU is obtained by appropriately reducing the frequency, specification, memory, etc. of the CPU, and therefore, the MCU is inferior to the CPU in performance and is also lower in power consumption.
In a specific embodiment, as shown in fig. 8, a power saving control method is provided, which includes the following steps:
step 802, the wearable device receives a bluetooth signal sent by the electronic device;
step 804, acquiring a distance between the wearable device and the electronic device according to the bluetooth signal received by the wearable device;
step 806, determining whether the distance between the wearable device and the electronic device is less than a distance threshold; if yes, go to step 808; if not, go to step 810;
step 808, acquiring the remaining power of the wearable device and the remaining power of the electronic device, and entering step 812;
step 810, ending;
step 812, judging whether the residual electric quantity of the wearable device is smaller than the residual electric quantity of the electronic device; if yes, go to step 814; if not, go to step 816;
step 814, determining that the electronic device is a currently used device, and the currently used device can support a preset function, and closing a first system in the wearable device;
step 816; and determining that the wearable device is the current using device, wherein the current using device can support the preset function.
In this application embodiment, at first, adopt bluetooth signal to calculate the distance between wearable equipment and the electronic equipment, the distance accuracy of calculating is higher. When the distance between the wearable device and the electronic device is less than the distance threshold, it is convenient for the user to use both devices at the same time. Then, if the residual capacity of the wearable device is smaller than the residual capacity of the electronic device, the electronic device is determined to be the current using device, and the current using device can support the preset function, so that the user can use the preset function while the first system in the wearable device is closed, only the second system is kept running, the electric quantity of the wearable device is greatly saved, and the using duration of the wearable device is prolonged. Or the wearable device realizes the preset function, so that the electric quantity of the electronic device can be saved and the service life of the electronic device can be prolonged while the preset function is met for the user.
It should be understood that, although the steps in the flowchart of fig. 8 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in fig. 8 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 9, there is provided a power saving control apparatus 900, including:
the distance obtaining module 920 is configured to obtain a distance between the wearable device and the electronic device according to the bluetooth signal received by the wearable device;
a remaining power obtaining module 940, configured to obtain a remaining power of the wearable device and a remaining power of the electronic device when a distance between the wearable device and the electronic device is smaller than a distance threshold;
the currently-used device determining module 960 is configured to determine that the electronic device is a currently-used device if the remaining power of the wearable device is less than the remaining power of the electronic device, where the currently-used device may support a preset function.
In one embodiment, as shown in fig. 10, the distance obtaining module 920 includes:
the bluetooth signal strength acquiring unit 922 is configured to acquire strength of a bluetooth signal received by the wearable device within a preset time period;
the preprocessing unit 924 is configured to preprocess the intensity of the bluetooth signal received by the wearable device, so as to obtain the intensity of the preprocessed bluetooth signal;
a distance calculating unit 926, configured to calculate a distance between the wearable device and the electronic device according to the strength of the preprocessed bluetooth signal.
In an embodiment, the preprocessing unit 924 is further configured to perform filtering processing on the strength of the bluetooth signal received by the wearable device, so as to obtain the strength of the filtered bluetooth signal; and weighting the intensity of the filtered Bluetooth signal to obtain the intensity of the weighted Bluetooth signal.
In an embodiment, the preprocessing unit 924 is further configured to, after performing weighting processing on the strength of the filtered bluetooth signal to obtain the strength of the weighted bluetooth signal, include: calculating an initial distance between the wearable device and the electronic device according to the intensity of the weighted Bluetooth signal; judging the motion trend of the wearable device relative to the electronic device according to the initial distance between the wearable device and the electronic device to obtain a judgment result; acquiring an initial distance between the wearable device and the electronic device which accords with the judgment result; and calculating the distance between the wearable device and the electronic device according to the initial distance between the wearable device and the electronic device which accords with the judgment result.
In one embodiment, the wearable device comprises a first system and a second system, wherein the first system can support the preset function, and the second system can not support the preset function; there is provided a power saving control apparatus 900, further comprising: the wearable device residual capacity calculation module is used for acquiring the residual capacity of the wearable device again by adopting a first frequency when the residual capacity of the wearable device is larger than a first residual capacity threshold value; when the residual capacity of the wearable device obtained by adopting the first frequency is smaller than or equal to a first residual capacity threshold value, starting to close the first system; and in the process of closing the operation of the first system, acquiring the residual capacity of the wearable device by adopting a second frequency until the first system is closed, wherein the second frequency is higher than the first frequency.
In one embodiment, the wearable device comprises a first system and a second system, wherein the first system can support the preset function, and the second system can not support the preset function; the method further comprises the following steps: there is provided a power saving control apparatus 900, further comprising: the first system shutdown module is used for shutting down a first system in the wearable device.
In one embodiment, a power saving control apparatus 900 is provided, the apparatus further comprising: the currently-used device determining module 960 is further configured to determine that the wearable device is a currently-used device if the remaining power of the wearable device is greater than or equal to the remaining power of the electronic device, where the currently-used device may support a preset function.
In one embodiment, the preset functions include functions of calling, sending and receiving mails and sending short messages.
The division of each module in the power saving control device is only for illustration, and in other embodiments, the power saving control device may be divided into different modules as needed to complete all or part of the functions of the power saving control device.
For specific limitations of the power saving control apparatus, reference may be made to the above limitations of the power saving control method, which is not described herein again. The respective modules in the power saving control device described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
Fig. 11 is a schematic diagram of the internal structure of the wearable device in one embodiment. As shown in fig. 11, the wearable device includes a processor and a memory connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole wearable device. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor to implement a power saving control method provided in the following embodiments. The internal memory provides a cached operating environment for operating system computer programs in the non-volatile storage medium.
The implementation of each module in the power saving control device provided in the embodiments of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. Program modules comprising the computer program may be stored on a memory of the electronic device. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the power saving control method.
A computer program product containing instructions which, when run on a computer, cause the computer to perform a power saving control method.
Any reference to memory, storage, database, or other medium used by embodiments of the present application may include non-volatile and/or volatile memory. Suitable non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct bused dynamic RAM (DRDRAM), and Rambus Dynamic RAM (RDRAM).
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, and these are all within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A power saving control method is characterized in that a wearable device comprises a first system and a second system, wherein the first system can support a preset function, and the second system can not support the preset function; the method comprises the following steps:
acquiring the distance between the wearable device and the electronic device according to the Bluetooth signal received by the wearable device;
when the distance between the wearable device and the electronic device is smaller than a distance threshold, acquiring the residual electric quantity of the wearable device and the residual electric quantity of the electronic device;
if the residual capacity of the wearable device is smaller than the residual capacity of the electronic device, determining that the electronic device is a currently used device, and closing a first system in the wearable device; the currently used equipment can support the preset function;
when the residual capacity of the wearable equipment is larger than a first residual capacity threshold value, adopting a first frequency to obtain the residual capacity of the wearable equipment again;
when the residual capacity of the wearable device obtained by adopting the first frequency is less than or equal to the first residual capacity threshold value, starting to close the first system;
in the process of closing the operation of the first system, acquiring the residual capacity of the wearable device by adopting a second frequency until the first system is closed, wherein the second frequency is higher than the first frequency.
2. The method of claim 1, wherein the obtaining the distance between the wearable device and the electronic device according to the bluetooth signal received by the wearable device comprises:
acquiring the intensity of a Bluetooth signal received by the wearable device within a preset time period;
preprocessing the intensity of the Bluetooth signal received by the wearable device to obtain the intensity of the preprocessed Bluetooth signal;
and calculating the distance between the wearable device and the electronic device according to the strength of the preprocessed Bluetooth signal.
3. The method of claim 2, wherein the preprocessing the strength of the bluetooth signal received by the wearable device to obtain the preprocessed strength of the bluetooth signal comprises:
filtering the intensity of the Bluetooth signal received by the wearable device to obtain the intensity of the filtered Bluetooth signal;
and weighting the intensity of the filtered Bluetooth signal to obtain the intensity of the weighted Bluetooth signal.
4. The method according to claim 3, after weighting the strength of the filtered bluetooth signal to obtain the strength of the weighted bluetooth signal, comprising:
calculating an initial distance between the wearable device and the electronic device according to the intensity of the weighted Bluetooth signal;
judging the motion trend of the wearable device relative to the electronic device according to the initial distance between the wearable device and the electronic device to obtain a judgment result;
acquiring an initial distance between the wearable device and the electronic device according with the judgment result;
and calculating the distance between the wearable device and the electronic device according to the initial distance between the wearable device and the electronic device which accords with the judgment result.
5. The method of claim 4, wherein obtaining the initial distance between the wearable device and the electronic device that meets the determination comprises:
if the motion trend is judged to be far away, filtering a small value in the initial distance between the wearable device and the electronic device, otherwise, filtering a large value to obtain the initial distance between the wearable device and the electronic device which accords with the judgment result.
6. The method of claim 1, further comprising:
and if the residual capacity of the wearable device is greater than or equal to the residual capacity of the electronic device, determining that the wearable device is a current use device, wherein the current use device can support a preset function.
7. The method according to any one of claims 1 to 6, wherein the preset functions comprise functions of calling, sending and receiving mails, and sending and receiving short messages.
8. A power saving control device is characterized in that a wearable device comprises a first system and a second system, wherein the first system can support a preset function, and the second system can not support the preset function; the device comprises:
the distance acquisition module is used for acquiring the distance between the wearable device and the electronic device according to the Bluetooth signal received by the wearable device;
the residual electric quantity obtaining module is used for obtaining the residual electric quantity of the wearable device and the residual electric quantity of the electronic device when the distance between the wearable device and the electronic device is smaller than a distance threshold value;
the current-use equipment determining module is used for determining that the electronic equipment is current-use equipment and closing a first system in the wearable equipment if the residual electric quantity of the wearable equipment is smaller than the residual electric quantity of the electronic equipment; the currently used equipment can support the preset function;
when the residual capacity of the wearable equipment is larger than a first residual capacity threshold value, acquiring the residual capacity of the wearable equipment again by adopting a first frequency;
when the residual capacity of the wearable device acquired by the first frequency is less than or equal to the first residual capacity threshold value, starting to shut down the first system;
and in the process of closing the operation of the first system, acquiring the residual capacity of the wearable device by adopting a second frequency until the first system is closed, wherein the second frequency is higher than the first frequency.
9. A wearable device comprising a memory and a processor, the memory having stored therein a computer program, wherein the computer program, when executed by the processor, causes the processor to perform the steps of the power saving control method according to any one of claims 1 to 7.
10. A computer-readable storage medium on which a computer program is stored, the computer program realizing the steps of the power saving control method according to any one of claims 1 to 7 when executed by a processor.
CN202010136147.9A 2020-03-02 2020-03-02 Power saving control method and device, wearable device and computer-readable storage medium Active CN113423096B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010136147.9A CN113423096B (en) 2020-03-02 2020-03-02 Power saving control method and device, wearable device and computer-readable storage medium
PCT/CN2021/075185 WO2021175074A1 (en) 2020-03-02 2021-02-04 Power saving control method and apparatus, and wearable device and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010136147.9A CN113423096B (en) 2020-03-02 2020-03-02 Power saving control method and device, wearable device and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN113423096A CN113423096A (en) 2021-09-21
CN113423096B true CN113423096B (en) 2022-10-25

Family

ID=77612837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010136147.9A Active CN113423096B (en) 2020-03-02 2020-03-02 Power saving control method and device, wearable device and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN113423096B (en)
WO (1) WO2021175074A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114063188B (en) * 2021-10-14 2023-12-26 摩拜(北京)信息技术有限公司 Helmet wearing state acquisition method and device and readable storage medium
CN116381662A (en) * 2021-12-23 2023-07-04 中兴通讯股份有限公司 Auxiliary positioning method, equipment, system and computer storage medium
US20230418618A1 (en) * 2022-06-24 2023-12-28 Evga Corporation Computer intelligent switching system and method thereof
CN116224387B (en) * 2023-05-09 2023-07-07 深圳市易赛通信技术有限公司 Positioning method, device and equipment of wearable equipment and storage medium
CN116887388B (en) * 2023-09-06 2023-12-01 荣耀终端有限公司 Communication processing method, electronic device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106961659A (en) * 2017-03-16 2017-07-18 浙江成功软件开发有限公司 The bluetooth localization method of one species fingerprint
CN107197445A (en) * 2017-05-16 2017-09-22 北京千丁互联科技有限公司 Memory, blue-tooth intelligence terminal, distance calculating method and enabling control method
CN107221052A (en) * 2017-05-16 2017-09-29 北京千丁互联科技有限公司 Memory, blue-tooth intelligence terminal, distance calculating method and enabling control method
CN107677991A (en) * 2017-08-15 2018-02-09 广东南方数码科技股份有限公司 Indoor orientation method, electronic equipment based on power down signal source, storage medium
EP3373652A1 (en) * 2015-11-05 2018-09-12 Sony Corporation Electronic device and wireless communication method in wireless communication system
WO2018184096A1 (en) * 2017-04-07 2018-10-11 Fathom Systems Inc. System and method of generating observations for radio beacon travel path determination
CN108900964A (en) * 2018-06-07 2018-11-27 安徽融合智能科技有限公司 Intelligent switch device and control method based on bluetooth ranging
CN108924364A (en) * 2018-07-20 2018-11-30 努比亚技术有限公司 Message prompt method, mobile terminal and computer readable storage medium
CN110386107A (en) * 2018-04-20 2019-10-29 比亚迪股份有限公司 Vehicle and its unlocking method, tripper

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107734487B (en) * 2014-07-14 2020-03-27 华为技术有限公司 Method for controlling wearable electronic equipment, central device and equipment
KR102459543B1 (en) * 2015-10-16 2022-10-27 삼성전자주식회사 Communication method and device for a wearable device in a wireless communication system
CN108983951A (en) * 2018-07-18 2018-12-11 捷德(中国)信息科技有限公司 Function control method, device, equipment, storage medium and wearable device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3373652A1 (en) * 2015-11-05 2018-09-12 Sony Corporation Electronic device and wireless communication method in wireless communication system
CN106961659A (en) * 2017-03-16 2017-07-18 浙江成功软件开发有限公司 The bluetooth localization method of one species fingerprint
WO2018184096A1 (en) * 2017-04-07 2018-10-11 Fathom Systems Inc. System and method of generating observations for radio beacon travel path determination
CN107197445A (en) * 2017-05-16 2017-09-22 北京千丁互联科技有限公司 Memory, blue-tooth intelligence terminal, distance calculating method and enabling control method
CN107221052A (en) * 2017-05-16 2017-09-29 北京千丁互联科技有限公司 Memory, blue-tooth intelligence terminal, distance calculating method and enabling control method
CN107677991A (en) * 2017-08-15 2018-02-09 广东南方数码科技股份有限公司 Indoor orientation method, electronic equipment based on power down signal source, storage medium
CN110386107A (en) * 2018-04-20 2019-10-29 比亚迪股份有限公司 Vehicle and its unlocking method, tripper
CN108900964A (en) * 2018-06-07 2018-11-27 安徽融合智能科技有限公司 Intelligent switch device and control method based on bluetooth ranging
CN108924364A (en) * 2018-07-20 2018-11-30 努比亚技术有限公司 Message prompt method, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN113423096A (en) 2021-09-21
WO2021175074A1 (en) 2021-09-10

Similar Documents

Publication Publication Date Title
CN113423096B (en) Power saving control method and device, wearable device and computer-readable storage medium
US11039004B1 (en) Method and apparatus for automatically setting alarms and notifications
US10382615B2 (en) Intelligent alerting method, terminal, wearable device, and system
CN107728790B (en) Screen display method and device, mobile terminal and storage medium
CN106556424B (en) A kind of intelligence wearable device and its energy-saving operating method
US9210566B2 (en) Method and apparatus for automatically adjusting the operation of notifications based on changes in physical activity level
CN105830016B (en) Power management method and power management device for user equipment
CN113055530B (en) Mode switching method and device
CN203588195U (en) Wearable computing device with adjacency distance sensor
CA2859140A1 (en) Method, monitoring system and computer program for monitoring use of an absorbent product
US20110092157A1 (en) Device Wearing Status Determination Using RSSI
CN104040942A (en) Server-side rate-limiting algorithms for piggybacking social updates for mobile devices
EP2728442A1 (en) Method and device for controlling central processing unit
CN113543098B (en) Bluetooth-based mobile terminal distance reminding method, device, terminal and medium
CN108108090B (en) Communication message reminding method and device
CN107155211B (en) WiFi transmission power adjusting method and device, mobile terminal and storage medium
CN109782640A (en) A kind of wearable device and the control device based on wearing state
CN108279019B (en) Step counting method and device and intelligent wearable device
WO2018121337A1 (en) Method and apparatus for reminder message
CN104665837B (en) For reminding wearer to reinforce the device and its control method of neck movement
CN105404483A (en) Communication management method and system between electronic device and wearable electronic device
CN208223542U (en) A kind of construction site environmental monitoring system
CN105759975B (en) A kind of Intelligent bracelet loses reminding method and device
CN209199596U (en) Earphone as interactive voice terminal
Sarker et al. Tradeoffs between sensing quality and energy efficiency for context monitoring applications

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