[go: up one dir, main page]

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
user
sleep
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

本申请提供了一种功耗优化方法、装置及移动终端,其中方法包括:根据从可穿戴设备获取的用户身体状态数据,分别确定上一监测周期和当前监测周期的睡眠阶段;根据所述上一监测周期的睡眠阶段和当前监测周期的睡眠阶段,确定当前用户睡眠阶段切换情况;根据预先获取的睡眠阶段切换情况与功耗优化调整操作的对应关系,确定与所述当前用户睡眠阶段切换情况对应的目标功耗优化调整操作;执行所述目标功耗优化调整操作。本申请提供的功耗优化方案,通过移动终端利用可穿戴设备获取用户身体状态数据,根据用户身体状态数据确定睡眠阶切换情况,根据睡眠阶段切换情况动态对移动终端的功耗进行优化,能够提高移动终端功耗优化效果。

Figure 202110191779

The present application provides a power consumption optimization method, device and mobile terminal, wherein the method includes: according to the user's physical state data obtained from the wearable device, respectively determining the sleep stage of the previous monitoring period and the current monitoring period; The sleep stage of a monitoring period and the sleep stage of the current monitoring period are determined to determine the current user sleep stage switching situation; according to the corresponding relationship between the pre-obtained sleep stage switching situation and the power consumption optimization adjustment operation, the current user sleep stage switching situation is determined. A corresponding target power consumption optimization adjustment operation; the target power consumption optimization adjustment operation is performed. In the power consumption optimization solution provided by the present application, the mobile terminal uses the wearable device to obtain the user's body state data, determines the sleep stage switching situation according to the user's body state data, and dynamically optimizes the power consumption of the mobile terminal according to the sleep stage switching situation. The power consumption optimization effect of mobile terminals.

Figure 202110191779

Description

一种功耗优化方法、装置及移动终端A power consumption optimization method, device and mobile terminal

技术领域technical field

本发明涉及人机交互领域,尤其涉及一种功耗优化方法、装置及移动终端。The present invention relates to the field of human-computer interaction, and in particular, to a power consumption optimization method, device and mobile terminal.

背景技术Background technique

现有安卓(android)系统实现待机功耗优化,主要通过判断手机亮灭屏状态、手机是否正在充电等情况,确定手机是否进入低功耗待机(doze state)模式。通过监测手机的陀螺仪数据,判断手机是否静置状态,以及通过全球定位系统(Global PositioningSystem,GPS)定位手机的位置信息,以确定手机的运动状态,根据手机的不同状态以及状态持续时间,进入不同的低功耗模式。现有安卓系统在进入待机功耗优化过程存在进入速度慢、对待机环境要求高的问题。在其他现有技术中,通过记录手机长时间灭屏的多个历史数据,预估用户每天的睡眠时间,并在预估的睡眠时间内执行对应的功耗优化方案。现有安卓系统在用户睡眠时间执行对应功耗优化过程时,在用户睡眠不规律或者临时醒来使用手机,功耗优化过程被打后,很难再次进入功耗节省模式。综上所述,现有技术存在移动终端的功耗优化效果比较差的问题。The existing Android system realizes the optimization of standby power consumption, mainly by judging whether the mobile phone is in a low-power standby (doze state) mode by judging whether the mobile phone is on or off, whether the mobile phone is being charged, etc. By monitoring the gyroscope data of the mobile phone, it is judged whether the mobile phone is in a static state, and the location information of the mobile phone is located through the Global Positioning System (GPS) to determine the motion state of the mobile phone. According to the different states of the mobile phone and the duration of the state, enter Different low power modes. The existing Android system has the problems of slow entry speed and high requirements on the standby environment in the process of entering standby power consumption optimization. In other prior art, by recording a plurality of historical data when the screen of the mobile phone is off for a long time, the daily sleep time of the user is estimated, and a corresponding power consumption optimization solution is executed within the estimated sleep time. When the existing Android system performs the corresponding power consumption optimization process during the user's sleep time, it is difficult to enter the power consumption saving mode again after the power consumption optimization process is performed when the user sleeps irregularly or temporarily wakes up to use the mobile phone. To sum up, the prior art has the problem that the power consumption optimization effect of the mobile terminal is relatively poor.

发明内容SUMMARY OF THE INVENTION

为了解决上述技术问题,本发明实施例提供了一种功耗优化方法、装置、移动终端。In order to solve the above technical problems, 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 method for optimizing power consumption, which is applied to a mobile terminal, and the method includes:

根据从可穿戴设备获取的用户身体状态数据,分别确定上一监测周期和当前监测周期的睡眠阶段;According to the user's physical state data obtained from the wearable device, the sleep stages of the previous monitoring period and the current monitoring period are respectively determined;

根据所述上一监测周期的睡眠阶段和当前监测周期的睡眠阶段,确定当前用户睡眠阶段切换情况;According to the sleep stage of the previous monitoring period and the sleep stage of the current monitoring period, determine the switching situation of the current user sleep stage;

根据预先获取的睡眠阶段切换情况与功耗优化调整操作的对应关系,确定与所述当前用户睡眠阶段切换情况对应的目标功耗优化调整操作;Determine the target power consumption optimization adjustment operation corresponding to the current user sleep stage switching situation according to the corresponding relationship between the pre-obtained sleep stage switching situation and the power consumption optimization adjustment operation;

执行所述目标功耗优化调整操作。The target power consumption optimization adjustment operation is performed.

第二方面,本发明实施例提供了一种功耗优化装置,应用于移动终端,所述装置包括:In a second aspect, an embodiment of the present invention provides an apparatus for optimizing power consumption, which is applied to a mobile terminal, and the apparatus includes:

接收模块,用于根据从可穿戴设备获取的用户身体状态数据,分别确定上一监测周期和当前监测周期的睡眠阶段;The receiving module is used to respectively determine the sleep stage of the previous monitoring period and the current monitoring period according to the user's physical state data obtained from the wearable device;

第一确定模块,用于根据所述上一监测周期的睡眠阶段和当前监测周期的睡眠阶段,确定当前用户睡眠阶段切换情况;a first determining module, configured to determine the current user sleep stage switching situation according to the sleep stage of the previous monitoring cycle and the sleep stage of the current monitoring cycle;

第二确定模块,用于根据预先获取的睡眠阶段切换情况与功耗优化调整操作的对应关系,确定与所述当前用户睡眠阶段切换情况对应的目标功耗优化调整操作;a second determining module, configured to determine a target power consumption optimization adjustment operation corresponding to the current user sleep stage switching situation according to the pre-obtained correspondence between the sleep stage switching situation and the power consumption optimization adjustment operation;

执行模块,用于执行所述目标功耗优化调整操作。An execution module, configured to execute the target power consumption optimization adjustment operation.

第三方面,本发明实施例提供了一种移动终端,包括存储器以及处理器,所述存储器存储有计算机程序,所述计算机程序在所述处理器运行时执行第一方面提供的功耗优化方法。In a third aspect, an embodiment of the present invention provides a mobile terminal, including 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, executes the power consumption optimization method provided in the first aspect.

上述本申请提供的功耗优化方法,根据从可穿戴设备获取的用户身体状态数据,分别确定上一监测周期和当前监测周期的睡眠阶段;根据所述上一监测周期的睡眠阶段和当前监测周期的睡眠阶段,确定当前用户睡眠阶段切换情况;根据预先获取的睡眠阶段切换情况与功耗优化调整操作的对应关系,确定与所述当前用户睡眠阶段切换情况对应的目标功耗优化调整操作;执行所述目标功耗优化调整操作。本申请提供的功耗优化方案,通移动终端利用可穿戴设备获取用户身体状态数据,根据用户身体状态数据确定睡眠阶切换情况,根据睡眠阶段切换情况动态对移动终端的功耗进行优化,能够提高移动终端功耗优化效果。In the above-mentioned power consumption optimization method provided by the present application, according to the user's physical state data obtained from the wearable device, the sleep stages of the previous monitoring period and the current monitoring period are respectively determined; according to the sleep stage of the previous monitoring period and the current monitoring period According to the corresponding relationship between the pre-obtained sleep stage switching situation and the power consumption optimization adjustment operation, determine the target power consumption optimization adjustment operation corresponding to the current user sleep stage switching situation; execute The target power consumption optimizes the adjustment operation. The power consumption optimization solution provided by the present application, the mobile terminal uses the wearable device to obtain the user's body state data, determines the sleep stage switching situation according to the user's body state data, and dynamically optimizes the power consumption of the mobile terminal according to the sleep stage switching situation. The power consumption optimization effect of mobile terminals.

附图说明Description of drawings

为了更清楚地说明本发明的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对本发明保护范围的限定。在各个附图中,类似的构成部分采用类似的编号。In order to illustrate the technical solutions of the present invention more clearly, the accompanying drawings required in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention, and therefore should not be It is regarded as the limitation of the protection scope of the present invention. In the various figures, similar components are numbered similarly.

图1示出了本申请提供的睡眠周期的示意图;Fig. 1 shows the schematic diagram of the sleep cycle provided by the present application;

图2示出了本申请提供的功耗优化方法的一流程图;Fig. 2 shows a flow chart of the power consumption optimization method provided by the present application;

图3示出了本申请提供的可穿戴设备与移动终端的通信连接示意图;3 shows a schematic diagram of the communication connection between the wearable device and the mobile terminal provided by the present application;

图4示出了本申请提供的功耗优化方法的另一流程图;FIG. 4 shows another flowchart of the power consumption optimization method provided by the present application;

图5示出了本申请提供的功耗优化方法的另一流程图;FIG. 5 shows another flowchart of the power consumption optimization method provided by the present application;

图6示出了本申请提供的功耗优化装置的一结构图;FIG. 6 shows a structural diagram of the power consumption optimization device provided by the present application;

图7示出了本申请提供的移动终端的一结构图。FIG. 7 shows a structural diagram of the mobile terminal provided by the present application.

具体实施方式Detailed ways

下面将结合本发明实施例中附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments.

通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The components of the embodiments of the invention generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Thus, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the invention as claimed, but is merely representative of selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present invention.

在下文中,可在本发明的各种实施例中使用的术语“包括”、“具有”及其同源词仅意在表示特定特征、数字、步骤、操作、元件、组件或前述项的组合,并且不应被理解为首先排除一个或更多个其它特征、数字、步骤、操作、元件、组件或前述项的组合的存在或增加一个或更多个特征、数字、步骤、操作、元件、组件或前述项的组合的可能性。Hereinafter, the terms "comprising", "having" and their cognates, which may be used in various embodiments of the present invention, are only intended to denote particular features, numbers, steps, operations, elements, components, or combinations of the foregoing, and should not be construed as first excluding the presence of or adding one or more other features, numbers, steps, operations, elements, components or combinations of the foregoing or the possibility of a combination of the foregoing.

此外,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。Furthermore, the terms "first", "second", "third", etc. are only used to differentiate the description and should not 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 this invention belong. The terms (such as those defined in commonly used dictionaries) will be interpreted as having the same meaning as the contextual meaning in the relevant technical field and will not be interpreted as having an idealized or overly formal meaning, unless explicitly defined in the various embodiments of the present invention.

实施例1Example 1

参见图1,图1示出了本申请提供的睡眠周期的示意。如图1所示,用户的睡眠周期包括多个睡眠阶段,初始阶段为清醒器,第一睡眠阶段为入睡期,第二睡眠阶段为浅睡期,第三睡眠阶段为深睡期,深睡期也可以称为熟睡期,为避免混乱,统一称为深睡期,第四睡眠阶段为快速眼动期。用户每晚大概有4-5个睡眠周期,每个睡眠周期约90-100分钟。在入睡期、浅睡期、快速眼动器都有可能进入清醒器,出现起床动作。Referring to FIG. 1, FIG. 1 shows a schematic diagram of a sleep cycle provided by the present application. As shown in Figure 1, the user's sleep cycle includes multiple sleep stages, the initial stage is an awake, the first sleep stage is sleep-onset, the second sleep stage is light sleep, and the third sleep stage is deep sleep, deep sleep The sleep period can also be called the deep sleep period. In order to avoid confusion, it is collectively called the deep sleep period. The fourth sleep stage is the rapid eye movement period. Users have about 4-5 sleep cycles per night, each sleep cycle is about 90-100 minutes. During the period of falling asleep, light sleep, and rapid eye movement, it is possible to enter the wake-up device and get up.

在其他实施方式中,用户的睡眠周期的多个阶段可以包括:清醒期、浅睡期、深睡期。用户的睡眠周期根据不同的划分标准可以有不同的睡眠阶段,在此不做限制。In other embodiments, the stages of the user's sleep cycle may include: wakefulness, light sleep, and deep sleep. The user's sleep cycle may have different sleep stages according to different division standards, which is not limited here.

请参阅图2,图2示出了本申请提供的功耗优化方法的一流程图,下面结合图1及图2对功耗优化方法进行说明。Please refer to FIG. 2 . FIG. 2 shows a flowchart of the power consumption optimization method provided by the present application. The power consumption optimization method is described below with reference to FIG. 1 and FIG. 2 .

步骤S101,根据从可穿戴设备获取的用户身体状态数据,分别确定上一监测周期和当前监测周期的睡眠阶段。Step S101 , according to the user's body state data obtained from the wearable device, respectively determine the sleep stage of the previous monitoring period and the current monitoring period.

在本实施例中,所述用户身体状态数据包括以下至少一种:用户生命特征信息、用户姿态信息、用户睡眠状态信息。In this embodiment, the user body state data includes at least one of the following: user vital feature information, user posture information, and user sleep state information.

在本实施例中,可穿戴设备可以为直接穿戴在身上、或是整合到用户衣服或配件的一种便携式设备。可穿戴设备可以为智能手环、智能眼镜等,能够通过蓝牙模块、WiFi模块与终端设备、服务器等进行数据交互。In this embodiment, the wearable device may be a portable device that is directly worn on the body or integrated into the user's clothes or accessories. The wearable device can be a smart bracelet, smart glasses, etc., and can perform data interaction with terminal devices, servers, etc. through a Bluetooth module and a WiFi module.

请参阅图3,图3所示为可穿戴设备与移动终端的通信连接示意图。可穿戴设备10包括蓝牙模块、姿态检测传感器、心电监测传感器、血氧传感器等,通过姿态检测传感器采集用户姿态信息,通过心电监测传感器采集心率信息,通过血氧传感器采集血氧信息,用户生命特征信息可以包括心率信息、血氧信息、脉搏信息等等。可穿戴设备10可以将用户姿态信息、用户生命特征信息等传输送给移动终端20。可穿戴设备10还可以根据用户姿态信息、用户生命特征信息确定用户睡眠信息,将用户睡眠信息发送给移动终端20。Please refer to FIG. 3 , which is a schematic diagram of a communication connection between a wearable device and a mobile terminal. The wearable device 10 includes a Bluetooth module, an attitude detection sensor, an ECG monitoring sensor, a blood oxygen sensor, etc. The user's attitude information is collected through the attitude detection sensor, the heart rate information is collected through the ECG monitoring sensor, and the blood oxygen information is collected through the blood oxygen sensor. The vital sign information may include heart rate information, blood oxygen information, pulse information, and the like. The wearable device 10 may transmit user gesture information, user vital feature information, etc. to the mobile terminal 20 . The wearable device 10 may also determine the user sleep information according to the user posture information and the user vital feature information, and send the user sleep information to the mobile terminal 20 .

移动终端20包括蓝牙模块,通过蓝牙模块可以接收可穿戴设备传输的用户身体状态数据。移动终端20的备用电源服务(standby power service)模块根据用户身体状态数据匹配不同的功耗优化方案,并通过安卓系统的设备低功耗控制器(DeviceIdleController)写入低功耗(doze)模式的相关状态信息。补充说明的是,移动终端20可以为智能手机,可穿戴设备可以与智能手机进行蓝牙匹配。备用电源服务模块可以作为系统应用程序(application)或者系统服务的形式存在于移动终端20,通过广播与系统接口进行待机(idle)状态切换指令的传输。The mobile terminal 20 includes a Bluetooth module, through which the user's body state data transmitted by the wearable device can be received. The standby power service module of the mobile terminal 20 matches different power consumption optimization schemes according to the user's body state data, and writes the low power consumption (doze) mode through the device low power controller (DeviceIdleController) of the Android system. relevant status information. It should be added that the mobile terminal 20 may be a smart phone, and the wearable device may perform Bluetooth matching with the smart phone. The backup power service module may exist in the mobile terminal 20 in the form of a system application (application) or a system service, and transmits an idle (idle) state switching command through a broadcast interface with the system.

可选的,步骤S101包括:Optionally, step S101 includes:

在所述用户身体状态数据包括上一监测周期及当前监测周期的用户睡眠信息的情况下,根据上一监测周期及当前监测周期的用户睡眠信息分别确定上一监测周期及当前监测周期的睡眠阶段;或者,In the case that the user's physical state data includes the user sleep information of the previous monitoring period and the current monitoring period, the sleep stages of the previous monitoring period and the current monitoring period are respectively determined according to the user sleep information of the previous monitoring period and the current monitoring period ;or,

在所述用户身体状态数据包括上一监测周期及当前监测周期的用户生命特征数据的情况下,根据预先获取的生命特征数据与睡眠阶段的对应关系,分别确定与上一监测周期及当前监测周期的用户生命特征数据对应的睡眠阶段;或者,In the case that the user's physical state data includes the user's vital feature data of the previous monitoring period and the current monitoring period, according to the corresponding relationship between the pre-obtained vital feature data and the sleep stage, determine the corresponding relationship with the previous monitoring period and the current monitoring period respectively. The sleep stage corresponding to the user's vital sign data; or,

在所述用户身体状态数据包括上一监测周期及当前监测周期的用户姿态信息的情况下,根据预先获取的用户姿态与睡眠阶段的对应关系,分别确定与上一监测周期及当前监测周期的用户姿态信息对应的睡眠阶段。In the case that the user's physical state data includes the user's posture information of the previous monitoring period and the current monitoring period, according to the pre-obtained correspondence between the user's posture and the sleep stage, determine the users who are in the previous monitoring period and the current monitoring period respectively. The sleep stage corresponding to the posture information.

这样,移动终端可以通过用户睡眠信息、用户生命特征数据、用户姿态信息计算用户所处的睡眠阶段,提高确定用户睡眠阶段的准确度。In this way, the mobile terminal can calculate the sleep stage of the user through the user sleep information, the user vital feature data, and the user posture information, thereby improving the accuracy of determining the user's sleep stage.

可选的,所述生命特征数据与睡眠阶段的对应关系的获取,包括:Optionally, the acquisition of the correspondence between the vital sign data and sleep stages includes:

根据用户生命特征历史数据对睡眠阶段划分生命特征数值范围;或者,Divide the range of vital characteristics values for sleep stages according to the historical data of the user's vital characteristics; or,

在白天预定时段获取用户的基准生命特征数据,根据所述基准生命特征数据及睡眠状态调整因子计算睡眠阶段的生命特征数据范围;Acquire the baseline vital sign data of the user during a predetermined time period during the day, and calculate the vital sign data range of the sleep stage according to the baseline vital sign data and the sleep state adjustment factor;

根据所述生命特征数据范围及睡眠阶段,确定生命特征数据与睡眠阶段的对应关系。According to the range of the vital feature data and the sleep stage, the corresponding relationship between the vital feature data and the sleep stage is determined.

举例来说,可以将脉搏、呼吸频率、血氧浓度等生命特征数据根据不同的睡眠阶段划分对应的预定区间范围,可以根据人体历史数据进行划分,在此不做限制。例如,浅睡期呼吸频率为第一预设区间,深睡期的呼吸频率为第二预设区间。可以在白天上午10点监测到的用户生命特征数据作为基准生命特征数据,表示用户在清醒时期对应的生命特征数据,根据人体睡眠状态与清醒状态的生命运行规律,确定睡眠状态调整因子,例如,睡眠状态调整因子为不同睡眠阶段生命特征数据相对于基准生命特征数据的百分比范围,将百分比范围乘以基准生命特征数据,得到不同睡眠阶段对应的生命特征数据范围。For example, vital characteristic data such as pulse, respiratory rate, blood oxygen concentration, etc. can be divided into corresponding predetermined intervals according to different sleep stages, and can be divided according to historical data of the human body, which is not limited here. For example, the breathing frequency during the light sleep period is the first preset interval, and the breathing frequency during the deep sleep period is the second preset interval. The user's vital feature data monitored at 10 am during the day can be used as the baseline vital feature data, representing the vital feature data corresponding to the user during the waking period, and the sleep state adjustment factor is determined according to the life operation law of the sleep state and the waking state of the human body, for example, The sleep state adjustment factor is the percentage range of the vital feature data in different sleep stages relative to the baseline vital feature data, and the percentage range is multiplied by the baseline vital feature data to obtain the range of vital feature data corresponding to different sleep stages.

这样,可以自动生成生命特征数据与睡眠阶段的对应关系,且生命特征数据与睡眠阶段的对应关系的准确率比较高。In this way, the correspondence between the vital sign data and the sleep stage can be automatically generated, and the accuracy of the correspondence between the vital sign data and the sleep stage is relatively high.

步骤S102,根据所述上一监测周期的睡眠阶段和当前监测周期的睡眠阶段,确定当前用户睡眠阶段切换情况。Step S102 , according to the sleep stage of the previous monitoring period and the sleep stage of the current monitoring period, determine the switching situation of the current user sleep stage.

在本实施例中,睡眠阶段切换情况可以为从清醒期切换至入睡期,从入睡期切换至深睡期,从深睡期切换至快速眼动期,从任意睡眠阶段切换至清醒期等,在此不做限制。In this embodiment, the switching of sleep stages may be switching from the awake period to the sleep-onset period, from the sleep-onset period to the deep-sleep period, from the deep-sleep period to the rapid eye movement period, from any sleep stage to the awake period, etc., There is no restriction here.

步骤S103,根据预先获取的睡眠阶段切换情况与功耗优化调整操作的对应关系,确定与所述当前用户睡眠阶段切换情况对应的目标功耗优化调整操作。Step S103: Determine a target power consumption optimization adjustment operation corresponding to the current user sleep stage switching situation according to the pre-obtained correspondence between the sleep stage switching situation and the power consumption optimization adjustment operation.

可选的,所述目标功耗优化调整操作包括以下至少一种操作:Optionally, the target power consumption optimization adjustment operation includes at least one of the following operations:

切换至或保持轻度低功耗模式;switch to or remain in mild low power mode;

切换至或保持重度低功耗模式;switch to or remain in a severe low-power mode;

启动或关闭最佳功耗优化模式,所述最佳功耗优化模式处于开启状态时,关闭网络功能、近场通信功能、定位功能、系统通知功能中的至少一种;Enable or disable the best power consumption optimization mode, when the best power consumption optimization mode is on, at least one of the network function, the near field communication function, the positioning function, and the system notification function is turned off;

关闭当前运行的应用程序。Close the currently running application.

在本实施例中,移动终端安装有安卓(Android)系统,安卓系统设置有低功耗(doze)模式,doze模式下,设置待机的功耗优化机制,在灭屏待机期间,限制后台相关应用。移动终端启动doze模式后,只要屏幕熄灭、静止不动、不插入充电器,移动终端将持续保持在doze模式。In this embodiment, the mobile terminal is installed with an Android (Android) system, and the Android system is set with a low-power (doze) mode. In the doze mode, a standby power consumption optimization mechanism is set, and during the off-screen standby period, background related applications are restricted . After the mobile terminal starts the doze mode, as long as the screen is off, stationary, and the charger is not plugged in, the mobile terminal will continue to remain in the doze mode.

doze模式包括轻度低功耗(light doze)模式及重度低功耗(deep doze)模式。轻度低功耗模式:移动终端在灭屏、且一段时间不进行操作,则进入轻度低功耗模式。在轻度低功耗模式下,移动终端在一段时间内没有移动、没有操作,则会进入重度低功耗模式,在重度低功耗模式进一步进行功耗限制,例如,限制非白名单应用访问网络,忽略应用持有的唤醒锁(wake locks),关闭标准闹钟(AlarmManager),延迟到下一个低功耗(doze)窗口期处理,不进行无线网络(WiFi)扫描,系统不允许异步适配器(Adapters)运行,不允许(作用调度器)JobScheduler运行等。The doze modes include a light doze mode and a deep doze mode. Mild low power consumption mode: The mobile terminal enters the mild low power consumption mode when the screen is off and no operation is performed for a period of time. In the mild low-power mode, if the mobile terminal does not move or operate for a period of time, it will enter the severe low-power mode, and further limit the power consumption in the severe low-power mode, for example, restrict the access of non-whitelisted applications Network, ignore the wake locks held by the application (wake locks), close the standard alarm clock (AlarmManager), delay processing until the next low-power (doze) window period, do not perform wireless network (WiFi) scanning, the system does not allow asynchronous adapters ( Adapters) to run, does not allow the (action scheduler) JobScheduler to run, etc.

可选的,所述睡眠阶段切换情况与功耗优化调整操作的对应关系包括:Optionally, the corresponding relationship between the sleep stage switching situation and the power consumption optimization adjustment operation includes:

在前监测周期处于清醒期的情况下,关闭最佳功耗优化模式;Turn off the best power optimization mode when the previous monitoring cycle is awake;

在从上一监测周期的清醒期切换至当前监测周期的入睡期,或者,上一监测周期及当前监测周期均为入睡期的情况下,若处于亮屏状态,则灭屏,并切换至轻度低功耗模式;若处于灭屏状态,则切换至或保持轻度低功耗模式;若处于灭屏或亮屏状态,关闭当前运行的应用程序;When switching from the awake period of the previous monitoring period to the falling asleep period of the current monitoring period, or when both the previous monitoring period and the current monitoring period are the falling asleep period, if the screen is on, the screen will be turned off and switched to light If the screen is off, switch to or maintain the mild low power mode; if the screen is off or on, close the currently running application;

在从上一监测周期的入睡期切换至当前监测周期的浅睡期,或者,上一监测周期及当前监测周期均为浅睡期的情况下,切换至或保持轻度低功耗模式;Switch to or maintain a mild low-power mode when switching from the sleep-onset period of the previous monitoring period to the light-sleep period of the current monitoring period, or when both the previous monitoring period and the current monitoring period are light-sleep periods;

在从上一监测周期的快速眼动期切换至当前监测周期的浅睡期的情况下,换至或保持重度低功耗模式,且启动所述最佳功耗优化模式;In the case of switching from the rapid eye movement period of the previous monitoring period to the light sleep period of the current monitoring period, switching to or maintaining the severe low power consumption mode, and starting the optimal power consumption optimization mode;

在从上一监测周期的浅睡期切换至当前监测周期的深睡期的情况下,若处于轻度低功耗模式,则切换至重度低功耗模式,且启动所述最佳功耗优化模式;若不处于轻度低功耗模式、且不处于重度低功耗模式,则切换至轻度低功耗模式;In the case of switching from the light sleep period of the previous monitoring period to the deep sleep period of the current monitoring period, if in the mild low power consumption mode, switch to the severe low power consumption mode, and start the optimal power consumption optimization mode; if not in mild low power mode and not in severe low power mode, switch to mild low power mode;

在上一监测周期及当前监测周期均为深睡期的情况下,切换至重度低功耗模式,且启动所述最佳功耗优化模式;In the case that the previous monitoring period and the current monitoring period are both deep sleep periods, switch to the severe low power consumption mode, and start the optimal power consumption optimization mode;

在从上一监测周期的清醒期或快速眼动期切换至当前监测周期的深睡期的情况下,若处于轻度低功耗模式,则切换至重度低功耗模式,且启动所述最佳功耗优化模式;若不处于轻度低功耗模式,则切换至轻度低功耗模式;In the case of switching from the awake period or rapid eye movement period of the previous monitoring period to the deep sleep period of the current monitoring period, if it is in the mild low power consumption mode, switch to the severe low power consumption mode, and start the maximum low power consumption mode. Best power consumption optimization mode; if not in mild low power consumption mode, switch to mild low power consumption mode;

在当前监测周期为快速眼动期的情况下,切换至重度低功耗模式,且关闭所述最佳功耗优化模式;In the case that the current monitoring period is the rapid eye movement period, switch to the severe low power consumption mode, and turn off the best power consumption optimization mode;

在从上一监测周期的清醒期切换至当前监测周期的浅睡期、从上一监测周期及当前监测周期均为浅睡期、或者从上一监测周期的清醒期切换至当前监测周期的深睡期的情况下,若处于灭屏状态,则切换至或保持轻度低功耗模式,若处于重度低功耗模式则保持重度低功耗模式。Switch from the awake period of the previous monitoring period to the light sleep period of the current monitoring period, switch from both the previous monitoring period and the current monitoring period to the light sleep period, or switch from the awake period of the previous monitoring period to the deep sleep period of the current monitoring period In the sleep period, if the screen is off, switch to or maintain the mild low-power mode, and if it is in the severe low-power mode, maintain the heavy low-power mode.

下面对睡眠阶段情况进行相关说明。在本实施方式中,定义清醒期为STATE0,入睡期为STATE1,浅睡期为STATE2,深睡期为STATE3,快速眼动期为STATE4。可穿戴设备每隔一段时间通过蓝牙模块向移动终端下发用户身体状态数据,用户身体状态数据可以为以上五种检测到的用户睡眠阶段。移动终端记录接收到的信息,将上一次用户身体状态数据与当前用户身体状态数据进行对比,能产生多种用户睡眠阶段切换情况,用户睡眠阶段切换情况及对应的功耗优化调整操作的相关说明可以参阅下表。The following describes the sleep stages. In this embodiment, the awake period is defined as STATE0, the sleep-onset period is STATE1, the light sleep period is STATE2, the deep sleep period is STATE3, and the rapid eye movement period is STATE4. The wearable device sends the user's body state data to the mobile terminal through the Bluetooth module at regular intervals, and the user's body state data can be the above five detected sleep stages of the user. The mobile terminal records the received information, and compares the last user's body state data with the current user's body state data, which can generate various user sleep stage switching situations, user sleep stage switching situations and corresponding instructions on power consumption optimization and adjustment operations See the table below.

Figure BDA0002944690190000101
Figure BDA0002944690190000101

Figure BDA0002944690190000111
Figure BDA0002944690190000111

移动终端20的备用电源服务模块判断出用户睡眠阶段切换情况后,根据睡眠阶段切换情况与功耗优化调整操作的对应关系,进行相关功耗优化调整操作。After the standby power service module of the mobile terminal 20 determines the user's sleep stage switching situation, it performs related power consumption optimization and adjustment operations according to the corresponding relationship between the sleep stage switching situation and the power consumption optimization adjustment operation.

功耗优化调整操作包括轻度低功耗模式及重度低功耗模式的快速切换,备用电源服务模块通过与设备低功耗控制器通信,以控制轻度低功耗模式及重度低功耗模式的切换,功耗优化调整操作包括启动或关闭最佳功耗优化模式,启动最佳功耗优化模式时,关闭数据连接,WiFi功能,NFC功能,GPS功能,关闭通知状态灯,网络分享等,在较大程度上降低功耗。Power optimization adjustment operations include fast switching between mild low power mode and severe low power mode. The standby power service module communicates with the device low power controller to control the mild low power mode and the severe low power mode. The switching, power optimization adjustment operations include enabling or disabling the best power optimization mode, when starting the best power optimization mode, closing the data connection, WiFi function, NFC function, GPS function, turning off the notification status light, network sharing, etc., Reduce power consumption to a greater extent.

步骤S104,执行所述目标功耗优化调整操作。Step S104, executing the target power consumption optimization adjustment operation.

举例来说,用户在晚上启动视频应用程序看视频或启动音频应用程序听音乐,若根据用户身体状态数据,确定用户从上一监测周期的清醒期切换至当前监测周期的入睡期,或者,从上一监测周期及当前监测周期均为入睡期,在移动终端处于亮屏时,则执行灭屏操作,且切换至轻度低功耗模式;在移动终端处于灭屏,则切换至或保持轻度低功耗模式;若处于灭屏状态,关闭当前运行音频应用程序,若处于亮屏状态,关闭当前运行视频应用程序。For example, if the user starts the video application to watch videos or starts the audio application to listen to music at night, if it is determined according to the user's physical state data that the user switches from the awake period of the previous monitoring period to the sleep period of the current monitoring period, or from The last monitoring period and the current monitoring period are both sleep periods. When the mobile terminal is on, the screen off operation is performed, and the mode is switched to the light low power consumption mode; when the mobile terminal is off, the screen is switched to or kept on light. If the screen is off, close the currently running audio application; if the screen is on, close the currently running video application.

在本实施例中,通过可穿戴设备的睡眠监测功能,从可穿戴设备获取用户身体状态数据,实现自动灭屏,更加快速进入doze状态,以及启动最佳功耗优化模式,即使用户睡眠时间不规律,也可以根据可穿戴设备返回的用户身体状态数据进行功耗优化,有效地确保用户在睡觉不使用移动终端时降低移动终端功耗,提高移动终端的功耗优化效果。In this embodiment, the user's body state data is obtained from the wearable device through the sleep monitoring function of the wearable device, so as to automatically turn off the screen, enter the doze state more quickly, and activate the optimal power consumption optimization mode, even if the user's sleep time is not long. The power consumption can also be optimized according to the user's physical state data returned by the wearable device, which can effectively ensure that the user sleeps and does not use the mobile terminal to reduce the power consumption of the mobile terminal and improve the power consumption optimization effect of the mobile terminal.

可选的,在步骤S101之前,所述方法还包括:Optionally, before step S101, the method further includes:

每隔所述监测周期从所述可穿戴设备接收用户身体状态数据。User body state data is received from the wearable device every the monitoring period.

请再次参阅图2,移动终端20通过蓝牙模块间隔监测周期从可穿戴设备10接收用户身体状态数据。Referring to FIG. 2 again, the mobile terminal 20 receives the user's body state data from the wearable device 10 through the Bluetooth module interval monitoring period.

可选的,请参阅图4,在步骤S101之前,所述方法还包括:Optionally, please refer to FIG. 4, before step S101, the method further includes:

步骤S105,每隔所述监测周期向所述可穿戴设备发送请求指令,所述请求指令用于指示所述可穿戴设备反馈监测周期内的用户身体状态数据。Step S105, sending a request instruction to the wearable device every monitoring period, where the request instruction is used to instruct the wearable device to feed back the user's body state data within the monitoring period.

步骤S106,从所述可穿戴设备接收监测周期内的用户身体状态数据。Step S106, receiving the user's body state data in the monitoring period from the wearable device.

请再次参阅图2,移动终端20通过蓝牙模块每隔一监测周期向可穿戴设备10发送请求指令,请求指令用于指示可穿戴设备10反馈监测周期内的用户身体状态数据,用户身体状态数据包括用户生命特征信息、用户姿态信息、用户睡眠状态信息中的至少一种。移动终端20通过蓝牙模块接收监测周期内的用户身体状态数据。Please refer to FIG. 2 again, the mobile terminal 20 sends a request command to the wearable device 10 through the Bluetooth module every other monitoring cycle, and the request command is used to instruct the wearable device 10 to feed back the user's body state data within the monitoring cycle. The user's body state data includes: At least one of user vital feature information, user posture information, and user sleep state information. The mobile terminal 20 receives the user's body state data in the monitoring period through the Bluetooth module.

这样,移动终端20可以获取监测周期内的用户身体状态数据,便于对移动终端根据用户身体状态数据进行功耗优化管理。In this way, the mobile terminal 20 can acquire the user's body state data within the monitoring period, so as to facilitate power consumption optimization management of the mobile terminal according to the user's body state data.

可选的,请参阅图5,睡眠阶段切换情况与功耗优化调整操作的对应关系的获取,包括:Optionally, please refer to Figure 5 for the acquisition of the correspondence between the sleep stage switching situation and the power consumption optimization adjustment operation, including:

步骤S107,接收用户输入的睡眠阶段切换情况,及接收用户针对输入的睡眠阶段切换情况对应设置的功耗优化调整操作,所述功耗优化调整操作包括关闭目标功能模块。Step S107: Receive the sleep stage switching situation input by the user, and receive a power consumption optimization adjustment operation corresponding to the input sleep stage switching situation, where the power consumption optimization adjustment operation includes turning off the target function module.

步骤S108,根据接收的睡眠阶段切换情况与设置的功耗优化调整操作,生成睡眠阶段切换情况与功耗调整操作的对应关系。Step S108 , according to the received sleep stage switching situation and the set power consumption optimization adjustment operation, generate a corresponding relationship between the sleep stage switching situation and the power consumption adjustment operation.

举例来说,用户可以对睡眠阶段切换情况进行自定义设置,并对睡眠阶段切换情况设置对应功耗优化方案,即用户可以根据自己的睡眠阶段和自身习惯设定对应功耗优化方案。例如,用户设置的睡眠阶段切换情况可以为从清醒期切换至入睡期,从入睡期切换至深睡期,从深睡期切换至快速眼动期,从任意睡眠阶段切换至清醒期。例如,用户可以对从清醒期切换至入睡期,设置关闭移动终端的网络功能、定位功能、视频播放功能、音频播放功能。用户可以对从入睡期切换至深睡期,设置关闭移动终端的网络功能、定位功能、视频播放功能、音频播放功能、蓝牙功能、近场通信功能。用户可以对从深睡期切换至快速眼动期,设置关闭移动终端的网络功能、定位功能。用户可以对从任意睡眠阶段切换至清醒期,设置关闭移动终端的定位功能。备用电源服务模块将用户的设置进行存储,并存储入数据库中。For example, a user can customize settings for the switching of sleep stages, and set a corresponding power consumption optimization scheme for the switching of sleep stages, that is, the user can set a corresponding power consumption optimization scheme according to his sleep stage and his own habits. For example, the sleep stage switching situation set by the user may be switching from the awake period to the sleep period, from the sleep period to the deep sleep period, from the deep sleep period to the rapid eye movement period, and from any sleep stage to the awake period. For example, the user can set to disable the network function, positioning function, video playback function, and audio playback function of the mobile terminal for switching from the awake period to the sleep period. The user can switch from the falling asleep period to the deep sleeping period, and disable the network function, positioning function, video playback function, audio playback function, Bluetooth function, and near-field communication function of the mobile terminal. The user can switch from the deep sleep period to the rapid eye movement period, and disable the network function and positioning function of the mobile terminal. The user can switch from any sleep stage to the awake stage, and disable the positioning function of the mobile terminal. The backup power service module stores the user's settings and stores it in the database.

这样,用户可以根据自身睡眠阶段和习惯设置功耗优化调整操作,功耗优化调整操作可以根据用户自身需求,设置关闭若干功能模块,降低功耗,满足用户的需求,提升用户体验度。In this way, the user can set the power consumption optimization adjustment operation according to his own sleep stage and habits, and the power consumption optimization adjustment operation can be set to close several functional modules according to the user's own needs, so as to reduce the power consumption, meet the user's needs, and improve the user experience.

本申请提供的功耗优化方法,根据从可穿戴设备获取的用户身体状态数据,分别确定上一监测周期和当前监测周期的睡眠阶段;根据所述上一监测周期的睡眠阶段和当前监测周期的睡眠阶段,确定当前用户睡眠阶段切换情况;根据预先获取的睡眠阶段切换情况与功耗优化调整操作的对应关系,确定与所述当前用户睡眠阶段切换情况对应的目标功耗优化调整操作;执行所述目标功耗优化调整操作。本申请提供的功耗优化方案,通移动终端利用可穿戴设备获取用户身体状态数据,根据用户身体状态数据确定睡眠阶切换情况,根据睡眠阶段切换情况动态对移动终端的功耗进行优化,能够提高移动终端功耗优化效果。In the power consumption optimization method provided by the present application, the sleep stage of the previous monitoring period and the current monitoring period are respectively determined according to the user's physical state data obtained from the wearable device; according to the sleep stage of the previous monitoring period and the current monitoring period sleep stage, determine the current user sleep stage switching situation; according to the corresponding relationship between the pre-obtained sleep stage switching situation and the power consumption optimization adjustment operation, determine the target power consumption optimization adjustment operation corresponding to the current user sleep stage switching situation; Describe the target power optimization adjustment operation. The power consumption optimization solution provided by the present application, the mobile terminal uses the wearable device to obtain the user's body state data, determines the sleep stage switching situation according to the user's body state data, and dynamically optimizes the power consumption of the mobile terminal according to the sleep stage switching situation. The power consumption optimization effect of mobile terminals.

实施例2Example 2

请参阅图6,图6示出了本申请提供的功耗优化装置的一结构图。Please refer to FIG. 6. FIG. 6 shows a structural diagram of the power consumption optimization apparatus provided by the present application.

此外,本公开实施例提供了一种功耗优化装置,应用于移动终端。In addition, an embodiment of the present disclosure provides an apparatus for optimizing power consumption, which is applied to a mobile terminal.

具体的,如图6所示,功耗优化装置600包括:Specifically, as shown in FIG. 6 , the power consumption optimization apparatus 600 includes:

接收模块601,用于根据从可穿戴设备获取的用户身体状态数据,分别确定上一监测周期和当前监测周期的睡眠阶段;The receiving module 601 is used for respectively determining the sleep stage of the previous monitoring period and the current monitoring period according to the user's physical state data obtained from the wearable device;

第一确定模块602,用于根据所述上一监测周期的睡眠阶段和当前监测周期的睡眠阶段,确定当前用户睡眠阶段切换情况;A first determining module 602, configured to determine the current user sleep stage switching situation according to the sleep stage of the previous monitoring period and the sleep stage of the current monitoring period;

第二确定模块603,用于根据预先获取的睡眠阶段切换情况与功耗优化调整操作的对应关系,确定与所述当前用户睡眠阶段切换情况对应的目标功耗优化调整操作;A second determining module 603, configured to determine a target power consumption optimization adjustment operation corresponding to the current user sleep stage switching situation according to the pre-obtained correspondence between the sleep stage switching situation and the power consumption optimization adjustment operation;

执行模块604,用于执行所述目标功耗优化调整操作。The execution module 604 is configured to execute the target power consumption optimization adjustment operation.

可选的,接收模块601,用于在所述用户身体状态数据包括上一监测周期及当前监测周期的用户睡眠信息的情况下,根据上一监测周期及当前监测周期的用户睡眠信息分别确定上一监测周期及当前监测周期的睡眠阶段;或者,Optionally, the receiving module 601 is configured to respectively determine the user sleep information of the previous monitoring period and the current monitoring period according to the user sleep information of the previous monitoring period and the current monitoring period when the user's physical state data includes the user sleep information of the previous monitoring period and the current monitoring period. a monitoring period and the sleep stage of the current monitoring period; or,

在所述用户身体状态数据包括上一监测周期及当前监测周期的用户生命特征数据的情况下,根据预先获取的生命特征数据与睡眠阶段的对应关系,分别确定与上一监测周期及当前监测周期的用户生命特征数据对应的睡眠阶段;或者,In the case that the user's physical state data includes the user's vital feature data of the previous monitoring period and the current monitoring period, according to the corresponding relationship between the pre-obtained vital feature data and the sleep stage, determine the corresponding relationship with the previous monitoring period and the current monitoring period respectively. The sleep stage corresponding to the user's vital sign data; or,

在所述用户身体状态数据包括上一监测周期及当前监测周期的用户姿态信息的情况下,根据预先获取的用户姿态与睡眠阶段的对应关系,分别确定与上一监测周期及当前监测周期的用户姿态信息对应的睡眠阶段。In the case that the user's physical state data includes the user's posture information of the previous monitoring period and the current monitoring period, according to the pre-obtained correspondence between the user's posture and the sleep stage, determine the users who are in the previous monitoring period and the current monitoring period respectively. The sleep stage corresponding to the posture information.

可选的,功耗优化装置600还包括:Optionally, the power consumption optimization apparatus 600 further includes:

获取模块,用于根据用户生命特征历史数据对睡眠阶段划分生命特征数值范围;或者,The acquisition module is used to divide the value range of the vital characteristics for the sleep stage according to the historical data of the user's vital characteristics; or,

在白天预定时段获取用户的基准生命特征数据,根据所述基准生命特征数据及睡眠状态调整因子计算睡眠阶段的生命特征数据范围;Acquire the baseline vital sign data of the user during a predetermined time period during the day, and calculate the vital sign data range of the sleep stage according to the baseline vital sign data and the sleep state adjustment factor;

根据所述生命特征数据范围及睡眠阶段,确定生命特征数据与睡眠阶段的对应关系。According to the range of the vital feature data and the sleep stage, the corresponding relationship between the vital feature data and the sleep stage is determined.

可选的,所述目标功耗优化调整操作包括以下至少一种操作:Optionally, the target power consumption optimization adjustment operation includes at least one of the following operations:

切换至或保持轻度低功耗模式;switch to or remain in mild low power mode;

切换至或保持重度低功耗模式;switch to or remain in a severe low-power mode;

启动或关闭最佳功耗优化模式,所述最佳功耗优化模式处于开启状态时,关闭网络功能、近场通信功能、定位功能、系统通知功能中的至少一种;Enable or disable the best power consumption optimization mode, when the best power consumption optimization mode is on, at least one of the network function, the near field communication function, the positioning function, and the system notification function is turned off;

关闭当前运行的应用程序。Close the currently running application.

可选的,所述睡眠阶段切换情况与功耗优化调整操作的对应关系包括:Optionally, the corresponding relationship between the sleep stage switching situation and the power consumption optimization adjustment operation includes:

在前监测周期处于清醒期的情况下,关闭最佳功耗优化模式;Turn off the best power optimization mode when the previous monitoring cycle is awake;

在从上一监测周期的清醒期切换至当前监测周期的入睡期,或者,上一监测周期及当前监测周期均为入睡期的情况下,若处于亮屏状态,则灭屏,并切换至轻度低功耗模式;若处于灭屏状态,则切换至或保持轻度低功耗模式;若处于灭屏或亮屏状态,关闭当前运行的应用程序;When switching from the awake period of the previous monitoring period to the falling asleep period of the current monitoring period, or when both the previous monitoring period and the current monitoring period are the falling asleep period, if the screen is on, the screen will be turned off and switched to light If the screen is off, switch to or maintain the mild low power mode; if the screen is off or on, close the currently running application;

在从上一监测周期的入睡期切换至当前监测周期的浅睡期,或者,上一监测周期及当前监测周期均为浅睡期的情况下,切换至或保持轻度低功耗模式;Switch to or maintain a mild low-power mode when switching from the sleep-onset period of the previous monitoring period to the light-sleep period of the current monitoring period, or when both the previous monitoring period and the current monitoring period are light-sleep periods;

在从上一监测周期的快速眼动期切换至当前监测周期的浅睡期的情况下,换至或保持重度低功耗模式,且启动所述最佳功耗优化模式;In the case of switching from the rapid eye movement period of the previous monitoring period to the light sleep period of the current monitoring period, switching to or maintaining the severe low power consumption mode, and starting the optimal power consumption optimization mode;

在从上一监测周期的浅睡期切换至当前监测周期的深睡期的情况下,若处于轻度低功耗模式,则切换至重度低功耗模式,且启动所述最佳功耗优化模式;若不处于轻度低功耗模式、且不处于重度低功耗模式,则切换至轻度低功耗模式;In the case of switching from the light sleep period of the previous monitoring period to the deep sleep period of the current monitoring period, if in the mild low power consumption mode, switch to the severe low power consumption mode, and start the optimal power consumption optimization mode; if not in mild low power mode and not in severe low power mode, switch to mild low power mode;

在上一监测周期及当前监测周期均为深睡期的情况下,切换至重度低功耗模式,且启动所述最佳功耗优化模式;In the case that the previous monitoring period and the current monitoring period are both deep sleep periods, switch to the severe low power consumption mode, and start the optimal power consumption optimization mode;

在从上一监测周期的清醒期或快速眼动期切换至当前监测周期的深睡期的情况下,若处于轻度低功耗模式,则切换至重度低功耗模式,且启动所述最佳功耗优化模式;若不处于轻度低功耗模式,则切换至轻度低功耗模式;In the case of switching from the awake period or rapid eye movement period of the previous monitoring period to the deep sleep period of the current monitoring period, if it is in the mild low power consumption mode, switch to the severe low power consumption mode, and start the maximum low power consumption mode. Best power consumption optimization mode; if not in mild low power consumption mode, switch to mild low power consumption mode;

在当前监测周期为快速眼动期的情况下,切换至重度低功耗模式,且关闭所述最佳功耗优化模式;In the case that the current monitoring period is the rapid eye movement period, switch to the severe low power consumption mode, and turn off the best power consumption optimization mode;

在从上一监测周期的清醒期切换至当前监测周期的浅睡期、从上一监测周期及当前监测周期均为浅睡期、或者从上一监测周期的清醒期切换至当前监测周期的深睡期的情况下,若处于灭屏状态,则切换至或保持轻度低功耗模式,若处于重度低功耗模式则保持重度低功耗模式。Switch from the awake period of the previous monitoring period to the light sleep period of the current monitoring period, switch from both the previous monitoring period and the current monitoring period to the light sleep period, or switch from the awake period of the previous monitoring period to the deep sleep period of the current monitoring period In the sleep period, if the screen is off, switch to or maintain the mild low-power mode, and if it is in the severe low-power mode, maintain the heavy low-power mode.

可选的,功耗优化装置600,包括:Optionally, the power consumption optimization apparatus 600 includes:

收发模块,用于每隔所述监测周期从所述可穿戴设备接收用户身体状态数据;或者,a transceiver module, configured to receive user body state data from the wearable device every monitoring period; or,

每隔所述监测周期向所述可穿戴设备发送请求指令,所述请求指令用于指示所述可穿戴设备反馈监测周期内的用户身体状态数据;sending a request instruction to the wearable device every monitoring period, where the request instruction is used to instruct the wearable device to feed back the user's body state data within the monitoring period;

从所述可穿戴设备接收监测周期内的用户身体状态数据。The user's body state data during the monitoring period is received from the wearable device.

可选的,功耗优化装置600,包括:Optionally, the power consumption optimization apparatus 600 includes:

接收模块,用于接收用户输入的睡眠阶段切换情况,及接收用户针对输入的睡眠阶段切换情况对应设置的功耗优化调整操作,所述功耗优化调整操作包括关闭目标功能模块;a receiving module, configured to receive the sleep stage switching situation input by the user, and receive the power consumption optimization adjustment operation set by the user corresponding to the input sleep stage switching situation, and the power consumption optimization adjustment operation includes turning off the target function module;

生成模块,用于根据接收的睡眠阶段切换情况与设置的功耗优化调整操作,生成睡眠阶段切换情况与功耗调整操作的对应关系。The generation module is configured to generate a corresponding relationship between the sleep stage switching situation and the power consumption adjustment operation according to the received sleep stage switching situation and the set power consumption optimization adjustment operation.

功耗优化装置600可以实现图2所示功耗优化方法,为避免重复,在此不再赘述。The power consumption optimization apparatus 600 can implement the power consumption optimization method shown in FIG. 2 , which is not repeated here in order to avoid repetition.

本实施例提供的功耗优化装置,根据从可穿戴设备获取的用户身体状态数据,分别确定上一监测周期和当前监测周期的睡眠阶段;根据所述上一监测周期的睡眠阶段和当前监测周期的睡眠阶段,确定当前用户睡眠阶段切换情况;根据预先获取的睡眠阶段切换情况与功耗优化调整操作的对应关系,确定与所述当前用户睡眠阶段切换情况对应的目标功耗优化调整操作;执行所述目标功耗优化调整操作。本申请提供的功耗优化方案,通移动终端利用可穿戴设备获取用户身体状态数据,根据用户身体状态数据确定睡眠阶切换情况,根据睡眠阶段切换情况动态对移动终端的功耗进行优化,能够提高移动终端功耗优化效果。The power consumption optimization device provided by this embodiment determines the sleep stage of the previous monitoring period and the current monitoring period respectively according to the user's physical state data obtained from the wearable device; according to the sleep stage of the previous monitoring period and the current monitoring period According to the corresponding relationship between the pre-obtained sleep stage switching situation and the power consumption optimization adjustment operation, determine the target power consumption optimization adjustment operation corresponding to the current user sleep stage switching situation; execute The target power consumption optimizes the adjustment operation. The power consumption optimization solution provided by the present application, the mobile terminal uses the wearable device to obtain the user's body state data, determines the sleep stage switching situation according to the user's body state data, and dynamically optimizes the power consumption of the mobile terminal according to the sleep stage switching situation. The power consumption optimization effect of mobile terminals.

实施例3Example 3

此外,本公开实施例提供了一种移动终端,包括存储器以及处理器,所述存储器存储有计算机程序,所述计算机程序在所述处理器上运行时执行上述方法实施例1所提供的功耗优化方法。In addition, an embodiment of the present disclosure provides a mobile terminal, including a memory and a processor, where the memory stores a computer program, and when the computer program runs on the processor, the computer program executes the power consumption provided by the foregoing method embodiment 1 Optimization.

具体的,如图7所示,本实施例提供的移动终端700包括:Specifically, as shown in FIG. 7 , the mobile terminal 700 provided in this embodiment includes:

射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、处理器710、以及电源711等部件。本领域技术人员可以理解,图7中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载移动终端、可穿戴设备、以及计步器等。Radio frequency unit 701, network module 702, audio output unit 703, input unit 704, sensor 705, display unit 706, user input unit 707, interface unit 708, memory 709, processor 710, and power supply 711 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 7 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than the one shown, or combine some components, or different components layout. In this embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted mobile terminal, a wearable device, a pedometer, and the like.

其中,处理器710,用于:根据从可穿戴设备获取的用户身体状态数据,分别确定上一监测周期和当前监测周期的睡眠阶段;The processor 710 is configured to: determine the sleep stage of the previous monitoring period and the current monitoring period respectively according to the user's physical state data obtained from the wearable device;

根据所述上一监测周期的睡眠阶段和当前监测周期的睡眠阶段,确定当前用户睡眠阶段切换情况;According to the sleep stage of the previous monitoring period and the sleep stage of the current monitoring period, determine the switching situation of the current user sleep stage;

根据预先获取的睡眠阶段切换情况与功耗优化调整操作的对应关系,确定与所述当前用户睡眠阶段切换情况对应的目标功耗优化调整操作;Determine the target power consumption optimization adjustment operation corresponding to the current user sleep stage switching situation according to the corresponding relationship between the pre-obtained sleep stage switching situation and the power consumption optimization adjustment operation;

