CN114967897A - Power consumption optimization method and device and mobile terminal - Google Patents

Power consumption optimization method and device and mobile terminal Download PDF

Info

Publication number
CN114967897A
CN114967897A CN202110191779.XA CN202110191779A CN114967897A CN 114967897 A CN114967897 A CN 114967897A CN 202110191779 A CN202110191779 A CN 202110191779A CN 114967897 A CN114967897 A CN 114967897A
Authority
CN
China
Prior art keywords
monitoring period
power consumption
period
sleep
user
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.)
Pending
Application number
CN202110191779.XA
Other languages
Chinese (zh)
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.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen 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 Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN202110191779.XA priority Critical patent/CN114967897A/en
Publication of CN114967897A publication Critical patent/CN114967897A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • 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)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a power consumption optimization method, a power consumption optimization device and a mobile terminal, wherein the method comprises the following steps: determining sleep stages of a previous monitoring period and a current monitoring period respectively according to user body state data acquired from wearable equipment; determining the sleep stage switching condition of the current user according to the sleep stage of the last monitoring period and the sleep stage of the current monitoring period; determining target power consumption optimization adjustment operation corresponding to the sleep stage switching condition of the current user according to a corresponding relation between the sleep stage switching condition and power consumption optimization adjustment operation which is acquired in advance; and executing the target power consumption optimization adjustment operation. According to the power consumption optimization scheme, the wearable equipment is used for acquiring the body state data of the user through the mobile terminal, the sleep stage switching condition is determined according to the body state data of the user, the power consumption of the mobile terminal is dynamically optimized according to the sleep stage switching condition, and the power consumption optimization effect of the mobile terminal can be improved.

Description

