CN108549593A - 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 PDFInfo
- Publication number
- CN108549593A CN108549593A CN201810270530.6A CN201810270530A CN108549593A CN 108549593 A CN108549593 A CN 108549593A CN 201810270530 A CN201810270530 A CN 201810270530A CN 108549593 A CN108549593 A CN 108549593A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- wake
- subsystems
- power consumption
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring 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/3062—Monitoring 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
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy efficient computing, e.g. low power processors, power management or thermal management
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;If according to the Standard clectrical quantity and power consumption electric power detection to mobile terminal power consumption exception, and detecting that the mobile terminal AP subsystems wake up exception according to the wake-up period of mobile terminal AP subsystems, the abnormal wake source of the mobile terminal AP subsystems is obtained;When the abnormal wake source is that Modem wakes up, the first wake-up times of each type of message during Modem wakes up are obtained, unexpected message type is determined according to first wake-up times.The above method is quantified by that will detect abnormal parameter, and abnormal wakeup message type in exception wake source, improves the efficiency of detection when can quickly detect mobile terminal power consumption exception.
Description
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;
If according to the Standard clectrical quantity and power consumption electric power detection to mobile terminal power consumption exception, and according to mobile terminal
It is abnormal that the wake-up period of AP subsystems detects that the mobile terminal AP subsystems wake up, and obtains the mobile terminal AP subsystems
Abnormal wake source;
When the abnormal wake source wakes up for Modem, the first of each type of message wakes up secondary during acquisition Modem wakes up
Number, unexpected message type is determined 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;
Second acquisition module, if for different to the mobile terminal power consumption according to the Standard clectrical quantity and power consumption electric power detection
Often, and according to the wake-up period of mobile terminal AP subsystems it is abnormal to detect that the mobile terminal AP subsystems wake up, obtains institute
State the abnormal wake source of mobile terminal AP subsystems;
Determining module, for when the abnormal wake source is that Modem wakes up, obtaining each message class during Modem wakes up
First wake-up times of type determine unexpected message type according to first wake-up times.
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 it is that Modem wakes up to detect the abnormal and abnormal wake source of mobile terminal AP subsystems wake-up, obtain
The first wake-up times of each type of message, determine different according to the first wake-up times of each type of message in taking Modem to wake up
Normal type of message.By the way that abnormal parameter quantization, exception wake source when can quickly detect mobile terminal power consumption exception will be detected
Middle exception wakeup message type, improves the efficiency of detection.
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 structure diagram of information processing unit in another embodiment;
Fig. 9 is the internal structure schematic diagram of mobile terminal in one embodiment;
Figure 10 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, if it is abnormal to mobile terminal power consumption according to Standard clectrical quantity and power consumption electric power detection, and according to mobile terminal
It is abnormal that the wake-up period of AP subsystems detects that mobile terminal AP subsystems wake up, and the exception for obtaining mobile terminal AP subsystems is called out
Awake source.
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.
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 (Application Processer Sub System, application processor subsystem) subsystem, MPSS (Modem
Processer Sub System, modem processes subsystem) subsystem, ADSP (Advanced Digital Signal
Processor, Advanced Digital Signal Processor) subsystem 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;MPSS subsystems run the real-time behaviour of 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 terminals are compared
Subsystem, mobile terminal AP subsystem exception probability is larger, after detecting mobile terminal power consumption exception, can detect mobile terminal
Whether suspend mode is abnormal for AP subsystems.It is than can detect above-mentioned mobile terminal AP subsystems according to the suspend mode of mobile terminal AP subsystems
No suspend mode is abnormal.If detecting, the suspend mode of mobile terminal AP subsystems is abnormal, can obtain the wake-up of above-mentioned mobile terminal AP subsystems
Period detects mobile terminal AP subsystems according to the wake-up period of above-mentioned mobile terminal AP subsystems and wakes up exception, then can obtain
The abnormal wake source of above-mentioned mobile terminal AP subsystems.
When in mobile terminal AP subsystems in a dormant state when, mobile terminal AP subsystems by other subsystems or can answer
Use program invocation.For example, mobile terminal AP subsystems can be waken up by mobile terminal ADSP subsystems, mobile terminal AP subsystems can
It is waken up by mobile terminal MPSS subsystems.Wherein, the wake source for waking up mobile terminal AP subsystems may include:Wi-Fi wake-ups,
Modem wakes up, ADSP wakes up, Alarm wakes up, SPS wakes up etc..Wherein, Modem wake-ups as mobile terminal AP subsystems can quilt
Mobile terminal MPSS subsystems wake up, and it is mobile terminal AP subsystems that ADSP, which wakes up, to be called out by mobile terminal ADSP subsystems
It wakes up.Mobile terminal can according to each wake source mobile terminal go out screen during wake up mobile terminal AP subsystems number determine it is different
Normal wake source determines abnormal wake source according to the second wake-up times of each wake source.
Step 106, when abnormal wake source is that Modem wakes up, the first of each type of message calls out during acquisition Modem wakes up
Awake number, unexpected message type is determined according to the first wake-up times.
It is when being that Modem wakes up according to the second wake-up times of each wake source determination to abnormal wake source, i.e., mobile whole
When end AP subsystem exception wake sources are mobile terminal MPSS subsystems, each type of message during Modem wakes up can be obtained and corresponded to
The first wake-up times.The type of message that above-mentioned Modem wakes up may include:Data-message, control message and log information.It is above-mentioned
Data-message refers to mobile terminal MPSS subsystems because application event or message need to call out mobile terminal AP subsystems
It wakes up, above-mentioned control message refers to mobile terminal MPSS subsystems because mobile terminal interacts the event generated or message with base station and needs
Mobile terminal AP subsystems are waken up.Wherein, the type of message that above-mentioned Modem wakes up, which is respectively corresponding with, wakes up ID, such as counts
It is DATA_WS according to the corresponding wake-up ID of message, the corresponding wake-up ID of control message is CTRL_WS, the corresponding wake-up of log information
ID is LOG_WS.When mobile terminal AP subsystems are waken up by mobile terminal MPSS subsystems, message can be distinguished by waking up ID
Type.Mobile terminal can count corresponding first wake-up times of each type of message, i.e., each type of message goes out in mobile terminal
The number of mobile terminal AP subsystems is waken up during screen by mobile terminal MPSS subsystems.It is corresponding according to each type of message
First wake-up times can determine unexpected message type, and optionally, it is abnormal that can choose the highest type of message of the first wake-up times
Type of message.For example, during mobile terminal goes out screen, data-message wake-up times are 150, and control message wake-up times are 100,
It is 37 that log information, which wakes up, then during mobile terminal goes out screen, data-message wake-up times are most during Modem wakes up, then abnormal
Type of message is data-message.
Mobile terminal can also classify to control message and data message.Optionally, when unexpected message type in order to control
When message, Telephony modules can classify to control message according to type in mobile terminal.Wherein different types of control
Message has different marks, such as CTRL_ID.It, can be according to application program identification pair when unexpected message type is data-message
Data-message is classified.
Under normal conditions, there is abnormal power consumption during mobile terminal goes out screen, and power consumption reason is mobile terminal subsystem
When being waken up, to determine abnormal wake source, in abnormal wake source when wakeup message type, need technical staff to mobile terminal
Daily record carries out positioning analysis, and detection efficiency is relatively low.Method in the embodiment of the present application is detecting the wake-up of mobile terminal AP subsystems
When abnormal and abnormal wake source is that Modem wakes up, the first wake-up times of each type of message during Modem wakes up are obtained, according to
First wake-up times of each type of message determine unexpected message type.By the way that abnormal parameter quantization will be detected, can quickly examine
Abnormal wakeup message type in exception wake source, improves the efficiency of detection when measuring mobile terminal power consumption exception.
In one embodiment, according to the detection mode of Standard clectrical quantity and power consumption electric power detection to mobile terminal power consumption exception
Including:It detects whether power consumption electricity is more than Standard clectrical quantity, if power consumption electricity is more than Standard clectrical quantity, detects power consumption exception;Or
Power consumption electrical power is obtained according to power consumption electricity and the screen duration that goes out, standard electrical-power, inspection are obtained according to Standard clectrical quantity and the screen duration that goes out
It surveys whether power consumption electrical power is more than standard electrical-power, if power consumption electrical power is more than standard electrical-power, detects power consumption exception.
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, mobile terminal AP subsystems are being detected according to the wake-up period of mobile terminal AP subsystems
Before waking up exception, the above method further includes:According to the suspend mode of mobile terminal AP subsystems than detection mobile terminal AP subsystems
Whether suspend mode is abnormal;If detecting suspend mode exception, the wake-up period of mobile terminal AP subsystems is obtained, is determined according to wake-up period
Mobile terminal AP subsystems wake up abnormal.
Detecting mobile terminal AP subsystems, whether the method for suspend mode exception includes:Obtain the suspend mode of mobile terminal AP subsystems
Than with corresponding fiducial value.Above-mentioned fiducial value may include that normal value and exceptional value, above-mentioned normal value are more than above-mentioned exceptional value.Work as shifting
When the suspend mode ratio of dynamic terminal AP subsystems is more than above-mentioned normal value, then the suspend mode of mobile terminal AP subsystems is than normal;Work as movement
When the suspend mode ratio of terminal AP subsystems is less than above-mentioned exceptional value, then the suspend mode of mobile terminal AP subsystems is than abnormal.When mobile whole
When the suspend mode ratio of end AP subsystems is between above-mentioned exceptional value and normal value, mobile terminal can obtain mobile terminal AP subsystems
First electrical power, according to the first electrical power of above-mentioned mobile terminal AP subsystems come judge mobile terminal AP subsystems whether suspend mode
It is abnormal.First electrical power P ower_AP_runtime_avg=(DeltaBC-screenoffDuration*
TargetCurrent)/(screenoffDur ation*(1-apSuspendRatio/100)).Wherein, DeltaBC-
ScreenoffDuration*TargetCurrent is electricity of the mobile terminal during the screen that goes out in addition to normal power consumption;
ScreenoffDuration* (1-SuspendRatio/100) is the duration that mobile terminal AP subsystems are in wake-up states,
Power_AP_runtime_avg is average power consumption of the mobile terminal AP subsystems in wake-up states.As above-mentioned Power_AP_
When runtime_avg is more than setting performance number, the suspend mode of mobile terminal AP subsystems is normal;Work as Power_AP_runtime_avg
When less than setting performance number, the suspend mode of mobile terminal AP subsystems is abnormal.If detecting, the suspend mode of mobile terminal AP subsystems is abnormal,
Directly investigate the abnormal cause of mobile terminal AP subsystems;When detecting that mobile terminal AP subsystem suspend mode is normal, then detect
Whether suspend mode is abnormal for mobile terminal MPSS subsystems.Above-mentioned setting performance number can be according to mobile terminal system version, hardware state
Etc. being configured, such as 500mA/h.
When detecting mobile terminal AP subsystem suspend mode exceptions, the wake-up of mobile terminal AP subsystems can be further obtained
Period detects whether mobile terminal AP subsystems wake up exception according to the wake-up period of mobile terminal AP subsystems.Above-mentioned movement
The wake-up period of terminal AP subsystems refers to the time interval between mobile terminal AP subsystems are averagely waken up twice.For example,
The wake-up period of mobile terminal AP subsystems is 2 minutes/time, then it represents that mobile terminal AP subsystems are waken up one at intervals of two minutes
It is secondary.Wherein, the method for the wake-up period of acquisition mobile terminal AP subsystems includes:During mobile terminal goes out screen, statistics movement
The number that terminal AP subsystems are waken up resets the number of statistics in the bright screen of mobile terminal, goes out next time screen in mobile terminal
Shi Chongxin counts the number that above-mentioned mobile terminal AP subsystems are waken up.Go out screen duration and the mobile terminal AP of above-mentioned mobile terminal
The ratio for the number that subsystem is waken up is the wake-up period of mobile terminal AP subsystems.For example, mobile terminal can pass through
The number that resume_count statistics mobile terminal AP subsystems are waken up, when being waken up mobile terminal AP subsystems, on
Stating resume_count, count is incremented, and during mobile terminal goes out screen, the value of above-mentioned resume_count is mobile terminal AP
The number that subsystem is waken up during mobile terminal goes out screen, when the bright screen of mobile terminal, then by above-mentioned resume_count's
Value is reset.By mobile terminal go out screen duration be set as h1, then wake-up period be h1/resume_count.
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.
In one embodiment, the abnormal wake source of acquisition mobile terminal AP subsystems includes:Obtain mobile terminal AP
Second wake-up times of each wake source in system determine that the abnormal of mobile terminal AP subsystems wakes up according to the second wake-up times
Source.
After detecting that mobile terminal AP subsystems wake up exception, the of wake source in mobile terminal AP subsystems can be obtained
Two wake-up times, above-mentioned second wake-up times are that subsystems wake up mobile terminal AP subsystems during mobile terminal goes out screen
Number.When mobile terminal AP subsystems enter dormant state, multiple wake sources can wake up mobile terminal AP in mobile terminal
Subsystem, above-mentioned wake source may include:Wi-Fi wakes up, Modem wakes up, ADSP wakes up, Alarm wakes up and SPS wakes up etc..On
It states Modem and wakes up as mobile terminal P subsystems by the wake-up of mobile terminal MPSS subsystems, it is mobile whole that above-mentioned ADSP, which wakes up,
AP subsystems are held to be waken up by mobile terminal ADSP subsystems, it is that mobile terminal AP subsystems are moved end that above-mentioned Alarm, which wakes up,
Inner nuclear layer Alarm wakes up or is waken up by mobile terminal center rack-layer Alarm in end.It is waken up in obtaining mobile terminal AP subsystems
When second wake-up times in source, the second wake-up times of whole wake sources in mobile terminal AP subsystems can be counted, can also be counted
Second wake-up times of part wake source in mobile terminal AP subsystems.Optionally, it can count pre- in mobile terminal AP subsystems
If Wi-Fi wakes up in the second wake-up times of wake source, such as statistics mobile terminal AP subsystems, Modem wakes up, ADSP wakes up
The second wake-up times waken up with Alarm.Wherein, the second wake-up times packet of wake source in mobile terminal AP subsystems is counted
It includes:When mobile terminal AP subsystems are waken up, obtain and wake up the corresponding interruption number of mobile terminal AP subsystems, when above-mentioned end
When end number is matched with the interruption of the wake source of mobile terminal AP subsystems number, then by the second wake-up times of above-mentioned wake source
Add 1, by statistics can obtain mobile terminal go out screen during each wake source the second wake-up times.
It, can be according to the of each wake source in getting mobile terminal AP subsystems after the second wake-up times of wake source
Two wake-up times determine abnormal wake source.Wherein, in getting mobile terminal AP subsystems wake source the second wake-up times
Afterwards, the second wake-up times of each wake source can be compared by mobile terminal, according to the second wake-up times of each wake source
Determine exception wake source.Optionally, mobile terminal can choose the wake source that the second 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 second 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 second wake-up times is determined as abnormal wake source.
Method in the embodiment of the present application wakes up the number of mobile terminal AP subsystems to determine exception according to each wake source
Wake source can quickly detect abnormal wake-up source information, improve the efficiency of the abnormal wake source of detection.
In one embodiment, the above method further includes:
Step 108, when Modem wakeup message types be data-message when, according to application program identification to data-message into
Row classification.
Power management module can identify Modem wakeup message types according to ID is waken up in mobile terminal.Work as power management
When module detects that above-mentioned Modem wakeup messages type is data-message, the first wake-up times of data-message can be added 1.Electricity
Source control module can also report an event to flow statistical module.Above-mentioned flow statistical module can obtain each within the period
The flow information that application program expends, the flow information expended by above-mentioned each application program can determine that above-mentioned data-message corresponds to
Application program, obtain above application program application program identification.The flow letter expended above by above-mentioned each application program
Breath can determine the corresponding application program of above-mentioned data-message:When application event wakes up mobile terminal AP subsystems, application
Program is because the flow that data transmission expends is larger, then to be that data-message is corresponding answer the current highest application program of power consumption flow
Use program.Mobile terminal can count the corresponding data-message of each application program identification.
Method in the embodiment of the present application can be answered by classifying by application program identification to data information according to each
Abnormal application program is determined with the quantity of the corresponding data information of program identification, can quickly be investigated in mobile terminal and be applied extremely
Program is conducive to detect security risk in mobile terminal, handles abnormal application program.
In one embodiment, the above method further includes:
Step 110, the information for obtaining the information and unexpected message type of abnormal wake source, by the information of abnormal wake source and
The information upload server of unexpected message type.
After detecting above-mentioned abnormal wake source, the information and exception that can obtain above-mentioned abnormal wake source disappear mobile terminal
Cease the information of type.It is above-mentioned exception wake source information include:It detects at the time of abnormal wake source, detect abnormal wake source
Number, abnormal wake source type, the corresponding type of message of abnormal wake source and unexpected message type.Wherein, above-mentioned different
The type of normal wake source may include:Modem wakes up, ADSP wakes up, Wi-Fi wakes up etc..Mobile terminal can be detected above-mentioned
Mobile terminal daily record is written in the information of abnormal wake source, and above-mentioned mobile terminal daily record is uploaded onto the server.Optionally, mobile
Terminal can upload onto the server above-mentioned daily record at set time intervals, and mobile terminal can also refer to according to the user received
Above-mentioned daily record is uploaded onto the server in order.Server can be parsed and be obtained above-mentioned after the daily record for receiving mobile terminal upload
Extremely source information is waken up in daily record, it is for statistical analysis according to the abnormal source information that wakes up got, it obtains being directed to above-mentioned exception
Wake up the optimisation strategy of source information.Above-mentioned optimisation strategy may include:Message alignment in abnormal wake source is waken up etc..Server can
Above-mentioned optimisation strategy is returned into mobile terminal, mobile terminal is parsed and obtained above-mentioned excellent after receiving above-mentioned optimisation strategy
Change information in strategy, processing is optimized to mobile terminal according to information in above-mentioned optimisation strategy.Optionally, mobile terminal kimonos
When being communicated between business device, the data of transmission can be encrypted, 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 112, 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) if it is abnormal to mobile terminal power consumption according to Standard clectrical quantity and power consumption electric power detection, and according to mobile terminal AP
It is abnormal that the wake-up period of system detects that mobile terminal AP subsystems wake up, and obtains the abnormal of mobile terminal AP subsystems and wakes up
Source.
(3) when abnormal wake source is that Modem wakes up, the first wake-up time of each type of message during Modem wakes up is obtained
Number, unexpected message type is determined according to the first wake-up times.
In one embodiment, according to the detection mode of Standard clectrical quantity and power consumption electric power detection to mobile terminal power consumption exception
Including:It detects whether power consumption electricity is more than Standard clectrical quantity, if power consumption electricity is more than Standard clectrical quantity, detects power consumption exception;Or
Power consumption electrical power is obtained according to power consumption electricity and the screen duration that goes out, standard electrical-power, inspection are obtained according to Standard clectrical quantity and the screen duration that goes out
It surveys whether power consumption electrical power is more than standard electrical-power, if power consumption electrical power is more than standard electrical-power, detects power consumption exception.
In one embodiment, mobile terminal AP subsystems are being detected according to the wake-up period of mobile terminal AP subsystems
Before waking up exception, the above method further includes:According to the suspend mode of mobile terminal AP subsystems than detection mobile terminal AP subsystems
Whether suspend mode is abnormal;If detecting suspend mode exception, the wake-up period of mobile terminal AP subsystems is obtained, is determined according to wake-up period
Mobile terminal AP subsystems wake up abnormal.
In one embodiment, the abnormal wake source of acquisition mobile terminal AP subsystems includes:Obtain mobile terminal AP
Second wake-up times of each wake source in system determine that the abnormal of mobile terminal AP subsystems wakes up according to the second wake-up times
Source.
In one embodiment, the above method further includes:When Modem wakeup message types are data-message, according to answering
Classified to data-message with program identification.
In one embodiment, the above method further includes:Obtain the letter of the information and unexpected message type of abnormal wake source
Breath, by the information upload server of the information of abnormal wake source and unexpected message type.
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.
Second acquisition module 504, if for abnormal to mobile terminal power consumption according to Standard clectrical quantity and power consumption electric power detection, and
It is abnormal to detect that mobile terminal AP subsystems wake up according to the wake-up period of mobile terminal AP subsystems, obtains mobile terminal AP
The abnormal wake source of system.
Determining module 506, for when abnormal wake source is that Modem wakes up, obtaining each type of message during Modem wakes up
The first wake-up times, determine unexpected message type according to the first wake-up times.
In one embodiment, according to the detection mode of Standard clectrical quantity and power consumption electric power detection to mobile terminal power consumption exception
Including:It detects whether power consumption electricity is more than Standard clectrical quantity, if power consumption electricity is more than Standard clectrical quantity, detects power consumption exception;Or
Power consumption electrical power is obtained according to power consumption electricity and the screen duration that goes out, standard electrical-power, inspection are obtained according to Standard clectrical quantity and the screen duration that goes out
It surveys whether power consumption electrical power is more than standard electrical-power, if power consumption electrical power is more than standard electrical-power, detects power consumption exception.
In one embodiment, the abnormal wake source of the second acquisition module 504 acquisition mobile terminal AP subsystems includes:It obtains
The second wake-up times for taking each wake source in mobile terminal AP subsystems determine mobile terminal AP according to the second wake-up times
The abnormal wake source of system.
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, the second acquisition module 604, detection module 606 and determining module 608.Wherein, first mould is obtained
Block 602, the second acquisition module 604, determining module 608 are identical as corresponding functions of modules in Fig. 5.
Detection module 606, for detecting mobile terminal AP subsystems according to the wake-up period of mobile terminal AP subsystems
Before system wakes up exception, according to the suspend mode of mobile terminal AP subsystems, than detection mobile terminal AP subsystems, whether suspend mode is abnormal;
If detecting suspend mode exception, the wake-up period of mobile terminal AP subsystems is obtained, mobile terminal AP is determined according to wake-up period
System wake-up is abnormal.
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, the second acquisition module 704, determining module 706 and processing module 708.Wherein, first mould is obtained
Block 702, the second acquisition module 704, determining module 706 are identical as corresponding functions of modules in Fig. 5.
Processing module 708 is used for when Modem wakeup message types are data-message, according to application program identification logarithm
Classify according to message.
Fig. 8 is the structure diagram of information processing unit in another embodiment.As shown in figure 8, a kind of information processing unit,
Including:First acquisition module 802, the second acquisition module 804, determining module 806 and sending module 808.Wherein, first mould is obtained
Block 802, the second acquisition module 804, determining module 806 are identical as corresponding functions of modules in Fig. 5.
Sending module 808, the information of information and unexpected message type for obtaining abnormal wake source, by abnormal wake source
Information and unexpected message type information upload server.
In one embodiment, sending module 808 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. 9 is the internal structure schematic diagram of mobile terminal in one embodiment.As shown in figure 9, 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 10, for convenience of description, it illustrates 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:
Figure 10 is the block diagram with the part-structure of the relevant mobile phone of mobile terminal provided by the embodiments of the present application.Reference chart
10, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 1010, memory 1020, input unit 1030, display unit
1040, sensor 1050, voicefrequency circuit 1060, Wireless Fidelity (wireless fidelity, WiFi) module 1070, processor
The components such as 1080 and power supply 10100.It will be understood by those skilled in the art that handset structure shown in Fig. 10 is not constituted pair
The restriction of mobile phone may include either combining certain components or different component cloth than illustrating more or fewer components
It sets.
Wherein, RF circuits 1010 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 1080;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 1010 can also be communicated with network and other equipment by radio communication.It is above-mentioned wireless
Communication 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 1020 can be used for storing software program and module, and processor 1080 is stored in memory by operation
1020 software program and module, to execute various function application and the data processing of mobile phone.Memory 1020 can be led
To include program storage area and data storage area, wherein program storage area can storage program area, needed at least one function
Application program (such as the application program of sound-playing function, application program of image player function etc.) etc.;It data storage area can
Storage uses created data (such as audio data, address list etc.) etc. according to mobile phone.In addition, memory 1020 can wrap
High-speed random access memory is included, can also include nonvolatile memory, for example, at least disk memory, a flash memories
Part or other volatile solid-state parts.
Input unit 1030 can be used for receiving the number or character information of input, and generates and set with the user of mobile phone 1000
It sets and the related key signals of function control inputs.Specifically, input unit 1030 may include touch panel 1031 and other
Input equipment 1032.Touch panel 1031, alternatively referred to as touch screen collect user on it or neighbouring touch operation (are compared
Such as user is using finger, stylus any suitable object or attachment on touch panel 1031 or near touch panel 1031
Operation), and corresponding attachment device is driven according to preset formula.In one embodiment, touch panel 1031 can
Including both touch detecting apparatus and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and examine
The signal that touch operation is brought is surveyed, touch controller is transmitted a signal to;Touch controller is received from touch detecting apparatus to be touched
Information is touched, and is converted into contact coordinate, then gives processor 1080, and order that processor 1080 is sent can be received and added
To execute.Furthermore, it is possible to realize touch panel using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
1031.In addition to touch panel 1031, input unit 1030 can also include other input equipments 1032.Specifically, other are inputted
Equipment 1032 can include but is not limited to one in physical keyboard, function key (such as volume control button, switch key etc.) etc.
Kind is a variety of.
Display unit 1040 can be used for showing information input by user or be supplied to user information and mobile phone it is each
Kind menu.Display unit 1040 may include display panel 1041.In one embodiment, liquid crystal display may be used
(Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode,
) etc. OLED forms configure display panel 1041.In one embodiment, touch panel 1031 can cover display panel 1041,
When touch panel 1031 detects on it or after neighbouring touch operation, processor 1080 is sent to determine touch event
Type is followed by subsequent processing device 1080 and provides corresponding visual output on display panel 1041 according to the type of touch event.Although
In Fig. 10, touch panel 1031 and display panel 1041 are to realize the input and input of mobile phone as two independent components
Function, but in some embodiments it is possible to touch panel 1031 and display panel 1041 are integrated and are realized the input of mobile phone
And output function.
Mobile phone 1000 may also include at least one sensor 1050, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring
The light and shade of border light adjusts the brightness of display panel 1041, and proximity sensor can close display when mobile phone is moved in one's ear
Panel 1041 and/or backlight.Motion sensor may include acceleration transducer, can detect all directions by acceleration transducer
The size of upper acceleration can detect that size and the direction of gravity when static, the application that can be used to identify mobile phone posture is (such as horizontal
Vertical screen switches), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer,
Other sensors such as hygrometer, thermometer, infrared sensor etc..
Voicefrequency circuit 1060, loud speaker 1061 and microphone 1062 can provide the audio interface between user and mobile phone.Sound
The transformed electric signal of the audio data received can be transferred to loud speaker 1061 by frequency circuit 1060, by 1061 turns of loud speaker
It is changed to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1062, by voicefrequency circuit
Audio data is converted to after 1060 receptions, then by after the processing of audio data output processor 1080, can be sent out through RF circuits 1010
Another mobile phone is given, or audio data is exported to memory 1020 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 1070
Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Figure 10 is shown
WiFi module 1070, but it is understood that, and it is not belonging to must be configured into for mobile phone 1000, it can save as needed
Slightly.
Processor 1080 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone,
By running or execute the software program and/or module that are stored in memory 1020, and calls and be stored in memory 1020
Interior data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.In one embodiment,
Processor 1080 may include one or more processing units.In one embodiment, processor 1080 can integrate application processor
And modem processor, wherein the main processing operation system of application processor, user interface and application program etc.;Modulatedemodulate
Processor is adjusted mainly to handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor
In 1080.
Mobile phone 1000 further includes the power supply 10100 (such as battery) powered to all parts, it is preferred that power supply can pass through
Power-supply management system and processor 1080 are logically contiguous, to realize management charging, electric discharge, Yi Jigong by power-supply management system
The functions such as consumption management.
In one embodiment, mobile phone 1000 can also include camera, bluetooth module etc..
In the embodiment of the present application, the processor 1080 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;
If according to the Standard clectrical quantity and power consumption electric power detection to mobile terminal power consumption exception, and according to mobile terminal application
It is abnormal that the wake-up period of processor subsystem AP subsystems detects that the mobile terminal AP subsystems wake up, and obtains the movement
The abnormal wake source of terminal AP subsystems;
When the abnormal wake source is that modem Modem wakes up, first of each type of message during Modem wakes up is obtained
Wake-up times determine unexpected message type according to first wake-up times.
2. according to the method described in claim 1, it is characterized in that, described arrive according to the Standard clectrical quantity and power consumption electric power detection
The detection mode of the mobile terminal power consumption exception includes:
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;Or,
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, being detected according to the wake-up period of mobile terminal AP subsystems
Before waking up exception to the mobile terminal AP subsystems, the method further includes:
According to the suspend mode of the mobile terminal AP subsystems, than detecting the mobile terminal AP subsystems, whether suspend mode is abnormal;
If detecting suspend mode exception, the wake-up period of the mobile terminal AP subsystems is obtained, is determined according to the wake-up period
The mobile terminal AP subsystems wake up abnormal.
4. according to the method described in claim 1, it is characterized in that, the exception for obtaining the mobile terminal AP subsystems is called out
Awake source includes:
The second wake-up times for obtaining each wake source in the mobile terminal AP subsystems, it is true according to second wake-up times
The abnormal wake source of the fixed mobile terminal AP subsystems.
5. method according to claim 1 to 4, which is characterized in that the method further includes:
When the Modem wakeup messages type is data-message, the data-message is divided according to application program identification
Class.
6. method according to claim 1 to 4, which is characterized in that the method further includes:
The information for obtaining the information and the unexpected message type of the abnormal wake source, by the information of the abnormal wake source and
The information upload server of the unexpected message type.
7. method according to claim 1 to 4, which 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;
Second acquisition module, if for abnormal to the mobile terminal power consumption according to the Standard clectrical quantity and power consumption electric power detection,
And detect that the mobile terminal AP subsystems wake up exception according to the wake-up period of mobile terminal AP subsystems, obtain the shifting
The abnormal wake source of dynamic terminal AP subsystems;
Determining module, for when the abnormal wake source is that Modem wakes up, obtaining each type of message during Modem wakes up
First wake-up times determine unexpected message type according to first wake-up times.
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.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810270530.6A CN108549593A (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 |
---|---|---|---|
CN201810270530.6A CN108549593A (en) | 2018-03-29 | 2018-03-29 | Information processing method, device, mobile terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108549593A true CN108549593A (en) | 2018-09-18 |
Family
ID=63517356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810270530.6A Pending CN108549593A (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) | CN108549593A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134216A (en) * | 2019-04-25 | 2019-08-16 | 维沃移动通信有限公司 | A kind of power control, method and terminal device |
CN111381896A (en) * | 2019-12-04 | 2020-07-07 | 海信视像科技股份有限公司 | Awakening method of audio equipment and display equipment |
CN113542483A (en) * | 2020-03-30 | 2021-10-22 | Oppo广东移动通信有限公司 | Data transmission method and device, wearable device and storage medium |
CN115442768A (en) * | 2021-06-03 | 2022-12-06 | 广州汽车集团股份有限公司 | Abnormal awakening monitoring method for vehicle-mounted TBOX communication module |
Citations (2)
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 |
-
2018
- 2018-03-29 CN CN201810270530.6A patent/CN108549593A/en active Pending
Patent Citations (2)
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 (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110134216A (en) * | 2019-04-25 | 2019-08-16 | 维沃移动通信有限公司 | A kind of power control, method and terminal device |
CN111381896A (en) * | 2019-12-04 | 2020-07-07 | 海信视像科技股份有限公司 | Awakening method of audio equipment and display equipment |
CN113542483A (en) * | 2020-03-30 | 2021-10-22 | Oppo广东移动通信有限公司 | Data transmission method and device, wearable device and storage medium |
CN113542483B (en) * | 2020-03-30 | 2022-03-18 | Oppo广东移动通信有限公司 | Data transmission method and device, wearable device and storage medium |
CN115442768A (en) * | 2021-06-03 | 2022-12-06 | 广州汽车集团股份有限公司 | Abnormal awakening monitoring method for vehicle-mounted TBOX communication module |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108616653A (en) | Information processing method, device, mobile terminal and computer readable storage medium | |
CN108541013A (en) | Information processing method, device, mobile terminal and computer readable storage medium | |
CN108549593A (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 | |
CN107272872A (en) | Electricity-saving control method and Related product | |
CN109144232A (en) | Process handling method and device, electronic equipment, computer readable storage medium | |
CN107168851B (en) | Information processing method, device and mobile terminal | |
CN110018904A (en) | Information processing method, device, computer equipment and computer readable storage medium | |
CN109992438A (en) | Information processing method, device, computer equipment and computer readable storage medium | |
CN107145425B (en) | Information processing method, device and mobile terminal | |
CN110045809A (en) | Information processing method, device, computer equipment and computer readable storage medium | |
CN110032321A (en) | Applied program processing method and device, electronic equipment, 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 | |
CN107197083A (en) | The method and mobile terminal of a kind of continuation of the journey duration for adjusting mobile terminal | |
CN108668016A (en) | Information processing method, device, mobile terminal and computer readable storage medium | |
CN109992309A (en) | Applied program processing method and device, electronic equipment, computer readable storage medium | |
CN106708513A (en) | Application management method and device and mobile terminal | |
CN108566470A (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 | |
CN108646909A (en) | Information processing method, device, mobile terminal and computer readable storage medium | |
CN108572904A (en) | Information processing method, device, mobile terminal and computer readable storage medium | |
CN108802619A (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 | |
CN109992360A (en) | Process handling method and device, electronic equipment, 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 |
Application publication date: 20180918 |
|
RJ01 | Rejection of invention patent application after publication |