CN108572904A - 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
CN108572904A
CN108572904A CN201810270566.4A CN201810270566A CN108572904A CN 108572904 A CN108572904 A CN 108572904A CN 201810270566 A CN201810270566 A CN 201810270566A CN 108572904 A CN108572904 A CN 108572904A
Authority
CN
China
Prior art keywords
mobile terminal
wake
power consumption
subsystems
abnormal
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
CN201810270566.4A
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810270566.4A priority Critical patent/CN108572904A/en
Publication of CN108572904A publication Critical patent/CN108572904A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
    • G06F11/3062Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations where the monitored property is the power consumption
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • 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
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

A kind of information processing method of the application offer, device, mobile terminal and computer readable storage medium.The above method includes:If the screen duration that goes out that mobile terminal is switched to bright screen state and the mobile terminal by screen state of going out is more than the first duration, Standard clectrical quantity and power consumption electricity of the mobile terminal during the screen that goes out are obtained;According to mobile terminal described in the Standard clectrical quantity and power consumption electric power detection, whether power consumption is abnormal;If detecting, the mobile terminal power consumption is abnormal, obtains the wake-up period of mobile terminal AP subsystems;If it is abnormal to detect that the mobile terminal AP subsystems wake up according to the wake-up period, the first wake-up times of wake source in the mobile terminal AP subsystems are obtained, abnormal wake source is determined according to first wake-up times.The above method improves the efficiency detected to mobile terminal power consumption abnormal cause by way of automatically determining wake source.

Description

Information processing method, device, mobile terminal and computer readable storage medium
Technical field
This application involves field of computer technology, more particularly to a kind of information processing method, device, mobile terminal and meter Calculation machine readable storage medium storing program for executing.
Background technology
With the rapid development of intelligent mobile terminal, intelligent mobile terminal is increasingly common in user lives.Pass through intelligence Energy mobile terminal user, which can facilitate, to link up and exchanges with other people.During the use of intelligent mobile terminal, various applications Program, intelligent mobile terminal hardware, intelligent mobile terminal system can cause intelligent mobile terminal power consumption, cause intelligent mobile whole The cruising ability at end reduces.
Invention content
A kind of information processing method of the embodiment of the present application offer, device, mobile terminal and computer readable storage medium, can To detect power consumption abnormal conditions of the mobile terminal during the screen that goes out.
A kind of information processing method, including:
If the screen duration that goes out that mobile terminal is switched to bright screen state and the mobile terminal by screen state of going out is more than first It is long, obtain Standard clectrical quantity and power consumption electricity of the mobile terminal during the screen that goes out;
According to mobile terminal described in the Standard clectrical quantity and power consumption electric power detection, whether power consumption is abnormal;
If detecting, the mobile terminal power consumption is abnormal, obtains the wake-up period of mobile terminal AP subsystems;
If it is abnormal to detect that the mobile terminal AP subsystems wake up according to the wake-up period, the mobile terminal is obtained First wake-up times of wake source in AP subsystems determine abnormal wake source according to first wake-up times.
A kind of information processing unit, including:
First acquisition module, if being switched to going out for bright screen state and the mobile terminal by screen state of going out for mobile terminal It is more than the first duration to shield duration, obtains Standard clectrical quantity and power consumption electricity of the mobile terminal during the screen that goes out;
First detection module, for whether power consumption to be different for mobile terminal according to described in the Standard clectrical quantity and power consumption electric power detection Often;
If second acquisition module obtains mobile terminal AP subsystems for detecting that the mobile terminal power consumption is abnormal Wake-up period;
Second detection module, if different for detecting that the mobile terminal AP subsystems wake up according to the wake-up period Often, the first wake-up times for obtaining wake source in the mobile terminal AP subsystems determine different according to first wake-up times Normal wake source.
A kind of mobile terminal, including memory and processor store computer program, the calculating in the memory When machine program is executed by the processor so that the processor executes the step of method as described above.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of method as described above is realized when row.
In the application, when detecting the power consumption exception during mobile terminal goes out screen, mobile terminal AP subsystems can be obtained First wake-up times of middle wake source determine abnormal wake source, by the side for automatically determining wake source according to the first wake-up times Formula improves the efficiency detected to mobile terminal power consumption abnormal cause.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with Obtain other attached drawings according to these attached drawings.
Fig. 1 is a kind of flow chart of information processing method in one embodiment;
Fig. 2 is a kind of flow chart of information processing method in another embodiment;
Fig. 3 is a kind of flow chart of information processing method in another embodiment;
Fig. 4 is a kind of flow chart of information processing method in another embodiment;
Fig. 5 is the structure diagram of information processing unit in one embodiment;
Fig. 6 is the structure diagram of information processing unit in another embodiment;
Fig. 7 is the structure diagram of information processing unit in another embodiment;
Fig. 8 is the internal structure schematic diagram of mobile terminal in one embodiment;
Fig. 9 is the block diagram with the part-structure of the relevant mobile phone of mobile terminal provided by the embodiments of the present application.
Specific implementation mode
It is with reference to the accompanying drawings and embodiments, right in order to make the object, technical solution and advantage of the application be more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and It is not used in restriction the application.
In one embodiment, a kind of application scenarios of information processing method include:When detect mobile terminal go out screen when, Record goes out the screen moment;When mobile terminal is switched to bright screen state by screen state of going out, record the bright screen moment, then it is above-mentioned to go out the screen moment Time difference between the bright screen moment is the screen duration that goes out of mobile terminal.During mobile terminal goes out screen, application in mobile terminal Program operation etc. can cause mobile terminal power consumption.First battery capacity and the second of bright screen moment of the mobile terminal at the screen moment of going out Difference between battery capacity is the total electricity that mobile terminal consumes during the screen that goes out, i.e. power consumption of the mobile terminal during the screen that goes out Electricity.During mobile terminal goes out screen, each state of mobile terminal can consume corresponding electricity, above-mentioned corresponding electricity Aggregate-value is Standard clectrical quantity, and above-mentioned standard electricity indicates the basic electricity that mobile terminal consumes during the screen that goes out, it may include is Unite power consumption, SIM (Subscriber Identification Module, subscriber identification card) card power consumption, Wi-Fi (Wireless-Fidelity, Wireless Fidelity) power consumption etc..It, can be by mobile terminal after getting power consumption electricity and Standard clectrical quantity Go out screen during power consumption electricity and above-mentioned standard electricity make comparisons, when power consumption electricity be not more than above-mentioned standard electricity when, indicate move The power consumption during the screen that goes out of dynamic terminal is normal;When power consumption electricity is more than above-mentioned standard electricity, indicate mobile terminal during the screen that goes out Power consumption is more, then mobile terminal power consumption during the screen that goes out is abnormal.It, can be further when mobile terminal power consumption exception during the screen that goes out Obtain the suspend mode of mobile terminal subsystem than, the power consumption of each application program, each application program hold the lock parameters such as duration, according to Above-mentioned parameter judges the reason of mobile terminal power consumption exception.The reason of above-mentioned power consumption exception include mobile terminal subsystem it is abnormal, Application program plays music etc. on backstage download, application program backstage.After the reason for getting mobile terminal power consumption exception, move The reason of power consumption exception can be illustrated in interface of mobile terminal for reminding user, mobile terminal also can be by power consumption exception by dynamic terminal The reason of upload onto the server, server according to the reason of the power consumption exception of acquisition carry out statistics and analysis, according to statistical analysis As a result it obtains carrying out power consumption optimisation strategy to mobile terminal, and above-mentioned power consumption optimisation strategy is returned into mobile terminal.
Fig. 1 is the flow chart of information processing method in one embodiment, as shown in Figure 1, a kind of information processing method, packet It includes:
Step 102, if the screen duration that goes out that mobile terminal is switched to bright screen state and mobile terminal by screen state of going out is more than the One duration obtains Standard clectrical quantity and power consumption electricity of the mobile terminal during the screen that goes out.
When mobile terminal is into death of monks or nuns screen state, mobile terminal can record going out the screen moment into death of monks or nuns screen state;Work as movement When terminal screen is lit, i.e., mobile terminal bright screen when, mobile terminal can record the bright screen moment.Above-mentioned bright screen refers to mobile terminal Screen is lit, and the above-mentioned screen that goes out refers to that mobile terminal screen closes backlight.Time between above-mentioned bright screen moment and screen moment of going out Difference is the screen duration that goes out.Wherein, for mobile terminal when going out screen or bright screen, system broadcasts can be transmitted in broadcast transmission person.Normal conditions Under, mobile terminal goes out, and screen is corresponding to broadcast as Intent.ACTION_SCREEN_OFF, goes out screen extensively when broadcast recipients receive Sowing time indicates that mobile terminal goes out screen, then mobile terminal receives at the time of going out screen broadcast as mobile terminal and goes out at the time of shield.It moves The bright screen of dynamic terminal is corresponding to broadcast as Intent.ACTION_SCREEN_ON, when broadcast recipients receive bright screen broadcast, table Show the bright screen of mobile terminal, then at the time of mobile terminal receives the broadcast of bright screen as mobile terminal bright screen at the time of.Mobile terminal Middle broadcast transmission side is usually the program for calling Context.sendBroadcast (), and broadcast recipients are usually to inherit The program of BroadcastReceiver.
After getting the screen duration that goes out of mobile terminal, whether the detectable screen duration that goes out is more than the first duration.Above-mentioned first The duration that duration can set for duration set by user or mobile terminal, such as 5 hours, 6 hours etc..If the screen that goes out of mobile terminal Duration be more than above-mentioned first duration, then mobile terminal go out screen duration it is longer.Due to the curved type of the decaying of battery in mobile terminal And power consumption is calculated according to the percentages of battery capacity, when mobile terminal go out screen duration it is shorter when, pass through cell decay The calculated power consumption error of curve is larger, therefore obtains movement again eventually when the screen duration that goes out of mobile terminal is more than the first duration The benchmark electricity and power consumption electricity during the screen that goes out are held, the accuracy of the electricity got can be improved.
Standard schedule can be stored in mobile terminal, above-mentioned standard inventory is mobile terminal each state pair in the standby state The time per power consumption answered.Such as, it may include:Single deck tape-recorder SIM card corresponding electricity, is beaten the corresponding electricity of double card SIM card Wi-Fi is opened to be not connected with corresponding electricity, open bluetooth and be not connected with corresponding electricity, the corresponding electricity of connection Wi-Fi, connection bluetooth Corresponding electricity etc..Mobile terminal can be by each state of the mobile terminal during the screen that goes out and state progress in standard schedule Match, obtains the aggregate-value of the corresponding power consumption electricity of state of successful match, the corresponding power consumption electricity of state of successful match, it is above-mentioned Aggregate-value is standard electrical-power, and the product of standard electrical-power and the screen duration that goes out is Standard clectrical quantity.Above-mentioned standard electrical power is TargetCurrent, TargetCurrent=mBaseCurrent+mSingleSimCardDelta+ mDoubleSimCardDelta+mWi fiDelta+mNetworkDelta+mBluetoothDelta+offset.It is above-mentioned MBaseCurrent be mobile terminal system in time per power consumption, can be 3.9mA/h;When mobile terminal is inserted into single deck tape-recorder Time per power consumption mSingleSimCardDelta is 3mA/h when SIM card, is otherwise 0;When mobile terminal insertion is double Time per power consumption mDoubleSimCardDelta is 6mA/h when card SIM card, is otherwise 0;When mobile terminal is opened Time per power consumption mWifiDelta is 6mA/h when Wi-Fi, is otherwise 0;When mobile terminal opens bluetooth when unit Between in-fighting power consumption mBluetoothDelta be 2mA/h, be otherwise 0;Offset indicates other kinds of power consumption, can be 10mA/ h。
Step 104, according to Standard clectrical quantity and power consumption electric power detection mobile terminal, whether power consumption is abnormal.
Standard clectrical quantity can be compared by mobile terminal with power consumption electricity, and whether power consumption is abnormal for detection mobile terminal.Wherein, Standard clectrical quantity can be directly compared by mobile terminal with power consumption electricity, if detecting, power consumption electricity is more than Standard clectrical quantity, indicates The electricity that mobile terminal consumes during the screen that goes out is more, i.e. mobile terminal power consumption during the screen that goes out is abnormal.Mobile terminal also can root Standard electrical-power is obtained according to Standard clectrical quantity and the screen duration that goes out, power consumption electrical power is obtained according to power consumption electricity and the screen duration that goes out, then will Above-mentioned standard electrical power and power consumption electrical power are compared, if power consumption electrical power is more than standard electrical-power, mobile terminal is going out Power consumption is abnormal during screen.
Step 106, if detecting, mobile terminal power consumption is abnormal, obtains the wake-up period of mobile terminal AP subsystems.
If detecting, power consumption is abnormal during mobile terminal goes out screen, can further obtain mobile terminal AP (Application Processer Sub System, application processor subsystem) subsystem wake-up period, according to mobile terminal AP subsystems Whether wake-up period detection mobile terminal AP subsystems wake up exception.The wake-up period of above-mentioned mobile terminal AP subsystems refers to moving Dynamic terminal AP subsystems are average be waken up twice between time interval, for example, the wake-up period of mobile terminal AP subsystems is 2 Minute/time, then it represents that mobile terminal AP subsystems are waken up once at intervals of two minutes.
Step 108, abnormal if detecting that mobile terminal AP subsystems wake up according to wake-up period, obtain mobile terminal AP First wake-up times of wake source in system determine abnormal wake source according to the first wake-up times.
It, can be according to above-mentioned mobile terminal AP subsystems after the wake-up period for getting above-mentioned mobile terminal AP subsystems It is abnormal with the presence or absence of waking up that wake-up period detects above-mentioned mobile terminal AP subsystems.Optionally, mobile terminal AP subsystems can be set The corresponding first threshold of wake-up period of system is sentenced when the wake-up period of mobile terminal AP subsystems is less than above-mentioned first threshold Determine mobile terminal AP subsystems and wakes up exception.For example, the corresponding first threshold of wake-up period of mobile terminal AP subsystems is 2 points Clock/time, when the wake-up period of mobile terminal AP subsystems is less than 2 minute/time, then it represents that mobile terminal AP subsystems average two It is secondary be waken up between time interval be less than 2 minutes, i.e. mobile terminal AP subsystems are awakened as frequently as those utilized in conventional solutions, judgement mobile terminal AP System wake-up is abnormal.Above-mentioned first threshold can be the wake-up period of value set by user or mobile terminal side according to statistics The value of data setting.
After detecting that mobile terminal AP subsystems wake up exception, the of wake source in mobile terminal AP subsystems can be obtained One wake-up times.When mobile terminal AP subsystems enter dormant state, multiple wake sources can wake up mobile whole in mobile terminal AP subsystems, above-mentioned wake source is held to may include:Wi-Fi wakes up, Modem wakes up, ADSP (Advanced Digital Signal Processor, Advanced Digital Signal Processor) wake-up, Alarm wake-ups and SPS wake-ups etc..It is to move that above-mentioned Modem, which wakes up, Terminal P subsystems are by mobile terminal MPSS (Modem Processer Sub System, modem processes subsystem) System wake-up, it is that mobile terminal AP subsystems are waken up by mobile terminal ADSP subsystems that above-mentioned ADSP, which wakes up, and above-mentioned Alarm is called out Wake up is that mobile terminal AP subsystems are waken up or called out by mobile terminal center rack-layer Alarm by inner nuclear layer Alarm in mobile terminal It wakes up.In the first wake-up times of wake source in obtaining mobile terminal AP subsystems, it can count complete in mobile terminal AP subsystems First wake-up times of portion's wake source can also count the first wake-up times of part wake source in mobile terminal AP subsystems.It can Selection of land can count the first wake-up times that wake source is preset in mobile terminal AP subsystems, such as statistics mobile terminal AP subsystems The first wake-up times that Wi-Fi wakes up in system, Modem wakes up, ADSP wakes up and Alarm wakes up.Wherein, statistics mobile terminal AP The first wake-up times of wake source include in subsystem:When mobile terminal AP subsystems are waken up, obtain and wake up mobile terminal The corresponding interruption number of AP subsystems, when above-mentioned interruption number is matched with the interruption of the wake source of mobile terminal AP subsystems number When, then the first wake-up times of above-mentioned wake source are added 1, can obtain mobile terminal by statistics goes out each wake source during screen First wake-up times.
It, can be according to the of each wake source in getting mobile terminal AP subsystems after the first wake-up times of wake source One wake-up times determine abnormal wake source.Wherein, in getting mobile terminal AP subsystems wake source the first wake-up times Afterwards, the first wake-up times of each wake source can be compared by mobile terminal, according to the first wake-up times of each wake source Determine exception wake source.Optionally, mobile terminal can choose the wake source that the first wake-up times are greater than the set value and be called out as abnormal Awake source, mobile terminal also can sort wake source according to the first wake-up times, and abnormal wake source, example are determined according to the serial number of sequence Such as, the most wake source of the first wake-up times is determined as abnormal wake source.
Under normal conditions, when detect mobile terminal go out power consumption exception during screen when, if desired detect mobile terminal AP When system is with the presence or absence of waking up abnormal, need technical staff by mobile terminal daily record come positioning analysis, detection mobile terminal AP It is less efficient that subsystem wakes up abnormal method.Method in the embodiment of the present application is consumed when detecting during mobile terminal goes out screen When electrical anomaly, the first wake-up times of wake source in mobile terminal AP subsystems can be obtained, are determined according to the first wake-up times different Normal wake source improves the efficiency detected to mobile terminal power consumption abnormal cause by way of automatically determining wake source.
In one embodiment, according to Standard clectrical quantity and power consumption electric power detection mobile terminal whether power consumption exception following methods In any one:
(1) whether detection power consumption electricity is more than Standard clectrical quantity, if power consumption electricity is more than Standard clectrical quantity, detects that power consumption is different Often.
(2) power consumption electrical power is obtained according to power consumption electricity and the screen duration that goes out, mark is obtained according to Standard clectrical quantity and the screen duration that goes out Whether quasi- electrical power, detection power consumption electrical power are more than standard electrical-power, if power consumption electrical power is more than standard electrical-power, detect Power consumption is abnormal.
Mobile terminal according to Standard clectrical quantity and power consumption electric power detection mobile terminal whether power consumption exception when, can detect movement Whether power consumption electricity of the terminal during the screen that goes out is more than Standard clectrical quantity, if power consumption electricity is more than Standard clectrical quantity, then it represents that mobile whole End consumption electricity during the screen that goes out is more, i.e. mobile terminal power consumption during the screen that goes out is abnormal.Mobile terminal can also obtain power consumption electricity It measures and the ratio for the screen duration that goes out, above-mentioned ratio is mobile terminal time per power consumption, i.e. mobile terminal during the screen that goes out Power consumption electrical power during the screen that goes out.Mobile terminal can obtain standard electric work by the ratio of Standard clectrical quantity and the screen duration that goes out Rate, mobile terminal can also obtain increment electricity in the status information corresponding unit interval of above-mentioned successful match by standard schedule Aggregate-value as standard electrical-power.Power consumption electrical power can be compared by mobile terminal with standard electrical-power, detect above-mentioned consumption Whether electric electrical power is more than standard electrical-power.If power consumption electrical power is more than above-mentioned standard electrical power, mobile terminal is in the screen phase of going out Between power consumption it is abnormal.
Method in the embodiment of the present application, mobile terminal can judge to move according to the comparison result of Standard clectrical quantity and power consumption electricity Whether power consumption is abnormal for dynamic terminal, also whether can judge mobile terminal according to standard electrical-power and the comparison result of power consumption electrical power Power consumption is abnormal, and the mode for detecting mobile terminal power consumption exception is simple, quick.
In one embodiment, the wake-up period of acquisition mobile terminal AP subsystems includes:Obtain mobile terminal AP subsystems The number that system is waken up during the screen that goes out;Using the ratio of go out screen duration and the number being waken up as wake-up period.
During mobile terminal goes out screen, mobile terminal AP subsystems can be at dormant state or wake-up states.Wherein, work as shifting When dynamic terminal AP subsystems are waken up by dormant state, mobile terminal AP subsystems enter wake-up states.It goes out screen in mobile terminal Period, mobile terminal AP subsystems, which frequently wake up, can cause mobile terminal power consumption to increase, and waste mobile terminal power consumption.Wherein, it obtains The method for taking the wake-up period of mobile terminal AP subsystems includes:During mobile terminal goes out screen, mobile terminal AP subsystems are counted The number that is waken up of uniting resets the number of statistics in the bright screen of mobile terminal, is counted again when mobile terminal goes out screen next time The number that above-mentioned mobile terminal AP subsystems are waken up.The screen duration that goes out of above-mentioned mobile terminal is called out with mobile terminal AP subsystems The ratio of awake number is the wake-up period of mobile terminal AP subsystems.For example, mobile terminal can pass through resume_count The number that statistics mobile terminal AP subsystems are waken up, when being waken up mobile terminal AP subsystems, above-mentioned resume_ Count is incremented by count, and during mobile terminal goes out screen, the value of above-mentioned resume_count is that mobile terminal AP subsystems exist Mobile terminal goes out the number that is waken up during screen, is reset when the bright screen of mobile terminal, then by the value of above-mentioned resume_count.It will Mobile terminal go out screen duration be set as h1, then wake-up period be h1/resume_count.
In one embodiment, before the wake-up period for obtaining mobile terminal AP subsystems, the above method further includes:It obtains The suspend mode ratio for taking mobile terminal AP subsystems is stopped according to the suspend mode of mobile terminal AP subsystems than determining mobile terminal AP subsystems It sleeps abnormal.
It usually there will be multiple subsystems in mobile terminal system, have independently operated energy between multiple subsystems Power.Between multiple subsystems the various functions of mobile terminal can be realized by cooperateing with and interacting.Mobile terminal subsystem can wrap It includes:AP subsystems, MPSS subsystems, ADSP subsystems etc..Wherein AP subsystem responsibles run mobile terminal operating system such as Android operation system is to realize most of Multimedia Task related to user;The real-time behaviour of MPSS subsystems operation customization Make system and connect relevant function, such as Wi-Fi, call etc. with user to realize;ADSP subsystem responsibles sensor, audio phase The task and function of pass.
Since mobile terminal AP subsystem responsibles run mobile terminal operating system, other mobile terminal subsystems are compared, Mobile terminal AP subsystem exception probability is larger, thus detect mobile terminal subsystem whether suspend mode exception when, can first detect Whether suspend mode is abnormal for mobile terminal AP subsystems.Wherein, whether the step of suspend mode exception includes detection mobile terminal AP subsystems: Obtain the suspend mode ratio of mobile terminal AP subsystems and corresponding fiducial value.Above-mentioned fiducial value may include normal value and exceptional value, on It states normal value and is more than above-mentioned exceptional value.When the suspend mode ratio of mobile terminal AP subsystems is more than above-mentioned normal value, then mobile terminal The suspend mode of AP subsystems is than normal;When the suspend mode ratio of mobile terminal AP subsystems is less than above-mentioned exceptional value, then mobile terminal AP The suspend mode of subsystem is than abnormal.It is mobile when the suspend mode ratio of mobile terminal AP subsystems is between above-mentioned exceptional value and normal value Terminal can obtain the first electrical power of mobile terminal AP subsystems, according to the first electrical power of above-mentioned mobile terminal AP subsystems come Judging mobile terminal AP subsystems, whether suspend mode is abnormal.First electrical power P ower_AP_runtime_avg=(DeltaBC- screenoffDuration*TargetCurrent)/(screenoffDur ation*(1-apSuspendRatio/100))。 Wherein, DeltaBC-screenoffDuration*TargetCurrent is that mobile terminal removes normal power consumption during the screen that goes out Electricity in addition;ScreenoffDuration* (1-SuspendRatio/100) is that mobile terminal AP subsystems are in wake-up shape The duration of state, Power_AP_runtime_avg are average power consumption of the mobile terminal AP subsystems in wake-up states.When above-mentioned When Power_AP_runtime_avg is more than setting performance number, the suspend mode of mobile terminal AP subsystems is normal;Work as Power_AP_ When runtime_avg is less than setting performance number, the suspend mode of mobile terminal AP subsystems is abnormal.If detecting mobile terminal AP subsystems Suspend mode is abnormal, then directly investigates the abnormal cause of mobile terminal AP subsystems;Detecting the suspend mode of mobile terminal AP subsystems just Chang Shi, then detect mobile terminal MPSS subsystems whether suspend mode is abnormal.Above-mentioned setting performance number can be according to mobile terminal system version Sheet, hardware state etc. are configured, such as 500mA/h.
If detecting, the suspend mode of mobile terminal AP subsystems is abnormal, can further obtain the wake-up of mobile terminal AP subsystems Period detects whether mobile terminal AP subsystems wake up exception according to the wake-up period of mobile terminal AP subsystems.
In one embodiment, the above method further includes:
Step 110, when abnormal wake source is that Modem wakes up, each type of message corresponding the during Modem wakes up is obtained Two wake-up times determine unexpected message type according to the second wake-up times.
Mobile terminal can determine different after getting the second wake-up times of each wake source according to the second wake-up times If normal wake source can further determine that unexpected message type in Modem wake-ups detect that abnormal wake source is that Modem wakes up. It is that mobile terminal AP subsystems are waken up by mobile terminal MPSS subsystems that above-mentioned Modem, which wakes up,.The message that above-mentioned Modem wakes up Type may include:Application messages wake up, base station call message wakes up and log information wakes up.Above application program message is called out It refers to that mobile terminal MPSS subsystems need to wake up mobile terminal AP subsystems because of application event or message to wake up, above-mentioned It refers to that mobile terminal MPSS subsystems interact the event or message generated because of mobile terminal with base station that base station call message, which wakes up, It needs to wake up mobile terminal AP subsystems.Wherein, the type of message that above-mentioned Modem wakes up, which is respectively corresponding with, wakes up ID, such as It is DATA_WS that application messages, which wake up corresponding wake-up ID, and it is CTRL_WS that base station call message, which wakes up corresponding wake-up ID, It is LOG_WS that log information, which wakes up corresponding wake-up ID,.It is waken up by mobile terminal MPSS subsystems in mobile terminal AP subsystems When, type of message can be distinguished by waking up ID.Optionally, mobile terminal can count corresponding second wake-up time of each type of message Number, i.e., each type of message wake up the number of mobile terminal AP subsystems during mobile terminal goes out screen.According to each message class Corresponding second wake-up times of type can determine unexpected message type, optionally, can choose the highest message class of the second wake-up times Type is unexpected message type.For example, during mobile terminal goes out screen, application messages wake-up times are 150, and base station call disappears It is 100 to cease wake-up times, and it is 37 that log information, which wakes up, then during mobile terminal goes out screen, application messages during Modem wakes up Wake-up times are most, then unexpected message type is application messages.
Optionally, mobile terminal can also distinguish the corresponding application program of application messages by telephony modules, i.e., Determination is that the event which application program generates wakes up mobile terminal AP subsystems.Mobile terminal can also pass through traffic statistics mould Block determines the corresponding application program of base station call message.By segmenting the corresponding application program of application messages and base station call The corresponding application program of message, it may be determined that each application program wakes up the number of mobile terminal AP subsystems, according to each application The number of program invocation mobile terminal AP subsystems can be handled application program.Above-mentioned processing may include:Killing application journey Sequence freezes application program, the message alignment of application program is waken up etc..Above-mentioned alignment wake-up refers to receiving application program After message, it is not wake-up mobile terminal AP subsystems at once, but wakes up mobile terminal AP at set time intervals Subsystem.
Method in the embodiment of the present application can be obtained when it is that Modem wakes up to detect abnormal wake source in Modem wake-ups Corresponding second wake-up times of each type of message, unexpected message type is determined according to above-mentioned second wake-up times, can be quick It determines the reason of Modem wakes up extremely, is conducive to optimize processing extremely to mobile terminal power consumption.
In one embodiment, the above method further includes:
Step 112, the information for obtaining abnormal wake source, the information of abnormal wake source is uploaded onto the server, and receives service The optimisation strategy that device returns, optimizes mobile terminal according to optimisation strategy.
Mobile terminal can obtain the information of above-mentioned abnormal wake source after detecting above-mentioned abnormal wake source.Above-mentioned exception The information of wake source includes:It detects at the time of abnormal wake source, the class of the number that detects abnormal wake source, abnormal wake source Type.Wherein, the type of above-mentioned abnormal wake source may include:Modem wakes up, ADSP wakes up, Wi-Fi wakes up etc..Mobile terminal can Mobile terminal daily record is written into the information of the above-mentioned abnormal wake source detected, and above-mentioned mobile terminal daily record is uploaded into service Device.Optionally, mobile terminal can upload onto the server above-mentioned daily record at set time intervals, and mobile terminal also can basis The user instruction received uploads onto the server above-mentioned daily record.Server, can after the daily record for receiving mobile terminal upload It parses and obtains in above-mentioned daily record and wake up source information extremely, it is for statistical analysis according to the abnormal source information that wakes up got, it obtains To for the above-mentioned abnormal optimisation strategy for waking up source information.Above-mentioned optimisation strategy may include:Message in abnormal wake source is aligned Wake up etc..Above-mentioned optimisation strategy can be returned to mobile terminal by server, and mobile terminal is after receiving above-mentioned optimisation strategy, solution Information in above-mentioned optimisation strategy is analysed and obtained, processing is optimized to mobile terminal according to information in above-mentioned optimisation strategy.It is optional Ground when being communicated between mobile terminal and server, can be encrypted the data of transmission, to improve Information Security.
Method in the embodiment of the present application, mobile terminal upload onto the server exception information, receive the excellent of server return Change strategy, and processing is optimized to mobile terminal according to above-mentioned optimisation strategy, is i.e. mobile terminal can be certainly after detecting exception Adjustment is handled, and extends the service life of mobile terminal.
In one embodiment, the above method further includes:
Step 114, according to detecting that the frequency of abnormal wake source adjusts the time interval reported to server.
Whenever mobile terminal go out screen duration be more than the first duration when, mobile terminal can detect go out screen during whether power consumption It is abnormal.Wherein, mobile terminal can statistic record to each abnormal wake source number and detect each abnormal wake source The frequency.The above-mentioned frequency is the number of abnormal wake source to be detected in the unit interval, such as every 1 day detects abnormal wake source Number.When the frequency of above-mentioned abnormal wake source is higher, indicates that mobile terminal detects that the number of abnormal wake source is more, that is, move It is more that abnormal number occurs in dynamic terminal.Optionally, between the time that mobile terminal reports the information of abnormal wake source to server Every being inversely proportional with the frequency of the information of abnormal wake source is detected, when mobile terminal detects the information of above-mentioned abnormal wake source When the frequency is higher, mobile terminal reports the time interval of the information of abnormal wake source shorter to server, i.e., mobile terminal occurs When the abnormal frequency is higher, mobile terminal reports the time interval of the information of abnormal wake source shorter to server.
Method in the embodiment of the present application can be adjusted according to the frequency for the information for detecting abnormal wake source on server The abnormal time interval for waking up source information of report is conducive to quickly investigate and find mobile terminal according to the information of abnormal wake source Security risk.
In one embodiment, a kind of information processing method, including:
(1) if the screen duration that goes out that mobile terminal is switched to bright screen state and mobile terminal by screen state of going out is more than first It is long, obtain Standard clectrical quantity and power consumption electricity of the mobile terminal during the screen that goes out.
(2) according to Standard clectrical quantity and power consumption electric power detection mobile terminal, whether power consumption is abnormal.
(3) if detecting, mobile terminal power consumption is abnormal, obtains the wake-up period of mobile terminal AP subsystems.
(4) abnormal if detecting that mobile terminal AP subsystems wake up according to wake-up period, obtain mobile terminal AP subsystems First wake-up times of middle wake source determine abnormal wake source according to the first wake-up times.
In one embodiment, according to Standard clectrical quantity and power consumption electric power detection mobile terminal whether power consumption exception following methods In any one:
(1) whether detection power consumption electricity is more than Standard clectrical quantity, if power consumption electricity is more than Standard clectrical quantity, detects that power consumption is different Often.
(2) power consumption electrical power is obtained according to power consumption electricity and the screen duration that goes out, mark is obtained according to Standard clectrical quantity and the screen duration that goes out Whether quasi- electrical power, detection power consumption electrical power are more than standard electrical-power, if power consumption electrical power is more than standard electrical-power, detect Power consumption is abnormal.
In one embodiment, the wake-up period of acquisition mobile terminal AP subsystems includes:Obtain mobile terminal AP subsystems The number that system is waken up during the screen that goes out;Using the ratio of go out screen duration and the number being waken up as wake-up period.
In one embodiment, before the wake-up period for obtaining mobile terminal AP subsystems, method includes:Obtain movement The suspend mode ratio of terminal AP subsystems, it is more different than determining mobile terminal AP subsystem suspend mode according to the suspend mode of mobile terminal AP subsystems Often.
In one embodiment, the above method further includes:When abnormal wake source is that Modem wakes up, obtains Modem and wake up In corresponding second wake-up times of each type of message, determine unexpected message type according to the second wake-up times.
In one embodiment, the above method further includes:The information for obtaining abnormal wake source, by the information of abnormal wake source It uploads onto the server, receives the optimisation strategy that server returns, mobile terminal is optimized according to optimisation strategy.
In one embodiment, the above method further includes:According to detecting that the frequency of abnormal wake source adjusts to server The time interval reported.
It should be understood that although each step in above-mentioned flow chart is shown successively according to the instruction of arrow, this A little steps are not that the inevitable sequence indicated according to arrow executes successively.Unless expressly state otherwise herein, these steps It executes there is no the limitation of stringent sequence, these steps can execute in other order.Moreover, in above-mentioned flow chart at least A part of step may include that either these sub-steps of multiple stages or stage are not necessarily in same a period of time to multiple sub-steps Quarter executes completion, but can execute at different times, the execution in these sub-steps or stage be sequentially also not necessarily according to Secondary progress, but can either the sub-step of other steps or at least part in stage in turn or replace with other steps Ground executes.
Fig. 5 is the structure diagram of information processing unit in one embodiment.As shown in figure 5, a kind of information processing unit, packet It includes:
First acquisition module 502, if being switched to going out for bright screen state and mobile terminal by screen state of going out for mobile terminal It is more than the first duration to shield duration, obtains Standard clectrical quantity and power consumption electricity of the mobile terminal during the screen that goes out.
First detection module 504, for whether power consumption to be abnormal according to Standard clectrical quantity and power consumption electric power detection mobile terminal.
If second acquisition module 506 obtains calling out for mobile terminal AP subsystems for detecting that mobile terminal power consumption is abnormal It wakes up the period.
If second detection module 508 obtains abnormal for detecting that mobile terminal AP subsystems wake up according to wake-up period First wake-up times of wake source in mobile terminal AP subsystems determine abnormal wake source according to the first wake-up times.
In one embodiment, first detection module 504 according to Standard clectrical quantity and power consumption electric power detection mobile terminal whether Any one in power consumption exception following methods:
(1) whether detection power consumption electricity is more than Standard clectrical quantity, if power consumption electricity is more than Standard clectrical quantity, detects that power consumption is different Often.
(2) power consumption electrical power is obtained according to power consumption electricity and the screen duration that goes out, mark is obtained according to Standard clectrical quantity and the screen duration that goes out Whether quasi- electrical power, detection power consumption electrical power are more than standard electrical-power, if power consumption electrical power is more than standard electrical-power, detect Power consumption is abnormal.
In one embodiment, the wake-up period of the second acquisition module 506 acquisition mobile terminal AP subsystems includes:It obtains The number that mobile terminal AP subsystems are waken up during the screen that goes out;Using the ratio of go out screen duration and the number being waken up as wake-up Period.
In one embodiment, the second acquisition module 506 is additionally operable in the wake-up period for obtaining mobile terminal AP subsystems Before, the suspend mode ratio for obtaining mobile terminal AP subsystems, according to the suspend mode of mobile terminal AP subsystems than determining mobile terminal AP Subsystem suspend mode is abnormal.
Fig. 6 is the structure diagram of information processing unit in another embodiment.As shown in fig. 6, a kind of information processing unit, Including:First acquisition module 602, first detection module 604, the second acquisition module 606, the second detection module 608 and determining mould Block 610.Wherein, the first acquisition module 602, first detection module 604, the second acquisition module 606, the second detection module 608 with Corresponding functions of modules is identical in Fig. 5.
Determining module 610, for when abnormal wake source is that Modem wakes up, obtaining each type of message during Modem wakes up Corresponding second wake-up times determine unexpected message type according to the second wake-up times.
Fig. 7 is the structure diagram of information processing unit in another embodiment.As shown in fig. 7, a kind of information processing unit, Including:First acquisition module 702, first detection module 704, the second acquisition module 706, the second detection module 708 and processing mould Block 710.Wherein, the first acquisition module 702, first detection module 704, the second acquisition module 706, the second detection module 708 with Corresponding functions of modules is identical in Fig. 5.
Processing module 710, the information for obtaining abnormal wake source upload onto the server the information of abnormal wake source, The optimisation strategy that server returns is received, mobile terminal is optimized according to optimisation strategy.
In one embodiment, processing module 710 is additionally operable to basis and detects that the frequency of abnormal wake source is adjusted to service The time interval that device reports.
The division of modules is only used for for example, in other embodiments, can will believe in above- mentioned information processing unit Breath processing unit is divided into different modules as required, to complete all or part of function of above- mentioned information processing unit.
Specific about information processing unit limits the restriction that may refer to above for information processing method, herein not It repeats again.Modules in above- mentioned information processing unit can be realized fully or partially through software, hardware and combinations thereof.On Stating each module can be embedded in or independently of in the processor in mobile terminal, can also be stored in a software form in the form of hardware In memory in mobile terminal, the corresponding operation of the above modules is executed in order to which processor calls.
Realizing for modules in the information processing unit provided in the embodiment of the present application can be the shape of computer program Formula.The computer program can be run in terminal or server.The program module that the computer program is constituted is storable in terminal Or on the memory of server.When the computer program is executed by processor, method described in the embodiment of the present application is realized Step.
Fig. 8 is the internal structure schematic diagram of mobile terminal in one embodiment.As shown in figure 8, the mobile terminal includes logical Cross processor, memory and the network interface of system bus connection.Wherein, which is used to provide calculating and control ability, The operation of the entire mobile mobile terminal of support.Memory for storing data, program etc., at least one calculating is stored on memory Machine program, the computer program can be executed by processor, to realize that is provided in the embodiment of the present application is suitable for movement movement eventually The information processing method at end.Memory may include non-volatile memory medium and built-in storage.Non-volatile memory medium stores There are operating system and computer program.The computer program can be performed by processor, for realizing following each embodiment A kind of information processing method provided.Built-in storage provides for the operating system computer program in non-volatile memory medium The running environment of cache.Network interface can be Ethernet card or wireless network card etc., for mobile whole with outside End is communicated.The movement mobile terminal can be mobile phone, tablet computer or personal digital assistant or Wearable etc..
The embodiment of the present application also provides a kind of computer readable storage mediums.One or more is executable comprising computer The non-volatile computer readable storage medium storing program for executing of instruction, when computer executable instructions are executed by one or more processors, So that processor executes the step of information processing method in the embodiment of the present application.
A kind of computer program product including instruction, when run on a computer so that computer executes this Shen It please be in embodiment the step of information processing method.
The embodiment of the present application also provides a kind of mobile terminals.As shown in figure 9, for convenience of description, illustrating only and this Apply for that the relevant part of embodiment, particular technique details are not disclosed, please refers to the embodiment of the present application method part.The movement is whole End can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS The arbitrary terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, Wearable, using mobile terminal as mobile phone For:
Fig. 9 is the block diagram with the part-structure of the relevant mobile phone of mobile terminal provided by the embodiments of the present application.With reference to figure 9, Mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 910, input unit 930, display unit 940, passes memory 920 Sensor 950, voicefrequency circuit 960, Wireless Fidelity (wireless fidelity, WiFi) module 970, processor 980, Yi Ji electricity The components such as source 990.It, can be with it will be understood by those skilled in the art that handset structure shown in Fig. 9 does not constitute the restriction to mobile phone Including than illustrating more or fewer components, either combining certain components or different components arrangement.
Wherein, RF circuits 910 can be used for receiving and sending messages or communication process in, signal sends and receivees, can be by base station After downlink information receives, handled to processor 980;The data of uplink can also be sent to base station.In general, RF circuits include but Be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuits 910 can also be communicated with network and other equipment by radio communication.Above-mentioned channel radio Letter can use any communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE)), Email, Short message service (Short Messaging Service, SMS) etc..
Memory 920 can be used for storing software program and module, and processor 980 is stored in memory 920 by operation Software program and module, to execute various function application and the data processing of mobile phone.Memory 920 can include mainly Program storage area and data storage area, wherein program storage area can storage program area, the application journey needed at least one function Sequence (such as the application program of sound-playing function, application program of image player function etc.) etc.;Data storage area can store root Created data (such as audio data, address list etc.) etc. are used according to mobile phone.In addition, memory 920 may include high speed Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or Other volatile solid-state parts.
Input unit 930 can be used for receiving the number or character information of input, and generate the user setting with mobile phone 900 And the related key signals input of function control.Specifically, input unit 930 may include touch panel 931 and other inputs Equipment 932.Touch panel 931, alternatively referred to as touch screen collect user on it or neighbouring touch operation (such as user Use the operation of any suitable object or attachment such as finger, stylus on touch panel 931 or near touch panel 931), And corresponding attachment device is driven according to preset formula.In one embodiment, touch panel 931 may include touching inspection Survey two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation The signal brought, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and will It is converted into contact coordinate, then gives processor 980, and can receive order that processor 980 is sent and be executed.In addition, The multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wave may be used and realize touch panel 931.In addition to touch surface Plate 931, input unit 930 can also include other input equipments 932.Specifically, other input equipments 932 may include but not It is limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.) etc..
Display unit 940 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 940 may include display panel 941.In one embodiment, liquid crystal display (Liquid may be used Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display panel 941.In one embodiment, touch panel 931 can cover display panel 941, when touch panel 931 is examined It measures and sends processor 980 on it or after neighbouring touch operation to determine the type of touch event, be followed by subsequent processing device 980 provide corresponding visual output according to the type of touch event on display panel 941.Although in fig.9, touch panel 931 be to realize input and the input function of mobile phone as two independent components with display panel 941, but in certain implementations In example, can be integrated by touch panel 931 and display panel 941 and that realizes mobile phone output and input function.
Mobile phone 900 may also include at least one sensor 950, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 941, and proximity sensor can close display panel when mobile phone is moved in one's ear 941 and/or backlight.Motion sensor may include acceleration transducer, can detect by acceleration transducer and adds in all directions The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer, humidity Other sensors such as meter, thermometer, infrared sensor etc..
Voicefrequency circuit 960, loud speaker 961 and microphone 962 can provide the audio interface between user and mobile phone.Audio-frequency electric The transformed electric signal of the audio data received can be transferred to loud speaker 961 by road 960, and sound is converted to by loud speaker 961 Signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960 It is changed to audio data, then by after the processing of audio data output processor 980, another mobile phone can be sent to through RF circuits 910, or Person exports audio data to memory 920 so as to subsequent processing.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 970 Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 9 is shown WiFi module 970, but it is understood that, and it is not belonging to must be configured into for mobile phone 900, it can omit as needed.
Processor 980 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 920, and call and be stored in memory 920 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.In one embodiment, it handles Device 980 may include one or more processing units.In one embodiment, processor 980 can integrate application processor and modulation Demodulation processor, wherein the main processing operation system of application processor, user interface and application program etc.;Modulation /demodulation is handled Device mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone 900 further includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 980 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.
In one embodiment, mobile phone 900 can also include camera, bluetooth module etc..
In the embodiment of the present application, the processor 980 included by the mobile terminal executes the calculating of storage on a memory The step of information processing method in the embodiment of the present application being realized when machine program.
Used in this application may include to any reference of memory, storage, database or other media is non-volatile And/or volatile memory.Nonvolatile memory may include that read-only memory (ROM), programming ROM (PROM), electricity can be compiled Journey ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include random access memory (RAM), it is used as external cache.By way of illustration and not limitation, RAM is available in many forms, such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight Connect memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM).
Above example only expresses the several embodiments of the application, the description thereof is more specific and detailed, but can not Therefore it is interpreted as the limitation to the application the scope of the claims.It should be pointed out that for those of ordinary skill in the art, Under the premise of not departing from the application design, various modifications and improvements can be made, these belong to the protection model of the application It encloses.Therefore, the protection domain of the application patent should be determined by the appended claims.

Claims (10)

1. a kind of information processing method, which is characterized in that including:
If the screen duration that goes out that mobile terminal is switched to bright screen state and the mobile terminal by screen state of going out is more than the first duration, obtain Take Standard clectrical quantity and power consumption electricity of the mobile terminal during the screen that goes out;
According to mobile terminal described in the Standard clectrical quantity and power consumption electric power detection, whether power consumption is abnormal;
If detecting, the mobile terminal power consumption is abnormal, obtains the wake-up period of mobile terminal application processor AP subsystems;
If it is abnormal to detect that the mobile terminal AP subsystems wake up according to the wake-up period, mobile terminal AP is obtained First wake-up times of wake source in system determine abnormal wake source according to first wake-up times.
2. according to the method described in claim 1, it is characterized in that, described according to the Standard clectrical quantity and power consumption electric power detection institute State mobile terminal whether any one in power consumption exception following methods:
It detects whether the power consumption electricity is more than the Standard clectrical quantity, if the power consumption electricity is more than the Standard clectrical quantity, examines Measure power consumption exception;
According to the power consumption electricity and it is described go out screen duration obtain power consumption electrical power, according to the Standard clectrical quantity and it is described go out screen when It is long to obtain standard electrical-power, detect whether the power consumption electrical power is more than the standard electrical-power, if the power consumption electrical power is big In the standard electrical-power, then power consumption exception is detected.
3. according to the method described in claim 1, it is characterized in that, the wake-up period packet for obtaining mobile terminal AP subsystems It includes:
Obtain the number that the mobile terminal AP subsystems are waken up during the screen that goes out;
Using the ratio for shielding duration and the number being waken up that goes out as the wake-up period.
4. according to the method in any one of claims 1 to 3, which is characterized in that in the acquisition mobile terminal AP subsystems Before the wake-up period of system, the method includes:
The suspend mode ratio for obtaining the mobile terminal AP subsystems compares according to the suspend mode of the mobile terminal AP subsystems described in determining The suspend mode of mobile terminal AP subsystems is abnormal.
5. according to the method in any one of claims 1 to 3, which is characterized in that the method further includes:
When the abnormal wake source wakes up for Modem, each type of message corresponding second wakes up secondary in acquisition Modem wake-ups Number, unexpected message type is determined according to second wake-up times.
6. according to the method in any one of claims 1 to 3, which is characterized in that the method further includes:
The information of the abnormal wake source is uploaded onto the server, receives the service by the information for obtaining the abnormal wake source The optimisation strategy that device returns, optimizes the mobile terminal according to the optimisation strategy.
7. according to the method described in claim 6, it is characterized in that, the method further includes:
According to detecting that the frequency of the abnormal wake source adjusts the time interval reported to the server.
8. a kind of information processing unit, which is characterized in that including:
First acquisition module, if for mobile terminal by screen state of going out be switched to bright screen state and the mobile terminal go out screen when Length obtains Standard clectrical quantity and power consumption electricity of the mobile terminal during the screen that goes out more than the first duration;
First detection module, for whether power consumption to be abnormal according to mobile terminal described in the Standard clectrical quantity and power consumption electric power detection;
If second acquisition module obtains the wake-up of mobile terminal AP subsystems for detecting that the mobile terminal power consumption is abnormal Period;
If second detection module obtains abnormal for detecting that the mobile terminal AP subsystems wake up according to the wake-up period The first wake-up times for taking wake source in the mobile terminal AP subsystems determine abnormal wake up according to first wake-up times Source.
9. a kind of mobile terminal, including memory and processor, computer program, the computer are stored in the memory When program is executed by the processor so that the processor executes the step of the method as described in any one of claim 1 to 7 Suddenly.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method as described in any one of claim 1 to 7 is realized when being executed by processor.
CN201810270566.4A 2018-03-29 2018-03-29 Information processing method, device, mobile terminal and computer readable storage medium Pending CN108572904A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810270566.4A CN108572904A (en) 2018-03-29 2018-03-29 Information processing method, device, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810270566.4A CN108572904A (en) 2018-03-29 2018-03-29 Information processing method, device, mobile terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108572904A true CN108572904A (en) 2018-09-25

Family

ID=63574609

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810270566.4A Pending CN108572904A (en) 2018-03-29 2018-03-29 Information processing method, device, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108572904A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113689599A (en) * 2021-10-26 2021-11-23 深圳市乐骑智能科技有限公司 Automatic unlocking method of intelligent electric scooter based on Internet of things and electric scooter

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166542A (en) * 2013-05-17 2014-11-26 腾讯科技(深圳)有限公司 Method and device for detecting electricity consumption of application
CN107027141A (en) * 2017-05-08 2017-08-08 广东欧珀移动通信有限公司 Information processing method, device and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166542A (en) * 2013-05-17 2014-11-26 腾讯科技(深圳)有限公司 Method and device for detecting electricity consumption of application
CN107027141A (en) * 2017-05-08 2017-08-08 广东欧珀移动通信有限公司 Information processing method, device and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113689599A (en) * 2021-10-26 2021-11-23 深圳市乐骑智能科技有限公司 Automatic unlocking method of intelligent electric scooter based on Internet of things and electric scooter
CN113689599B (en) * 2021-10-26 2022-02-22 深圳市乐骑智能科技有限公司 Automatic unlocking method of intelligent electric scooter based on Internet of things and electric scooter

Similar Documents

Publication Publication Date Title
CN108541013A (en) Information processing method, device, mobile terminal and computer readable storage medium
CN108616653A (en) Information processing method, device, mobile terminal and computer readable storage medium
CN110008008A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN108549593A (en) Information processing method, device, mobile terminal and computer readable storage medium
CN107272872A (en) Electricity-saving control method and Related product
CN109144232A (en) Process handling method and device, electronic equipment, computer readable storage medium
CN110018904A (en) Information processing method, device, computer equipment and computer readable storage medium
US20140378081A1 (en) Wireless communication system with enhanced power management
CN108112063A (en) Electric quantity managing method, power management device, terminal and readable storage medium storing program for executing
CN110032321A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN109992364A (en) Using freezing method, device, computer equipment and computer readable storage medium
CN108536547A (en) Information processing method, device, computer equipment and computer readable storage medium
CN110018905A (en) Information processing method, device, computer equipment and computer readable storage medium
CN106708513A (en) Application management method and device and mobile terminal
CN109992309A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN108668016A (en) Information processing method, device, mobile terminal and computer readable storage medium
CN108566470A (en) Information processing method, device, mobile terminal and computer readable storage medium
CN109992360A (en) Process handling method and device, electronic equipment, computer readable storage medium
CN108536546A (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
CN110032397A (en) Application processing method and device, electronic equipment, computer readable storage medium
CN109992363A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN108572904A (en) Information processing method, device, mobile terminal and computer readable storage medium
CN108646909A (en) Information processing method, device, mobile terminal and computer readable storage medium
CN108668313A (en) Information processing method, device, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180925