Power consumption optimization method and device and mobile terminal
Technical Field
The invention relates to the field of human-computer interaction, in particular to a power consumption optimization method and device and a mobile terminal.
Background
The conventional android (android) system realizes standby power consumption optimization, and mainly determines whether a mobile phone enters a low power consumption standby (doze state) mode by judging the conditions of a screen on/off state of the mobile phone, whether the mobile phone is charging or not and the like. The method comprises the steps of judging whether the mobile phone is in a standing state or not by monitoring gyroscope data of the mobile phone, Positioning position information of the mobile phone by a Global Positioning System (GPS) to determine the motion state of the mobile phone, and entering different low power consumption modes according to different states and state duration of the mobile phone. The existing android system has the problems of low entering speed and high standby environment requirement in the standby power consumption optimization process. In other prior art, a plurality of historical data of the long-time screen off of the mobile phone are recorded, the daily sleep time of the user is estimated, and a corresponding power consumption optimization scheme is executed within the estimated sleep time. When the conventional android system executes a corresponding power consumption optimization process in the sleep time of a user, the user is not in regular sleep or wakes up temporarily to use a mobile phone, and the power consumption optimization process is difficult to enter a power consumption saving mode again after being played. In summary, the prior art has a problem that the power consumption optimization effect of the mobile terminal is poor.
Disclosure of Invention
In order to solve the technical problem, embodiments of the present invention provide a power consumption optimization method, apparatus, and mobile terminal.
In a first aspect, an embodiment of the present invention provides a power consumption optimization method, which is applied to a mobile terminal, and the method includes:
determining sleep stages of a previous monitoring period and a current monitoring period respectively according to user body state data acquired from wearable equipment;
determining the sleep stage switching condition of the current user according to the sleep stage of the last monitoring period and the sleep stage of the current monitoring period;
determining target power consumption optimization adjustment operation corresponding to the sleep stage switching condition of the current user according to a corresponding relation between the sleep stage switching condition and power consumption optimization adjustment operation which is acquired in advance;
and executing the target power consumption optimization adjustment operation.
In a second aspect, an embodiment of the present invention provides a power consumption optimization apparatus, which is applied to a mobile terminal, and the apparatus includes:
the receiving module is used for respectively determining sleep stages of a last monitoring period and a current monitoring period according to body state data of a user acquired from the wearable device;
the first determining module is used for determining the sleep stage switching condition of the current user according to the sleep stage of the last monitoring period and the sleep stage of the current monitoring period;
the second determining module is used for determining target power consumption optimization adjustment operation corresponding to the sleep stage switching condition of the current user according to the corresponding relation between the sleep stage switching condition and the power consumption optimization adjustment operation which is acquired in advance;
and the execution module is used for executing the target power consumption optimization and adjustment operation.
In a third aspect, an embodiment of the present invention provides a mobile terminal, which includes a memory and a processor, where the memory stores a computer program, and the computer program executes the power consumption optimization method provided in the first aspect when the processor runs.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores a computer program, and when the computer program runs on a processor, the computer program performs the power consumption optimization method provided in the first aspect.
According to the power consumption optimization method provided by the application, the sleep stages of the last monitoring period and the current monitoring period are respectively determined according to the body state data of the user, which is acquired from the wearable device; determining the sleep stage switching condition of the current user according to the sleep stage of the last monitoring period and the sleep stage of the current monitoring period; determining target power consumption optimization adjustment operation corresponding to the sleep stage switching condition of the current user according to a corresponding relation between the sleep stage switching condition and power consumption optimization adjustment operation which is acquired in advance; and executing the target power consumption optimization adjustment operation. According to the power consumption optimization scheme, the mobile terminal acquires the body state data of the user by using the wearable device, the sleep stage switching condition is determined according to the body state data of the user, the power consumption of the mobile terminal is dynamically optimized according to the sleep stage switching condition, and the power consumption optimization effect of the mobile terminal can be improved.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings required in the embodiments will be briefly described below, and it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope of the present invention. Like components are numbered similarly in the various figures.
FIG. 1 shows a schematic diagram of a sleep cycle provided herein;
FIG. 2 is a flow chart of a power consumption optimization method provided herein;
fig. 3 shows a schematic diagram of communication connection between a wearable device and a mobile terminal provided in the present application;
FIG. 4 illustrates another flow chart of a power consumption optimization method provided herein;
FIG. 5 illustrates another flow chart of a power consumption optimization method provided herein;
FIG. 6 is a block diagram of a power consumption optimization apparatus provided herein;
fig. 7 shows a structural diagram of a mobile terminal provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments.
The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, the terms "including", "having", and their derivatives, which may be used in various embodiments of the present invention, are only intended to indicate specific features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the existence of, or adding to, one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used solely to distinguish one from another, and are not to be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present invention belong. The terms (such as those defined in commonly used dictionaries) should be interpreted as having a meaning that is consistent with their contextual meaning in the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in various embodiments of the present invention.
Example 1
Referring to fig. 1, fig. 1 shows an illustration of a sleep cycle as provided herein. As shown in fig. 1, the sleep cycle of the user includes a plurality of sleep stages, the initial stage is a wake-up device, the first sleep stage is a sleep-in period, the second sleep stage is a light sleep period, the third sleep stage is a deep sleep period, which may also be called a deep sleep period to avoid confusion, collectively called a deep sleep period, and the fourth sleep stage is a rapid eye movement period. The user may have approximately 4-5 sleep cycles per night, each sleep cycle being approximately 90-100 minutes. The rapid eye movement device can enter the waking device in sleep period, light sleep period and rapid eye movement, and the waking device can get up.
In other embodiments, the multiple stages of the user's sleep cycle may include: waking period, light sleep period, and deep sleep period. The sleep cycle of the user may have different sleep stages according to different division criteria, which is not limited herein.
Referring to fig. 2, fig. 2 shows a flow chart of a power consumption optimization method provided by the present application, and the power consumption optimization method is described below with reference to fig. 1 and fig. 2.
Step S101, determining sleep stages of a previous monitoring period and a current monitoring period respectively according to body state data of a user acquired from wearable equipment.
In this embodiment, the user physical state data includes at least one of: user vital sign information, user posture information and user sleep state information.
In this embodiment, the wearable device may be a portable device worn directly on the body, or integrated into the user's clothing or accessory. Wearable equipment can carry out data interaction for intelligent bracelet, intelligent glasses etc. through bluetooth module, wiFi module and terminal equipment, server etc..
Referring to fig. 3, fig. 3 is a schematic diagram illustrating a communication connection between a wearable device and a mobile terminal. Wearable device 10 includes bluetooth module, gesture detection sensor, electrocardio monitoring sensor, blood oxygen sensor etc. through gesture detection sensor collection user attitude information, through electrocardio monitoring sensor collection heart rate information, through blood oxygen sensor collection blood oxygen information, user vital signs information can include heart rate information, blood oxygen information, pulse information etc.. The wearable device 10 may transmit user gesture information, user vital sign information, etc. to the mobile terminal 20. The wearable device 10 may also determine user sleep information according to the user posture information and the user vital sign information, and transmit the user sleep information to the mobile terminal 20.
The mobile terminal 20 includes a bluetooth module, and the bluetooth module can receive the body state data of the user transmitted by the wearable device. The standby power service (standby power service) module of the mobile terminal 20 matches different power consumption optimization schemes according to the body state data of the user, and writes related state information of a low power consumption (doze) mode through a device low power consumption controller (devicedecontroller) of the android system. It should be noted that the mobile terminal 20 may be a smart phone, and the wearable device may be bluetooth-matched with the smart phone. The standby power service module may exist in the mobile terminal 20 as a system application (application) or a system service, and may transmit a standby (idle) state switching command through a broadcast and system interface.
Optionally, step S101 includes:
determining sleep stages of a previous monitoring period and a current monitoring period according to the sleep information of the user in the previous monitoring period and the current monitoring period respectively under the condition that the body state data of the user comprises the sleep information of the user in the previous monitoring period and the current monitoring period; or,
under the condition that the body state data of the user comprise the vital sign data of the user in the previous monitoring period and the current monitoring period, respectively determining sleep stages corresponding to the vital sign data of the user in the previous monitoring period and the current monitoring period according to the corresponding relation between the vital sign data and the sleep stages which are acquired in advance; or,
and under the condition that the body state data of the user comprises user posture information of a previous monitoring period and a current monitoring period, respectively determining sleep stages corresponding to the user posture information of the previous monitoring period and the current monitoring period according to a corresponding relation between the user posture and the sleep stages acquired in advance.
Therefore, the mobile terminal can calculate the sleep stage of the user through the sleep information of the user, the vital sign data of the user and the posture information of the user, and accuracy of determining the sleep stage of the user is improved.
Optionally, the obtaining of the corresponding relationship between the vital sign data and the sleep stage includes:
dividing a vital sign numerical range for a sleep stage according to the historical data of the vital signs of the user; or,
acquiring reference vital sign data of a user in a daytime preset period, and calculating a vital sign data range of a sleep stage according to the reference vital sign data and a sleep state adjustment factor;
and determining the corresponding relation between the vital sign data and the sleep stage according to the vital sign data range and the sleep stage.
For example, vital sign data such as pulse, respiratory rate, blood oxygen concentration, etc. may be divided into corresponding predetermined interval ranges according to different sleep stages, and may be divided according to historical data of a human body, which is not limited herein. For example, the breathing rate in the light sleep period is a first preset interval, and the breathing rate in the deep sleep period is a second preset interval. The method includes the steps that user vital sign data monitored at 10 am in the daytime can be used as reference vital sign data to represent vital sign data corresponding to a user in a waking period, a sleep state adjusting factor is determined according to a life operation rule of a sleep state and a waking state of a human body, for example, the sleep state adjusting factor is a percentage range of vital sign data of different sleep stages relative to the reference vital sign data, and the percentage range is multiplied by the reference vital sign data to obtain vital sign data ranges corresponding to the different sleep stages.
Therefore, the corresponding relation between the vital sign data and the sleep stage can be automatically generated, and the accuracy of the corresponding relation between the vital sign data and the sleep stage is high.
And step S102, determining the sleep stage switching condition of the current user according to the sleep stage of the last monitoring period and the sleep stage of the current monitoring period.
In this embodiment, the sleep stage switching situation may be switching from the awake stage to the sleep stage, switching from the sleep stage to the deep sleep stage, switching from the deep sleep stage to the rapid eye movement stage, switching from any sleep stage to the awake stage, and the like, which is not limited herein.
Step S103, determining a target power consumption optimization adjustment operation corresponding to the sleep stage switching condition of the current user according to a pre-acquired corresponding relationship between the sleep stage switching condition and the power consumption optimization adjustment operation.
Optionally, the target power consumption optimization adjustment operation includes at least one of the following operations:
switching to or maintaining a mild low power mode;
switching to or maintaining a severe low power mode;
starting or closing an optimal power consumption optimization mode, and closing at least one of a network function, a near field communication function, a positioning function and a system notification function when the optimal power consumption optimization mode is in an open state;
and closing the currently running application program.
In this embodiment, the mobile terminal is equipped with an Android system, the Android system is provided with a low power consumption (doze) mode, and in the doze mode, a standby power consumption optimization mechanism is set, so that during the screen-off standby period, related background applications are limited. After the mobile terminal starts the doze mode, the mobile terminal is continuously kept in the doze mode as long as the screen is extinguished, is static and is not inserted with a charger.
The doze mode includes a light power down (light doze) mode and a deep power down (deep doze) mode. Mild low power mode: and when the mobile terminal is turned off and does not operate for a period of time, entering a light low-power mode. In the light low power consumption mode, if the mobile terminal does not move or operate for a period of time, the mobile terminal enters the heavy low power consumption mode, and in the heavy low power consumption mode, further power consumption limitation is performed, for example, non-white list application access to the network is limited, wake locks (wakelocks) held by the application are ignored, a standard alarm clock (alarm manager) is turned off, processing is delayed to the next low power consumption (doze) window period, wireless network (WiFi) scanning is not performed, the system does not allow asynchronous Adapters (Adapters) to run, and does not allow (act as a scheduler) JobScheduler to run, etc.
Optionally, the correspondence between the sleep stage handover condition and the power consumption optimization adjustment operation includes:
closing the optimal power consumption optimization mode under the condition that the previous monitoring period is in the waking period;
switching from the waking period of the last monitoring period to the falling-asleep period of the current monitoring period, or switching to a light low-power mode if the last monitoring period and the current monitoring period are both in the falling-asleep period and are in a bright screen state; if the mobile terminal is in the screen-off state, switching to or keeping a light low-power-consumption mode; if the mobile terminal is in the screen-off or screen-on state, closing the currently running application program;
switching to or keeping a light low-power consumption mode when switching from the sleep-in period of the last monitoring period to the light sleep period of the current monitoring period, or when both the last monitoring period and the current monitoring period are the light sleep periods;
under the condition of switching from the rapid eye movement period of the last monitoring period to the shallow sleep period of the current monitoring period, switching to or maintaining a severe low power consumption mode, and starting the optimal power consumption optimization mode;
under the condition of switching from the light sleep period of the last monitoring period to the deep sleep period of the current monitoring period, if the monitoring device is in a light low-power-consumption mode, switching to a heavy low-power-consumption mode, and starting the optimal power-consumption optimization mode; if the power supply is not in the light low-power-consumption mode and is not in the severe low-power-consumption mode, switching to the light low-power-consumption mode;
under the condition that the last monitoring period and the current monitoring period are both deep sleep periods, switching to a severe low power consumption mode, and starting the optimal power consumption optimization mode;
under the condition of switching from the waking period or the rapid eye movement period of the last monitoring period to the deep sleep period of the current monitoring period, if the monitoring period is in a mild low-power-consumption mode, switching to a severe low-power-consumption mode, and starting the optimal power-consumption optimization mode; if the power supply is not in the light low power consumption mode, switching to the light low power consumption mode;
under the condition that the current monitoring period is a rapid eye movement period, switching to a severe low power consumption mode, and closing the optimal power consumption optimization mode;
under the condition of switching from the waking period of the last monitoring period to the light sleep period of the current monitoring period, switching from the waking period of the last monitoring period and the current monitoring period to both the light sleep period, or switching from the waking period of the last monitoring period to the deep sleep period of the current monitoring period, if the monitoring period is in a screen-off state, switching to or keeping in a light low-power-consumption mode, and if the monitoring period is in a heavy low-power-consumption mode, keeping in the heavy low-power-consumption mode.
The following is a description of the sleep stage case. In the present embodiment, the awake period is defined as STATE0, the sleep onset period is defined as STATE1, the light sleep period is defined as STATE2, the deep sleep period is defined as STATE3, and the rapid eye movement period is defined as STATE 4. The wearable device issues the body state data of the user to the mobile terminal through the Bluetooth module at intervals, and the body state data of the user can be the five detected sleep stages of the user. The mobile terminal records the received information, compares the last user body state data with the current user body state data, and can generate various user sleep stage switching conditions, and the related descriptions of the user sleep stage switching conditions and the corresponding power consumption optimization adjustment operations can refer to the following table.
Figure BDA0002944690190000101
Figure BDA0002944690190000111
After the standby power service module of the mobile terminal 20 determines the sleep stage switching condition of the user, the relevant power consumption optimization adjustment operation is performed according to the corresponding relationship between the sleep stage switching condition and the power consumption optimization adjustment operation.
The power consumption optimization adjustment operation comprises quick switching of a light low-power mode and a heavy low-power mode, the standby power supply service module is communicated with the equipment low-power controller to control switching of the light low-power mode and the heavy low-power mode, the power consumption optimization adjustment operation comprises starting or closing the optimal power consumption optimization mode, when the optimal power consumption optimization mode is started, data connection, a WiFi function, an NFC function, a GPS function, a notification state lamp is closed, network sharing and the like are closed, and power consumption is reduced to a large extent.
And step S104, executing the target power consumption optimization adjustment operation.
For example, a user starts a video application program to watch videos or starts an audio application program to listen to music at night, if the user is determined to switch from the waking period of the last monitoring period to the falling asleep period of the current monitoring period according to the body state data of the user, or both the previous monitoring period and the current monitoring period are the falling asleep periods, when the mobile terminal is in a bright screen state, the screen is turned off, and the mobile terminal is switched to a light low power consumption mode; when the mobile terminal is in the screen off state, switching to or keeping the light low-power-consumption mode; if the screen is in the screen-off state, closing the currently running audio application program, and if the screen is in the screen-on state, closing the currently running video application program.
In this embodiment, through wearable equipment's sleep monitor function, acquire user's health data from wearable equipment, realize the automatic screen extinguishing, get into the doze state more fast to and start the best power consumption optimization mode, even user sleep time is irregular, also can carry out the power consumption optimization according to the user's health data that wearable equipment returned, ensure effectively that the user reduces the mobile terminal consumption when not using mobile terminal in the sleep, improve mobile terminal's power consumption optimization effect.
Optionally, before step S101, the method further includes:
receiving user body state data from the wearable device every the monitoring period.
Referring again to fig. 2, the mobile terminal 20 receives the user body state data from the wearable device 10 through the bluetooth module interval monitoring period.
Optionally, referring to fig. 4, before step S101, the method further includes:
step S105, sending a request instruction to the wearable device every other monitoring period, wherein the request instruction is used for instructing the wearable device to feed back user body state data in the monitoring period.
Step S106, receiving the body state data of the user in the monitoring period from the wearable device.
Referring to fig. 2 again, the mobile terminal 20 sends a request instruction to the wearable device 10 every other monitoring period through the bluetooth module, where the request instruction is used to instruct the wearable device 10 to feed back user body state data in the monitoring period, where the user body state data includes at least one of user vital sign information, user posture information, and user sleep state information. The mobile terminal 20 receives the user body state data in the monitoring period through the bluetooth module.
In this way, the mobile terminal 20 can obtain the body state data of the user in the monitoring period, which is convenient for performing power consumption optimization management on the mobile terminal according to the body state data of the user.
Optionally, referring to fig. 5, obtaining a corresponding relationship between the sleep stage switching condition and the power consumption optimization adjustment operation includes:
step S107, receiving a sleep stage switching condition input by a user, and receiving power consumption optimization adjustment operation correspondingly set by the user according to the input sleep stage switching condition, wherein the power consumption optimization adjustment operation comprises the step of closing the target function module.
Step S108, generating a corresponding relation between the sleep stage switching condition and the power consumption adjusting operation according to the received sleep stage switching condition and the set power consumption optimizing adjusting operation.
For example, the user can perform custom setting on the sleep stage switching condition, and set the corresponding power consumption optimization scheme for the sleep stage switching condition, that is, the user can set the corresponding power consumption optimization scheme according to the sleep stage and the habit of the user. For example, the sleep stage switching situation set by the user may be switching from a wake period to a sleep period, switching from a sleep period to a deep sleep period, switching from a deep sleep period to a rapid eye movement period, and switching from an arbitrary sleep stage to a wake period. For example, the user may set the network function, the positioning function, the video playing function, and the audio playing function of the mobile terminal to be turned off for switching from the awake period to the sleep period. The user can set the network function, the positioning function, the video playing function, the audio playing function, the Bluetooth function and the near field communication function of the mobile terminal to be switched from the sleep time to the deep sleep time. The user can set the network function and the positioning function of the mobile terminal to be closed when the user switches from the deep sleep period to the rapid eye movement period. The user may set the positioning function of the mobile terminal to be switched off for switching from any sleep stage to the awake stage. And the standby power supply service module stores the setting of the user and stores the setting into a database.
Therefore, the user can set power consumption optimization adjustment operation according to the sleep stage and habit of the user, the power consumption optimization adjustment operation can set and close a plurality of functional modules according to the self requirement of the user, the power consumption is reduced, the requirement of the user is met, and the user experience is improved.
According to the power consumption optimization method, the sleep stages of the last monitoring period and the current monitoring period are respectively determined according to the body state data of the user, which is acquired from the wearable device; determining the sleep stage switching condition of the current user according to the sleep stage of the last monitoring period and the sleep stage of the current monitoring period; determining target power consumption optimization adjustment operation corresponding to the sleep stage switching condition of the current user according to a corresponding relation between the sleep stage switching condition and power consumption optimization adjustment operation which is acquired in advance; and executing the target power consumption optimization adjustment operation. According to the power consumption optimization scheme, the mobile terminal acquires the body state data of the user by using the wearable device, the sleep stage switching condition is determined according to the body state data of the user, the power consumption of the mobile terminal is dynamically optimized according to the sleep stage switching condition, and the power consumption optimization effect of the mobile terminal can be improved.
Example 2
Referring to fig. 6, fig. 6 is a diagram illustrating a structure of a power consumption optimization apparatus provided in the present application.
In addition, the embodiment of the disclosure provides a power consumption optimization device, which is applied to a mobile terminal.
Specifically, as shown in fig. 6, the power consumption optimization apparatus 600 includes:
the receiving module 601 is configured to determine sleep stages of a previous monitoring cycle and a current monitoring cycle respectively according to user body state data acquired from the wearable device;
a first determining module 602, configured to determine a sleep stage switching condition of a current user according to a sleep stage of the previous monitoring period and a sleep stage of a current monitoring period;
a second determining module 603, configured to determine, according to a correspondence relationship between a sleep stage switching condition and a power consumption optimization adjustment operation obtained in advance, a target power consumption optimization adjustment operation corresponding to the sleep stage switching condition of the current user;
an executing module 604, configured to execute the target power consumption optimization adjustment operation.
Optionally, the receiving module 601 is configured to determine sleep stages of a previous monitoring period and a current monitoring period according to the sleep information of the user in the previous monitoring period and the sleep information of the user in the current monitoring period, respectively, when the body state data of the user includes the sleep information of the user in the previous monitoring period and the sleep information of the user in the current monitoring period; or,
under the condition that the body state data of the user comprise the vital sign data of the user in the previous monitoring period and the current monitoring period, respectively determining sleep stages corresponding to the vital sign data of the user in the previous monitoring period and the current monitoring period according to the corresponding relation between the vital sign data and the sleep stages which are acquired in advance; or,
and under the condition that the body state data of the user comprises user posture information of a previous monitoring period and a current monitoring period, respectively determining sleep stages corresponding to the user posture information of the previous monitoring period and the current monitoring period according to a corresponding relation between the user posture and the sleep stages acquired in advance.
Optionally, the power consumption optimizing apparatus 600 further includes:
the acquisition module is used for dividing the range of the vital sign numerical value of the sleep stage according to the historical data of the vital sign of the user; or,
acquiring reference vital sign data of a user in a daytime preset period, and calculating a vital sign data range of a sleep stage according to the reference vital sign data and a sleep state adjustment factor;
and determining the corresponding relation between the vital sign data and the sleep stage according to the vital sign data range and the sleep stage.
Optionally, the target power consumption optimization adjustment operation includes at least one of the following operations:
switching to or maintaining a mild low power mode;
switching to or maintaining a severe low power mode;
starting or closing an optimal power consumption optimization mode, and closing at least one of a network function, a near field communication function, a positioning function and a system notification function when the optimal power consumption optimization mode is in an open state;
and closing the currently running application program.
Optionally, the correspondence between the sleep stage handover condition and the power consumption optimization adjustment operation includes:
closing the optimal power consumption optimization mode under the condition that the previous monitoring period is in the waking period;
switching from the waking period of the previous monitoring period to the falling-asleep period of the current monitoring period, or switching to a light low-power mode if the previous monitoring period and the current monitoring period are both in the falling-asleep period and in a bright screen state; if the power supply is in the screen-off state, switching to or keeping a mild low-power-consumption mode; if the mobile terminal is in the screen-off or screen-on state, closing the currently running application program;
switching to or keeping a light low-power consumption mode when switching from the sleep-in period of the last monitoring period to the light sleep period of the current monitoring period, or when both the last monitoring period and the current monitoring period are the light sleep periods;
under the condition of switching from the rapid eye movement period of the last monitoring period to the shallow sleep period of the current monitoring period, switching to or keeping a severe low power consumption mode, and starting the optimal power consumption optimization mode;
under the condition of switching from the light sleep period of the last monitoring period to the deep sleep period of the current monitoring period, if the monitoring device is in a light low-power-consumption mode, switching to a heavy low-power-consumption mode, and starting the optimal power-consumption optimization mode; if the power supply is not in the light low-power-consumption mode and is not in the severe low-power-consumption mode, switching to the light low-power-consumption mode;
under the condition that the last monitoring period and the current monitoring period are both deep sleep periods, switching to a severe low power consumption mode, and starting the optimal power consumption optimization mode;
under the condition of switching from the waking period or the rapid eye movement period of the last monitoring period to the deep sleep period of the current monitoring period, if the monitoring period is in a mild low-power-consumption mode, switching to a severe low-power-consumption mode, and starting the optimal power-consumption optimization mode; if the power supply is not in the light low-power mode, switching to the light low-power mode;
under the condition that the current monitoring period is a rapid eye movement period, switching to a severe low power consumption mode, and closing the optimal power consumption optimization mode;
under the condition of switching from the waking period of the last monitoring period to the light sleep period of the current monitoring period, switching from the waking period of the last monitoring period and the current monitoring period to both the light sleep period, or switching from the waking period of the last monitoring period to the deep sleep period of the current monitoring period, if the monitoring period is in a screen-off state, switching to or keeping in a light low-power-consumption mode, and if the monitoring period is in a heavy low-power-consumption mode, keeping in the heavy low-power-consumption mode.
Optionally, the power consumption optimizing apparatus 600 includes:
a transceiver module for receiving user body state data from the wearable device every the monitoring period; or,
sending a request instruction to the wearable device every other monitoring period, wherein the request instruction is used for indicating the wearable device to feed back user body state data in the monitoring period;
receiving user body state data from the wearable device over a monitoring period.
Optionally, the power consumption optimizing apparatus 600 includes:
the receiving module is used for receiving sleep stage switching conditions input by a user and receiving power consumption optimization adjustment operations which are correspondingly set by the user aiming at the input sleep stage switching conditions, wherein the power consumption optimization adjustment operations comprise the step of closing the target function module;
and the generating module is used for generating the corresponding relation between the sleep stage switching condition and the power consumption adjusting operation according to the received sleep stage switching condition and the set power consumption optimizing adjusting operation.
The power consumption optimization apparatus 600 may implement the power consumption optimization method shown in fig. 2, and is not described herein again to avoid repetition.
The power consumption optimization device provided by the embodiment determines sleep stages of a previous monitoring period and a current monitoring period respectively according to user body state data acquired from wearable equipment; determining the sleep stage switching condition of the current user according to the sleep stage of the last monitoring period and the sleep stage of the current monitoring period; determining target power consumption optimization adjustment operation corresponding to the sleep stage switching condition of the current user according to a corresponding relation between the sleep stage switching condition and power consumption optimization adjustment operation which is acquired in advance; and executing the target power consumption optimization adjustment operation. According to the power consumption optimization scheme, the mobile terminal acquires the body state data of the user by using the wearable device, the sleep stage switching condition is determined according to the body state data of the user, the power consumption of the mobile terminal is dynamically optimized according to the sleep stage switching condition, and the power consumption optimization effect of the mobile terminal can be improved.
Example 3
Furthermore, an embodiment of the present disclosure provides a mobile terminal, including a memory and a processor, where the memory stores a computer program, and the computer program, when running on the processor, executes the power consumption optimization method provided in the above method embodiment 1.
Specifically, as shown in fig. 7, the mobile terminal 700 provided in this embodiment includes:
a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Those skilled in the art will appreciate that the mobile terminal architecture illustrated in fig. 7 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than those illustrated, or some of the components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted mobile terminal, a wearable device, a pedometer, and the like.
Wherein, the processor 710 is configured to: determining sleep stages of a last monitoring period and a current monitoring period respectively according to body state data of a user acquired from wearable equipment;
determining the sleep stage switching condition of the current user according to the sleep stage of the last monitoring period and the sleep stage of the current monitoring period;
determining target power consumption optimization adjustment operation corresponding to the sleep stage switching condition of the current user according to a corresponding relation between the sleep stage switching condition and the power consumption optimization adjustment operation which is acquired in advance;
and executing the target power consumption optimization adjustment operation.
Optionally, the processor 710 is further configured to: determining sleep stages of a previous monitoring period and a current monitoring period according to the sleep information of the user in the previous monitoring period and the current monitoring period respectively under the condition that the body state data of the user comprises the sleep information of the user in the previous monitoring period and the current monitoring period; or,
under the condition that the body state data of the user comprise the vital sign data of the user in the previous monitoring period and the current monitoring period, respectively determining sleep stages corresponding to the vital sign data of the user in the previous monitoring period and the current monitoring period according to the corresponding relation between the vital sign data and the sleep stages which are acquired in advance; or,
and respectively determining the sleep stages corresponding to the user posture information of the previous monitoring period and the current monitoring period according to the corresponding relation between the user posture and the sleep stages which is acquired in advance under the condition that the user body state data comprises the user posture information of the previous monitoring period and the current monitoring period.
Optionally, the processor 710 is further configured to: dividing a vital sign numerical range for a sleep stage according to the historical data of the vital signs of the user; or,
acquiring reference vital sign data of a user in a daytime preset period, and calculating a vital sign data range of a sleep stage according to the reference vital sign data and a sleep state adjustment factor;
and determining the corresponding relation between the vital sign data and the sleep stage according to the vital sign data range and the sleep stage.
Optionally, the target power consumption optimization adjustment operation includes at least one of the following operations:
switching to or maintaining a mild low power mode;
switching to or maintaining a severe low power mode;
starting or closing an optimal power consumption optimization mode, and closing at least one of a network function, a near field communication function, a positioning function and a system notification function when the optimal power consumption optimization mode is in an open state;
and closing the currently running application program.
Optionally, the processor 710 is further configured to: closing the optimal power consumption optimization mode under the condition that the previous monitoring period is in the waking period;
switching from the waking period of the previous monitoring period to the falling-asleep period of the current monitoring period, or switching to a light low-power mode if the previous monitoring period and the current monitoring period are both in the falling-asleep period and in a bright screen state; if the power supply is in the screen-off state, switching to or keeping a mild low-power-consumption mode; if the mobile terminal is in the screen-off or screen-on state, closing the currently running application program;
switching to or keeping a light low-power consumption mode when switching from the sleep-in period of the last monitoring period to the light sleep period of the current monitoring period, or when both the last monitoring period and the current monitoring period are the light sleep periods;
under the condition of switching from the rapid eye movement period of the last monitoring period to the shallow sleep period of the current monitoring period, switching to or keeping a severe low power consumption mode, and starting the optimal power consumption optimization mode;
under the condition of switching from the light sleep period of the last monitoring period to the deep sleep period of the current monitoring period, if the monitoring device is in a light low-power-consumption mode, switching to a heavy low-power-consumption mode, and starting the optimal power-consumption optimization mode; if the power supply is not in the light low-power-consumption mode and is not in the severe low-power-consumption mode, switching to the light low-power-consumption mode;
under the condition that the last monitoring period and the current monitoring period are both deep sleep periods, switching to a severe low power consumption mode, and starting the optimal power consumption optimization mode;
under the condition of switching from the waking period or the rapid eye movement period of the last monitoring period to the deep sleep period of the current monitoring period, if the monitoring period is in a mild low-power-consumption mode, switching to a severe low-power-consumption mode, and starting the optimal power-consumption optimization mode; if the power supply is not in the light low-power mode, switching to the light low-power mode;
under the condition that the current monitoring period is a rapid eye movement period, switching to a severe low power consumption mode, and closing the optimal power consumption optimization mode;
under the condition that the awake period of the last monitoring period is switched to the light sleep period of the current monitoring period, the awake period of the last monitoring period and the current monitoring period are both the light sleep period, or the awake period of the last monitoring period is switched to the deep sleep period of the current monitoring period, if the current monitoring period is in the screen-off state, the current monitoring period is switched to or kept in the light low power consumption mode, and if the current monitoring period is in the heavy low power consumption mode, the current monitoring period is switched to or kept in the heavy low power consumption mode.
Optionally, the processor 710 is further configured to: receiving user body state data from the wearable device every the monitoring period; or,
sending a request instruction to the wearable device every other monitoring period, wherein the request instruction is used for indicating the wearable device to feed back user body state data in the monitoring period;
receiving user body state data from the wearable device over a monitoring period.
Optionally, the processor 710 is further configured to: receiving sleep stage switching conditions input by a user, and receiving power consumption optimization adjustment operations which are correspondingly set by the user aiming at the input sleep stage switching conditions, wherein the power consumption optimization adjustment operations comprise the closing of a target function module;
and generating a corresponding relation between the sleep stage switching condition and the power consumption adjusting operation according to the received sleep stage switching condition and the set power consumption optimizing adjusting operation.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 may also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides the user with wireless broadband internet access via the network module 702, such as helping the user send and receive e-mails, browse web pages, and access streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the mobile terminal 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of still pictures or videos obtained by an image capturing mobile terminal (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be video played on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The mobile terminal 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the mobile terminal 700 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used for video playing of information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of a touch detection mobile terminal and a touch controller. The touch detection mobile terminal detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing mobile terminal, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 708 is an interface through which an external mobile terminal is connected to the mobile terminal 700. For example, the external mobile terminal may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting the mobile terminal having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from an external mobile terminal and transmit the received input to one or more elements within the mobile terminal 700 or may be used to transmit data between the mobile terminal 700 and the external mobile terminal.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 709 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby integrally monitoring the mobile terminal. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The mobile terminal 700 may also include a power supply 711 (e.g., a battery) for powering the various components, and the power supply 711 may be logically coupled to the processor 710 via a power management system that may enable managing charging, discharging, and power consumption by the power management system.
In addition, the mobile terminal 700 includes some functional modules that are not shown, and are not described in detail herein.
The mobile terminal 700 may implement the power consumption optimization method shown in fig. 2, and is not described herein again to avoid repetition.
According to the mobile terminal provided by the embodiment, the sleep stages of the last monitoring period and the current monitoring period are respectively determined according to the body state data of the user acquired from the wearable device; determining the sleep stage switching condition of the current user according to the sleep stage of the last monitoring period and the sleep stage of the current monitoring period; determining target power consumption optimization adjustment operation corresponding to the sleep stage switching condition of the current user according to a corresponding relation between the sleep stage switching condition and the power consumption optimization adjustment operation which is acquired in advance; and executing the target power consumption optimization adjustment operation. The mobile terminal obtains the body state data of the user by using the wearable device, determines the sleep stage switching condition according to the body state data of the user, and dynamically optimizes the power consumption of the mobile terminal according to the sleep stage switching condition, so that the power consumption optimization effect of the mobile terminal can be improved.
Example 4
The present application further provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
determining sleep stages of a previous monitoring period and a current monitoring period respectively according to user body state data acquired from wearable equipment;
determining the sleep stage switching condition of the current user according to the sleep stage of the last monitoring period and the sleep stage of the current monitoring period;
determining target power consumption optimization adjustment operation corresponding to the sleep stage switching condition of the current user according to a corresponding relation between the sleep stage switching condition and power consumption optimization adjustment operation which is acquired in advance;
and executing the target power consumption optimization adjustment operation.
The computer-readable storage medium may implement the power consumption optimization method shown in fig. 2, and is not described herein again to avoid repetition.
In this embodiment, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A power consumption optimization method is applied to a mobile terminal, and comprises the following steps:
determining sleep stages of a last monitoring period and a current monitoring period respectively according to body state data of a user acquired from wearable equipment;
determining the sleep stage switching condition of the current user according to the sleep stage of the last monitoring period and the sleep stage of the current monitoring period;
determining target power consumption optimization adjustment operation corresponding to the sleep stage switching condition of the current user according to a corresponding relation between the sleep stage switching condition and the power consumption optimization adjustment operation which is acquired in advance;
and executing the target power consumption optimization adjustment operation.
2. The method of claim 1, wherein determining sleep stages of a last monitoring cycle and a current monitoring cycle respectively according to the body state data of the user acquired from the wearable device comprises:
determining sleep stages of a previous monitoring period and a current monitoring period according to the sleep information of the user in the previous monitoring period and the current monitoring period respectively under the condition that the body state data of the user comprises the sleep information of the user in the previous monitoring period and the current monitoring period; or,
under the condition that the body state data of the user comprise the vital sign data of the user in the previous monitoring period and the current monitoring period, respectively determining sleep stages corresponding to the vital sign data of the user in the previous monitoring period and the current monitoring period according to the corresponding relation between the vital sign data and the sleep stages which are acquired in advance; or,
and respectively determining the sleep stages corresponding to the user posture information of the previous monitoring period and the current monitoring period according to the corresponding relation between the user posture and the sleep stages which is acquired in advance under the condition that the user body state data comprises the user posture information of the previous monitoring period and the current monitoring period.
3. The method of claim 2, wherein obtaining the correspondence of vital sign data to sleep stages comprises:
dividing a vital sign numerical range for a sleep stage according to the historical data of the vital signs of the user; or,
acquiring reference vital sign data of a user in a daytime preset period, and calculating a vital sign data range of a sleep stage according to the reference vital sign data and a sleep state adjustment factor;
and determining the corresponding relation between the vital sign data and the sleep stage according to the vital sign data range and the sleep stage.
4. The method of claim 1, wherein the target power consumption optimization adjustment operation comprises at least one of:
switching to or maintaining a mild low power mode;
switching to or maintaining a severe low power mode;
starting or closing an optimal power consumption optimization mode, and closing at least one of a network function, a near field communication function, a positioning function and a system notification function when the optimal power consumption optimization mode is in an open state;
and closing the currently running application program.
5. The method of claim 4, wherein the correspondence between sleep stage switching conditions and power consumption optimization adjustment operations comprises:
closing the optimal power consumption optimization mode under the condition that the previous monitoring period is in the waking period;
switching from the waking period of the previous monitoring period to the falling-asleep period of the current monitoring period, or switching to a light low-power mode if the previous monitoring period and the current monitoring period are both in the falling-asleep period and in a bright screen state; if the mobile terminal is in the screen-off state, switching to or keeping a light low-power-consumption mode; if the mobile terminal is in the screen-off or screen-on state, closing the currently running application program;
switching to or keeping a light low-power consumption mode when switching from the sleep-in period of the last monitoring period to the light sleep period of the current monitoring period, or when both the last monitoring period and the current monitoring period are the light sleep periods;
under the condition of switching from the rapid eye movement period of the last monitoring period to the shallow sleep period of the current monitoring period, switching to or keeping a severe low power consumption mode, and starting the optimal power consumption optimization mode;
under the condition of switching from the light sleep period of the last monitoring period to the deep sleep period of the current monitoring period, if the monitoring device is in a light low-power-consumption mode, switching to a heavy low-power-consumption mode, and starting the optimal power-consumption optimization mode; if the power supply is not in the light low-power-consumption mode and is not in the severe low-power-consumption mode, switching to the light low-power-consumption mode;
under the condition that the last monitoring period and the current monitoring period are both deep sleep periods, switching to a severe low power consumption mode, and starting the optimal power consumption optimization mode;
under the condition of switching from the waking period or the rapid eye movement period of the last monitoring period to the deep sleep period of the current monitoring period, if the monitoring period is in a mild low-power-consumption mode, switching to a severe low-power-consumption mode, and starting the optimal power-consumption optimization mode; if the power supply is not in the light low-power mode, switching to the light low-power mode;
under the condition that the current monitoring period is a rapid eye movement period, switching to a severe low power consumption mode, and closing the optimal power consumption optimization mode;
under the condition of switching from the waking period of the last monitoring period to the light sleep period of the current monitoring period, switching from the waking period of the last monitoring period and the current monitoring period to both the light sleep period, or switching from the waking period of the last monitoring period to the deep sleep period of the current monitoring period, if the monitoring period is in a screen-off state, switching to or keeping in a light low-power-consumption mode, and if the monitoring period is in a heavy low-power-consumption mode, keeping in the heavy low-power-consumption mode.
6. The method of claim 1, wherein prior to the step of obtaining the user body state data from the wearable device, the method further comprises:
receiving user body state data from the wearable device every the monitoring period; or,
sending a request instruction to the wearable device every other monitoring period, wherein the request instruction is used for indicating the wearable device to feed back user body state data in the monitoring period;
receiving user body state data from the wearable device over a monitoring period.
7. The method of claim 1, wherein obtaining the correspondence between the sleep stage switching condition and the power consumption optimization adjustment operation comprises:
receiving sleep stage switching conditions input by a user, and receiving power consumption optimization adjustment operations which are correspondingly set by the user aiming at the input sleep stage switching conditions, wherein the power consumption optimization adjustment operations comprise the closing of a target function module;
and generating a corresponding relation between the sleep stage switching condition and the power consumption adjusting operation according to the received sleep stage switching condition and the set power consumption optimizing adjusting operation.
8. A power consumption optimization device applied to a mobile terminal, the device comprising:
the receiving module is used for respectively determining the sleep stages of the previous monitoring period and the current monitoring period according to the body state data of the user acquired from the wearable device;
the first determining module is used for determining the sleep stage switching condition of the current user according to the sleep stage of the last monitoring period and the sleep stage of the current monitoring period;
the second determining module is used for determining target power consumption optimization adjustment operation corresponding to the sleep stage switching condition of the current user according to the corresponding relation between the sleep stage switching condition and the power consumption optimization adjustment operation which is acquired in advance;
and the execution module is used for executing the target power consumption optimization and adjustment operation.
9. A mobile terminal, characterized in that it comprises a memory and a processor, the memory storing a computer program which, when run by the processor, performs the power consumption optimization method of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that it stores a computer program which, when run on a processor, performs the power consumption optimization method of any one of claims 1 to 7.
CN202110191779.XA 2021-02-19 2021-02-19 Power consumption optimization method and device and mobile terminal Pending CN114967897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110191779.XA CN114967897A (en) 2021-02-19 2021-02-19 Power consumption optimization method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110191779.XA CN114967897A (en) 2021-02-19 2021-02-19 Power consumption optimization method and device and mobile terminal

Publications (1)

Publication Number Publication Date
CN114967897A true CN114967897A (en) 2022-08-30

Family

ID=82954057

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110191779.XA Pending CN114967897A (en) 2021-02-19 2021-02-19 Power consumption optimization method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN114967897A (en)

Citations (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150016021A (en) * 2013-08-02 2015-02-11 엘지전자 주식회사 Mobile terminal and control method thereof
CN104598130A (en) * 2015-01-13 2015-05-06 小米科技有限责任公司 Mode switching method, terminal, wearable equipment and device
CN104699248A (en) * 2015-03-24 2015-06-10 小米科技有限责任公司 Electronic equipment, device and method for control of audio play
CN104864551A (en) * 2015-04-30 2015-08-26 广东美的制冷设备有限公司 Wearable equipment, intelligent control equipment, air-conditioner system and control method
WO2015139371A1 (en) * 2014-03-19 2015-09-24 惠州Tcl移动通信有限公司 Control method and control system for working mode of mobile device
CN105376408A (en) * 2015-11-19 2016-03-02 广东小天才科技有限公司 Terminal sleep mode setting method and terminal sleep mode setting system
CN105630172A (en) * 2015-12-31 2016-06-01 美的集团股份有限公司 Control method and device for wearable apparatus and wearable apparatus
CN105739686A (en) * 2016-01-19 2016-07-06 广东欧珀移动通信有限公司 Control method and device of mobile terminal
CN105824423A (en) * 2016-03-31 2016-08-03 维沃移动通信有限公司 Prompting method and mobile terminal
CN106095059A (en) * 2016-06-08 2016-11-09 维沃移动通信有限公司 A kind of method reducing mobile terminal power consumption and mobile terminal
CN106131314A (en) * 2016-06-24 2016-11-16 上海青橙实业有限公司 Intelligence object wearing device, smart mobile phone and electricity saving method thereof
CN106162278A (en) * 2015-04-03 2016-11-23 北京奇虎科技有限公司 A kind of low energy consumption terminal control system and method
CN106445073A (en) * 2016-09-28 2017-02-22 惠州Tcl移动通信有限公司 Method and system for automatic scene mode switching of mobile terminal
CN106445074A (en) * 2016-09-29 2017-02-22 维沃移动通信有限公司 Control method for application and mobile terminal
CN106709304A (en) * 2016-11-21 2017-05-24 北京小米移动软件有限公司 Terminal equipment control method and device
CN106792166A (en) * 2016-12-07 2017-05-31 广州视源电子科技股份有限公司 The control method and system of playback equipment
WO2017088562A1 (en) * 2015-11-24 2017-06-01 珠海格力电器股份有限公司 Air conditioner control method and intelligent household system
CN106821336A (en) * 2017-04-05 2017-06-13 深圳市老乐健康科技有限公司 Sleep monitor method and system
CN107241789A (en) * 2017-05-23 2017-10-10 努比亚技术有限公司 Saving power for terminal method, terminal and computer-readable recording medium
CN107272909A (en) * 2017-07-21 2017-10-20 青岛海信移动通信技术股份有限公司 Control method, mobile terminal and the storage medium of mobile terminal
CN107277266A (en) * 2017-07-13 2017-10-20 广东小天才科技有限公司 A kind of mode switching method and device
CN107302627A (en) * 2017-05-23 2017-10-27 深圳天珑无线科技有限公司 Improve method, mobile terminal and the storage device of mobile terminal endurance
CN107595245A (en) * 2017-08-15 2018-01-19 深圳创达云睿智能科技有限公司 A kind of dormancy management method, system and terminal device
CN107835307A (en) * 2017-10-28 2018-03-23 上海爱优威软件开发有限公司 Sleep method and system are helped for terminal
CN108810300A (en) * 2018-04-28 2018-11-13 平安科技(深圳)有限公司 The method and its control method and device of adjustment intelligent terminal the tinkle of bells
CN109561219A (en) * 2018-12-21 2019-04-02 努比亚技术有限公司 Music adjusting method, device, mobile terminal and readable storage medium storing program for executing
CN110362184A (en) * 2019-07-05 2019-10-22 深圳前海微众银行股份有限公司 A kind of method and wearable device of controlling electronic devices
CN110638437A (en) * 2019-08-29 2020-01-03 努比亚技术有限公司 Control method based on heart rate monitoring, terminal, wearable device and storage medium

Patent Citations (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150016021A (en) * 2013-08-02 2015-02-11 엘지전자 주식회사 Mobile terminal and control method thereof
WO2015139371A1 (en) * 2014-03-19 2015-09-24 惠州Tcl移动通信有限公司 Control method and control system for working mode of mobile device
CN104598130A (en) * 2015-01-13 2015-05-06 小米科技有限责任公司 Mode switching method, terminal, wearable equipment and device
CN104699248A (en) * 2015-03-24 2015-06-10 小米科技有限责任公司 Electronic equipment, device and method for control of audio play
CN106162278A (en) * 2015-04-03 2016-11-23 北京奇虎科技有限公司 A kind of low energy consumption terminal control system and method
CN104864551A (en) * 2015-04-30 2015-08-26 广东美的制冷设备有限公司 Wearable equipment, intelligent control equipment, air-conditioner system and control method
CN105376408A (en) * 2015-11-19 2016-03-02 广东小天才科技有限公司 Terminal sleep mode setting method and terminal sleep mode setting system
WO2017088562A1 (en) * 2015-11-24 2017-06-01 珠海格力电器股份有限公司 Air conditioner control method and intelligent household system
CN105630172A (en) * 2015-12-31 2016-06-01 美的集团股份有限公司 Control method and device for wearable apparatus and wearable apparatus
CN105739686A (en) * 2016-01-19 2016-07-06 广东欧珀移动通信有限公司 Control method and device of mobile terminal
CN105824423A (en) * 2016-03-31 2016-08-03 维沃移动通信有限公司 Prompting method and mobile terminal
CN106095059A (en) * 2016-06-08 2016-11-09 维沃移动通信有限公司 A kind of method reducing mobile terminal power consumption and mobile terminal
CN106131314A (en) * 2016-06-24 2016-11-16 上海青橙实业有限公司 Intelligence object wearing device, smart mobile phone and electricity saving method thereof
CN106445073A (en) * 2016-09-28 2017-02-22 惠州Tcl移动通信有限公司 Method and system for automatic scene mode switching of mobile terminal
CN106445074A (en) * 2016-09-29 2017-02-22 维沃移动通信有限公司 Control method for application and mobile terminal
CN106709304A (en) * 2016-11-21 2017-05-24 北京小米移动软件有限公司 Terminal equipment control method and device
CN106792166A (en) * 2016-12-07 2017-05-31 广州视源电子科技股份有限公司 The control method and system of playback equipment
CN106821336A (en) * 2017-04-05 2017-06-13 深圳市老乐健康科技有限公司 Sleep monitor method and system
CN107241789A (en) * 2017-05-23 2017-10-10 努比亚技术有限公司 Saving power for terminal method, terminal and computer-readable recording medium
CN107302627A (en) * 2017-05-23 2017-10-27 深圳天珑无线科技有限公司 Improve method, mobile terminal and the storage device of mobile terminal endurance
CN107277266A (en) * 2017-07-13 2017-10-20 广东小天才科技有限公司 A kind of mode switching method and device
CN107272909A (en) * 2017-07-21 2017-10-20 青岛海信移动通信技术股份有限公司 Control method, mobile terminal and the storage medium of mobile terminal
CN107595245A (en) * 2017-08-15 2018-01-19 深圳创达云睿智能科技有限公司 A kind of dormancy management method, system and terminal device
CN107835307A (en) * 2017-10-28 2018-03-23 上海爱优威软件开发有限公司 Sleep method and system are helped for terminal
CN108810300A (en) * 2018-04-28 2018-11-13 平安科技(深圳)有限公司 The method and its control method and device of adjustment intelligent terminal the tinkle of bells
CN109561219A (en) * 2018-12-21 2019-04-02 努比亚技术有限公司 Music adjusting method, device, mobile terminal and readable storage medium storing program for executing
CN110362184A (en) * 2019-07-05 2019-10-22 深圳前海微众银行股份有限公司 A kind of method and wearable device of controlling electronic devices
CN110638437A (en) * 2019-08-29 2020-01-03 努比亚技术有限公司 Control method based on heart rate monitoring, terminal, wearable device and storage medium

Similar Documents

Publication Publication Date Title
CN109388220B (en) Power supply management method and mobile terminal
WO2017088154A1 (en) Profile mode switching method
CN109712621B (en) Voice interaction control method and terminal
CN108712566B (en) Voice assistant awakening method and mobile terminal
CN109509473B (en) Voice control method and terminal equipment
CN108174044B (en) Alarm clock setting method and mobile terminal
CN107196363B (en) Method for adjusting charging current, terminal and computer readable storage medium
WO2019120087A1 (en) Processing method for reducing power consumption and mobile terminal
CN108322599B (en) Network access method and mobile terminal
CN108135033B (en) Bluetooth connection method and mobile terminal
CN108628217B (en) Wearable device power consumption control method, wearable device and computer-readable storage medium
CN109901695B (en) Screen power-saving display method, mobile terminal and computer-readable storage medium
CN107734170B (en) Notification message processing method, mobile terminal and wearable device
WO2018209965A1 (en) Screen-on control method and device, and terminal
CN111415722B (en) Screen control method and electronic equipment
CN110865858A (en) Screen awakening method and electronic equipment
CN108089935B (en) Application program management method and mobile terminal
CN109947484A (en) A kind of control method, terminal and computer readable storage medium waking up lock
CN107888780B (en) Illumination control method of mobile terminal and mobile terminal
CN108874111B (en) Battery over-discharge protection control method and mobile terminal
CN108184029B (en) Alarm clock reminding method and mobile terminal
CN107770811B (en) Data processing method, mobile terminal and computer readable storage medium
CN111443764A (en) Separation state processing method and electronic equipment
CN110621057B (en) Information transmission method, network equipment and terminal
CN110888681A (en) Lighting lamp control method, lighting lamp control device, electronic equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination