CN108616653B - 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
CN108616653B
CN108616653B CN201810276497.8A CN201810276497A CN108616653B CN 108616653 B CN108616653 B CN 108616653B CN 201810276497 A CN201810276497 A CN 201810276497A CN 108616653 B CN108616653 B CN 108616653B
Authority
CN
China
Prior art keywords
mobile terminal
application program
screen
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.)
Active
Application number
CN201810276497.8A
Other languages
Chinese (zh)
Other versions
CN108616653A (en
Inventor
徐林杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201810276497.8A priority Critical patent/CN108616653B/en
Publication of CN108616653A publication Critical patent/CN108616653A/en
Application granted granted Critical
Publication of CN108616653B publication Critical patent/CN108616653B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0264Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level by selectively disabling software applications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Environmental & Geological Engineering (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Power Sources (AREA)

Abstract

The application provides an information processing method, an information processing device, a mobile terminal and a computer readable storage medium. The method comprises the following steps: if the power consumption abnormality of the mobile terminal during the screen-off period is detected, acquiring a flow value consumed by the mobile terminal during the screen-off period; detecting whether the power consumption abnormal type is downloaded by an application program according to the power consumption electric quantity, the standard electric quantity and the flow value of the mobile terminal during the screen-off period; and if the power consumption abnormal type is application program downloading, determining abnormal application programs according to the downloading flow of each application program. According to the method, whether the power consumption abnormal type of the mobile terminal is downloaded by the application program can be rapidly determined through the flow value consumed by the mobile terminal during the screen-off period, the abnormal application program is determined, and the application program causing the power consumption abnormal of the mobile terminal can be rapidly detected.

Description

Information processing method, device, mobile terminal and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an information processing method and apparatus, a mobile terminal, and a computer-readable storage medium.
Background
With the rapid development of the intelligent mobile terminal, the intelligent mobile terminal is more and more common in the daily life of the user. Through the intelligent mobile terminal, the user can conveniently communicate with other people. In the use process of the intelligent mobile terminal, the application programs in the intelligent mobile terminal can carry out intra-application communication or inter-application communication. The use of various application programs in the intelligent mobile terminal can cause power consumption of the intelligent mobile terminal and waste of power consumption of the mobile terminal.
Disclosure of Invention
The embodiment of the application provides an information processing method, an information processing device, a mobile terminal and a computer readable storage medium, and the application program which consumes power due to downloading can be used during the screen-off period of the mobile terminal.
An information processing method comprising:
if the power consumption abnormality of the mobile terminal during the screen-off period is detected, acquiring a flow value consumed by the mobile terminal during the screen-off period;
detecting whether the power consumption abnormal type is downloaded by an application program according to the power consumption electric quantity, the standard electric quantity and the flow value of the mobile terminal during the screen-off period;
and if the power consumption abnormal type is application program downloading, determining abnormal application programs according to the downloading flow of each application program.
An information processing apparatus comprising:
the acquisition module is used for acquiring a flow value consumed by the mobile terminal during the screen-off period if the power consumption abnormity of the mobile terminal during the screen-off period is detected;
the detection module is used for detecting whether the power consumption abnormal type is downloaded by an application program according to the power consumption electric quantity, the standard electric quantity and the flow value of the mobile terminal during the screen-off period;
and the determining module is used for determining the abnormal application program according to the download flow of the application program if the power consumption abnormal type is the application program download.
A mobile terminal comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the method as described above.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method as set forth above.
According to the application, whether the power consumption abnormal type of the mobile terminal is downloaded by the application program can be rapidly determined through the flow value consumed by the mobile terminal during the screen-off period, the abnormal application program is determined, and the application program causing the power consumption abnormal of the mobile terminal can be rapidly detected.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow diagram of a method for information processing in one embodiment;
FIG. 2 is a flow chart of a method of information processing in another embodiment;
FIG. 3 is a flow chart of a method of information processing in another embodiment;
FIG. 4 is a flow chart of a method of information processing in another embodiment;
FIG. 5 is a flow chart of a method of information processing in another embodiment;
FIG. 6 is a block diagram showing the configuration of an information processing apparatus according to an embodiment;
FIG. 7 is a block diagram showing the construction of an information processing apparatus according to another embodiment;
FIG. 8 is a block diagram showing the construction of an information processing apparatus according to another embodiment;
FIG. 9 is a diagram illustrating an internal structure of a mobile terminal according to an embodiment;
fig. 10 is a block diagram of a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
In one embodiment, an application scenario of an information processing method includes: when the screen of the mobile terminal is detected to be turned off, recording the screen turning-off time; when the mobile terminal is switched from the screen-off state to the screen-on state, recording the screen-on time, and setting the time difference between the screen-off time and the screen-on time as the screen-off duration of the mobile terminal. During the screen-off period of the mobile terminal, the power consumption of the mobile terminal is caused by the running of application programs in the mobile terminal and the like. The difference value between the first battery capacity of the mobile terminal at the screen-off moment and the second battery capacity of the mobile terminal at the screen-on moment is the total power consumed by the mobile terminal during the screen-off period, namely the power consumption of the mobile terminal during the screen-off period. During the period of screen-off of the mobile terminal, each state of the mobile terminal consumes corresponding electric quantity, an accumulated value of the corresponding electric quantity is a standard electric quantity, and the standard electric quantity represents a basic electric quantity consumed by the mobile terminal during the period of screen-off and may include system power consumption, SIM (Subscriber identity Module) card power consumption, Wi-Fi (Wireless-Fidelity) power consumption, and the like. After the power consumption electric quantity and the standard electric quantity are obtained, the power consumption electric quantity during the screen-off period of the mobile terminal can be compared with the standard electric quantity, and when the power consumption electric quantity is not greater than the standard electric quantity, the normal power consumption of the mobile terminal during the screen-off period is indicated; when the power consumption electric quantity is larger than the standard electric quantity, the power consumption of the mobile terminal is more in the screen-off period, and the power consumption of the mobile terminal is abnormal in the screen-off period. When the power consumption of the mobile terminal is abnormal during the screen-off period, parameters such as the sleep ratio of a subsystem of the mobile terminal, the power consumption of each application program, the lock-holding duration of each application program and the like can be further acquired, and the reason of the power consumption abnormality of the mobile terminal is judged according to the parameters. The reasons for the power consumption abnormity comprise abnormity of a mobile terminal subsystem, background downloading of an application program, background music playing of the application program and the like. After the reason of the power consumption abnormity of the mobile terminal is obtained, the mobile terminal can display the reason of the power consumption abnormity on a mobile terminal interface for reminding a user, the mobile terminal can also upload the reason of the power consumption abnormity to the server, the server carries out statistics and analysis according to the obtained reason of the power consumption abnormity, a power consumption optimization strategy for the mobile terminal is obtained according to the statistics and analysis result, and the power consumption optimization strategy is returned to the mobile terminal.
FIG. 1 is a flow diagram of a method for information processing in one embodiment. As shown in fig. 1, an information processing method includes:
and 102, if the power consumption abnormity of the mobile terminal during the screen-off period is detected, acquiring a flow value consumed by the mobile terminal during the screen-off period.
During the screen-off period of the mobile terminal, subsystems, application programs and the like in the mobile terminal can still be operated, and the subsystems, the application programs and the like in the mobile terminal can consume the electric quantity of the mobile terminal. When detecting that the power consumption of the mobile terminal is abnormal during the screen-off period, the flow value consumed by the mobile terminal during the screen-off period can be acquired. The method for detecting abnormal power consumption of the mobile terminal during the screen-off period can comprise the following steps: acquiring the consumed electric quantity of the mobile terminal during the screen-off period, comparing the consumed electric quantity with the standard electric quantity, and detecting whether the power consumption of the mobile terminal is abnormal during the screen-off period; the power consumption electric power of the mobile terminal during the screen-off period can be acquired, the power consumption electric power is compared with the standard electric power, and whether the power consumption of the mobile terminal is abnormal during the screen-off period is detected.
The method for acquiring the flow value consumed by the mobile terminal during the screen-off period comprises the following steps: counting flow information consumed by the mobile terminal through a flow counting module in the mobile terminal, and acquiring a first flow value counted by the flow counting module when the mobile terminal enters a screen-off state; when the mobile terminal is switched from the screen-off state to the screen-on state, acquiring a second flow value counted by the flow counting module; the difference between the second flow value and the first flow value is the flow value consumed by the mobile terminal during the screen-off period. The flow value consumed by the mobile terminal during the screen-off period is mainly the flow value consumed by the application program in the mobile terminal downloading process.
And 104, detecting whether the power consumption abnormal type is downloaded by the application program according to the power consumption electric quantity, the standard electric quantity and the flow value of the mobile terminal during the screen-off period.
After the flow value consumed by the mobile terminal during the screen-off period is obtained, whether the power consumption abnormal type is the application program downloading or not can be detected according to the power consumption electric quantity, the standard electric quantity and the flow value of the mobile terminal during the screen-off period, namely whether the power consumption abnormal type is caused by the application program downloading or not is detected. Wherein, detecting whether the power consumption abnormal type is the application program download according to the power consumption electric quantity, the standard electric quantity and the flow value of the mobile terminal comprises: the method comprises the steps of obtaining first electric quantity corresponding to a flow value consumed by downloading an application program in the mobile terminal, wherein the first electric quantity is the electric quantity consumed by the mobile terminal when the flow value is consumed by downloading the application program. And detecting whether the power consumption electric quantity is greater than the standard electric quantity, if so, determining that the power consumption of the mobile terminal is abnormal during the screen-off period. And detecting whether the power consumption electric quantity is smaller than the sum of the standard electric quantity and the first electric quantity, and if the power consumption electric quantity is smaller than the sum of the standard electric quantity and the first electric quantity, determining that the power consumption abnormal type of the mobile terminal is application program downloading. Namely, when the power consumption electric quantity of the mobile terminal during the screen-off period is greater than the standard electric quantity and less than the sum of the standard electric quantity and the first electric quantity, it is judged that the electric quantity consumed for downloading the application program of the mobile terminal during the screen-off period is large.
And step 106, if the power consumption abnormal type is application program downloading, determining abnormal application programs according to the downloading flow of each application program.
When the power consumption abnormal type is detected to be the application program downloading in the mobile terminal, the mobile terminal can acquire the downloading flow of each application program in the screen-off period of the mobile terminal, and the abnormal application program is determined according to the downloading flow of each application program. When the application program in the mobile terminal is downloaded, the flow counting module in the mobile terminal can record the application program identification of each application program consuming flow. Through the application program identification counted in the flow counting module, the download flow of each application program, namely the flow consumed by each application program during the screen-off period of the mobile terminal, can be obtained.
The mobile terminal can determine abnormal application programs according to the download flow of each application program. The mobile terminal determines the abnormal application program according to the download flow of each application program, and the method comprises the following steps: the mobile terminal obtains the download flow of each application program, compares the download flow of each application program, and judges the application program with the download flow exceeding a first threshold value as an abnormal application program. For example, the download flow rates of the respective applications are compared, and an application having a download flow rate exceeding 30M is determined as an abnormal application. The mobile terminal can also compare the download flow of each application program, and select an abnormal application program according to the comparison section. For example, the application program with the highest download traffic is selected as the abnormal application program.
After the application program in the mobile terminal is judged to be the abnormal application program, the mobile terminal can perform optimization processing on the abnormal application program, and the power consumption of the mobile terminal wasted by the abnormal application program is reduced.
According to the method, when the power consumption abnormality of the mobile terminal during the screen-off period is detected, whether the power consumption abnormality type of the mobile terminal is downloaded by an application program in the mobile terminal can be detected through a flow value consumed by the mobile terminal during the screen-off period; when the type of the power consumption abnormality in the mobile terminal is the downloading of the application program, the abnormal application program can be determined. According to the method, whether the power consumption abnormal type of the mobile terminal is downloaded by the application program can be rapidly determined through the flow value consumed by the mobile terminal during the screen-off period, the abnormal application program is determined, and the application program causing the power consumption abnormal of the mobile terminal can be rapidly detected.
In one embodiment, the method for detecting abnormal power consumption of the mobile terminal during screen-off comprises any one of the following methods:
(1) and if the mobile terminal is switched from the screen-off state to the screen-on state, the screen-off duration of the mobile terminal exceeds the first duration and the power consumption electric quantity is greater than the standard electric quantity, determining that the power consumption of the mobile terminal is abnormal.
(2) If the mobile terminal is switched from the screen-off state to the screen-on state and the screen-off duration of the mobile terminal exceeds the first duration, acquiring standard electric power and consumed electric power of the mobile terminal during the screen-off period, and if the consumed electric power is greater than the standard electric power, determining that the power consumption of the mobile terminal is abnormal.
When the mobile terminal enters the screen-off state, the mobile terminal can record the screen-off moment when the mobile terminal enters the screen-off state; when the screen of the mobile terminal is lightened, namely the mobile terminal is lightened, the mobile terminal can record the moment of lightening the screen. The screen on means that the screen of the mobile terminal is lighted, and the screen off means that the screen of the mobile terminal is backlight off. And the time difference between the screen on time and the screen off time is the screen off duration. When the mobile terminal is turned off or on, the broadcast sender can send the system broadcast. In general, the broadcast corresponding to the SCREEN-OFF of the mobile terminal is internal _ active _ SCREEN _ OFF, and when a broadcast receiver receives the SCREEN-OFF broadcast, the broadcast receiver indicates that the mobile terminal is SCREEN-OFF, and the time when the mobile terminal receives the SCREEN-OFF broadcast is the time when the mobile terminal is SCREEN-OFF. The broadcast corresponding to the SCREEN-up of the mobile terminal is intent. The broadcast sender in a mobile terminal is typically a program that calls context.
After the screen-off duration of the mobile terminal is obtained, whether the screen-off duration exceeds a first duration can be detected. The first time period may be a time period set by a user or a time period set by the mobile terminal, for example, 5 hours, 6 hours, and the like. And if the screen-off duration of the mobile terminal exceeds the first duration, the screen-off duration of the mobile terminal is longer. Because the attenuation of the battery in the mobile terminal is in a curve shape and the power consumption is calculated according to the percentage of the electric quantity of the battery, when the screen-off duration of the mobile terminal is short, the power consumption error calculated through the attenuation curve of the battery is large, the reference electric quantity and the power consumption electric quantity of the mobile terminal during the screen-off period are acquired when the screen-off duration of the mobile terminal exceeds the first duration, and the accuracy of the acquired electric quantity can be improved.
The mobile terminal can store a standard list, and the standard list is the power consumption of the mobile terminal in each state in the standby state in unit time. For example, it may include: the method comprises the steps of obtaining electric quantity corresponding to a single SIM card, obtaining electric quantity corresponding to a double SIM card, obtaining electric quantity corresponding to the fact that a Wi-Fi is not connected, obtaining electric quantity corresponding to the fact that a Bluetooth is not connected, obtaining electric quantity corresponding to the fact that the Bluetooth is connected, obtaining electric quantity corresponding to the Wi-Fi connection, obtaining electric quantity corresponding to the connection of the Bluetooth, and obtaining electric quantity corresponding to the connection of the Bluetooth. The mobile terminal can match each state of the mobile terminal during the screen-off period with the state in the standard list, and acquire the power consumption electric quantity corresponding to the successfully matched state and the accumulated value of the power consumption electric quantity corresponding to the successfully matched state, wherein the accumulated value is standard electric power, and the product of the standard electric power and the screen-off duration is standard electric quantity. The standard electric power is TargetCurrent,
TargetCurrent ═ mBaseCurrent + mSinmCardDelta + mDoubleSimCardDelta + mWitfelta + mNetworkDelta + mBluetooth Delta + offset. The mBaseCurent is the power consumption of the mobile terminal system in unit time, and can be 3.9 mA/h; when the mobile terminal is inserted into a single SIM card, the power consumption mTingle mCardDelta is 3mA/h in unit time, otherwise, the power consumption mTingle mCardDelta is 0; when the mobile terminal is inserted into the dual-card SIM card, the power consumption quantity mDoubleSimCardDelta in unit time is 6mA/h, otherwise, the power consumption quantity is 0; when the mobile terminal starts Wi-Fi, the power consumption mWifi Delta in unit time is 6mA/h, otherwise, the power consumption mWifi Delta is 0; when the mobile terminal starts the Bluetooth, the power consumption mBluetooth Delta in unit time is 2mA/h, otherwise, the power consumption mBluetooth Delta is 0; offset represents other types of power consumption, which may be 10 mA/h.
When the mobile terminal detects whether the power consumption of the mobile terminal is abnormal according to the standard power and the power consumption, whether the power consumption of the mobile terminal in the screen-off period is larger than the standard power can be detected, and if the power consumption is larger than the standard power, the fact that the power consumption of the mobile terminal in the screen-off period is more is shown, namely the power consumption of the mobile terminal in the screen-off period is abnormal. The mobile terminal can also obtain the ratio of the power consumption electric quantity to the screen-off duration, wherein the ratio is the power consumption electric quantity of the mobile terminal in unit time during the screen-off period, namely the power consumption electric power of the mobile terminal during the screen-off period. The mobile terminal can obtain the standard electric power through the ratio of the standard electric quantity to the screen-off duration, and the mobile terminal can also obtain the accumulated value of the increment electric quantity in unit time corresponding to the state information which is successfully matched through the standard list to be used as the standard electric power. The mobile terminal may compare the consumed electric power with the standard electric power and detect whether the consumed electric power is greater than the standard electric power. If the power consumption is larger than the standard power, the mobile terminal consumes abnormal power during the screen-off period.
According to the method, the mobile terminal can judge whether the power consumption of the mobile terminal is abnormal according to the comparison result of the standard electric quantity and the power consumption electric quantity, and can judge whether the power consumption of the mobile terminal is abnormal according to the comparison result of the standard electric power and the power consumption electric power.
In one embodiment, the detecting whether the power consumption abnormality type is the application program download according to the power consumption electric quantity, the standard electric quantity and the flow value of the mobile terminal during the screen-off period comprises the following steps: and acquiring first electric quantity corresponding to the flow value, and detecting whether the power consumption abnormal type is downloaded by the application program according to the power consumption electric quantity, the standard electric quantity and the first electric quantity.
The mobile terminal is set with consumed electric quantity corresponding to the unit flow value, and after the flow value of the mobile terminal in the screen-off period is obtained, the product of the flow value and the consumed electric quantity corresponding to the unit flow value is the first electric quantity. For example, when the traffic value corresponding to the terminal is deltaD and the consumed power corresponding to the unit traffic value is P/D, the first power deltaP is deltaD P/D.
After the first electric quantity is acquired, the mobile terminal can detect whether the power consumption abnormal type of the mobile terminal is downloaded by the application program according to the power consumption electric quantity, the standard electric quantity and the first electric quantity. The method for detecting whether the power consumption abnormal type of the mobile terminal is downloaded by the application program comprises the following steps:
(1) and if the power consumption electric quantity is not more than the sum of the standard electric quantity and the first electric quantity, the abnormal power consumption type of the mobile terminal is application program downloading. For example, if the standard power amount is C, the power consumption power amount is a, and the first power amount is deltaP, then when a < ═ C + deltaP, the power consumption abnormal type of the mobile terminal is application download.
(2) Acquiring power consumption electric power according to the ratio of the power consumption electric quantity to the screen-off duration, acquiring standard electric power according to the ratio of the standard electric quantity to the screen-off duration, and acquiring first electric power according to the ratio of the first electric quantity to the screen-off duration. And if the power consumption electric power is not more than the sum of the standard electric power and the first electric power, the abnormal type of the power consumption of the mobile terminal is downloading the application program. For example, the screen-off duration is T, the standard power amount is C, the power consumption power amount is a, the first power amount is deltaP, and when a/T < (C + deltaP)/T, the power consumption abnormal type of the mobile terminal is application program downloading.
The mobile terminal can obtain the consumed electric quantity corresponding to the unit flow value by counting historical data to obtain an average value. The mobile terminal can also receive the consumed electric quantity corresponding to the unit flow value set by the user or the consumed electric quantity corresponding to the unit flow value set by the server.
In one embodiment, the method further comprises:
step 108, acquiring an application program identifier of the application program.
Step 110, searching the processing method corresponding to the application program identifier.
And step 112, correspondingly processing the abnormal application program according to the processing method.
The flow counting module in the mobile terminal may record flow information consumed by each application identifier, for example, record flow information corresponding to the UID of each application. After the abnormal application program is detected, the application program identification of the abnormal application program can also be obtained. Alternatively, the application identifier may be a package name of the application. The mobile terminal can classify the packet names of the application programs, wherein the processing methods corresponding to the application programs of different classes are different. Optionally, the mobile terminal may classify the application program into a common download application program, an uncommon download application program, and an abnormal download application program according to the package name of the application program. For example, the video-type and music-type playing software can be divided into common downloading applications, the game-type applications can be divided into infrequent downloading applications, and the communication-type applications can be divided into abnormal downloading applications. When the abnormal application program is a common downloading application program, the mobile terminal can not process the common downloading application program; when the abnormal application program is an uncommon downloading application program, the mobile terminal can limit the flow rate of the abnormal application program, so that the abnormal application program is prevented from consuming a large amount of power consumption of the mobile terminal; when the abnormal application program is an abnormal downloading application, the abnormal application program can be searched and killed.
And after the mobile terminal acquires the application program identifier of the abnormal application program, searching a corresponding processing method according to the application program identifier of the abnormal application program. The processing method comprises the following steps: limiting the download flow of the application program, performing searching and killing processing on the application program and the like. After the processing method corresponding to the abnormal application program is found, the abnormal application program can be correspondingly processed according to the processing method corresponding to the abnormal application program.
According to the method, after the abnormal application program is detected by the mobile terminal, the classification of the abnormal application program can be searched according to the abnormal application program identification, different processing is carried out on the abnormal application programs of different types, and the abnormal application program is classified and processed, so that the method for processing the abnormal application program by the mobile terminal is more intelligent.
In one embodiment, the method further comprises:
and step 114, if the mobile terminal is detected to be in the target running state and the abnormal application program runs in the background, performing resource limitation processing on the abnormal application program.
When the abnormal application program in the mobile terminal is detected, the abnormal application program can be limited, and the electric quantity of the mobile terminal is prevented from being consumed by the abnormal application program. When the mobile terminal is in the target running state, if the abnormal application program is detected to run in the background, the resource limitation processing can be carried out on the abnormal application program. The target running state can be a screen-off state of the mobile terminal, a state set by the mobile terminal and needing to save electric quantity, or a state that the electric quantity of the mobile terminal is lower than a specified threshold value. For example, the mobile terminal is in a state when the power saving mode is turned on, and the mobile terminal is in a state when the power of the mobile terminal is lower than 30%. The background running of the abnormal application program means that the abnormal application program exits from a mobile terminal interface and runs in an application software running environment provided by VRE (Virtual runtime environment, embedded middleware platform and service operation system) middleware software for the mobile terminal. When the application program runs in the background of the mobile terminal, the application program can perform intra-application communication and inter-application communication. The resource restriction processing on the abnormal application program may include: network resources, memory resources, and CPU (Central Processing Unit) resources that can be used by the abnormal application are limited. When the abnormal application program can not use the resources in the mobile terminal, the abnormal application program is frozen.
Optionally, when the resource restriction processing is performed on the abnormal application program, the exception level of the abnormal application program may be further obtained, and the level of the resource restriction processing performed on the abnormal application program is determined according to the exception level. The exception level of the abnormal application program can be determined according to the number of times of detecting the abnormal application program. When the resource restriction processing level is different for an abnormal application program, the types of resources usable by the abnormal application program are different, and the usable amount of each type of resources is different.
According to the method, after the abnormal application program is detected, the mobile terminal can perform resource limitation processing on the abnormal application program, and the resource which can be used by the abnormal application program is limited, so that the phenomenon that the abnormal application program runs in the background of the mobile terminal and wastes a large amount of power consumption of the mobile terminal is avoided.
In one embodiment, the method further comprises:
and step 116, if it is detected that the mobile terminal is in the target running state and the abnormal application program runs in the background, acquiring a second duration for the abnormal application program to enter the background.
And step 118, if the second time length exceeds the first threshold value, performing killing processing on the abnormal application program.
After the abnormal application program is detected, if the mobile terminal is detected to be in the target running state and the abnormal application program runs in the background, the second time length for the abnormal application program to enter the background can be obtained, whether the second time length exceeds a first threshold value or not is detected, and when the second time length exceeds the first threshold value, the abnormal application program is checked and killed. The mobile terminal is in a target running state, the screen-off state of the mobile terminal is in a target running state, the state set by the mobile terminal and needing to save electric quantity is set by the mobile terminal, or the electric quantity of the mobile terminal is lower than a specified threshold value. For example, the mobile terminal is in a state when the power saving mode is turned on, and the mobile terminal is in a state when the power of the mobile terminal is lower than 30%. The second time length for the abnormal application program to enter the background is the time length from the last time when the mobile terminal runs in the background to the time when the mobile terminal exits the foreground of the mobile terminal. The mobile terminal can compare the second time length for the abnormal application program to enter the background with the set first threshold, and when the second time length for the abnormal application program to enter the background exceeds the first threshold, the mobile terminal can perform killing processing on the abnormal application program. The first threshold may be a value set by a user, or may be a value set by the mobile terminal, for example, 1 hour. The processing of killing the abnormal application program refers to closing the abnormal application program running in the background. Namely, when the mobile terminal needs to save electric quantity, if the abnormal application program is detected to run in the background and the time for the abnormal application program to run in the background is long, the abnormal application program can be searched and killed, and the power consumption of the mobile terminal is saved.
According to the method, the abnormal application program is subjected to searching and killing processing, so that the power consumption abnormity of the mobile terminal caused by the fact that the abnormal application program runs in the background of the mobile terminal and wastes the power consumption of the mobile terminal can be avoided, and the standby time of the mobile terminal is prolonged.
In one embodiment, the method further comprises:
and 120, monitoring the abnormal information of the abnormal application program, and reporting the abnormal information of the abnormal application program to the server.
And step 122, adjusting the time interval reported to the server according to the frequency of the monitored abnormal information.
After detecting the abnormal application program, the mobile terminal can monitor the operation of the abnormal application program and acquire abnormal information corresponding to the abnormal application program. The abnormality information includes: the time when the abnormal application is detected, the number of times the abnormal application is detected, and the like. The mobile terminal can write the detected abnormal information of the abnormal application program into a mobile terminal log and upload the mobile terminal log to a server. Optionally, the mobile terminal may upload the log to the server at a set time interval, or the mobile terminal may upload the log to the server according to a received user instruction. After receiving the log uploaded by the mobile terminal, the server can analyze and obtain the abnormal information of the abnormal application program in the log, and perform statistical analysis according to the obtained abnormal information to obtain an optimization strategy for the abnormal application program. The optimization strategy may include: and aligning and awakening the message in the abnormal application program identification, and the like. The server can return the optimization strategy to the mobile terminal, and the mobile terminal analyzes and acquires the information in the optimization strategy after receiving the optimization strategy and performs optimization processing on the mobile terminal according to the information in the optimization strategy. Optionally, during communication between the mobile terminal and the server, the transmitted data may be encrypted to improve data security.
Alternatively, the mobile terminal may count the accumulated number of times each abnormal application is detected and the frequency of detecting each abnormal application. The frequency is the number of times of detecting the abnormal application program in unit time, for example, the number of times of detecting the abnormal application program every 1 day. When the frequency of the abnormal application program is higher, the more times of detecting the abnormal application program by the mobile terminal is indicated, namely the more times of generating the abnormality of the mobile terminal is indicated. Optionally, the time interval for the mobile terminal to report the abnormal application program to the server is inversely proportional to the frequency of detecting the abnormal application program, and when the frequency of detecting the abnormal application program by the mobile terminal is higher, the time interval for the mobile terminal to report the abnormal application program to the server is shorter, that is, when the frequency of the abnormal application program occurring in the mobile terminal is higher, the time interval for the mobile terminal to report the abnormal application program to the server is shorter.
According to the method in the embodiment of the application, the mobile terminal uploads the abnormal information to the server, receives the optimization strategy returned by the server, and performs optimization processing on the application program according to the optimization strategy, namely the application program can be subjected to self-adjustment processing after the abnormality is detected, so that the phenomenon that the abnormal application program continuously wastes the power consumption of the mobile terminal is avoided, and the standby time of the mobile terminal is prolonged.
In one embodiment, an information processing method includes:
(1) and if the power consumption abnormity of the mobile terminal during the screen-off period is detected, acquiring a flow value consumed by the mobile terminal during the screen-off period.
(2) And detecting whether the power consumption abnormal type is downloaded by the application program according to the power consumption electric quantity, the standard electric quantity and the flow value of the mobile terminal during the screen-off period.
(3) And if the power consumption abnormal type is application program downloading, determining the abnormal application program according to the downloading flow of each application program.
In one embodiment, the method for detecting abnormal power consumption of the mobile terminal during screen-off comprises the following steps: if the mobile terminal is switched from the screen-off state to the screen-on state, the screen-off duration of the mobile terminal exceeds a first duration, and the power consumption electric quantity is greater than the standard electric quantity, determining that the power consumption of the mobile terminal is abnormal; or if the mobile terminal is switched from the screen-off state to the screen-on state and the screen-off duration of the mobile terminal exceeds the first duration, acquiring the standard electric power and the consumed electric power of the mobile terminal during the screen-off period, and if the consumed electric power is greater than the standard electric power, determining that the power consumption of the mobile terminal is abnormal.
In one embodiment, the detecting whether the power consumption abnormality type is the application program download according to the power consumption electric quantity, the standard electric quantity and the flow value of the mobile terminal during the screen-off period comprises the following steps: acquiring first electric quantity corresponding to the flow value; and detecting whether the power consumption abnormal type is downloaded by the application program according to the power consumption electric quantity, the standard electric quantity and the first electric quantity.
In one embodiment, the method further comprises: acquiring an application program identifier of an abnormal application program; searching a processing method corresponding to the application program identifier; and correspondingly processing the abnormal application program according to the processing method.
In one embodiment, the method further comprises: and if the mobile terminal is detected to be in the target running state and the abnormal application program runs in the background, performing resource limitation processing on the abnormal application program.
In one embodiment, the method further comprises: if the mobile terminal is detected to be in the target running state and the abnormal application program runs in the background, acquiring a second time length for the abnormal application program to enter the background; and if the second duration exceeds the first threshold, performing searching and killing processing on the abnormal application program.
In one embodiment, the method further comprises: monitoring abnormal information of the abnormal application program, and reporting the abnormal information of the abnormal application program to a server; and adjusting the time interval reported to the server according to the frequency of the monitored abnormal information.
It should be understood that, although the steps in the above-described flowcharts are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in the above-described flowcharts may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least a portion of the sub-steps or stages of other steps.
Fig. 6 is a block diagram showing the configuration of an information processing apparatus according to an embodiment. As shown in fig. 6, an information processing apparatus includes:
the obtaining module 602 is configured to obtain a flow value consumed by the mobile terminal during the screen-off period if it is detected that power consumption of the mobile terminal during the screen-off period is abnormal.
The detecting module 604 is configured to detect whether the power consumption abnormal type is an application program download according to the power consumption electric quantity, the standard electric quantity, and the flow value of the mobile terminal during the screen-off period.
The determining module 606 is configured to determine, if the power consumption abnormal type is application program downloading, an abnormal application program according to a downloading flow of the application program.
In one embodiment, the method for detecting abnormal power consumption of the mobile terminal during screen-off comprises the following steps: if the mobile terminal is switched from the screen-off state to the screen-on state and the screen-off duration of the mobile terminal exceeds a first duration, acquiring standard electric quantity and power consumption electric quantity of the mobile terminal during the screen-off period; if the power consumption electric quantity is larger than the standard electric quantity, determining that the power consumption of the mobile terminal is abnormal; or if the mobile terminal is switched from the screen-off state to the screen-on state and the screen-off duration of the mobile terminal exceeds the first duration, acquiring the standard electric power and the consumed electric power of the mobile terminal during the screen-off period, and if the consumed electric power is greater than the standard electric power, determining that the power consumption of the mobile terminal is abnormal.
In one embodiment, the detecting module 604 detects whether the power consumption abnormality type is an application program download according to the power consumption electric quantity, the standard electric quantity and the flow value of the mobile terminal during the screen-off period, and includes: acquiring first electric quantity corresponding to the flow value; and detecting whether the power consumption abnormal type is downloaded by the application program according to the power consumption electric quantity, the standard electric quantity and the first electric quantity.
Fig. 7 is a block diagram showing the structure of an information processing apparatus according to another embodiment. As shown in fig. 7, an information processing apparatus includes: an acquisition module 702, a detection module 704, a determination module 706, and a processing module 708. The acquiring module 702, the detecting module 704 and the determining module 706 have the same functions as the corresponding modules in fig. 6.
A processing module 708, configured to obtain an application identifier of the abnormal application; searching a processing method corresponding to the application program identifier; and correspondingly processing the abnormal application program according to the processing method.
In one embodiment, the processing module 708 is further configured to perform resource restriction processing on the abnormal application if it is detected that the mobile terminal is in the target running state and the abnormal application is running in the background.
In one embodiment, the processing module 708 is further configured to, if it is detected that the mobile terminal is in the target running state and the abnormal application runs in the background, obtain a second duration for the abnormal application to enter the background; and if the second duration exceeds the first threshold, performing searching and killing processing on the abnormal application program.
Fig. 8 is a block diagram showing the structure of an information processing apparatus according to another embodiment. As shown in fig. 8, an information processing apparatus includes: an obtaining module 802, a detecting module 804, a determining module 806, and a reporting module 808. The acquiring module 802, the detecting module 804, and the determining module 806 have the same functions as the corresponding modules in fig. 6.
A reporting module 808, configured to monitor exception information of the abnormal application program, and report the exception information of the abnormal application program to the server; and adjusting the time interval reported to the server according to the frequency of the monitored abnormal information.
The division of the modules in the information processing apparatus is only for illustration, and in other embodiments, the information processing apparatus may be divided into different modules as needed to complete all or part of the functions of the information processing apparatus.
For specific limitations of the information processing apparatus, reference may be made to the above limitations of the information processing method, which are not described herein again. Each module in the information processing apparatus described above may be entirely or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the mobile terminal, and can also be stored in a memory in the mobile terminal in a software form, so that the processor can call and execute operations corresponding to the modules.
The implementation of each module in the information processing apparatus provided in the embodiment of the present application may be in the form of a computer program. The computer program may be run on a terminal or a server. The program modules constituted by the computer program may be stored on the memory of the terminal or the server. Which when executed by a processor, performs the steps of the method described in the embodiments of the present application.
Fig. 9 is a schematic diagram of an internal structure of the mobile terminal in one embodiment. As shown in fig. 9, the mobile terminal includes a processor, a memory, and a network interface connected through a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole mobile terminal. The memory is used for storing data, programs and the like, and at least one computer program is stored on the memory and can be executed by the processor to realize the information processing method suitable for the mobile terminal provided by the embodiment of the application. The memory may include a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The computer program can be executed by a processor to implement an information processing method provided in each of the following embodiments. The internal memory provides a cached execution environment for the operating system computer programs in the non-volatile storage medium. The network interface may be an ethernet card or a wireless network card, and is used for communicating with an external mobile terminal. The mobile terminal can be a mobile phone, a tablet computer or a personal digital assistant or a wearable device and the like.
The embodiment of the application also provides a computer readable storage medium. One or more non-transitory computer-readable storage media containing computer-executable instructions that, when executed by one or more processors, cause the processors to perform the steps of the information processing methods of embodiments of the present application.
A computer program product containing instructions which, when run on a computer, cause the computer to perform the steps of the information processing method in the embodiments of the present application.
The embodiment of the application also provides the mobile terminal. As shown in fig. 10, for convenience of explanation, only the parts related to the embodiments of the present application are shown, and details of the technology are not disclosed, please refer to the method part of the embodiments of the present application. The mobile terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, a wearable device, and the like, taking the mobile terminal as the mobile phone as an example:
fig. 10 is a block diagram of a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present application. Referring to fig. 10, the cellular phone includes: radio Frequency (RF) circuit 1010, memory 1020, input unit 1030, display unit 1040, sensor 1050, audio circuit 1060, wireless fidelity (WiFi) module 1070, processor 1080, and power supply 10100. Those skilled in the art will appreciate that the handset configuration shown in fig. 10 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 1010 may be configured to receive and transmit signals during information transmission and reception or during a call, and may receive downlink information of a base station and then process the received downlink information to the processor 1080; the uplink data may also be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 1010 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM) System
communication, GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), etc.
The memory 1020 can be used for storing software programs and modules, and the processor 1080 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 1020. The memory 1020 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playing function, an application program for an image playing function, and the like), and the like; the data storage area may store data (such as audio data, an address book, etc.) created according to the use of the mobile phone, and the like. Further, the memory 1020 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1030 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone 1000. Specifically, the input unit 1030 may include a touch panel 1031 and other input devices 1032. The touch panel 1031, which may also be referred to as a touch screen, may collect touch operations by a user (e.g., operations by a user on or near the touch panel 1031 using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. In one embodiment, the touch panel 1031 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 1080, and can receive and execute commands sent by the processor 1080. In addition, the touch panel 1031 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 1030 may include other input devices 1032 in addition to the touch panel 1031. In particular, other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
The display unit 1040 may be used to display information input by a user or information provided to the user and various menus of the cellular phone. The display unit 1040 may include a display panel 1041. In one embodiment, a Liquid Crystal Display (LCD), an Organic light emitting diode (Organic) may be used
Light-Emitting Diode, OLED), etc. to configure the display panel 1041. In one embodiment, the touch panel 1031 can overlay the display panel 1041, and when the touch panel 1031 detects a touch operation on or near the touch panel 1031, the touch operation is transmitted to the processor 1080 to determine the type of the touch event, and then the processor 1080 provides a corresponding visual output on the display panel 1041 according to the type of the touch event. Although in fig. 10, the touch panel 1031 and the display panel 1041 are two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1031 and the display panel 1041 may be integrated to implement the input and output functions of the mobile phone.
The cell phone 1000 may also include at least one sensor 1050, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1041 and/or the backlight when the mobile phone moves to the ear. The motion sensor can comprise an acceleration sensor, the acceleration sensor can detect the magnitude of acceleration in each direction, the magnitude and the direction of gravity can be detected when the mobile phone is static, and the motion sensor can be used for identifying the application of the gesture of the mobile phone (such as horizontal and vertical screen switching), the vibration identification related functions (such as pedometer and knocking) and the like; the mobile phone may be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
Audio circuitry 1060, speaker 1061, and microphone 1062 may provide an audio interface between a user and a cell phone. The audio circuit 1060 can transmit the electrical signal converted from the received audio data to the speaker 1061, and the electrical signal is converted into a sound signal by the speaker 1061 and output; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1060 and converted into audio data, and the audio data is processed by the audio data output processor 1080 and then transmitted to another mobile phone through the RF circuit 1010, or the audio data is output to the memory 1020 for subsequent processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help the user to send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 1070, which provides wireless broadband internet access for the user. Although fig. 10 shows the WiFi module 1070, it is to be understood that it does not belong to the essential constitution of the handset 1000 and may be omitted as needed.
The processor 1080 is a control center of the mobile phone, connects various parts of the whole mobile phone by using various interfaces and lines, and executes various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1020 and calling data stored in the memory 1020, thereby integrally monitoring the mobile phone. In one embodiment, processor 1080 may include one or more processing units. In one embodiment, processor 1080 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, and the like; the modem processor handles primarily wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1080.
The handset 1000 also includes a power source 10100 (e.g., a battery) for providing power to various components, and preferably, the power source may be logically connected to the processor 1080 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In one embodiment, the cell phone 1000 may also include a camera, a bluetooth module, and the like.
In the embodiment of the present application, the processor 1080 included in the mobile terminal implements the steps of the information processing method in the embodiment of the present application when executing the computer program stored in the memory.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above examples only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (8)