执行所述目标功耗优化调整操作。The target power consumption optimization adjustment operation is performed.

可选的,处理器710,还用于:在所述用户身体状态数据包括上一监测周期及当前监测周期的用户睡眠信息的情况下,根据上一监测周期及当前监测周期的用户睡眠信息分别确定上一监测周期及当前监测周期的睡眠阶段;或者,Optionally, the processor 710 is further configured to: in the case that the user's physical state data includes the user sleep information of the previous monitoring period and the current monitoring period, respectively, according to the user sleep information of the previous monitoring period and the current monitoring period. Determine the sleep stage of the previous monitoring period and the current monitoring period; or,

在所述用户身体状态数据包括上一监测周期及当前监测周期的用户生命特征数据的情况下,根据预先获取的生命特征数据与睡眠阶段的对应关系,分别确定与上一监测周期及当前监测周期的用户生命特征数据对应的睡眠阶段;或者,In the case that the user's physical state data includes the user's vital feature data of the previous monitoring period and the current monitoring period, according to the corresponding relationship between the pre-obtained vital feature data and the sleep stage, determine the corresponding relationship with the previous monitoring period and the current monitoring period respectively. The sleep stage corresponding to the user's vital sign data; or,

在所述用户身体状态数据包括上一监测周期及当前监测周期的用户姿态信息的情况下,根据预先获取的用户姿态与睡眠阶段的对应关系,分别确定与上一监测周期及当前监测周期的用户姿态信息对应的睡眠阶段。In the case that the user's physical state data includes the user's posture information of the previous monitoring period and the current monitoring period, according to the pre-obtained correspondence between the user's posture and the sleep stage, determine the users who are in the previous monitoring period and the current monitoring period respectively. The sleep stage corresponding to the posture information.

可选的,处理器710,还用于:根据用户生命特征历史数据对睡眠阶段划分生命特征数值范围;或者,Optionally, the processor 710 is further configured to: divide the value range of the vital feature for the sleep stage according to the historical data of the vital feature of the user; or,

在白天预定时段获取用户的基准生命特征数据,根据所述基准生命特征数据及睡眠状态调整因子计算睡眠阶段的生命特征数据范围;Acquire the baseline vital sign data of the user during a predetermined time period during the day, and calculate the vital sign data range of the sleep stage according to the baseline vital sign data and the sleep state adjustment factor;

根据所述生命特征数据范围及睡眠阶段,确定生命特征数据与睡眠阶段的对应关系。According to the range of the vital feature data and the sleep stage, the corresponding relationship between the vital feature data and the sleep stage is determined.

可选的,所述目标功耗优化调整操作包括以下至少一种操作:Optionally, the target power consumption optimization adjustment operation includes at least one of the following operations:

切换至或保持轻度低功耗模式;switch to or remain in mild low power mode;

切换至或保持重度低功耗模式;switch to or remain in a severe low-power mode;

启动或关闭最佳功耗优化模式,所述最佳功耗优化模式处于开启状态时,关闭网络功能、近场通信功能、定位功能、系统通知功能中的至少一种;Enable or disable the best power consumption optimization mode, when the best power consumption optimization mode is on, at least one of the network function, the near field communication function, the positioning function, and the system notification function is turned off;

关闭当前运行的应用程序。Close the currently running application.

可选的,处理器710,还用于:在前监测周期处于清醒期的情况下,关闭最佳功耗优化模式;Optionally, the processor 710 is further configured to: turn off the optimal power consumption optimization mode when the previous monitoring period is in the awake period;

在从上一监测周期的清醒期切换至当前监测周期的入睡期,或者,上一监测周期及当前监测周期均为入睡期的情况下,若处于亮屏状态,则灭屏,并切换至轻度低功耗模式;若处于灭屏状态,则切换至或保持轻度低功耗模式;若处于灭屏或亮屏状态,关闭当前运行的应用程序;When switching from the awake period of the previous monitoring period to the falling asleep period of the current monitoring period, or when both the previous monitoring period and the current monitoring period are the falling asleep period, if the screen is on, the screen will be turned off and switched to light If the screen is off, switch to or maintain the mild low power mode; if the screen is off or on, close the currently running application;

在从上一监测周期的入睡期切换至当前监测周期的浅睡期,或者,上一监测周期及当前监测周期均为浅睡期的情况下,切换至或保持轻度低功耗模式;Switch to or maintain a mild low-power mode when switching from the sleep-onset period of the previous monitoring period to the light-sleep period of the current monitoring period, or when both the previous monitoring period and the current monitoring period are light-sleep periods;

在从上一监测周期的快速眼动期切换至当前监测周期的浅睡期的情况下,换至或保持重度低功耗模式,且启动所述最佳功耗优化模式;In the case of switching from the rapid eye movement period of the previous monitoring period to the light sleep period of the current monitoring period, switching to or maintaining the severe low power consumption mode, and starting the optimal power consumption optimization mode;

在从上一监测周期的浅睡期切换至当前监测周期的深睡期的情况下,若处于轻度低功耗模式,则切换至重度低功耗模式,且启动所述最佳功耗优化模式;若不处于轻度低功耗模式、且不处于重度低功耗模式,则切换至轻度低功耗模式;In the case of switching from the light sleep period of the previous monitoring period to the deep sleep period of the current monitoring period, if in the mild low power consumption mode, switch to the severe low power consumption mode, and start the optimal power consumption optimization mode; if not in mild low power mode and not in severe low power mode, switch to mild low power mode;

在上一监测周期及当前监测周期均为深睡期的情况下,切换至重度低功耗模式,且启动所述最佳功耗优化模式;In the case that the previous monitoring period and the current monitoring period are both deep sleep periods, switch to the severe low power consumption mode, and start the optimal power consumption optimization mode;

在从上一监测周期的清醒期或快速眼动期切换至当前监测周期的深睡期的情况下,若处于轻度低功耗模式,则切换至重度低功耗模式,且启动所述最佳功耗优化模式;若不处于轻度低功耗模式,则切换至轻度低功耗模式;In the case of switching from the awake period or rapid eye movement period of the previous monitoring period to the deep sleep period of the current monitoring period, if it is in the mild low power consumption mode, switch to the severe low power consumption mode, and start the maximum low power consumption mode. Best power consumption optimization mode; if not in mild low power consumption mode, switch to mild low power consumption mode;

在当前监测周期为快速眼动期的情况下,切换至重度低功耗模式,且关闭所述最佳功耗优化模式;In the case that the current monitoring period is the rapid eye movement period, switch to the severe low power consumption mode, and turn off the best power consumption optimization mode;

在从上一监测周期的清醒期切换至当前监测周期的浅睡期、从上一监测周期及当前监测周期均为浅睡期、或者从上一监测周期的清醒期切换至当前监测周期的深睡期的情况下,若处于灭屏状态,则切换至或保持轻度低功耗模式,若处于重度低功耗模式则保持重度低功耗模式。Switch from the awake period of the previous monitoring period to the light sleep period of the current monitoring period, switch from both the previous monitoring period and the current monitoring period to the light sleep period, or switch from the awake period of the previous monitoring period to the deep sleep period of the current monitoring period In the sleep period, if the screen is off, switch to or maintain the mild low-power mode, and if it is in the severe low-power mode, maintain the heavy low-power mode.

可选的,处理器710,还用于:每隔所述监测周期从所述可穿戴设备接收用户身体状态数据;或者,Optionally, the processor 710 is further configured to: receive user body state data from the wearable device every monitoring period; or,

每隔所述监测周期向所述可穿戴设备发送请求指令,所述请求指令用于指示所述可穿戴设备反馈监测周期内的用户身体状态数据;sending a request instruction to the wearable device every monitoring period, where the request instruction is used to instruct the wearable device to feed back the user's body state data within the monitoring period;

从所述可穿戴设备接收监测周期内的用户身体状态数据。The user's body state data during the monitoring period is received from the wearable device.

可选的,处理器710,还用于:接收用户输入的睡眠阶段切换情况,及接收用户针对输入的睡眠阶段切换情况对应设置的功耗优化调整操作,所述功耗优化调整操作包括关闭目标功能模块;Optionally, the processor 710 is further configured to: receive the sleep stage switching situation input by the user, and receive a power consumption optimization adjustment operation corresponding to the input sleep stage switching situation, where the power consumption optimization adjustment operation includes closing the target. functional module;

根据接收的睡眠阶段切换情况与设置的功耗优化调整操作,生成睡眠阶段切换情况与功耗调整操作的对应关系。According to the received sleep stage switching situation and the set power consumption optimization adjustment operation, a corresponding relationship between the sleep stage switching situation and the power consumption adjustment operation is generated.

应理解的是,本发明实施例中,射频单元701可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器710处理;另外,将上行的数据发送给基站。通常,射频单元701包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元701还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 701 can be used for receiving and sending signals during sending and receiving of information or during a call. Specifically, after receiving the downlink data from the base station, it is processed by the processor 710; The uplink data is sent to the base station. Generally, the 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 can also communicate with the network and other devices through a wireless communication system.

移动终端通过网络模块702为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides the user with wireless broadband Internet access through the network module 702, such as helping the user to send and receive emails, browse web pages, access streaming media, and the like.

音频输出单元703可以将射频单元701或网络模块702接收的或者在存储器709中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元703还可以提供与移动终端700执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元703包括扬声器、蜂鸣器以及受话器等。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 audio signals 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 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.

