[go: up one dir, main page]

CN108646909B - Information processing method, device, mobile terminal and computer readable storage medium - Google Patents

Information processing method, device, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN108646909B
CN108646909B CN201810461548.4A CN201810461548A CN108646909B CN 108646909 B CN108646909 B CN 108646909B CN 201810461548 A CN201810461548 A CN 201810461548A CN 108646909 B CN108646909 B CN 108646909B
Authority
CN
China
Prior art keywords
subsystem
power consumption
mobile terminal
state
wake
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.)
Expired - Fee Related
Application number
CN201810461548.4A
Other languages
Chinese (zh)
Other versions
CN108646909A (en
Inventor
曾云清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201810461548.4A priority Critical patent/CN108646909B/en
Publication of CN108646909A publication Critical patent/CN108646909A/en
Application granted granted Critical
Publication of CN108646909B publication Critical patent/CN108646909B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 OR CALCULATING; 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/3234Power saving characterised by the action undertaken

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请提供一种信息处理方法、装置、移动终端和计算机可读存储介质。上述方法包括:在移动终端灭屏状态下,若检测到处于休眠状态的移动终端AP子系统唤醒异常,获取在唤醒异常的第一时长内所述移动终端的第一耗电量;将所述AP子系统停止休眠并保持唤醒状态,获取在保持唤醒状态的第二时长内所述移动终端的第二耗电量;若根据所述第一耗电量和所述第二耗电量检测到所述AP子系统在休眠状态下耗电异常,将所述AP子系统保持唤醒状态。上述方法,当检测到移动终端AP子系统在处于休眠状态时由于频繁唤醒导致耗电异常时,可将上述移动终端AP子系统保持唤醒状态,节省了移动终端功耗。

Figure 201810461548

The present application provides an information processing method, device, mobile terminal, and computer-readable storage medium. The above method includes: when the screen of the mobile terminal is off, if it is detected that the AP subsystem of the mobile terminal in the dormant state wakes up abnormally, obtaining the first power consumption of the mobile terminal within the first time period of the abnormal wakeup; The AP subsystem stops dormancy and maintains the wake-up state, and obtains the second power consumption of the mobile terminal within the second duration of the wake-up state; if it is detected according to the first power consumption and the second power consumption The AP subsystem consumes power abnormally in the sleep state, and the AP subsystem is kept in an awake state. In the above method, when it is detected that the AP subsystem of the mobile terminal is in a dormant state due to frequent awakening and causes abnormal power consumption, the AP subsystem of the mobile terminal can be kept in the awake state, thereby saving the power consumption of the mobile terminal.

Figure 201810461548

Description

信息处理方法、装置、移动终端和计算机可读存储介质Information processing method, device, mobile terminal, and computer-readable storage medium

技术领域technical field

本申请涉及计算机技术领域,特别是涉及一种信息处理方法、装置、移动终端和计算机可读存储介质。The present application relates to the field of computer technology, and in particular, to an information processing method, device, mobile terminal, and computer-readable storage medium.

背景技术Background technique

随着智能移动终端的迅速发展,智能移动终端在用户的日常生活中越来越常见。通过智能移动终端,用户可方便的与他人进行沟通和交流。在智能移动终端中内应用程序、智能移动终端硬件或智能移动终端子系统的使用均会造成智能移动终端耗电,浪费移动终端功耗。With the rapid development of intelligent mobile terminals, intelligent mobile terminals are becoming more and more common in users' daily lives. Through intelligent mobile terminals, users can easily communicate and communicate with others. The use of internal application programs, intelligent mobile terminal hardware or intelligent mobile terminal subsystems in the intelligent mobile terminal will cause the intelligent mobile terminal to consume power and waste the power consumption of the mobile terminal.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种信息处理方法、装置、移动终端和计算机可读存储介质,可以降低移动终端AP子系统频繁唤醒耗费的电量。The embodiments of the present application provide an information processing method, an apparatus, a mobile terminal, and a computer-readable storage medium, which can reduce the power consumption of the AP subsystem of the mobile terminal for frequent wake-up.

一种信息处理方法,包括:An information processing method, comprising:

在移动终端灭屏状态下,若检测到处于休眠状态的移动终端AP子系统唤醒异常,获取在唤醒异常的第一时长内所述移动终端的第一耗电量;When the screen of the mobile terminal is off, if it is detected that the AP subsystem of the mobile terminal in the dormant state wakes up abnormally, obtain the first power consumption of the mobile terminal within the first time period of the abnormal wake-up;

将所述AP子系统停止休眠并保持唤醒状态,获取在保持唤醒状态的第二时长内所述移动终端的第二耗电量;Stop the dormancy of the AP subsystem and keep the awake state, and obtain the second power consumption of the mobile terminal within the second time period of keeping the awake state;

若根据所述第一耗电量和所述第二耗电量检测到所述AP子系统在休眠状态下耗电异常,将所述AP子系统保持唤醒状态。If abnormal power consumption of the AP subsystem in the sleep state is detected according to the first power consumption and the second power consumption, the AP subsystem is kept in an awake state.

一种信息处理装置,包括:An information processing device, comprising:

第一获取模块,用于在移动终端灭屏状态下,若检测到处于休眠状态的移动终端AP子系统唤醒异常,获取在唤醒异常的第一时长内所述移动终端的第一耗电量;a first acquiring module, configured to acquire the first power consumption of the mobile terminal within the first duration of the abnormal wake-up if it is detected that the AP subsystem of the mobile terminal in the dormant state wakes up abnormally when the screen of the mobile terminal is off;

第二获取模块,用于将所述AP子系统停止休眠并保持唤醒状态,获取在保持唤醒状态的第二时长内所述移动终端的第二耗电量;a second acquiring module, configured to stop the AP subsystem from dormancy and keep it in an awake state, and acquire the second power consumption of the mobile terminal within a second time period of keeping the awake state;

处理模块,用于若根据所述第一耗电量和所述第二耗电量检测到所述AP子系统在休眠状态下耗电异常,将所述AP子系统保持唤醒状态。The processing module is configured to keep the AP subsystem in an awake state if it is detected that the AP subsystem consumes abnormal power in a dormant state according to the first power consumption and the second power consumption.

一种移动终端,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如上所述的方法的步骤。A mobile terminal includes a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the above-mentioned method.

一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的方法的步骤。A computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of the method as described above.

上述信息处理方法、装置、移动终端和计算机可读存储介质,当移动终端检测到移动终端AP子系统唤醒异常时,可将移动终端AP子系统处于休眠状态时第一耗电量与移动终端AP子系统处于唤醒状态时的第二耗电量进行比较,当检测到移动终端AP子系统在处于休眠状态时由于频繁唤醒导致耗电异常时,可将上述移动终端AP子系统保持唤醒状态,节省了移动终端功耗。The above information processing method, device, mobile terminal and computer-readable storage medium, when the mobile terminal detects that the mobile terminal AP subsystem is abnormally awakened, the first power consumption when the mobile terminal AP subsystem is in a dormant state can be compared with the mobile terminal AP subsystem. The second power consumption when the subsystem is in the awake state is compared, and when it is detected that the mobile terminal AP subsystem is in the dormant state due to frequent wake-up and causes abnormal power consumption, the mobile terminal AP subsystem can be kept in the awake state to save energy. power consumption of mobile terminals.

附图说明Description of drawings

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1为一个实施例中信息处理方法的流程图;1 is a flowchart of an information processing method in one embodiment;

图2为另一个实施例中信息处理方法的流程图;2 is a flowchart of an information processing method in another embodiment;

图3为另一个实施例中信息处理方法的流程图;3 is a flowchart of an information processing method in another embodiment;

图4为另一个实施例中信息处理方法的流程图;4 is a flowchart of an information processing method in another embodiment;

图5为另一个实施例中信息处理方法的流程图;5 is a flowchart of an information processing method in another embodiment;

图6为一个实施例中信息处理装置的结构框图;6 is a structural block diagram of an information processing apparatus in one embodiment;

图7为另一个实施例中信息处理装置的结构框图;7 is a structural block diagram of an information processing apparatus in another embodiment;

图8为一个实施例中移动终端的内部结构示意图;8 is a schematic diagram of the internal structure of a mobile terminal in one embodiment;

图9为与本申请实施例提供的移动终端相关的手机的部分结构的框图。FIG. 9 is a block diagram of a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present application.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

图1为一个实施例中信息处理方法的流程图。如图2所示,一种信息处理方法,包括:FIG. 1 is a flowchart of an information processing method in one embodiment. As shown in Figure 2, an information processing method includes:

步骤102,在移动终端灭屏状态下,若检测到处于休眠状态的移动终端AP子系统唤醒异常,获取在唤醒异常的第一时长内移动终端的第一耗电量。Step 102 , in the screen off state of the mobile terminal, if it is detected that the AP subsystem of the mobile terminal in the dormant state wakes up abnormally, obtain the first power consumption of the mobile terminal within the first time period of the abnormal wake-up.

移动终端屏幕可包括亮屏状态和灭屏状态。上述亮屏是指移动终端屏幕被点亮,上述灭屏是指移动终端屏幕关闭背光。当移动终端处于灭屏状态时,移动终端中各个子系统可处于唤醒状态或休眠状态。当移动终端子系统处于休眠状态时,移动终端子系统耗费的电量较少,可减少移动终端的待机功耗。The screen of the mobile terminal may include a screen-on state and a screen-off state. The above-mentioned bright screen means that the screen of the mobile terminal is lit, and the above-mentioned screen-off means that the backlight of the mobile terminal screen is turned off. When the mobile terminal is in an off-screen state, each subsystem in the mobile terminal may be in a wake-up state or a sleep state. When the mobile terminal subsystem is in a dormant state, the mobile terminal subsystem consumes less power, which can reduce standby power consumption of the mobile terminal.

移动终端子系统可包括:AP(Application Processer,应用处理器)子系统、MPSS(Modem Processer Sub System,调制解调器处理器子系统)子系统、ADSP(AdvancedDigital Signal Processor,高级数字信号处理器)子系统等。其中AP子系统负责运行移动终端操作系统如Android操作系统以实现大部分与用户相关的多媒体任务;MPSS子系统运行定制的实时操作系统以实现与用户连接相关的功能,例如Wi-Fi、通话等;ADSP子系统负责传感器、音频相关的任务和功能。由于移动终端AP子系统负责运行移动终端操作系统,当移动终端AP子系统休眠时,移动终端中其他子系统可唤醒移动终端AP子系统以实现移动终端中软件等在待机状态的运行,移动终端AP子系统在被唤醒后处理完对应的消息、数据或事件,可重新进入休眠状态。The mobile terminal subsystem may include: AP (Application Processer, application processor) subsystem, MPSS (Modem Processer Sub System, modem processor subsystem) subsystem, ADSP (Advanced Digital Signal Processor, advanced digital signal processor) subsystem, etc. . Among them, the AP subsystem is responsible for running the mobile terminal operating system such as the Android operating system to realize most multimedia tasks related to users; the MPSS subsystem runs the customized real-time operating system to realize the functions related to user connection, such as Wi-Fi, calling, etc. ; ADSP subsystem is responsible for sensor, audio related tasks and functions. Since the mobile terminal AP subsystem is responsible for running the mobile terminal operating system, when the mobile terminal AP subsystem is dormant, other subsystems in the mobile terminal can wake up the mobile terminal AP subsystem to realize the running of the software in the mobile terminal in the standby state. The AP subsystem can re-enter the sleep state after processing the corresponding message, data or event after being woken up.

在移动终端灭屏状态下,自移动终端AP子系统进入休眠状态起可获取移动终端AP子系统被唤醒的次数以及被唤醒的时刻,通过上述移动终端AP子系统被唤醒的次数以及被唤醒的时刻可统计移动终端AP子系统被唤醒的频次、移动终端AP子系统被唤醒的时间间隔等。移动终端可通过获取到的移动终端AP子系统被唤醒的次数以及被唤醒的时刻检测处于休眠状态的移动终端AP子系统是否唤醒异常,若检测到处于休眠状态的移动终端AP子系统唤醒异常,可获取在唤醒异常的第一时长内移动终端的第一耗电量。可选地,上述移动终端AP子系统唤醒异常可包括:移动终端AP子系统被从休眠状态唤醒的平均周期小于第一阈值,且上述移动终端AP子系统被从休眠状态唤醒的平均周期小于第一阈值的持续时长不小于第一时长。则移动终端可在检测到移动终端AP子系统被唤醒的平均周期小于第一阈值时,获取移动终端的当前电量值作为第一电量值;当移动终端AP子系统被唤醒的平均周期小于第一阈值的持续时长不小于第一时长时,获取移动终端的当前电量值作为第二电量值。则上述第一电量值与第二电量值的差值为移动终端AP子系统在唤醒异常的第一时长内的移动终端的耗电量,即第一耗电量。When the screen of the mobile terminal is off, since the AP subsystem of the mobile terminal enters the sleep state, the number of times the AP subsystem of the mobile terminal is awakened and the time when it is awakened can be obtained. The frequency of the mobile terminal AP subsystem being awakened and the time interval of the mobile terminal AP subsystem being awakened can be counted at any time. The mobile terminal can detect whether the AP subsystem of the mobile terminal in the dormant state wakes up abnormally by obtaining the number of times the AP subsystem of the mobile terminal is awakened and the time when it is awakened. If it is detected that the AP subsystem of the mobile terminal in the dormant state wakes up abnormally, The first power consumption of the mobile terminal within the first duration of the abnormal wake-up can be acquired. Optionally, the above-mentioned abnormal wake-up of the mobile terminal AP subsystem may include: the average period in which the mobile terminal AP subsystem is awakened from the sleep state is less than the first threshold, and the average period in which the mobile terminal AP subsystem is awakened from the sleep state is less than the first threshold. The duration of a threshold is not less than the first duration. Then the mobile terminal can obtain the current battery value of the mobile terminal as the first battery value when it is detected that the average period when the AP subsystem of the mobile terminal is awakened is less than the first threshold; when the average period when the AP subsystem of the mobile terminal is awakened is less than the first threshold When the duration of the threshold is not less than the first duration, the current power value of the mobile terminal is acquired as the second power value. Then, the difference between the first power value and the second power value is the power consumption of the mobile terminal within the first period of time when the AP subsystem of the mobile terminal wakes up abnormally, that is, the first power consumption.

步骤104,将AP子系统停止休眠并保持唤醒状态,获取在保持唤醒状态的第二时长内移动终端的第二耗电量。Step 104 , stop the AP subsystem from sleeping and keep the awake state, and acquire the second power consumption of the mobile terminal within the second duration of keeping the awake state.

当移动终端检测到移动终端AP子系统唤醒异常后,移动终端还可将移动终端AP子系统有休眠状态切换到唤醒状态,并将上述移动终端AP子系统保持唤醒状态,即将上述移动终端AP子系统停止休眠。在移动终端AP子系统处于唤醒状态时,移动终端中其他子系统无需将移动终端AP子系统唤醒。当移动终端AP子系统保持唤醒状态的时长不小于第二时长时,移动终端可获取在上述移动终端AP子系统保持唤醒状态的第二时长内的移动终端的耗电量,即第二耗电量。其中,当移动终端AP子系统停止休眠时,移动终端可获取当前电量值作为第三电量值;当移动终端AP子系统保持唤醒状态的时长不小于第二时长时,移动终端可获取当前电量值作为第四电量值,则上述第四电量值与第三电量值的差值为移动终端AP子系统在停止休眠的第二时长内移动终端的耗电量。上述第一时长和第二时长可为相同值或不同值,例如15分钟、20分钟等。When the mobile terminal detects that the AP subsystem of the mobile terminal is abnormally awake, the mobile terminal can also switch the AP subsystem of the mobile terminal from the dormant state to the awake state, and keep the AP subsystem of the mobile terminal in the awake state. The system stops hibernating. When the AP subsystem of the mobile terminal is in an awake state, other subsystems in the mobile terminal do not need to wake up the AP subsystem of the mobile terminal. When the AP subsystem of the mobile terminal remains awake for a period of not less than the second period, the mobile terminal may obtain the power consumption of the mobile terminal within the second period of time during which the AP subsystem of the mobile terminal remains awake, that is, the second power consumption quantity. Wherein, when the AP subsystem of the mobile terminal stops sleeping, the mobile terminal can obtain the current power value as the third power value; when the AP subsystem of the mobile terminal remains awake for a duration of not less than the second duration, the mobile terminal can obtain the current power value As the fourth power value, the difference between the fourth power value and the third power value is the power consumption of the mobile terminal during the second time period when the AP subsystem of the mobile terminal stops sleeping. The above-mentioned first duration and second duration may be the same value or different values, such as 15 minutes, 20 minutes, and the like.

步骤106,若根据第一耗电量和第二耗电量检测到AP子系统在休眠状态下耗电异常,将AP子系统保持唤醒状态。Step 106, if abnormal power consumption of the AP subsystem in the sleep state is detected according to the first power consumption and the second power consumption, the AP subsystem is kept in an awake state.

移动终端可将上述获取的第一耗电量与第二耗电量进行比较,根据比较结果检测上述移动终端AP子系统是否在休眠状态下耗电异常。上述在休眠状态下耗电异常是指因移动终端AP子系统唤醒异常而导致的耗电异常。The mobile terminal may compare the obtained first power consumption with the second power consumption, and detect whether the power consumption of the AP subsystem of the mobile terminal is abnormal in the sleep state according to the comparison result. The above-mentioned abnormal power consumption in the sleep state refers to the abnormal power consumption caused by the abnormal wake-up of the AP subsystem of the mobile terminal.

可选地,移动终端可获取第一耗电量与第一时长的比值作为第一功率,获取第二耗电量与第二时长的比值作为第二功率。移动终端可获取上述第一功率与第二功率的差值,若上述第一功率与第二功率的差值为正值,则在移动终端AP子系统唤醒异常时移动终端的耗电量高于在移动终端AP子系统停止休眠时移动终端的耗电量;若上述第一电功率与第二电功率的差值为负值时,则在移动终端AP子系统唤醒异常时移动终端的耗电量低于在移动终端AP子系统停止休眠时移动终端的耗电量。当上述第一功率与第二功率的差值为正值时,可判定移动终端AP子系统在休眠状态下耗电异常,将上述移动终端AP子系统保持唤醒状态,即使得上述移动终端AP子系统停止休眠。Optionally, the mobile terminal may obtain the ratio of the first power consumption and the first duration as the first power, and obtain the ratio of the second power consumption and the second duration as the second power. The mobile terminal can obtain the difference between the first power and the second power. If the difference between the first power and the second power is a positive value, the power consumption of the mobile terminal is higher than that when the AP subsystem of the mobile terminal wakes up abnormally. The power consumption of the mobile terminal when the AP subsystem of the mobile terminal stops sleeping; if the difference between the first electric power and the second electric power is negative, the power consumption of the mobile terminal is low when the AP subsystem of the mobile terminal wakes up abnormally The power consumption of the mobile terminal when the AP subsystem of the mobile terminal stops sleeping. When the difference between the first power and the second power is positive, it can be determined that the power consumption of the mobile terminal AP subsystem is abnormal in the dormant state, and the mobile terminal AP subsystem is kept in an awake state, that is, the mobile terminal AP subsystem The system stops hibernating.

通常情况下,在移动终端进入灭屏状态时,移动终端中各个子系统进入休眠状态。例如,当移动终端内核层中所有的唤醒锁被释放后,移动终端AP子系统可进入休眠状态。相对于唤醒状态,当移动终端子系统处于休眠状态时耗电量较低。但在移动终端子系统从休眠状态被唤醒时,由于移动终端中多个硬件需要初始化,移动终端的耗电量较高。当处于休眠状态的移动终端子系统被频繁唤醒时,会浪费移动终端功耗。Generally, when the mobile terminal enters a screen-off state, each subsystem in the mobile terminal enters a sleep state. For example, when all wakelocks in the mobile terminal kernel layer are released, the mobile terminal AP subsystem may enter a sleep state. Compared with the wake-up state, the power consumption is lower when the mobile terminal subsystem is in the sleep state. However, when the mobile terminal subsystem is woken up from the sleep state, the power consumption of the mobile terminal is relatively high because multiple hardwares in the mobile terminal need to be initialized. When the mobile terminal subsystem in the dormant state is frequently woken up, the power consumption of the mobile terminal will be wasted.

本申请实施例中方法,当移动终端检测到移动终端AP子系统唤醒异常时,可将移动终端AP子系统处于休眠状态时第一耗电量与移动终端AP子系统处于唤醒状态时的第二耗电量进行比较,当检测到移动终端AP子系统在处于休眠状态时由于频繁唤醒导致耗电异常时,可将上述移动终端AP子系统保持唤醒状态,节省了移动终端功耗。In the method in this embodiment of the present application, when the mobile terminal detects that the AP subsystem of the mobile terminal is abnormally awake, the first power consumption when the AP subsystem of the mobile terminal is in a dormant state and the second power consumption when the AP subsystem of the mobile terminal is in a awake state can be calculated. The power consumption is compared, and when it is detected that the mobile terminal AP subsystem is in a dormant state due to frequent wake-up and causes abnormal power consumption, the mobile terminal AP subsystem can be kept in the wake-up state, saving the power consumption of the mobile terminal.

在一个实施例中,AP子系统唤醒异常包括:AP子系统被唤醒的平均周期小于第一阈值,且AP子系统被唤醒的平均周期小于第一阈值的持续时长不小于第一时长。In one embodiment, the abnormal wake-up of the AP subsystem includes: the average period of wake-up of the AP subsystem is less than the first threshold, and the duration of the average period of wake-up of the AP subsystem less than the first threshold is not less than the first period of time.

移动终端可获取移动终端AP子系统被唤醒的平均周期,上述平均周期即移动终端AP子系统平均每2次被唤醒之间的时间间隔。例如,当上述平均周期为5秒/次时,表示移动终端AP子系统每隔5秒被唤醒1次。在移动终端灭屏状态下,当移动终端AP子系统进入休眠状态时,移动终端可实时获取移动终端AP子系统被唤醒的次数以及移动终端AP子系统被唤醒的时刻,根据上述移动终端AP子系统被唤醒的次数以及移动终端AP子系统被唤醒的时刻可获取移动终端AP子系统被唤醒的平均周期。当上述移动终端AP子系统被唤醒的平均周期小于第一阈值时,可判定移动终端AP子系统被频繁唤醒。The mobile terminal can obtain the average period of wake-up of the AP subsystem of the mobile terminal, and the above-mentioned average period is the time interval between the AP subsystem of the mobile terminal being woken up every two times on average. For example, when the above average period is 5 seconds/time, it means that the AP subsystem of the mobile terminal is woken up once every 5 seconds. In the screen off state of the mobile terminal, when the AP subsystem of the mobile terminal enters the sleep state, the mobile terminal can obtain the number of times the AP subsystem of the mobile terminal is awakened and the time when the AP subsystem of the mobile terminal is awakened in real time. The number of times the system is woken up and the time when the AP subsystem of the mobile terminal is woken up can obtain the average cycle of the AP subsystem of the mobile terminal being woken up. When the above-mentioned average period in which the AP subsystem of the mobile terminal is awakened is less than the first threshold, it may be determined that the AP subsystem of the mobile terminal is frequently awakened.

当检测到移动终端AP子系统被频繁唤醒时,可检测上述移动终端AP子系统被频繁唤醒的持续时长是否大于或等于设定的第一时长,即检测移动终端AP子系统被唤醒的平均周期小于第一阈值的持续时长是否大于或等于第一时长。当移动终端AP子系统被唤醒的平均周期小于第一阈值,且移动终端AP子系统被唤醒的平均周期小于第一阈值的持续时长不小于第一时长时,可判定移动终端AP子系统唤醒异常。以上述第一阈值为5秒/次,第一时长为15分钟为例,在移动终端AP子系统进入休眠状态后,若检测到移动终端AP子系统被唤醒的平均周期小于5分/秒,且移动终端AP子系统被唤醒的平均周期小于5分/秒的持续时长超过15分钟,则移动终端AP子系统唤醒异常。When it is detected that the AP subsystem of the mobile terminal is frequently awakened, it can be detected whether the duration of the frequent awakening of the AP subsystem of the mobile terminal is greater than or equal to the set first duration, that is, the average period for detecting the awakening of the AP subsystem of the mobile terminal Whether the duration less than the first threshold is greater than or equal to the first duration. When the average period in which the AP subsystem of the mobile terminal is awakened is less than the first threshold, and the duration for which the average period in which the AP subsystem of the mobile terminal is awakened is less than the first threshold is not less than the first period, it can be determined that the AP subsystem of the mobile terminal is awakened abnormally . Taking the above first threshold as 5 seconds/time and the first duration as 15 minutes as an example, after the mobile terminal AP subsystem enters the dormant state, if it is detected that the average period of the mobile terminal AP subsystem being awakened is less than 5 minutes/second, And if the average period of the mobile terminal AP subsystem being awakened is less than 5 minutes/second and the duration exceeds 15 minutes, the mobile terminal AP subsystem is abnormally awakened.

在一个实施例中,根据第一耗电量和第二耗电量检测到AP子系统在休眠状态下耗电异常包括:根据第一耗电量与第二耗电量获取耗电差值;耗电差值是AP子系统在休眠状态与唤醒状态的耗电差值;若耗电差值大于第二阈值,确定AP子系统在休眠状态下耗电异常。In one embodiment, detecting an abnormal power consumption of the AP subsystem in the sleep state according to the first power consumption and the second power consumption includes: obtaining a power consumption difference value according to the first power consumption and the second power consumption; The power consumption difference value is the power consumption difference value of the AP subsystem in the sleep state and the wake-up state; if the power consumption difference value is greater than the second threshold, it is determined that the power consumption of the AP subsystem is abnormal in the sleep state.

移动终端可根据第一耗电量与第二耗电量获取耗电差值。可选地,当第一时长与第二时长相同时,移动终端可直接获取第一耗电量与第二耗电量的差值作为耗电差值;当第一时长与第二时长不相同时,移动终端可获取第一耗电量与第一时长的比值作为第一功率,获取第二耗电量与第二时长的比值作为第二功率,移动终端可获取上述第一功率与第二功率的差值作为耗电差值。上述耗电差值可表示移动终端AP子系统在休眠状态与保持唤醒状态的耗电量差异,当上述耗电差值为正值时,移动终端AP子系统在休眠状态的耗电量大于在保持唤醒状态的耗电量;当上述耗电差值为负值时,移动终端AP子系统在休眠状态的耗电量小于在保持唤醒状态的耗电量。The mobile terminal can obtain the difference in power consumption according to the first power consumption and the second power consumption. Optionally, when the first duration is the same as the second duration, the mobile terminal may directly obtain the difference between the first power consumption and the second power consumption as the power consumption difference; when the first duration is not the same as the second duration At the same time, the mobile terminal can obtain the ratio of the first power consumption and the first duration as the first power, and obtain the ratio of the second power consumption and the second duration as the second power, and the mobile terminal can obtain the first power and the second power. The difference in power is used as the difference in power consumption. The above power consumption difference value can represent the power consumption difference between the mobile terminal AP subsystem in the sleep state and the wake-up state. When the above power consumption difference value is a positive value, the power consumption of the mobile terminal AP subsystem in the sleep state is greater than that in the sleep state. The power consumption of keeping the wake-up state; when the above-mentioned power consumption difference is a negative value, the power consumption of the mobile terminal AP subsystem in the sleep state is less than the power consumption in the keep-awake state.

当上述耗电差值为正值时,移动终端可将上述耗电差值与第二阈值进行比较。上述第二阈值为正值,上述第二阈值可为移动终端设定的值或用户设定的值,例如100mA、100kw/h等。若移动终端检测到上述耗电差值大于第二阈值,即移动终端AP子系统在休眠状态耗电量比移动终端AP子系统在保持唤醒状态的耗电量大,判定移动终端AP子系统在休眠状态时耗电异常。When the above-mentioned difference in power consumption is a positive value, the mobile terminal may compare the above-mentioned difference in power consumption with a second threshold. The second threshold is a positive value, and the second threshold may be a value set by the mobile terminal or a value set by a user, such as 100 mA, 100 kw/h, and the like. If the mobile terminal detects that the above power consumption difference is greater than the second threshold, that is, the power consumption of the mobile terminal AP subsystem in the dormant state is greater than the power consumption of the mobile terminal AP subsystem in the wake-up state, it is determined that the mobile terminal AP subsystem is in the awake state. Abnormal power consumption during sleep state.

本申请实施例中方法,通过获取移动终端AP子系统在休眠状态的第一耗电量和停止休眠后的第二耗电量,根据耗电量快速的检测移动终端AP子系统在休眠状态下是否耗电异常,检测移动终端AP子系统耗电异常的方式简单、快捷。In the method in this embodiment of the present application, by acquiring the first power consumption of the mobile terminal AP subsystem in the dormant state and the second power consumption after stopping the dormancy, quickly detect that the mobile terminal AP subsystem is in the dormant state according to the power consumption Whether the power consumption is abnormal, the method for detecting abnormal power consumption of the AP subsystem of the mobile terminal is simple and fast.

在一个实施例中,一种信息处理方法,包括:In one embodiment, an information processing method includes:

步骤202,在移动终端灭屏状态下,若检测到处于休眠状态的移动终端应用处理器子系统AP子系统唤醒异常,获取在唤醒异常的第一时长内移动终端的第一耗电量。Step 202 , in the off-screen state of the mobile terminal, if it is detected that the application processor subsystem AP subsystem of the mobile terminal in the dormant state wakes up abnormally, obtain the first power consumption of the mobile terminal during the first time period of the abnormal wake-up.

步骤204,将AP子系统停止休眠并保持唤醒状态,获取在保持唤醒状态的第二时长内移动终端的第二耗电量。Step 204 , stop the AP subsystem from sleeping and keep the awake state, and acquire the second power consumption of the mobile terminal within the second duration of keeping the awake state.

步骤206,若根据第一耗电量和第二耗电量检测到AP子系统在休眠状态下耗电异常,将AP子系统保持唤醒状态。Step 206, if abnormal power consumption of the AP subsystem in the sleep state is detected according to the first power consumption and the second power consumption, keep the AP subsystem in the wake-up state.

步骤208,若根据第一耗电量和第二耗电量检测到AP子系统在休眠状态下耗电正常,将AP子系统恢复至休眠状态。Step 208 , if it is detected according to the first power consumption and the second power consumption that the AP subsystem consumes normal power in the sleep state, restore the AP subsystem to the sleep state.

移动终端在根据上述第一耗电量和第二耗电量获取到耗电差值后,若上述耗电差值为负值,表示移动终端AP子系统在休眠状态的耗电量低于上述移动终端AP子系统在停止休眠状态下的耗电量,则移动终端AP子系统在休眠状态下耗电正常,移动终端可将上述移动终端AP子系统恢复至休眠状态。当上述耗电差值不为负值时,移动终端可将上述耗电差值与第二阈值进行比较,若上述耗电差值小于或等于第二阈值,则移动终端AP子系统在休眠状态下耗电也正常,移动终端可将上述移动终端AP子系统恢复至休眠状态,避免在移动终端灭屏状态下移动终端AP子系统长时间处于唤醒状态而浪费移动终端功耗。After the mobile terminal obtains the power consumption difference according to the first power consumption and the second power consumption, if the power consumption difference is a negative value, it means that the power consumption of the mobile terminal AP subsystem in the sleep state is lower than the above power consumption. If the power consumption of the mobile terminal AP subsystem in the sleep state is stopped, the mobile terminal AP subsystem consumes normal power in the sleep state, and the mobile terminal can restore the mobile terminal AP subsystem to the sleep state. When the power consumption difference is not negative, the mobile terminal can compare the power consumption difference with the second threshold. If the power consumption difference is less than or equal to the second threshold, the mobile terminal AP subsystem is in a dormant state The power consumption is also normal, and the mobile terminal can restore the above-mentioned mobile terminal AP subsystem to the sleep state, so as to avoid wasting power consumption of the mobile terminal by the mobile terminal AP subsystem being in the wake-up state for a long time when the mobile terminal screen is off.

本申请实施例中方法,在根据第一耗电量和第二耗电量检测到移动终端AP子系统在休眠状态下耗电正常时,可将移动终端AP子系统恢复至休眠状态,避免在移动终端灭屏状态下移动终端AP子系统长时间处于唤醒状态而浪费移动终端功耗。In the method in this embodiment of the present application, when it is detected according to the first power consumption and the second power consumption that the power consumption of the mobile terminal AP subsystem is normal in the sleep state, the mobile terminal AP subsystem can be restored to the sleep state, so as to avoid When the screen of the mobile terminal is off, the AP subsystem of the mobile terminal is in the wake-up state for a long time, thus wasting the power consumption of the mobile terminal.

在一个实施例中,一种信息处理方法,包括:In one embodiment, an information processing method includes:

步骤302,在移动终端灭屏状态下,若检测到处于休眠状态的移动终端应用处理器子系统AP子系统唤醒异常,获取在唤醒异常的第一时长内移动终端的第一耗电量。Step 302 , in the screen off state of the mobile terminal, if it is detected that the application processor subsystem AP subsystem of the mobile terminal in the dormant state wakes up abnormally, obtain the first power consumption of the mobile terminal during the first time period of the abnormal wake-up.

步骤304,将AP子系统停止休眠并保持唤醒状态,获取在保持唤醒状态的第二时长内移动终端的第二耗电量。Step 304 , stop the AP subsystem from sleeping and keep the awake state, and obtain the second power consumption of the mobile terminal within the second time period of keeping the awake state.

步骤306,若根据第一耗电量和第二耗电量检测到AP子系统在休眠状态下耗电异常,将AP子系统保持唤醒状态。Step 306, if abnormal power consumption of the AP subsystem in the sleep state is detected according to the first power consumption and the second power consumption, keep the AP subsystem in the wake-up state.

步骤308,获取AP子系统保持唤醒状态的第三时长;在第三时长大于第三阈值时,将AP子系统恢复至休眠状态。Step 308: Obtain a third duration for which the AP subsystem remains in the awake state; when the third duration is greater than the third threshold, restore the AP subsystem to the sleep state.

在检测出移动终端AP子系统在休眠状态下耗电异常时,移动终端可将上述移动终端AP子系统停止休眠,使上述移动终端AP子系统保持唤醒状态,则移动终端中其他子系统无需唤醒移动终端AP子系统。When it is detected that the power consumption of the mobile terminal AP subsystem is abnormal in the dormant state, the mobile terminal can stop the above-mentioned mobile terminal AP subsystem from dormancy, so as to keep the above-mentioned mobile terminal AP subsystem in the awake state, and other subsystems in the mobile terminal do not need to wake up Mobile terminal AP subsystem.

自上述移动终端AP子系统停止休眠起,若检测到上述移动终端AP子系统停止休眠的第三时长大于第三阈值时,可将上述移动终端AP子系统恢复至休眠状态,即当移动终端AP子系统保持唤醒状态的第三时长大于第三阈值时,可将上述移动终端AP子系统重新进入休眠状态。Since the mobile terminal AP subsystem stops dormancy, if it is detected that the third time period for which the mobile terminal AP subsystem stops dormancy is greater than the third threshold, the mobile terminal AP subsystem can be restored to the dormant state, that is, when the mobile terminal AP subsystem stops dormancy When the third duration that the subsystem remains in the awake state is greater than the third threshold, the above-mentioned mobile terminal AP subsystem can be re-entered into the sleep state.

本申请实施例中方法,在将移动终端AP子系统停止休眠的时长达到第三阈值时,将移动终端AP子系统重新恢复至休眠状态,避免在移动终端AP子系统高频唤醒原因消失后,移动终端AP子系统长时间保持唤醒状态而浪费移动终端功耗。The method in this embodiment of the present application restores the mobile terminal AP subsystem to the dormant state when the duration of stopping the mobile terminal AP subsystem from dormancy reaches the third threshold, so as to prevent the mobile terminal AP subsystem from being woken up frequently after the cause of the high-frequency wake-up disappears. The AP subsystem of the mobile terminal remains awake for a long time and wastes the power consumption of the mobile terminal.

在一个实施例中,一种信息处理方法,包括:In one embodiment, an information processing method includes:

步骤402,在移动终端灭屏状态下,若检测到处于休眠状态的移动终端应用处理器子系统AP子系统唤醒异常,获取在唤醒异常的第一时长内移动终端的第一耗电量。Step 402 , in the screen off state of the mobile terminal, if it is detected that the application processor subsystem AP subsystem of the mobile terminal in the dormant state wakes up abnormally, obtain the first power consumption of the mobile terminal during the first time period of the abnormal wake-up.

步骤404,将AP子系统停止休眠并保持唤醒状态,获取在保持唤醒状态的第二时长内移动终端的第二耗电量。Step 404 , stop the AP subsystem from sleeping and keep the awake state, and obtain the second power consumption of the mobile terminal within the second duration of keeping the awake state.

步骤406,若根据第一耗电量和第二耗电量检测到AP子系统在休眠状态下耗电异常,将AP子系统保持唤醒状态。Step 406, if abnormal power consumption of the AP subsystem in the sleep state is detected according to the first power consumption and the second power consumption, keep the AP subsystem in the wake-up state.

步骤408,获取在第一时长内唤醒AP子系统的唤醒源;统计各个唤醒源在第一时长内唤醒次数;根据唤醒次数确定异常唤醒源。Step 408: Acquire a wake-up source that wakes up the AP subsystem within a first time period; count the wake-up times of each wake-up source within the first time period; and determine an abnormal wake-up source according to the wake-up times.

在移动终端AP子系统唤醒异常的第一时长内,移动终端可统计唤醒移动终端AP子系统的各个唤醒源。上述唤醒源可包括:Wi-Fi唤醒、Modem唤醒、ADSP唤醒、Alarm唤醒和Sps唤醒等。在移动终端AP子系统每次被唤醒时,移动终端可通过唤醒标识查找对应的唤醒源,再累计各个唤醒源在第一时长内的唤醒次数。其中,累计各个唤醒源在第一时长内的唤醒次数可包括:在移动终端AP子系统被唤醒时,获取唤醒移动终端AP子系统对应的中断编号,当上述中断编号与移动终端AP子系统的唤醒源的中断编号匹配时,则将上述唤醒源的唤醒次数加1,通过统计可获取移动终端灭屏期间各个唤醒源的唤醒次数。During the first period of time when the AP subsystem of the mobile terminal is abnormally awake, the mobile terminal may count various wake-up sources that wake up the AP subsystem of the mobile terminal. The above wake-up sources may include: Wi-Fi wake-up, Modem wake-up, ADSP wake-up, Alarm wake-up, Sps wake-up, and the like. When the AP subsystem of the mobile terminal is woken up each time, the mobile terminal can search for the corresponding wake-up source through the wake-up identifier, and then accumulate the wake-up times of each wake-up source within the first time period. Wherein, accumulating the wake-up times of each wake-up source within the first duration may include: when the mobile terminal AP subsystem is woken up, acquiring the interrupt number corresponding to the wake-up mobile terminal AP subsystem, when the above-mentioned interrupt number is the same as the mobile terminal AP subsystem's interrupt number. When the interrupt numbers of the wake-up sources match, add 1 to the wake-up times of the above-mentioned wake-up sources, and obtain the wake-up times of each wake-up source during the screen off period of the mobile terminal through statistics.

在获取到移动终端AP子系统中唤醒源的唤醒次数后,可根据各个唤醒源的唤醒次数确定异常唤醒源。其中,在获取到移动终端AP子系统中唤醒源的唤醒次数后,移动终端可将各个唤醒源的唤醒次数进行比较,根据各个唤醒源的唤醒次数确定异常唤醒源。可选地,移动终端可选取唤醒次数大于设定值的唤醒源作为异常唤醒源,移动终端也可将唤醒源按照唤醒次数排序,按照排序的序号确定异常唤醒源,例如,将唤醒次数最多的唤醒源确定为异常唤醒源。After the wake-up times of the wake-up sources in the AP subsystem of the mobile terminal are acquired, the abnormal wake-up source can be determined according to the wake-up times of each wake-up source. Wherein, after acquiring the wake-up times of the wake-up sources in the AP subsystem of the mobile terminal, the mobile terminal can compare the wake-up times of each wake-up source, and determine the abnormal wake-up source according to the wake-up times of each wake-up source. Optionally, the mobile terminal can select a wake-up source whose wake-up times are greater than the set value as the abnormal wake-up source, and the mobile terminal can also sort the wake-up sources according to the wake-up times, and determine the abnormal wake-up source according to the sorted sequence number. The wake-up source is determined to be an abnormal wake-up source.

本申请实施例中方法,在检测到移动终端AP子系统唤醒异常时,可进一步统计唤醒移动终端AP子系统的各个唤醒源的唤醒次数,根据移动终端AP子系统中各个唤醒源的唤醒次数可确定异常唤醒源,有利于排查移动终端AP子系统唤醒异常的原因。In the method in this embodiment of the present application, when it is detected that the mobile terminal AP subsystem wakes up abnormally, the wake-up times of each wake-up source that wakes up the mobile terminal AP subsystem can be further counted. According to the wake-up times of each wake-up source in the mobile terminal AP subsystem, the Determining the abnormal wake-up source is helpful for investigating the cause of the abnormal wake-up of the AP subsystem of the mobile terminal.

在一个实施例中,一种信息处理方法,包括:In one embodiment, an information processing method includes:

步骤502,在移动终端灭屏状态下,若检测到处于休眠状态的移动终端应用处理器子系统AP子系统唤醒异常,获取在唤醒异常的第一时长内移动终端的第一耗电量。Step 502 , in the screen off state of the mobile terminal, if it is detected that the application processor subsystem AP subsystem of the mobile terminal in the dormant state wakes up abnormally, obtain the first power consumption of the mobile terminal during the first time period of the abnormal wake-up.

步骤504,将AP子系统停止休眠并保持唤醒状态,获取在保持唤醒状态的第二时长内移动终端的第二耗电量。Step 504 , stop the AP subsystem from sleeping and keep the awake state, and obtain the second power consumption of the mobile terminal within the second time period of keeping the awake state.

步骤506,若根据第一耗电量和第二耗电量检测到AP子系统在休眠状态下耗电异常,将AP子系统保持唤醒状态。Step 506, if abnormal power consumption of the AP subsystem in the sleep state is detected according to the first power consumption and the second power consumption, keep the AP subsystem in the wake-up state.

步骤508,在移动终端的灭屏状态下,限制异常唤醒源唤醒AP子系统的次数和/或频次。Step 508: Limit the number and/or frequency of waking up the AP subsystem by the abnormal wake-up source when the screen of the mobile terminal is off.

在检测出异常唤醒源后,在移动终端灭屏状态下且移动终端AP子系统进入休眠状态时,移动终端可限制上述异常唤醒源唤醒移动终端AP子系统的次数和/或频次。可选地,移动终端可将多个异常唤醒源对齐唤醒移动终端AP子系统,上述对齐唤醒是指将一段时间内接收到的唤醒源在同一时刻唤醒移动终端AP子系统;移动终端也可控制异常唤醒源两次唤醒移动终端AP子系统之间的时间间隔;移动终端也可控制异常唤醒源唤醒移动终端AP子系统的总次数。After detecting the abnormal wake-up source, when the mobile terminal screen is off and the mobile terminal AP subsystem enters the sleep state, the mobile terminal can limit the number and/or frequency of the above-mentioned abnormal wake-up source to wake up the mobile terminal AP subsystem. Optionally, the mobile terminal can align multiple abnormal wake-up sources to wake up the mobile terminal AP subsystem, and the above-mentioned aligned wake-up refers to waking up the mobile terminal AP subsystem at the same time with the wake-up sources received within a period of time; the mobile terminal can also control The time interval between two times the abnormal wake-up source wakes up the AP subsystem of the mobile terminal; the mobile terminal can also control the total number of times the abnormal wake-up source wakes up the AP subsystem of the mobile terminal.

本申请实施例中方法,在移动终端的灭屏状态下通过限制异常唤醒源唤醒移动终端AP子系统的次数和/或频次,可减少移动终端AP子系统被唤醒的次数,降低了移动终端AP子系统被唤醒的功耗。In the method in this embodiment of the present application, by limiting the number and/or frequency of waking up the AP subsystem of the mobile terminal by an abnormal wake-up source when the screen of the mobile terminal is off, the number of times the AP subsystem of the mobile terminal is woken up can be reduced, and the AP subsystem of the mobile terminal can be reduced. The power consumption of the subsystem being woken up.

在一个实施例中,一种信息处理方法,包括:In one embodiment, an information processing method includes:

(1)在移动终端灭屏状态下,若检测到处于休眠状态的移动终端应用处理器子系统AP子系统唤醒异常,获取在唤醒异常的第一时长内移动终端的第一耗电量。(1) When the screen of the mobile terminal is off, if it is detected that the application processor subsystem AP subsystem of the mobile terminal in the dormant state wakes up abnormally, obtain the first power consumption of the mobile terminal during the first time period of the abnormal wake-up.

(2)将AP子系统停止休眠并保持唤醒状态,获取在保持唤醒状态的第二时长内移动终端的第二耗电量。(2) Stop the sleep of the AP subsystem and keep the awake state, and obtain the second power consumption of the mobile terminal within the second time period of keeping the awake state.

(3)若根据第一耗电量和第二耗电量检测到AP子系统在休眠状态下耗电异常,将AP子系统保持唤醒状态。(3) If abnormal power consumption of the AP subsystem in the sleep state is detected according to the first power consumption and the second power consumption, the AP subsystem is kept in the wake-up state.

在一个实施例中,AP子系统唤醒异常包括:AP子系统被唤醒的平均周期小于第一阈值,且AP子系统被唤醒的平均周期小于第一阈值的持续时长不小于第一时长。In one embodiment, the abnormal wake-up of the AP subsystem includes: the average period of wake-up of the AP subsystem is less than the first threshold, and the duration of the average period of wake-up of the AP subsystem less than the first threshold is not less than the first period of time.

在一个实施例中,根据第一耗电量和第二耗电量检测到AP子系统在休眠状态下耗电异常包括:根据第一耗电量与第二耗电量获取耗电差值;耗电差值是AP子系统在休眠状态与唤醒状态的耗电差值;若耗电差值大于第二阈值,确定AP子系统在休眠状态下耗电异常。In one embodiment, detecting an abnormal power consumption of the AP subsystem in the sleep state according to the first power consumption and the second power consumption includes: obtaining a power consumption difference value according to the first power consumption and the second power consumption; The power consumption difference value is the power consumption difference value of the AP subsystem in the sleep state and the wake-up state; if the power consumption difference value is greater than the second threshold, it is determined that the power consumption of the AP subsystem is abnormal in the sleep state.

在一个实施例中,上述方法还包括:若根据第一耗电量和第二耗电量检测到AP子系统在休眠状态下耗电正常,将AP子系统恢复至休眠状态。In one embodiment, the above method further includes: if it is detected that the AP subsystem consumes normal power in the sleep state according to the first power consumption and the second power consumption, restoring the AP subsystem to the sleep state.

在一个实施例中,上述方法还包括:获取AP子系统保持唤醒状态的第三时长;在第三时长大于第三阈值时,将AP子系统恢复至休眠状态。In one embodiment, the above method further includes: acquiring a third duration for which the AP subsystem remains in an awake state; and when the third duration is greater than a third threshold, restoring the AP subsystem to a sleep state.

在一个实施例中,上述方法还包括:获取在第一时长内唤醒AP子系统的唤醒源;统计各个唤醒源在第一时长内唤醒次数;根据唤醒次数确定异常唤醒源。In one embodiment, the above method further includes: acquiring wake-up sources that wake up the AP subsystem within a first time period; counting the wake-up times of each wake-up source within the first time period; and determining an abnormal wake-up source according to the wake-up times.

在一个实施例中,上述方法还包括:在移动终端的灭屏状态下,限制异常唤醒源唤醒AP子系统的次数和/或频次。In one embodiment, the above-mentioned method further includes: in a screen-off state of the mobile terminal, limiting the number and/or frequency of waking up the AP subsystem by the abnormal wake-up source.

应该理解的是,虽然上述流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,上述流程图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the steps in the above flow charts are displayed in sequence according to the arrows, these steps are not necessarily executed in the sequence indicated by the arrows. Unless explicitly stated herein, the execution of these steps is not strictly limited to the order, and these steps may be performed in other orders. Moreover, at least a part of the steps in the above flow chart may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but may be executed at different times. The order of execution is also not necessarily sequential, but may be performed alternately or alternately with other steps or sub-steps of other steps or at least a portion of a phase.

图6为一个实施例中信息处理装置的结构框图。如图6所示,一种信息处理装置,包括:FIG. 6 is a structural block diagram of an information processing apparatus in an embodiment. As shown in Figure 6, an information processing device, comprising:

第一获取模块602,用于在移动终端灭屏状态下,若检测到处于休眠状态的移动终端AP子系统唤醒异常,获取在唤醒异常的第一时长内移动终端的第一耗电量。The first obtaining module 602 is configured to obtain the first power consumption of the mobile terminal during the first time period of the abnormal wake-up if it is detected that the AP subsystem of the mobile terminal in the dormant state wakes up abnormally when the screen of the mobile terminal is off.

第二获取模块604,用于将AP子系统停止休眠并保持唤醒状态,获取在保持唤醒状态的第二时长内移动终端的第二耗电量。The second obtaining module 604 is configured to stop the AP subsystem from dormancy and keep the wake-up state, and obtain the second power consumption of the mobile terminal during the second time period of keeping the wake-up state.

处理模块606,用于若根据第一耗电量和第二耗电量检测到AP子系统在休眠状态下耗电异常,将AP子系统保持唤醒状态。The processing module 606 is configured to keep the AP subsystem in an awake state if it is detected that the AP subsystem consumes abnormally in the sleep state according to the first power consumption and the second power consumption.

在一个实施例中,AP子系统唤醒异常包括:AP子系统被唤醒的平均周期小于第一阈值,且AP子系统被唤醒的平均周期小于第一阈值的持续时长不小于第一时长。In one embodiment, the abnormal wake-up of the AP subsystem includes: the average period of wake-up of the AP subsystem is less than the first threshold, and the duration of the average period of wake-up of the AP subsystem less than the first threshold is not less than the first period of time.

在一个实施例中,根据第一耗电量和第二耗电量检测到AP子系统在休眠状态下耗电异常包括:根据第一耗电量与第二耗电量获取耗电差值;耗电差值是AP子系统在休眠状态与唤醒状态的耗电差值;若耗电差值大于第二阈值,确定AP子系统在休眠状态下耗电异常。In one embodiment, detecting an abnormal power consumption of the AP subsystem in the sleep state according to the first power consumption and the second power consumption includes: obtaining a power consumption difference value according to the first power consumption and the second power consumption; The power consumption difference value is the power consumption difference value of the AP subsystem in the sleep state and the wake-up state; if the power consumption difference value is greater than the second threshold, it is determined that the power consumption of the AP subsystem is abnormal in the sleep state.

在一个实施例中,处理模块606还用于若根据第一耗电量和第二耗电量检测到AP子系统在休眠状态下耗电正常,将AP子系统恢复至休眠状态。In one embodiment, the processing module 606 is further configured to restore the AP subsystem to the sleep state if it is detected that the AP subsystem consumes normal power in the sleep state according to the first power consumption and the second power consumption.

在一个实施例中,处理模块606还用于获取AP子系统保持唤醒状态的第三时长;在第三时长大于第三阈值时,将AP子系统恢复至休眠状态。In one embodiment, the processing module 606 is further configured to acquire a third duration for which the AP subsystem remains in the awake state; when the third duration is greater than the third threshold, restore the AP subsystem to the sleep state.

图7为另一个实施例中信息处理装置的结构框图。如图7所示,一种信息处理装置,包括:第一获取模块702、第二获取模块704、处理模块706、统计模块708、确定模块710。其中,第一获取模块702、第二获取模块704、处理模块706与图6中对应的模块功能相同。FIG. 7 is a structural block diagram of an information processing apparatus in another embodiment. As shown in FIG. 7 , an information processing apparatus includes: a first acquisition module 702 , a second acquisition module 704 , a processing module 706 , a statistics module 708 , and a determination module 710 . The functions of the first obtaining module 702 , the second obtaining module 704 , and the processing module 706 are the same as those of the corresponding modules in FIG. 6 .

第一获取模块还用于获取在第一时长内唤醒AP子系统的唤醒源。The first obtaining module is further configured to obtain a wake-up source that wakes up the AP subsystem within the first time period.

统计模块708,用于统计各个唤醒源在第一时长内唤醒次数。The statistics module 708 is configured to count the wake-up times of each wake-up source within the first time period.

确定模块710,用于根据唤醒次数确定异常唤醒源。The determining module 710 is configured to determine the abnormal wake-up source according to the wake-up times.

在一个实施例中,处理模块706还用于在移动终端的灭屏状态下,限制异常唤醒源唤醒AP子系统的次数和/或频次。In one embodiment, the processing module 706 is further configured to limit the number and/or frequency of waking up the AP subsystem by the abnormal wake-up source when the screen of the mobile terminal is off.

上述信息处理装置中各个模块的划分仅用于举例说明,在其他实施例中,可将信息处理装置按照需要划分为不同的模块,以完成上述信息处理装置的全部或部分功能。The division of each module in the above information processing apparatus is only used for illustration. In other embodiments, the information processing apparatus may be divided into different modules as required to complete all or part of the functions of the above information processing apparatus.

关于信息处理装置的具体限定可以参见上文中对于信息处理方法的限定,在此不再赘述。上述信息处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the information processing apparatus, reference may be made to the limitation on the information processing method above, which will not be repeated here. Each module in the above-mentioned information processing apparatus may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or stored in the memory in the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

本申请实施例中提供的信息处理装置中的各个模块的实现可为计算机程序的形式。该计算机程序可在终端或服务器上运行。该计算机程序构成的程序模块可存储在终端或服务器的存储器上。该计算机程序被处理器执行时,实现本申请实施例中信息处理方法的步骤。The implementation of each module in the information processing apparatus provided in the embodiments of the present application may be in the form of a computer program. The computer program can be run on a terminal or server. The program modules constituted by the computer program can be stored in the memory of the terminal or the server. When the computer program is executed by the processor, the steps of the information processing method in the embodiments of the present application are implemented.

图8为一个实施例中移动终端的内部结构示意图。如图8所示,该移动终端包括通过系统总线连接的处理器、存储器和网络接口。其中,该处理器用于提供计算和控制能力,支撑整个移动移动终端的运行。存储器用于存储数据、程序等,存储器上存储至少一个计算机程序,该计算机程序可被处理器执行,以实现本申请实施例中提供的适用于移动移动终端的信息处理方法。存储器可包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机程序。该计算机程序可被处理器所执行,以用于实现以下各个实施例所提供的一种信息处理方法。内存储器为非易失性存储介质中的操作系统计算机程序提供高速缓存的运行环境。网络接口可以是以太网卡或无线网卡等,用于与外部的移动移动终端进行通信。该移动移动终端可以是手机、平板电脑或者个人数字助理或穿戴式设备等。FIG. 8 is a schematic diagram of an internal structure of a mobile terminal in an embodiment. As shown in FIG. 8, the mobile terminal includes a processor, a memory and a network interface connected through a system bus. Among them, the processor is used to provide computing and control capabilities to support the operation of the entire mobile terminal. The memory is used for storing data, programs, etc., and at least one computer program is stored in the memory, and the computer program can be executed by the processor to implement the information processing method applicable to the mobile terminal provided in the embodiments of the present application. The memory may include non-volatile storage media and internal memory. The nonvolatile storage medium stores an operating system and a computer program. The computer program can be executed by the processor to implement an information processing method provided by the following embodiments. Internal memory provides a cached execution environment for operating system computer programs in non-volatile storage media. The network interface may be an Ethernet card or a wireless network card, etc., and is used to communicate with an external mobile terminal. The mobile mobile terminal may be a mobile phone, a tablet computer, a personal digital assistant, a wearable device, or the like.

本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当计算机可执行指令被一个或多个处理器执行时,使得处理器执行本申请实施例中信息处理方法的步骤。Embodiments of the present application also provide a computer-readable storage medium. One or more non-volatile computer-readable storage media containing computer-executable instructions, when the computer-executable instructions are executed by one or more processors, cause the processors to perform the steps of the information processing method in the embodiments of the present application.

本申请实施例提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行本申请实施例中信息处理方法的步骤。The embodiments of the present application provide a computer program product including instructions, which, when run on a computer, cause the computer to execute the steps of the information processing method in the embodiments of the present application.

本申请实施例还提供了一种移动终端。如图9所示,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请实施例方法部分。该移动终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑、穿戴式设备等任意终端设备,以移动终端为手机为例:The embodiments of the present application also provide a mobile terminal. As shown in FIG. 9 , for the convenience of description, only the part related to the embodiment of the present application is shown, and the specific technical details are not disclosed, please refer to the method part of the embodiment of the present application. The mobile terminal can be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant, personal digital assistant), a POS (Point of Sales, a sales terminal), a vehicle-mounted computer, a wearable device, etc. Take the mobile terminal as an example of a mobile phone :

图9为与本申请实施例提供的移动终端相关的手机的部分结构的框图。参考图9,手机包括:射频(Radio Frequency,RF)电路910、存储器920、输入单元930、显示单元940、传感器950、音频电路960、无线保真(wireless fidelity,Wi-Fi)模块970、处理器980、以及电源990等部件。本领域技术人员可以理解,图9所示的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。FIG. 9 is a block diagram of a partial structure of a mobile phone related to a mobile terminal provided by an embodiment of the present application. 9 , the mobile phone includes: a radio frequency (RF) circuit 910, a memory 920, an input unit 930, a display unit 940, a sensor 950, an audio circuit 960, a wireless fidelity (Wi-Fi) module 970, a processing 980, and the power supply 990 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 9 does not constitute a limitation on the mobile phone, and may include more or less components than the one shown, or combine some components, or arrange different components.

其中,RF电路910可用于收发信息或通话过程中,信号的接收和发送,可将基站的下行信息接收后,给处理器980处理;也可以将上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路910还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System ofMobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband CodeDivision Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE))、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 910 can be used for receiving and sending signals during sending and receiving of information or during a call. After receiving the downlink information of the base station, it can be processed by the processor 980; it can also send the uplink data to the base station. Typically, the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 910 may communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE)), email, Short Messaging Service (Short Messaging Service, SMS) and the like.

存储器920可用于存储软件程序以及模块,处理器980通过运行存储在存储器920的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器920可主要包括程序存储区和数据存储区,其中,程序存储区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能的应用程序、图像播放功能的应用程序等)等;数据存储区可存储根据手机的使用所创建的数据(比如音频数据、通讯录等)等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 920 can be used to store software programs and modules, and the processor 980 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 920 . The memory 920 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playback function, an application program for an image playback function, etc.), etc.; The data storage area may store data (such as audio data, address book, etc.) created according to the usage of the mobile phone, and the like. Additionally, memory 920 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.

输入单元930可用于接收输入的数字或字符信息,以及产生与手机900的用户设置以及功能控制有关的键信号输入。具体地,输入单元930可包括触控面板931以及其他输入设备932。触控面板931,也可称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板931上或在触控面板931附近的操作),并根据预先设定的程式驱动相应的连接装置。在一个实施例中,触控面板931可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器980,并能接收处理器980发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板931。除了触控面板931,输入单元930还可以包括其他输入设备932。具体地,其他输入设备932可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)等中的一种或多种。The input unit 930 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 phone 900 . Specifically, the input unit 930 may include a touch panel 931 and other input devices 932 . The touch panel 931, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user using a finger, a stylus, etc., any suitable object or accessory on or near the touch panel 931) operation), and drive the corresponding connection device according to the preset program. In one embodiment, the touch panel 931 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device 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 device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 980, and can receive the command sent by the processor 980 and execute it. In addition, the touch panel 931 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 931 , the input unit 930 may further include other input devices 932 . Specifically, other input devices 932 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), and the like.

显示单元940可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元940可包括显示面板941。在一个实施例中,可以采用液晶显示器(LiquidCrystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板941。在一个实施例中,触控面板931可覆盖显示面板941,当触控面板931检测到在其上或附近的触摸操作后,传送给处理器980以确定触摸事件的类型,随后处理器980根据触摸事件的类型在显示面板941上提供相应的视觉输出。虽然在图9中,触控面板931与显示面板941是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板931与显示面板941集成而实现手机的输入和输出功能。The display unit 940 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 940 may include a display panel 941 . In one embodiment, the display panel 941 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, the touch panel 931 may cover the display panel 941, and when the touch panel 931 detects a touch operation on or near it, the touch panel 931 transmits it to the processor 980 to determine the type of the touch event, and then the processor 980 determines the type of the touch event according to the The type of touch event provides a corresponding visual output on display panel 941 . Although in FIG. 9, the touch panel 931 and the display panel 941 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 931 and the display panel 941 can be integrated to form Realize the input and output functions of the mobile phone.

手机900还可包括至少一种传感器950,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板941的亮度,接近传感器可在手机移动到耳边时,关闭显示面板941和/或背光。运动传感器可包括加速度传感器,通过加速度传感器可检测各个方向上加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换)、振动识别相关功能(比如计步器、敲击)等;此外,手机还可配置陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器等。Cell phone 900 may also include at least one sensor 950, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor can include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 941 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 941 and/or when the mobile phone is moved to the ear. or backlight. Motion sensors can include acceleration sensors, which can detect the magnitude of acceleration in all directions, and can detect the magnitude and direction of gravity when stationary. It can be used for applications that recognize the posture of mobile phones (such as switching between horizontal and vertical screens), and vibration recognition related functions (such as Pedometer, tapping), etc.; in addition, the mobile phone can also be equipped with other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc.

音频电路960、扬声器961和传声器962可提供用户与手机之间的音频接口。音频电路960可将接收到的音频数据转换后的电信号,传输到扬声器961,由扬声器961转换为声音信号输出;另一方面,传声器962将收集的声音信号转换为电信号,由音频电路960接收后转换为音频数据,再将音频数据输出处理器980处理后,经RF电路910可以发送给另一手机,或者将音频数据输出至存储器920以便后续处理。Audio circuit 960, speaker 961 and microphone 962 may provide an audio interface between the user and the cell phone. The audio circuit 960 can convert the received audio data into an electrical signal, and transmit it to the speaker 961, and the speaker 961 converts it into a sound signal for output; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 960 After receiving, the audio data is converted into audio data, and then the audio data is output to the processor 980 for processing, and can be sent to another mobile phone via the RF circuit 910, or the audio data can be output to the memory 920 for subsequent processing.

Wi-Fi属于短距离无线传输技术,手机通过Wi-Fi模块970可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图9示出了Wi-Fi模块970,但是可以理解的是,其并不属于手机900的必须构成,可以根据需要而省略。Wi-Fi is a short-range wireless transmission technology. The mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the Wi-Fi module 970. It provides users with wireless broadband Internet access. Although FIG. 9 shows the Wi-Fi module 970, it can be understood that it is not a necessary component of the mobile phone 900 and can be omitted as required.

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

手机900还包括给各个部件供电的电源990(比如电池),优选的,电源可以通过电源管理系统与处理器980逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone 900 also includes a power supply 990 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 980 through a power management system, so that functions such as charging, discharging, and power consumption management are implemented through the power management system.

在一个实施例中,手机900还可以包括摄像头、蓝牙模块等。In one embodiment, the mobile phone 900 may further include a camera, a Bluetooth module, and the like.

在本申请实施例中,该移动终端所包括的处理器980执行存储在存储器上的计算机程序时实现本申请实施例中信息处理方法的步骤。In the embodiment of the present application, when the processor 980 included in the mobile terminal executes the computer program stored in the memory, the steps of the information processing method in the embodiment of the present application are implemented.

本申请所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to a memory, storage, database, or other medium as used herein may include non-volatile and/or volatile memory. Nonvolatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in various forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Memory Bus (Rambus) Direct RAM (RDRAM), Direct Memory Bus Dynamic RAM (DRDRAM), and Memory Bus Dynamic RAM (RDRAM).

以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above examples only represent several embodiments of the present application, and the descriptions thereof are relatively specific and detailed, but should not be construed as a limitation on the scope of the patent of the present application. It should be noted that, for those skilled in the art, without departing from the concept of the present application, several modifications and improvements can be made, which all belong to the protection scope of the present application. Therefore, the scope of protection of the patent of the present application shall be subject to the appended claims.

Claims (10)

1. An information processing method characterized by comprising:
in a screen-off state of a mobile terminal, if the AP subsystem of the application processor subsystem of the mobile terminal in a dormant state is detected to be abnormal in awakening, acquiring first power consumption of the mobile terminal within a first time length of abnormal awakening;
stopping the AP subsystem from sleeping and keeping the AP subsystem in an awakening state, and acquiring second power consumption of the mobile terminal within a second time length of keeping the AP subsystem in the awakening state;
if the power consumption abnormality of the AP subsystem in the sleep state is detected according to the first power consumption and the second power consumption, keeping the AP subsystem in the awakening state;
the detecting that the power consumption of the AP subsystem is abnormal in a sleep state according to the first power consumption and the second power consumption comprises:
acquiring a power consumption difference value according to the first power consumption and the second power consumption; the power consumption difference value is the power consumption difference value of the AP subsystem in a dormant state and an awakening state;
and if the power consumption difference value is larger than a second threshold value, determining that the power consumption of the AP subsystem is abnormal in the sleep state, wherein the second threshold value is a positive value.
2. The method of claim 1, wherein the AP subsystem wake exception comprises:
the average period of awakening the AP subsystem is smaller than a first threshold, and the duration of the average period of awakening the AP subsystem, which is smaller than the first threshold, is not smaller than the first duration.
3. The method of claim 1, further comprising:
and if the AP subsystem is detected to consume normal power in the dormant state according to the first power consumption and the second power consumption, the AP subsystem is restored to the dormant state.
4. The method according to any one of claims 1 to 3, further comprising:
acquiring a third duration for the AP subsystem to keep in the awakening state;
and when the third duration is greater than a third threshold value, the AP subsystem is restored to the dormant state.
5. The method according to any one of claims 1 to 3, further comprising:
acquiring a wake-up source for waking up the AP subsystem within a first time length;
counting the awakening times of each awakening source in the first time length;
and determining an abnormal awakening source according to the awakening times.
6. The method of claim 5, further comprising:
and limiting the times and/or frequency of awakening the AP subsystem by the abnormal awakening source in the screen-off state of the mobile terminal.
7. An information processing apparatus characterized by comprising:
the mobile terminal comprises a first acquisition module, a second acquisition module and a first power consumption module, wherein the first acquisition module is used for acquiring first power consumption of the mobile terminal within a first time length of abnormal awakening if the abnormal awakening of an AP (access point) subsystem of the mobile terminal in a dormant state is detected in a screen-off state of the mobile terminal;
the second acquisition module is used for stopping the AP subsystem from sleeping, keeping the AP subsystem in an awakening state and acquiring second power consumption of the mobile terminal within a second time length of keeping the AP subsystem in the awakening state;
the processing module is used for keeping the AP subsystem in a wake-up state if the power consumption abnormity of the AP subsystem in a sleep state is detected according to the first power consumption and the second power consumption;
the processing module is further used for obtaining a power consumption difference value according to the first power consumption and the second power consumption; the power consumption difference value is the power consumption difference value of the AP subsystem in a dormant state and an awakening state; and if the power consumption difference value is larger than a second threshold value, determining that the power consumption of the AP subsystem is abnormal in the sleep state, wherein the second threshold value is a positive value.
8. The information processing apparatus according to claim 7, wherein the processing module is further configured to restore the AP subsystem to the sleep state if it is detected that the AP subsystem consumes power normally in the sleep state according to the first power consumption amount and the second power consumption amount.
9. A mobile terminal comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 6.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201810461548.4A 2018-05-15 2018-05-15 Information processing method, device, mobile terminal and computer readable storage medium Expired - Fee Related CN108646909B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810461548.4A CN108646909B (en) 2018-05-15 2018-05-15 Information processing method, device, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810461548.4A CN108646909B (en) 2018-05-15 2018-05-15 Information processing method, device, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108646909A CN108646909A (en) 2018-10-12
CN108646909B true CN108646909B (en) 2020-06-12

Family

ID=63755635

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810461548.4A Expired - Fee Related CN108646909B (en) 2018-05-15 2018-05-15 Information processing method, device, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108646909B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442768B (en) * 2021-06-03 2024-08-16 广州汽车集团股份有限公司 A method for monitoring abnormal wake-up of vehicle-mounted TBOX communication module
CN116701101B (en) * 2022-12-30 2024-07-30 荣耀终端有限公司 Abnormal detection method and electronic device of SensorHUB

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336570A (en) * 2013-05-28 2013-10-02 北京小米科技有限责任公司 Hibernation control method and terminal
US9268384B2 (en) * 2008-10-22 2016-02-23 Microsoft Technology Licensing, Llc Conserving power using predictive modelling and signaling
CN105677386A (en) * 2015-12-29 2016-06-15 北京金山安全软件有限公司 Application program management method and device and electronic equipment
CN105848268A (en) * 2016-05-25 2016-08-10 努比亚技术有限公司 Method and terminal for reducing power consumption
CN107168851A (en) * 2017-05-08 2017-09-15 广东欧珀移动通信有限公司 Information processing method, device and mobile terminal
CN107844189A (en) * 2017-10-30 2018-03-27 东莞市金铭电子有限公司 A method, system, terminal and computer-readable storage medium for reducing black screen power consumption

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9788272B2 (en) * 2014-07-08 2017-10-10 Samsung Electronics Co., Ltd Method of reducing consumption of standby current in a mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9268384B2 (en) * 2008-10-22 2016-02-23 Microsoft Technology Licensing, Llc Conserving power using predictive modelling and signaling
CN103336570A (en) * 2013-05-28 2013-10-02 北京小米科技有限责任公司 Hibernation control method and terminal
CN105677386A (en) * 2015-12-29 2016-06-15 北京金山安全软件有限公司 Application program management method and device and electronic equipment
CN105848268A (en) * 2016-05-25 2016-08-10 努比亚技术有限公司 Method and terminal for reducing power consumption
CN107168851A (en) * 2017-05-08 2017-09-15 广东欧珀移动通信有限公司 Information processing method, device and mobile terminal
CN107844189A (en) * 2017-10-30 2018-03-27 东莞市金铭电子有限公司 A method, system, terminal and computer-readable storage medium for reducing black screen power consumption

Also Published As

Publication number Publication date
CN108646909A (en) 2018-10-12

Similar Documents

Publication Publication Date Title
CN112703714B (en) Application processing method and device, computer equipment and computer readable storage medium
CN108541013B (en) Information processing method, device, mobile terminal, and computer-readable storage medium
CN109144232B (en) Process processing method and apparatus, electronic device, and computer-readable storage medium
CN108616653B (en) Information processing method, device, mobile terminal, and computer-readable storage medium
CN108536377A (en) Display control method and device, terminal and computer readable storage medium
CN110032266B (en) Information processing method, apparatus, computer device, and computer-readable storage medium
CN110032431A (en) Application processing method and device, electronic equipment and computer readable storage medium
CN108549593A (en) Information processing method, device, mobile terminal and computer readable storage medium
CN108536547A (en) Information processing method, device, computer device, and computer-readable storage medium
CN110032397B (en) Application processing method and device, electronic equipment and computer readable storage medium
CN110018905B (en) Information processing method, device, computer device, and computer-readable storage medium
CN108646909B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN107659718A (en) Control method, apparatus, mobile terminal and the storage medium of mobile terminal
CN110018885A (en) Application program freezing method, device, storage medium and terminal
CN108668016B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN108541050A (en) Information processing method, device, mobile terminal and computer readable storage medium
WO2019128586A1 (en) Application processing method, electronic device, and computer readable storage medium
CN112542867B (en) Mobile terminal power supply control method and device, terminal equipment and storage medium
CN108566471B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN110543333A (en) Dormancy processing method and device for processor, mobile terminal and storage medium
CN108566470A (en) Information processing method, device, mobile terminal and computer readable storage medium
CN109992360A (en) Process processing method and apparatus, electronic device, and computer-readable storage medium
CN108536546A (en) Information processing method, device, mobile terminal and computer readable storage medium
CN108650384B (en) Information processing method, device, mobile terminal, and computer-readable storage medium
CN112997132A (en) Application freezing method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200612

CF01 Termination of patent right due to non-payment of annual fee