1. An information processing method characterized by comprising:
if the power consumption abnormality of the mobile terminal during the screen-off period is detected, acquiring a flow value consumed by the mobile terminal during the screen-off period;
detecting whether the power consumption abnormal type is downloaded by an application program according to the power consumption electric quantity, the standard electric quantity and the flow value of the mobile terminal during the screen-off period; the power consumption electric quantity of the mobile terminal during the screen-off period refers to the total electric quantity consumed by the mobile terminal during the screen-off period, and the standard electric quantity represents the basic electric quantity consumed by the mobile terminal during the screen-off period;
if the power consumption abnormal type is application program downloading, determining an abnormal application program according to the downloading flow of each application program;
the step of detecting whether the power consumption abnormal type is application program downloading according to the power consumption electric quantity, the standard electric quantity and the flow value of the mobile terminal during the screen-off period comprises the step of acquiring a first electric quantity corresponding to the flow value; detecting whether the power consumption abnormal type is downloaded by an application program according to the power consumption electric quantity, the standard electric quantity and the first electric quantity;
the method for detecting abnormal power consumption of the mobile terminal during the screen-off period comprises the following steps:
if the mobile terminal is switched from the screen-off state to the screen-on state, the screen-off duration of the mobile terminal exceeds a first duration, and the power consumption electric quantity is greater than the standard electric quantity, determining that the power consumption of the mobile terminal is abnormal;
or, if the mobile terminal is switched from the screen-off state to the screen-on state and the screen-off duration of the mobile terminal exceeds a first duration, acquiring the standard electric power and the consumed electric power of the mobile terminal during the screen-off period, and if the consumed electric power is greater than the standard electric power, determining that the power consumption of the mobile terminal is abnormal.
2. The method of claim 1, further comprising:
acquiring an application program identifier of the abnormal application program;
searching a processing method corresponding to the application program identifier;
and correspondingly processing the abnormal application program according to the processing method.
3. The method according to any one of claims 1 to 2, further comprising:
and if the mobile terminal is detected to be in a target running state and the abnormal application program runs in the background, performing resource limitation processing on the abnormal application program.
4. The method according to any one of claims 1 to 2, further comprising:
if the mobile terminal is detected to be in a target running state and the abnormal application program runs in the background, acquiring a second time length for the abnormal application program to enter the background;
and if the second duration exceeds a first threshold value, performing searching and killing processing on the abnormal application program.
5. The method according to any one of claims 1 to 2, further comprising:
monitoring abnormal information of the abnormal application program, and reporting the abnormal information of the abnormal application program to a server;
and adjusting the time interval reported to the server according to the frequency of monitoring the abnormal information.
6. An information processing apparatus characterized by comprising:
the acquisition module is used for acquiring a flow value consumed by the mobile terminal during the screen-off period if the power consumption abnormity of the mobile terminal during the screen-off period is detected;
the detection module is used for detecting whether the power consumption abnormal type is downloaded by an application program according to the power consumption electric quantity, the standard electric quantity and the flow value of the mobile terminal during the screen-off period; the power consumption electric quantity of the mobile terminal during the screen-off period refers to the total electric quantity consumed by the mobile terminal during the screen-off period, and the standard electric quantity represents the basic electric quantity consumed by the mobile terminal during the screen-off period;
the determining module is used for determining an abnormal application program according to the downloading flow of the application program if the power consumption abnormal type is the application program downloading;
the detection module is further used for acquiring a first electric quantity corresponding to the flow value; detecting whether the power consumption abnormal type is downloaded by an application program according to the power consumption electric quantity, the standard electric quantity and the first electric quantity;
the method for detecting abnormal power consumption of the mobile terminal during the screen-off period comprises the following steps:
if the mobile terminal is switched from the screen-off state to the screen-on state, the screen-off duration of the mobile terminal exceeds a first duration, and the power consumption electric quantity is greater than the standard electric quantity, determining that the power consumption of the mobile terminal is abnormal;
or, if the mobile terminal is switched from the screen-off state to the screen-on state and the screen-off duration of the mobile terminal exceeds a first duration, acquiring the standard electric power and the consumed electric power of the mobile terminal during the screen-off period, and if the consumed electric power is greater than the standard electric power, determining that the power consumption of the mobile terminal is abnormal.
7. A mobile terminal comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 5.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201810276497.8A 2018-03-30 2018-03-30 Information processing method, device, mobile terminal and computer readable storage medium Active CN108616653B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810276497.8A CN108616653B (en) 2018-03-30 2018-03-30 Information processing method, device, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810276497.8A CN108616653B (en) 2018-03-30 2018-03-30 Information processing method, device, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108616653A CN108616653A (en) 2018-10-02
CN108616653B true CN108616653B (en) 2020-01-17

Family

ID=63659252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810276497.8A Active CN108616653B (en) 2018-03-30 2018-03-30 Information processing method, device, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108616653B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111176416A (en) * 2018-11-09 2020-05-19 中兴通讯股份有限公司 Application control method, device, terminal and computer readable storage medium
CN109901692A (en) * 2019-03-04 2019-06-18 上海卓易科技股份有限公司 Execution method, apparatus, terminal and the storage medium of target application
CN110070468A (en) * 2019-03-30 2019-07-30 程慧玲 A kind of cell phone software behavioral data extraction system
CN112346831A (en) * 2019-08-09 2021-02-09 华为技术有限公司 Method and device for managing abnormal application
CN112486715A (en) * 2019-09-12 2021-03-12 华为技术有限公司 Method and device for exception handling of vehicle-mounted system
CN113079558B (en) * 2020-01-03 2022-10-18 荣耀终端有限公司 Power consumption control method, chip system and terminal equipment
CN113778214A (en) * 2021-09-15 2021-12-10 广州点金石信息技术有限公司 Power saving optimization method and device, mobile terminal and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135561A (en) * 2013-07-08 2014-11-05 腾讯科技(深圳)有限公司 Method and device of reminding user of flow of terminal as well as 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

Family Cites Families (4)

* 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
CN107179978A (en) * 2017-06-12 2017-09-19 深圳市金立通信设备有限公司 A kind of method, terminal and computer-readable recording medium for sending daily record
CN107783633B (en) * 2017-09-12 2020-12-15 深圳市金立通信设备有限公司 Method for managing application program, terminal and computer readable storage medium
CN107800651B (en) * 2017-10-31 2021-03-02 Oppo广东移动通信有限公司 Application program closing method and device, storage medium and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135561A (en) * 2013-07-08 2014-11-05 腾讯科技(深圳)有限公司 Method and device of reminding user of flow of terminal as well as 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

Also Published As

Publication number Publication date
CN108616653A (en) 2018-10-02

Similar Documents

Publication Publication Date Title
CN108616653B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN108541013B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN108320744B (en) Voice processing method and device, electronic equipment and computer readable storage medium
CN109144232B (en) Process processing method and device, electronic equipment and computer readable storage medium
CN107272872B (en) Power saving control method and related product
CN112703714B (en) Application processing method and device, computer equipment and computer readable storage medium
CN109445917B (en) Application processing method and device, electronic equipment and computer readable storage medium
CN108471632B (en) Information processing method and device, mobile terminal and computer readable storage medium
CN110032266B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN108334345B (en) Application processing method and device, readable storage medium and mobile terminal
CN109992425B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN108668016B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN110018886B (en) Application state switching method and device, electronic equipment and readable storage medium
CN109992309B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN107832131B (en) Application program closing method and device, storage medium and electronic equipment
CN109992323B (en) Process processing method and device, electronic equipment and computer readable storage medium
US20150250015A1 (en) Method, system and computer-readable storage medium for reducing data transmission delay
CN108646909B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN112997507B (en) Audio system control method, device, terminal and computer readable storage medium
CN108566471B (en) Information processing method, device, mobile terminal and computer readable storage medium
CN109375995B (en) Application freezing method and device, storage medium and electronic equipment
CN109511139B (en) WIFI control method and device, mobile device and computer-readable storage medium
CN112913267B (en) Resource processing method, device, terminal, server and readable storage medium
CN109992395B (en) Application freezing method and device, terminal and computer readable storage medium
CN109195153B (en) Data processing method and device, electronic equipment 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant