CN108536546A - 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
CN108536546A
CN108536546A CN201810270106.1A CN201810270106A CN108536546A CN 108536546 A CN108536546 A CN 108536546A CN 201810270106 A CN201810270106 A CN 201810270106A CN 108536546 A CN108536546 A CN 108536546A
Authority
CN
China
Prior art keywords
mobile terminal
lock
power consumption
duration
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
CN201810270106.1A
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 CN201810270106.1A priority Critical patent/CN108536546A/en
Publication of CN108536546A publication Critical patent/CN108536546A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (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 power consumption exception, obtain the mobile terminal ccf layer first holds lock duration, holds lock duration according to described first and detects whether the mobile terminal ccf layer holds lock exception.For the above method when detecting mobile terminal power consumption exception, can obtain mobile terminal ccf layer holds lock duration, holding lock duration and whether hold that lock is abnormal, and detection method is simple, quick and effective to detect mobile terminal ccf layer according to mobile terminal ccf layer.

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 power consumption exception, obtain the mobile terminal ccf layer first holds lock duration, is held according to described first Lock duration detects whether the mobile terminal ccf layer holds lock exception.
A kind of information processing unit, including:
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 different for mobile terminal according to described in the Standard clectrical quantity and power consumption electric power detection Often;
Second detection module, if for detecting power consumption exception, when obtaining the first of the mobile terminal ccf layer and holding lock It is long, it holds lock duration according to described first and detects whether the mobile terminal ccf layer holds lock exception.
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 mobile terminal power consumption exception, can obtain mobile terminal ccf layer holds lock duration, root Holding lock duration and whether hold that lock is abnormal, and detection method is simple, quick to detect mobile terminal ccf layer according to mobile terminal ccf layer And effectively.
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 a kind of flow chart of information processing method in one embodiment.As shown in Figure 1, a kind of information processing method, Including:
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+mWifiDelta+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, power consumption exception, obtain mobile terminal ccf layer first are held lock duration, are held according to first It is abnormal whether lock duration detection mobile terminal ccf layer holds lock.
When detecting mobile terminal power consumption exception, the first of framework layers of above-mentioned mobile terminal ccf layer can be obtained Hold lock duration.Above-mentioned mobile terminal ccf layer holds application program in lock as mobile terminal and holds lock.It is applied in above-mentioned mobile terminal It includes that application program for mobile terminal holds wake-up lock etc. that program, which holds lock,.When during mobile terminal being in the screen that goes out, mobile terminal system It may include mobile terminal in standby state and mobile terminal wake-up states, when application program holds wake-up lock in mobile terminal, move Dynamic terminal system cannot be introduced into dormant state;It is mobile when the wake-up lock that all application programs are held in mobile terminal discharges Terminal system could enter dormant state.It is that journey is applied in mobile terminal that the first of above-mentioned mobile terminal ccf layer, which holds lock duration, The accumulative of sequence holds lock duration.Optionally, application program needs to pass through when application wakes up lock in mobile terminal AcquireWakeLock interfaces, application program needs to connect by releaseWakeLock when release wakes up lock in mobile terminal Mouthful.When application program wakes up lock in mobile terminal, application can be recorded by acquireWakeLock interfaces and wake up lock It stabs at the first time, above-mentioned first time stamp is the timestamp that application program holds lock event in mobile terminal;When mobile whole When application program release wakes up lock in end, the second timestamp that release wakes up lock can be recorded by releaseWakeLock interfaces, Above-mentioned second timestamp is between the timestamp that release lock event occurs for application program, then the second timestamp and first time stab Time interval be that application program holds lock duration.During mobile terminal goes out screen, application program holds lock event in mobile terminal Constantly alternately occur with release lock event.Optionally, application program for mobile terminal logging timestamp when application wakes up lock is A, When release wakes up lock, logging timestamp is B to application program for mobile terminal, then application program holds a length of B-A when lock.It is mobile Terminal can obtain mobile terminal go out screen during application program hold lock event and release lock event, according to it is above-mentioned hold lock event and Release lock event holds lock duration to obtain the first of above-mentioned mobile terminal ccf layer.The first of mobile terminal ccf layer holds lock duration For (Bn-An)+…+(B5-A5)+(B4-A4)+(B3-A3)+(B2-A2)+(B1-A1), above-mentioned N is natural number, wherein BnAnd AnRespectively At the time of holding lock moment and release lock of the corresponding same lock.
Get above-mentioned first hold lock duration after, the wake-up duration of mobile terminal AP subsystems can be obtained, according to above-mentioned First holds lock duration with duration is waken up to detect whether mobile terminal ccf layer holds lock exception.If detecting mobile terminal ccf layer It is abnormal to hold lock, can further obtain and count abnormal lock information, mobile terminal daily record is written into above-mentioned abnormal lock information, movement is eventually Daily record is uploaded onto the server again at end so that server can count and analyze the exception information of mobile terminal.
Under normal conditions, industry personnel needs to chase after when needing analysis statistics mobile terminal ccf layer whether to hold lock exception Track mobile terminal daily record, then detect whether mobile terminal ccf layer holds lock exception by analyzing mobile terminal daily record.The application Method in embodiment, when detecting mobile terminal power consumption exception, can obtain mobile terminal ccf layer holds lock duration, according to shifting Dynamic terminal ccf layer holds lock duration whether to hold lock abnormal to detect mobile terminal ccf layer, and detection method is simple, quick and have Effect.
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, it holds lock duration detection mobile terminal ccf layer according to first and whether holds to lock and include extremely:
(1) the wake-up duration for obtaining mobile terminal AP subsystems, it is that mobile terminal AP subsystems are whole in movement to wake up duration Hold the duration that wake-up states are in during going out screen.
(2) the first ratio for holding lock duration and wake-up duration is obtained, if ratio is more than first threshold, mobile terminal frame It is abnormal that layer holds lock.
Mobile terminal can obtain the wake-up duration of mobile terminal AP subsystems, and lock duration is effectively held according to kernel and is called out with above-mentioned The ratio of awake duration locks exception to detect mobile terminal kernel and whether hold.Above-mentioned wake-up duration refers to that mobile terminal AP subsystems exist Mobile terminal go out screen during be in wake-up states duration, i.e., mobile terminal go out screen during CPU (Central Processing Unit, central processing unit) operation duration.Specifically, mobile terminal can be according to the suspend mode ratio of mobile terminal AP subsystems and movement The screen duration that goes out of terminal obtains above-mentioned wake-up duration.For example, screenoffDuration is the screen duration that goes out of mobile terminal, ApSuspendRatio/100 is suspend mode ratio of the mobile terminal AP subsystems during mobile terminal goes out screen, then mobile terminal AP System a length of screenoffDuration* (1-adspSuspendRatio/100) when mobile terminal goes out the wake-up during shielding.
Mobile terminal can obtain above-mentioned first and hold lock duration and wake up the ratio between duration, whether big detect above-mentioned ratio In first threshold, above-mentioned first threshold can be value set by user or the value of mobile terminal setting, such as 50%.When upper State first hold lock duration and wake up duration between ratio be more than setting first threshold when, indicate in mobile terminal AP subsystems When in wake-up states, mobile terminal ccf layer to hold the lock time longer, then it is abnormal to judge that mobile terminal ccf layer holds lock.
Method in the embodiment of the present application, mobile terminal can hold lock duration and mobile terminal AP subsystems according to ccf layer Duration is waken up to detect whether mobile terminal ccf layer holds lock exception, can quickly detect whether mobile terminal ccf layer holds lock It is abnormal.
In one embodiment, before obtain mobile terminal ccf layer first holds lock duration, the above method further includes:
(1) the suspend mode ratio for obtaining mobile terminal AP subsystems is moved according to the suspend mode of mobile terminal AP subsystems than detection Whether suspend mode is abnormal for terminal AP subsystems.
(2) if detecting, the suspend mode of mobile terminal AP subsystems is abnormal, obtains first and holds lock duration.
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.Wherein, mobile terminal subsystem It may include: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;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.Second 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.
Since mobile terminal AP subsystem responsibles run mobile terminal operating system, mobile terminal AP subsystems are being detected When suspend mode exception, can further obtain mobile terminal ccf layer first holds lock duration, and lock duration detection is held according to above-mentioned first It is abnormal whether mobile terminal ccf layer holds lock.
In one embodiment, the above method further includes:
Step 108, if mobile terminal ccf layer holds lock exception, abnormal lock is determined according to lock duration is held, what acquisition was locked extremely Information.
When detect mobile terminal ccf layer hold lock it is abnormal when, can obtain each locked in mobile terminal hold lock duration, root Abnormal lock is determined according to lock duration is held.Wherein, the lock duration of holding locked in mobile terminal refers to locking to be tired out by what each application program was held Timing is long.For example, lock A is held the when a length of H of lock by the first application program1, held by the second application program the when a length of H of lock2··· The when a length of H of lock is held by N application programsN, then that locks A holds a length of H when lock1+H2···+HN.Mobile terminal is being got respectively A lock hold lock duration after, can by each lock hold lock duration be ranked up.Optionally, mobile terminal can will hold lock duration and be more than The lock of setting value is determined as abnormal lock;Mobile terminal also can by each lock hold lock duration be ranked up, according to sequence digit come It determines abnormal lock, such as lock duration will be held and be ranked up from long to short, the lock for holding 3 before lock duration is determined as abnormal lock.
According to holding after lock duration detects abnormal lock, mobile terminal can obtain the above-mentioned information locked extremely, then will be above-mentioned Extremely the information write-in mobile terminal daily record locked, above-mentioned mobile terminal daily record is uploaded onto the server, above-mentioned server can basis The mobile terminal log statistic analysis mobile terminal exception information received.
Optionally, according to holding after lock duration detects abnormal lock, mobile terminal can also be by the abnormal lock detected by holding Lock duration detects that frequency of abnormity or lock title are ranked up.
Method in the embodiment of the present application can be true according to lock duration is held when detecting that mobile terminal ccf layer holds lock exception Fixed abnormal lock determines that the mode locked extremely is simple, quick, is conducive to the information of mobile terminal acquisition abnormity lock.
In one embodiment, the above method further includes:
Step 110, if detecting, application program holds abnormal lock, detects whether abnormal lock is system white list internal lock.
Step 112, if abnormal lock is not system white list internal lock, abnormal lock is discharged.
During mobile terminal goes out screen, if detecting, application program for mobile terminal holds the abnormal lock detected, can detect Whether above-mentioned abnormal lock is in mobile terminal system white list.Optionally, white list, above-mentioned white name can be arranged in mobile terminal system Single internal lock is set for user or mobile terminal setting, such as:Corresponding wake-up lock of instant messaging class application program etc..When mobile whole When end detects that above-mentioned abnormal lock is mobile terminal system white list internal lock, above-mentioned abnormal lock is not handled;When mobile whole When end detects that above-mentioned abnormal lock is not mobile terminal system white list internal lock, abnormal lock that releasable application program is held.
Method in the embodiment of the present application is not the white name of system detecting that application program holds abnormal lock and above-mentioned abnormal lock When single internal lock, the abnormal lock that releasable above application program is held avoids application program from holding abnormal lock and causes mobile terminal Power consumption is abnormal, reduces the power consumption of mobile terminal.
In one embodiment, the above method further includes:
Step 114, if mobile terminal ccf layer is held, lock is abnormal, obtains the information locked extremely.
Step 116, adjusted according to the frequency for getting the information locked extremely reported to server the information locked extremely when Between be spaced.
When detecting that mobile terminal ccf layer holds lock exception, it can be locked according to lock duration detection exception is held and obtain abnormal lock Information.Mobile terminal can count the frequency for getting the above-mentioned information locked extremely, when acquisition for mobile terminal to the letter locked extremely When the frequency of breath is higher, indicate that mobile terminal detects that the number locked extremely is more, i.e., the number that exception occurs in mobile terminal is got over It is more.Optionally, mobile terminal reports the time interval for the information locked extremely to server and detects the frequency for the information locked extremely Secondary to be inversely proportional, when mobile terminal detects that the frequency of the above-mentioned information locked extremely is higher, mobile terminal reports different to server The time interval for the information often locked is shorter, i.e., when the abnormal frequency of mobile terminal appearance is higher, mobile terminal is reported to server Extremely the time interval for the information locked is shorter.
Method in the embodiment of the present application, can according to the frequency for detecting the information locked extremely adjust reported to server it is different The time interval of normal lock information is conducive to the security risk for quickly investigating and finding mobile terminal according to the information locked extremely.
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, power consumption exception, obtain mobile terminal ccf layer first hold lock duration, lock duration are held according to first It is abnormal whether detection mobile terminal ccf layer holds lock.
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:It detects whether 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;Power consumption electrical power is obtained according to power consumption electricity and the screen duration that goes out, standard electrical-power is obtained according to Standard clectrical quantity and the screen duration that goes out, It detects 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, it holds lock duration detection mobile terminal ccf layer according to first and whether holds to lock and include extremely:It obtains The wake-up duration of mobile terminal AP subsystems is taken, it is that mobile terminal AP subsystems are in during mobile terminal goes out screen to wake up duration The duration of wake-up states;The first ratio for holding lock duration and wake-up duration is obtained, if ratio is more than first threshold, mobile terminal It is abnormal that ccf layer holds lock.
In one embodiment, before obtain mobile terminal ccf layer first holds lock duration, the above method further includes: The suspend mode ratio for obtaining mobile terminal AP subsystems, according to the suspend mode of mobile terminal AP subsystems than detection mobile terminal AP subsystems Whether suspend mode is abnormal;If detecting, the suspend mode of mobile terminal AP subsystems is abnormal, obtains first and holds lock duration.
In one embodiment, the above method further includes:If it is abnormal that mobile terminal ccf layer holds lock, according to holding, lock duration is true Fixed abnormal lock, obtains the information locked extremely.
In one embodiment, the above method further includes:If detecting, application program holds abnormal lock, and detecting abnormal lock is No is system white list internal lock;If abnormal lock is not system white list internal lock, abnormal lock is discharged.
In one embodiment, the above method further includes:If mobile terminal ccf layer is held, lock is abnormal, obtains the letter locked extremely Breath;The time interval that the information locked extremely is reported to server is adjusted according to the frequency for getting the information locked extremely.
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:
Acquisition module 502, if for mobile terminal by screen state of going out be switched to bright screen state and 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 504, for whether power consumption to be abnormal according to Standard clectrical quantity and power consumption electric power detection mobile terminal.
If second detection module 506 obtains the first of mobile terminal ccf layer when holding lock for detecting power consumption exception It is long, hold whether lock duration detection mobile terminal ccf layer holds lock exception according to first.
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, whether the second detection module 506 holds lock duration detection mobile terminal ccf layer according to first Holding lock exception includes:The wake-up duration of mobile terminal AP subsystems is obtained, wake-up duration is mobile terminal AP subsystems in movement Terminal go out screen during be in wake-up states duration;It obtains first and holds lock duration and the ratio that wakes up duration, if ratio is more than the One threshold value, then mobile terminal ccf layer, which is held, locks exception.
In one embodiment, the second detection module 506 is additionally operable to when obtain mobile terminal ccf layer first holds lock Before length, the suspend mode ratio of mobile terminal AP subsystems is obtained, according to the suspend mode of mobile terminal AP subsystems than detection mobile terminal Whether suspend mode is abnormal for AP subsystems;If detecting, the suspend mode of mobile terminal AP subsystems is abnormal, obtains first and holds lock duration.
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:Acquisition module 602, first detection module 604, the second detection module 606 and processing module 608.Wherein, acquisition module 602, first detection module 604, the second detection module 606 are identical as corresponding functions of modules in Fig. 5.
Processing module 608 determines abnormal lock, acquisition if holding lock exception for mobile terminal ccf layer according to lock duration is held Extremely the information locked.
In one embodiment, if processing module 608 is additionally operable to detect that application program holds abnormal lock, abnormal lock is detected Whether it is system white list internal lock;If abnormal lock is not system white list internal lock, abnormal lock is discharged.
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:Acquisition module 702, first detection module 704, the second detection module 706 and adjustment module 708.Wherein, acquisition module 702, first detection module 704, the second detection module 706 are identical as corresponding functions of modules in Fig. 5.
Module 708 is adjusted, lock is abnormal if being held for mobile terminal ccf layer, obtains the information locked extremely;According to getting Extremely the frequency for the information locked adjusts the time interval that the information locked extremely is reported to server.
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 power consumption exception, obtain the mobile terminal ccf layer first holds lock duration, when holding lock according to described first It is long to detect whether the mobile terminal ccf layer holds lock exception.
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, described hold the lock duration detection movement according to described first Whether terminal ccf layer holds lock exception:
The wake-up duration of mobile terminal application processor subsystem AP subsystems is obtained, the wake-up duration is the mobile terminal AP subsystems are in the duration of wake-up states during mobile terminal goes out screen;
It obtains described first and holds lock duration and the ratio for waking up duration, if the ratio is more than first threshold, the shifting It is abnormal that dynamic terminal ccf layer holds lock.
4. according to the method described in claim 1, it is characterized in that, when obtain the mobile terminal ccf layer first holds lock Before length, the method further includes:
The suspend mode ratio for obtaining mobile terminal AP subsystems, according to the suspend mode of the mobile terminal AP subsystems than detecting the movement Whether suspend mode is abnormal for terminal AP subsystems;
If detecting, the mobile terminal AP subsystems suspend mode is abnormal, obtains described first and holds lock duration.
5. method according to claim 1 to 4, which is characterized in that the method further includes:
If it is abnormal that the mobile terminal ccf layer holds lock, determines abnormal lock according to lock duration is held, obtain the information locked extremely.
6. according to the method described in claim 5, it is characterized in that, the method further includes:
If detecting, application program holds the abnormal lock, detects whether the abnormal lock is system white list internal lock;
If the abnormal lock is not system white list internal lock, the abnormal lock is discharged.
7. method according to claim 1 to 4, which is characterized in that the method further includes:
If it is abnormal that the mobile terminal ccf layer holds lock, the information locked extremely is obtained;
It is adjusted between the time that server reports the information locked extremely according to the frequency for getting the information locked extremely Every.
8. a kind of information processing unit, which is characterized in that including:
Acquisition module, if the screen duration that goes out for being switched to bright screen state and the mobile terminal by screen state of going out for mobile terminal surpasses The first duration is crossed, Standard clectrical quantity and power consumption electricity of the mobile terminal during the screen that goes out are obtained;
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;
Second detection module, if for detecting that power consumption exception, obtain the mobile terminal ccf layer first hold lock duration, root Lock duration, which is held, according to described first detects whether the mobile terminal ccf layer holds lock exception.
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.
CN201810270106.1A 2018-03-29 2018-03-29 Information processing method, device, mobile terminal and computer readable storage medium Pending CN108536546A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810270106.1A CN108536546A (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
CN201810270106.1A CN108536546A (en) 2018-03-29 2018-03-29 Information processing method, device, mobile terminal and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN108536546A true CN108536546A (en) 2018-09-14

Family

ID=63482399

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810270106.1A Pending CN108536546A (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) CN108536546A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113407420A (en) * 2021-07-16 2021-09-17 北京字节跳动网络技术有限公司 Power consumption detection method and device, electronic equipment and storage medium
CN115016849A (en) * 2022-04-19 2022-09-06 展讯通信(上海)有限公司 Electronic system control method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324519A (en) * 2013-06-17 2013-09-25 华为技术有限公司 Method and device for clearing malicious power consumption applications, and user terminal
CN104038635A (en) * 2014-06-25 2014-09-10 深圳市中兴移动通信有限公司 Mobile terminal and prompting method of abnormal standby thereof
CN104166542A (en) * 2013-05-17 2014-11-26 腾讯科技(深圳)有限公司 Method and device for detecting electricity consumption of application
CN104298335A (en) * 2013-07-19 2015-01-21 贝壳网际(北京)安全技术有限公司 Application program process cleaning method and device of mobile terminal and mobile terminal
CN106775685A (en) * 2016-12-01 2017-05-31 北京奇虎科技有限公司 Wake up lock method for releasing and device, mobile terminal
CN107844189A (en) * 2017-10-30 2018-03-27 东莞市金铭电子有限公司 A kind of method, system, terminal and computer-readable recording medium for reducing blank screen power consumption

Patent Citations (6)

* 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
CN103324519A (en) * 2013-06-17 2013-09-25 华为技术有限公司 Method and device for clearing malicious power consumption applications, and user terminal
CN104298335A (en) * 2013-07-19 2015-01-21 贝壳网际(北京)安全技术有限公司 Application program process cleaning method and device of mobile terminal and mobile terminal
CN104038635A (en) * 2014-06-25 2014-09-10 深圳市中兴移动通信有限公司 Mobile terminal and prompting method of abnormal standby thereof
CN106775685A (en) * 2016-12-01 2017-05-31 北京奇虎科技有限公司 Wake up lock method for releasing and device, mobile terminal
CN107844189A (en) * 2017-10-30 2018-03-27 东莞市金铭电子有限公司 A kind of method, system, terminal and computer-readable recording medium for reducing blank screen power consumption

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113407420A (en) * 2021-07-16 2021-09-17 北京字节跳动网络技术有限公司 Power consumption detection method and device, electronic equipment and storage medium
CN115016849A (en) * 2022-04-19 2022-09-06 展讯通信(上海)有限公司 Electronic system control method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108541013A (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
CN108616653A (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
CN109144232A (en) Process handling method and device, electronic equipment, computer readable storage medium
CN109992370A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN110018904A (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
CN109992397A (en) Process handling 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
CN108536546A (en) Information processing method, device, mobile terminal and computer readable storage medium
CN109992380A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN108828445A (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
CN109992309A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN107708092B (en) Flow information update method and device, terminal, computer readable storage medium
CN110046033A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN108566470A (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
CN109992323A (en) Process handling method and device, electronic equipment, computer readable storage medium
CN108646909A (en) Information processing method, device, mobile terminal and computer readable storage medium
CN108600515A (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

Application publication date: 20180914

RJ01 Rejection of invention patent application after publication