输入单元704用于接收音频或视频信号。输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获移动终端(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以视频播放在显示单元706上。经图形处理器7041处理后的图像帧可以存储在存储器709(或其它存储介质)中或者经由射频单元701或网络模块702进行发送。麦克风7042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元701发送到移动通信基站的格式输出。The input unit 704 is used to receive audio or video signals. The input unit 704 may include a graphics processor (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 is used for still pictures or videos obtained by an image capture mobile terminal (such as a camera) in a video capture mode or an image capture mode. image data for processing. The processed image frames may be video-played on the display unit 706 . The image frames processed by the graphics processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio frequency unit 701 or the network module 702 . The microphone 7042 can receive sound and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 701 for output in the case of a telephone call mode.

移动终端700还包括至少一种传感器705,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板7061的亮度,接近传感器可在移动终端700移动到耳边时,关闭显示面板7061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器705还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 700 also includes at least one sensor 705, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 7061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 7061 and the proximity sensor when the mobile terminal 700 is moved to the ear. / or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 705 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, Infrared sensors, etc., are not repeated here.

显示单元706用于视频播放由用户输入的信息或提供给用户的信息。显示单元706可包括显示面板7061,可以采用液晶视频播放器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板7061。The display unit 706 is used for video playing 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 video player (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.

用户输入单元707可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板7071上或在触控面板7071附近的操作)。触控面板7071可包括触摸检测移动终端和触摸控制器两个部分。其中,触摸检测移动终端检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测移动终端上接收触摸信息,并将它转换成触点坐标,再送给处理器710,接收处理器710发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板7071。除了触控面板7071,用户输入单元707还可以包括其他输入设备7072。具体地,其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 707 may be used to receive input numerical or character information, and generate key signal input 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, can collect touch operations by the user on or near it (such as the user's finger, stylus, etc., any suitable object or attachment on or near the touch panel 7071). operate). The touch panel 7071 may include two parts, a touch detection mobile terminal and a touch controller. Among them, the touch detection mobile terminal detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection mobile terminal and converts it into contact coordinates , and then send it to the processor 710 to receive the command sent by the processor 710 and execute it. In addition, the touch panel 7071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 7071 , the user input unit 707 may also include other input devices 7072 . Specifically, other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

进一步的,触控面板7071可覆盖在显示面板7061上,当触控面板7071检测到在其上或附近的触摸操作后,传送给处理器710以确定触摸事件的类型,随后处理器710根据触摸事件的类型在显示面板7061上提供相应的视觉输出。虽然在图7中,触控面板7071与显示面板7061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板7071与显示面板7061集成而实现移动终端的输入和输出功能,具体此处不做限定。Further, the touch panel 7071 can be covered on the display panel 7061. When the touch panel 7071 detects a touch operation on or near it, it transmits it to the processor 710 to determine the type of the touch event, and then the processor 710 determines the type of the touch event according to the touch The type of event provides a corresponding visual output on display panel 7061. Although in FIG. 7, the touch panel 7071 and the display panel 7061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated The input and output functions of the mobile terminal are implemented, which is not specifically limited here.

接口单元708为外部移动终端与移动终端700连接的接口。例如,外部移动终端可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的移动终端的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元708可以用于接收来自外部移动终端的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端700内的一个或多个元件或者可以用于在移动终端700和外部移动终端之间传输数据。The interface unit 708 is an interface for connecting the external mobile terminal with 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 a mobile terminal with an identification module, an audio input /Output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 708 may be used to receive input (eg, 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 between the mobile terminal 700 and the Data transfer between external mobile terminals.

存储器709可用于存储软件程序以及各种数据。存储器709可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器709可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, 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.

处理器710是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器709内的软件程序和/或模块,以及调用存储在存储器709内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器710可包括一个或多个处理单元;优选的,处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。The processor 710 is the control center of the mobile terminal, uses various interfaces and lines to connect various parts of the entire mobile terminal, runs or executes the software programs and/or modules stored in the memory 709, and calls the data stored in the memory 709. , perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 710.

移动终端700还可以包括给各个部件供电的电源711(比如电池),优选的,电源711可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 700 may also include a power source 711 (such as a battery) for supplying power to various components. Preferably, the power source 711 may be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. and other functions.

另外,移动终端700包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 700 includes some unshown functional modules, which are not repeated here.

移动终端700可以实现图2所示功耗优化方法,为避免重复,在此不再赘述。The mobile terminal 700 can implement the power consumption optimization method shown in FIG. 2 , which is not repeated here in order to avoid repetition.

本实施例提供的移动终端,根据从可穿戴设备获取的用户身体状态数据,分别确定上一监测周期和当前监测周期的睡眠阶段;根据所述上一监测周期的睡眠阶段和当前监测周期的睡眠阶段,确定当前用户睡眠阶段切换情况;根据预先获取的睡眠阶段切换情况与功耗优化调整操作的对应关系,确定与所述当前用户睡眠阶段切换情况对应的目标功耗优化调整操作;执行所述目标功耗优化调整操作。本申请提供的通移动终端利用可穿戴设备获取用户身体状态数据,根据用户身体状态数据确定睡眠阶切换情况,根据睡眠阶段切换情况动态对移动终端的功耗进行优化,能够提高移动终端功耗优化效果。The mobile terminal provided in this embodiment determines the sleep stage of the previous monitoring period and the current monitoring period respectively according to the user's physical state data obtained from the wearable device; according to the sleep stage of the previous monitoring period and the sleep stage of the current monitoring period determine the current user sleep stage switching situation; determine the target power consumption optimization adjustment operation corresponding to the current user sleep stage switching situation according to the correspondence between the pre-obtained sleep stage switching situation and the power consumption optimization adjustment operation; execute the Target power optimization tuning operation. The mobile terminal provided by the present application uses a wearable device to obtain the user's body state data, determines the sleep stage switching situation according to the user's body state data, and dynamically optimizes the power consumption of the mobile terminal according to the sleep stage switching situation, which can improve the power consumption optimization of the mobile terminal. Effect.

实施例4Example 4

本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如下步骤:The present application also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the following steps are implemented:

根据从可穿戴设备获取的用户身体状态数据,分别确定上一监测周期和当前监测周期的睡眠阶段;According to the user's physical state data obtained from the wearable device, the sleep stages of the previous monitoring period and the current monitoring period are respectively determined;

根据所述上一监测周期的睡眠阶段和当前监测周期的睡眠阶段,确定当前用户睡眠阶段切换情况;According to the sleep stage of the previous monitoring period and the sleep stage of the current monitoring period, determine the switching situation of the current user sleep stage;

根据预先获取的睡眠阶段切换情况与功耗优化调整操作的对应关系,确定与所述当前用户睡眠阶段切换情况对应的目标功耗优化调整操作;Determine the target power consumption optimization adjustment operation corresponding to the current user sleep stage switching situation according to the corresponding relationship between the pre-obtained sleep stage switching situation and the power consumption optimization adjustment operation;

执行所述目标功耗优化调整操作。The target power consumption optimization adjustment operation is performed.

计算机可读存储介质可以实现图2所示功耗优化方法,为避免重复,在此不再赘述。The computer-readable storage medium can implement the power consumption optimization method shown in FIG. 2 , which is not repeated here in order to avoid repetition.

在本实施例中,计算机可读存储介质可以为只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random AccessMemory,简称RAM)、磁碟或者光盘等。In this embodiment, the computer-readable storage medium may be a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, or an optical disk.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者终端中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or terminal comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or terminal. Without further limitation, an element defined by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article or terminal that includes the element.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.

上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.

Claims (10)

1.一种功耗优化方法,其特征在于,应用于移动终端,所述方法包括:1. A power consumption optimization method, characterized in that, applied to a mobile terminal, the method comprising: 根据从可穿戴设备获取的用户身体状态数据,分别确定上一监测周期和当前监测周期的睡眠阶段;According to the user's physical state data obtained from the wearable device, the sleep stages of the previous monitoring period and the current monitoring period are respectively determined; 根据所述上一监测周期的睡眠阶段和当前监测周期的睡眠阶段,确定当前用户睡眠阶段切换情况;According to the sleep stage of the previous monitoring period and the sleep stage of the current monitoring period, determine the switching situation of the current user sleep stage; 根据预先获取的睡眠阶段切换情况与功耗优化调整操作的对应关系,确定与所述当前用户睡眠阶段切换情况对应的目标功耗优化调整操作;Determine the target power consumption optimization adjustment operation corresponding to the current user sleep stage switching situation according to the corresponding relationship between the pre-obtained sleep stage switching situation and the power consumption optimization adjustment operation; 执行所述目标功耗优化调整操作。The target power consumption optimization adjustment operation is performed. 2.根据权利要求1所述的方法,其特征在于,所述根据从可穿戴设备获取的用户身体状态数据,分别确定上一监测周期和当前监测周期的睡眠阶段,包括:2. The method according to claim 1, wherein, according to the user's physical state data obtained from the wearable device, the sleep stages of the previous monitoring period and the current monitoring period are respectively determined, comprising: 在所述用户身体状态数据包括上一监测周期及当前监测周期的用户睡眠信息的情况下,根据上一监测周期及当前监测周期的用户睡眠信息分别确定上一监测周期及当前监测周期的睡眠阶段;或者,In the case that the user's physical state data includes the user sleep information of the previous monitoring period and the current monitoring period, the sleep stages of the previous monitoring period and the current monitoring period are respectively determined according to the user sleep information of the previous monitoring period and the current monitoring period ;or, 在所述用户身体状态数据包括上一监测周期及当前监测周期的用户生命特征数据的情况下,根据预先获取的生命特征数据与睡眠阶段的对应关系,分别确定与上一监测周期及当前监测周期的用户生命特征数据对应的睡眠阶段;或者,In the case that the user's physical state data includes the user's vital feature data of the previous monitoring period and the current monitoring period, according to the corresponding relationship between the pre-obtained vital feature data and the sleep stage, determine the corresponding relationship with the previous monitoring period and the current monitoring period respectively. The sleep stage corresponding to the user's vital sign data; or, 在所述用户身体状态数据包括上一监测周期及当前监测周期的用户姿态信息的情况下,根据预先获取的用户姿态与睡眠阶段的对应关系,分别确定与上一监测周期及当前监测周期的用户姿态信息对应的睡眠阶段。In the case that the user's physical state data includes the user's posture information of the previous monitoring period and the current monitoring period, according to the pre-obtained correspondence between the user's posture and the sleep stage, determine the users who are in the previous monitoring period and the current monitoring period respectively. The sleep stage corresponding to the posture information. 3.根据权利要求2所述的方法,其特征在于,所述生命特征数据与睡眠阶段的对应关系的获取,包括:3. The method according to claim 2, wherein the acquisition of the correspondence between the vital sign data and the sleep stage comprises: 根据用户生命特征历史数据对睡眠阶段划分生命特征数值范围;或者,Divide the range of vital characteristics values for sleep stages according to the historical data of the user's vital characteristics; or, 在白天预定时段获取用户的基准生命特征数据,根据所述基准生命特征数据及睡眠状态调整因子计算睡眠阶段的生命特征数据范围;Acquire the baseline vital sign data of the user during a predetermined time period during the day, and calculate the vital sign data range of the sleep stage according to the baseline vital sign data and the sleep state adjustment factor; 根据所述生命特征数据范围及睡眠阶段,确定生命特征数据与睡眠阶段的对应关系。According to the range of the vital feature data and the sleep stage, the corresponding relationship between the vital feature data and the sleep stage is determined. 4.根据权利要求1所述的方法,其特征在于,所述目标功耗优化调整操作包括以下至少一种操作:4. The method according to claim 1, wherein the target power consumption optimization adjustment operation comprises at least one of the following operations: 切换至或保持轻度低功耗模式;switch to or remain in mild low power mode; 切换至或保持重度低功耗模式;switch to or remain in a severe low-power mode; 启动或关闭最佳功耗优化模式,所述最佳功耗优化模式处于开启状态时,关闭网络功能、近场通信功能、定位功能、系统通知功能中的至少一种;Enable or disable the best power consumption optimization mode, when the best power consumption optimization mode is on, at least one of the network function, the near field communication function, the positioning function, and the system notification function is turned off; 关闭当前运行的应用程序。Close the currently running application. 5.根据权利要求4所述的方法,其特征在于,所述睡眠阶段切换情况与功耗优化调整操作的对应关系包括:5. The method according to claim 4, wherein the corresponding relationship between the sleep stage switching situation and the power consumption optimization adjustment operation comprises: 在前监测周期处于清醒期的情况下,关闭最佳功耗优化模式;Turn off the best power optimization mode when the previous monitoring cycle is awake; 在从上一监测周期的清醒期切换至当前监测周期的入睡期,或者,上一监测周期及当前监测周期均为入睡期的情况下,若处于亮屏状态,则灭屏,并切换至轻度低功耗模式;若处于灭屏状态,则切换至或保持轻度低功耗模式;若处于灭屏或亮屏状态,关闭当前运行的应用程序;When switching from the awake period of the previous monitoring period to the falling asleep period of the current monitoring period, or when both the previous monitoring period and the current monitoring period are the falling asleep period, if the screen is on, the screen will be turned off and switched to light If the screen is off, switch to or maintain the mild low power mode; if the screen is off or on, close the currently running application; 在从上一监测周期的入睡期切换至当前监测周期的浅睡期,或者,上一监测周期及当前监测周期均为浅睡期的情况下,切换至或保持轻度低功耗模式;Switch to or maintain a mild low-power mode when switching from the sleep-onset period of the previous monitoring period to the light-sleep period of the current monitoring period, or when both the previous monitoring period and the current monitoring period are light-sleep periods; 在从上一监测周期的快速眼动期切换至当前监测周期的浅睡期的情况下,换至或保持重度低功耗模式,且启动所述最佳功耗优化模式;In the case of switching from the rapid eye movement period of the previous monitoring period to the light sleep period of the current monitoring period, switching to or maintaining the severe low power consumption mode, and starting the optimal power consumption optimization mode; 在从上一监测周期的浅睡期切换至当前监测周期的深睡期的情况下,若处于轻度低功耗模式,则切换至重度低功耗模式,且启动所述最佳功耗优化模式;若不处于轻度低功耗模式、且不处于重度低功耗模式,则切换至轻度低功耗模式;In the case of switching from the light sleep period of the previous monitoring period to the deep sleep period of the current monitoring period, if in the mild low power consumption mode, switch to the severe low power consumption mode, and start the optimal power consumption optimization mode; if not in mild low power mode and not in severe low power mode, switch to mild low power mode; 在上一监测周期及当前监测周期均为深睡期的情况下,切换至重度低功耗模式,且启动所述最佳功耗优化模式;In the case that the previous monitoring period and the current monitoring period are both deep sleep periods, switch to the severe low power consumption mode, and start the optimal power consumption optimization mode; 在从上一监测周期的清醒期或快速眼动期切换至当前监测周期的深睡期的情况下,若处于轻度低功耗模式,则切换至重度低功耗模式,且启动所述最佳功耗优化模式;若不处于轻度低功耗模式,则切换至轻度低功耗模式;In the case of switching from the awake period or rapid eye movement period of the previous monitoring period to the deep sleep period of the current monitoring period, if it is in the mild low power consumption mode, switch to the severe low power consumption mode, and start the maximum low power consumption mode. Best power consumption optimization mode; if not in mild low power consumption mode, switch to mild low power consumption mode; 在当前监测周期为快速眼动期的情况下,切换至重度低功耗模式,且关闭所述最佳功耗优化模式;In the case that the current monitoring period is the rapid eye movement period, switch to the severe low power consumption mode, and turn off the best power consumption optimization mode; 在从上一监测周期的清醒期切换至当前监测周期的浅睡期、从上一监测周期及当前监测周期均为浅睡期、或者从上一监测周期的清醒期切换至当前监测周期的深睡期的情况下,若处于灭屏状态,则切换至或保持轻度低功耗模式,若处于重度低功耗模式则保持重度低功耗模式。Switch from the awake period of the previous monitoring period to the light sleep period of the current monitoring period, switch from both the previous monitoring period and the current monitoring period to the light sleep period, or switch from the awake period of the previous monitoring period to the deep sleep period of the current monitoring period In the sleep period, if the screen is off, switch to or maintain the mild low-power mode, and if it is in the severe low-power mode, maintain the heavy low-power mode. 6.根据权利要求1所述的方法,其特征在于,所述根据从可穿戴设备获取的用户身体状态数据之前,所述方法还包括:6 . The method according to claim 1 , wherein before the user’s physical state data obtained from the wearable device, the method further comprises: 6 . 每隔所述监测周期从所述可穿戴设备接收用户身体状态数据;或者,receiving user body state data from the wearable device every said monitoring period; or, 每隔所述监测周期向所述可穿戴设备发送请求指令,所述请求指令用于指示所述可穿戴设备反馈监测周期内的用户身体状态数据;sending a request instruction to the wearable device every monitoring period, where the request instruction is used to instruct the wearable device to feed back the user's body state data within the monitoring period; 从所述可穿戴设备接收监测周期内的用户身体状态数据。The user's body state data during the monitoring period is received from the wearable device. 7.根据权利要求1所述的方法,其特征在于,所述睡眠阶段切换情况与功耗优化调整操作的对应关系的获取,包括:7. The method according to claim 1, wherein the acquisition of the correspondence between the sleep stage switching situation and the power consumption optimization adjustment operation comprises: 接收用户输入的睡眠阶段切换情况,及接收用户针对输入的睡眠阶段切换情况对应设置的功耗优化调整操作,所述功耗优化调整操作包括关闭目标功能模块;Receive the sleep stage switching situation input by the user, and receive a power consumption optimization adjustment operation set by the user corresponding to the input sleep stage switching situation, where the power consumption optimization adjustment operation includes turning off the target function module; 根据接收的睡眠阶段切换情况与设置的功耗优化调整操作,生成睡眠阶段切换情况与功耗调整操作的对应关系。According to the received sleep stage switching situation and the set power consumption optimization adjustment operation, a corresponding relationship between the sleep stage switching situation and the power consumption adjustment operation is generated. 8.一种功耗优化装置,其特征在于,应用于移动终端,所述装置包括:8. A power consumption optimization device, characterized in that, applied to a mobile terminal, the device comprising: 接收模块,用于根据从可穿戴设备获取的用户身体状态数据,分别确定上一监测周期和当前监测周期的睡眠阶段;The receiving module is used to respectively determine the sleep stage of the previous monitoring period and the current monitoring period according to the user's physical state data obtained from the wearable device; 第一确定模块,用于根据所述上一监测周期的睡眠阶段和当前监测周期的睡眠阶段,确定当前用户睡眠阶段切换情况;a first determining module, configured to determine the current user sleep stage switching situation according to the sleep stage of the previous monitoring cycle and the sleep stage of the current monitoring cycle; 第二确定模块,用于根据预先获取的睡眠阶段切换情况与功耗优化调整操作的对应关系,确定与所述当前用户睡眠阶段切换情况对应的目标功耗优化调整操作;a second determining module, configured to determine a target power consumption optimization adjustment operation corresponding to the current user sleep stage switching situation according to the pre-obtained correspondence between the sleep stage switching situation and the power consumption optimization adjustment operation; 执行模块,用于执行所述目标功耗优化调整操作。An execution module, configured to execute the target power consumption optimization adjustment operation. 9.一种移动终端,其特征在于,包括存储器以及处理器,所述存储器存储有计算机程序,所述计算机程序在所述处理器运行时执行权利要求1至7中任一项所述的功耗优化方法。9. A mobile terminal, comprising a memory and a processor, wherein the memory stores a computer program, and the computer program executes the function according to any one of claims 1 to 7 when the processor runs. consumption optimization method. 10.一种计算机可读存储介质,其特征在于,其存储有计算机程序,所述计算机程序在处理器上运行时执行权利要求1至7中任一项所述的功耗优化方法。10 . A computer-readable storage medium, characterized in that it stores a computer program, and the computer program executes the power consumption optimization method according to any one of claims 1 to 7 when the computer program runs on a processor. 11 .
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 (31)

* 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 广东小天才科技有限公司 Method and system for setting sleep mode of terminal
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
CN106339199A (en) * 2016-08-19 2017-01-18 乐视控股(北京)有限公司 Earphone control method and device, earphone and wearable equipment
CN106445074A (en) * 2016-09-29 2017-02-22 维沃移动通信有限公司 Control method for application and mobile terminal
CN106445073A (en) * 2016-09-28 2017-02-22 惠州Tcl移动通信有限公司 Method and system for automatic scene mode switching of mobile terminal
CN106709304A (en) * 2016-11-21 2017-05-24 北京小米移动软件有限公司 Terminal equipment control method and device
CN106792166A (en) * 2016-12-07 2017-05-31 广州视源电子科技股份有限公司 Control method and system of playing 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 广东小天才科技有限公司 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
CN108652592A (en) * 2018-05-31 2018-10-16 广东小天才科技有限公司 Sleep detection method and device and terminal equipment
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
CN112022096A (en) * 2020-09-05 2020-12-04 曹智梅 Sleep state monitoring method and device

Patent Citations (31)

* 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 广东小天才科技有限公司 Method and system for setting sleep mode of terminal
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
CN106339199A (en) * 2016-08-19 2017-01-18 乐视控股(北京)有限公司 Earphone control method and device, earphone and wearable equipment
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 广州视源电子科技股份有限公司 Control method and system of playing 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 广东小天才科技有限公司 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
CN108652592A (en) * 2018-05-31 2018-10-16 广东小天才科技有限公司 Sleep detection method and device and terminal equipment
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
CN112022096A (en) * 2020-09-05 2020-12-04 曹智梅 Sleep state monitoring method and device

Similar Documents

Publication Publication Date Title
KR102354275B1 (en) Speech recognition method and apparatus, and storage medium
US20200345317A1 (en) Device for health monitoring and response
CN107613131B (en) Application program do not disturb method, mobile terminal and computer readable storage medium
US11366510B2 (en) Processing method for reducing power consumption and mobile terminal
CN108712566B (en) Voice assistant awakening method and mobile terminal
Zhong et al. Energy efficiency of handheld computer interfaces: limits, characterization and practice
CN105739699B (en) Message prompt control method and terminal equipment
CN108566637A (en) A kind of equipment charge based reminding method, terminal and computer readable storage medium
CN109888867A (en) A charging method and mobile terminal
CN110784915A (en) Power consumption control method of electronic equipment and electronic equipment
CN107911777A (en) Method, device and mobile terminal for processing ear return function
US20250024243A1 (en) Wireless accessory advertisements
CN107592665A (en) A kind of control method of application program, device and mobile terminal
CN110543333B (en) Sleep processing method and device for processor, mobile terminal and storage medium
CN113108425B (en) A kind of air conditioning control method and control terminal
CN114327332A (en) Internet of things equipment setting method and device, electronic equipment and storage medium
CN108184029B (en) Alarm clock reminding method and mobile terminal
CN107343100A (en) Information prompting method, device, storage medium and electronic equipment
CN114967897A (en) Power consumption optimization method and device and mobile terminal
CN107770811A (en) A kind of data processing method, mobile terminal and computer-readable recording medium
CN111045637B (en) Volume adjustment method and electronic device
CN104049707A (en) Always-on Low-power Keyword Spotting
CN115037831A (en) A mode control method, device, electronic device and earphone
CN110210197A (en) Screen sensitivity regulation method and mobile terminal
CN108694062A (en) A kind of alarm clock control method and terminal

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