CN112703714B - Application processing method and device, computer equipment and computer readable storage medium - Google Patents

Application processing method and device, computer equipment and computer readable storage medium Download PDF

Info

Publication number
CN112703714B
CN112703714B CN201880097679.7A CN201880097679A CN112703714B CN 112703714 B CN112703714 B CN 112703714B CN 201880097679 A CN201880097679 A CN 201880097679A CN 112703714 B CN112703714 B CN 112703714B
Authority
CN
China
Prior art keywords
information
application program
target application
target
processing
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
CN201880097679.7A
Other languages
Chinese (zh)
Other versions
CN112703714A (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
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN112703714A publication Critical patent/CN112703714A/en
Application granted granted Critical
Publication of CN112703714B publication Critical patent/CN112703714B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Abstract

An application processing method includes: when the communication message is detected, acquiring a target application identifier and target service information contained in the communication message, wherein the target application identifier is used for indicating a target application program for receiving the communication message, and the target service information is used for indicating a service (202) for generating the communication message; when the target application program is detected to be in a frozen state, acquiring a processing list (204); searching processing information corresponding to the target application identification and the target service information from the processing list (206); when the processing information is wake-up information, the target application program is subjected to wake-up processing (208).

Description

Application processing method and device, computer equipment and computer readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an application processing method, an apparatus, a computer device, and a storage medium.
Background
When the electronic device runs the application program, different application programs are established to realize different application operations. The application may be frozen and the frozen application may not be able to run. When a frozen application needs to communicate, a wake-up is required. But during the wake-up process, an abnormal situation of the application program often occurs.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an application processing method, apparatus, computer device, and storage medium capable of reducing power consumption of an electronic device.
An application processing method, the method comprising:
when a communication message is detected, acquiring a target application identifier and target service information contained in the communication message, wherein the target application identifier is used for marking a target application program for receiving the communication message, and the target service information is used for marking a service for generating the communication message;
when the target application program is detected to be in a frozen state, a processing list is acquired;
searching processing information corresponding to the target application identifier and the target service information from the processing list;
and when the processing information is wake-up information, carrying out wake-up processing on the target application program.
An application processing apparatus, the apparatus comprising:
the communication information acquisition module is used for acquiring a target application identifier and target service information contained in the communication information when the communication information is detected, wherein the target application identifier is used for marking a target application program for receiving the communication information, and the target service information is used for marking a service for generating the communication information;
The processing list acquisition module is used for acquiring a processing list when detecting that the target application program is in a frozen state;
the searching module is used for searching the processing information corresponding to the target application identifier and the target service information from the processing list;
and the wake-up module is used for carrying out wake-up processing on the target application program when the processing information is wake-up information.
A computer device comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of:
when a communication message is detected, acquiring a target application identifier and target service information contained in the communication message, wherein the target application identifier is used for marking a target application program for receiving the communication message, and the target service information is used for marking a service for generating the communication message;
when the target application program is detected to be in a frozen state, a processing list is acquired;
searching processing information corresponding to the target application identifier and the target service information from the processing list;
and when the processing information is wake-up information, carrying out wake-up processing on the target application program.
A computer readable storage medium having stored thereon a computer program, characterized in that the computer program when executed by a processor realizes the steps of:
when a communication message is detected, acquiring a target application identifier and target service information contained in the communication message, wherein the target application identifier is used for marking a target application program for receiving the communication message, and the target service information is used for marking a service for generating the communication message;
when the target application program is detected to be in a frozen state, a processing list is acquired;
searching processing information corresponding to the target application identifier and the target service information from the processing list;
and when the processing information is wake-up information, carrying out wake-up processing on the target application program.
The application processing method, the device, the computer equipment and the storage medium acquire the target application identifier and the target service information contained in the communication message when the communication message is detected, wherein the target application identifier is used for marking a target application program for receiving the communication message, and the target service information is used for marking a service for generating the communication message; when the target application program is detected to be in a frozen state, a processing list is acquired; searching processing information corresponding to the target application identifier and the target service information from the processing list; and when the processing information is wake-up information, carrying out wake-up processing on the target application program. In the mode of processing the application program, the communication message is detected, when the target application program corresponding to the communication message is in a frozen state, the processing list is acquired, the processing information in the processing list is searched, and when the processing information is awakening information, the target application program is awakened, so that the situation that the application program cannot receive the communication message and is abnormal after all the communication messages are intercepted is avoided, and the abnormality of the application program is reduced.
Drawings
FIG. 1 is a schematic diagram of an internal structure of an electronic device in one embodiment;
FIG. 2 is a flow chart of a method of application processing in one embodiment;
FIG. 3 is a flow chart of a method of application processing in one embodiment;
FIG. 4 is a schematic diagram of a client application in communication with a service application in one embodiment;
FIG. 5 is a flow chart of a method of application processing in yet another embodiment;
FIG. 6 is a flow chart of a method of application processing in yet another embodiment;
FIG. 7 is a schematic diagram of an application process flow in one embodiment;
FIG. 8 is a block diagram of an application device of one embodiment;
FIG. 9 is a block diagram of an application device of one embodiment;
fig. 10 is a block diagram of a part of a structure of a mobile phone related to an electronic device 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 will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
It will be understood that the terms "first," "second," and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client, without departing from the scope of the present application. Both the first client and the second client are clients, but they are not the same client.
As shown in fig. 1, a schematic internal structure of an electronic device is provided. The electronic device includes a processor, a memory, and a display screen connected by a system bus. Wherein the processor is configured to provide computing and control capabilities to support operation of the entire electronic device. The memory is used for storing data, programs, instruction codes and the like, and at least one computer program is stored on the memory and can be executed by the processor, so as to realize the application program processing method suitable for the electronic device. The Memory may include a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random-Access Memory (RAM). For example, in one embodiment, the memory includes 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 is executable by a processor for implementing an application processing method provided by various embodiments of the present application. The internal memory provides a cached operating environment for the operating system and computer programs in the non-volatile storage medium. The display screen may be a touch screen, such as a capacitive screen or an electronic screen, for displaying interface information of a foreground application program, and may also be used for detecting a touch operation acting on the display screen, generating a corresponding instruction, such as a switching instruction for performing a foreground application and a background application, and so on.
It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely a block diagram of a portion of the structure associated with the present application and is not limiting of the electronic device to which the present application is applied, and that a particular electronic device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components. The electronic device may further comprise a network interface connected via a system bus, which may be an ethernet card or a wireless network card, etc., for communicating with an external electronic device, such as a server.
FIG. 2 is a flow chart of a method of application processing in one embodiment. As shown in fig. 2, the application processing method includes steps 202 to 208. Wherein:
step 202, when the communication message is detected, a target application identifier and target service information are acquired, wherein the target application identifier is used for indicating a target application program for receiving the communication message, and the target service information is used for indicating a service for generating the communication message.
Application (APP) is software written for some Application purpose in an electronic device, and the electronic device can implement a service required by a user through the Application. For example, a user may play a game through a game-like application, may see video through a video-like application, may play music through a music-like application, and so on. The target application refers to an application that receives the communication message.
The target service information may include a descriptor and a response code. The descriptor is used for marking a server side for generating the communication message, and the response code is used for representing a function called when the communication message is generated. The communication message generated by which service, in particular which service side, can be determined by means of the descriptor and the response code.
Communication messages can be mutually sent between the server and the application program, and the communication messages sent by the server can carry target application identifiers and target service information. For example, the server side sends a communication message to the application program, the server side writes the application identifier and the service information of the application program into the communication message when the communication message is generated, and the electronic device can search the application program receiving the communication message according to the application identifier when detecting the communication message. When the application is awakened, the communication message may be processed according to the service information.
Step 204, when detecting that the target application program is in a frozen state, acquiring a processing list.
The application program in the frozen state does not occupy the processor resource to run, but still occupies the resources such as the memory and hardware of the electronic equipment. The application may be frozen and the application in the frozen state is not closed but is temporarily not running. The processing list stores the reference application identification, the reference service information and the corresponding processing information.
Specifically, the resource priority and limitation management module in the local framework layer of the electronic device can mark the state of the application program, and the state mark of the application program is read to know whether the application program is in a frozen state or not. When the application program is awakened, the resource priority and limit management module correspondingly changes the state mark of the application program, so that the control of the freezing state of the application program is realized through the corresponding state mark.
In the embodiment provided by the application, when the target application program is detected to be in the running state, the communication message is not intercepted, and the communication message reaches the target application program. The target application may process the communication message after receiving the communication message.
And step 206, searching processing information corresponding to the target application identification and the target service information from the processing list.
Wherein the processing information refers to information for processing the target application. For example, the processing information may be "wake up", and the target application is awakened according to the processing information "wake up".
Specifically, the processing list includes one or more reference application identifications and reference service information, which may correspond to the one or more reference application identifications. Each reference service information has corresponding processing information. The processing information of the same reference application identifier in different reference service information can be the same or different.
The electronic device may match the target application identifier and the target service information with the reference application identifier and the reference service information in the processing list, and then obtain processing information corresponding to the matched reference application identifier and reference service information, as processing information corresponding to the target application identifier and the target service information.
And step 208, when the processing information is wake-up information, performing wake-up processing on the target application program.
Specifically, after the processing information corresponding to the target application identifier and the target service information is found, the target application program is processed according to the processing information. When the processing information is wake-up information, the target application program is subjected to wake-up processing, and the communication information is sent to the awakened target application program. When the processing information is non-wake-up information, the communication information is intercepted, and the target application program is kept in a frozen state.
The application processing method, the device, the computer equipment and the storage medium acquire the target application identifier and the target service information contained in the communication message when the communication message is detected, wherein the target application identifier is used for marking a target application program for receiving the communication message, and the target service information is used for marking a service for generating the communication message; when the target application program is detected to be in a frozen state, a processing list is acquired; searching processing information corresponding to the target application identifier and the target service information from the processing list; and when the processing information is wake-up information, carrying out wake-up processing on the target application program. In the mode of processing the application program, the communication message is detected, when the target application program corresponding to the communication message is in a frozen state, the processing list is acquired, the processing information in the processing list is searched, and when the processing information is awakening information, the target application program is awakened, so that the situation that the application program cannot receive the communication message and is abnormal after all the communication messages are intercepted is avoided, and the abnormality of the application program is reduced.
In one embodiment, searching wake-up information corresponding to the target application identification and the target service information from the processing list includes: matching the target service information with the reference service information in the processing list to obtain at least one reference application identifier corresponding to the reference service information; and when the target application identifier is matched with the at least one reference application identifier, searching the matched application identifier matched with the target application identifier from the at least one reference application identifier, and acquiring wake-up information corresponding to the matched application identifier.
Wherein, the matching application identifier refers to a reference application identifier matched with the target application identifier.
Specifically, when the target application identifier corresponding to the target service information is not matched with at least one reference application identifier, the processing list does not contain the application identifier corresponding to the target service information and the target application identifier, that is, the processing list does not contain the matched application identifier, and the communication message is not intercepted. When the matching application identifier matched with the target application identifier is matched from the at least one reference application identifier, the wake-up information corresponding to the matching application identifier is searched.
In this embodiment, at least one reference application identifier corresponding to the target service information is searched in the processing list, then when the target application identifier is matched with the at least one reference application identifier, a matched application identifier is obtained, and then processing information corresponding to the matched application identifier is searched, so that application programs can be processed according to different processing information, all communication application programs are prevented from being awakened, and power consumption of the electronic device is reduced.
In one embodiment, as shown in fig. 3, when the processing information is wake-up information, performing wake-up processing on the target application program includes:
in step 302, when the processing information is wake-up information, the number of candidate applications in operation is obtained.
Wherein the candidate application refers to an application running in the electronic device.
Specifically, the running applications include a foreground running application and a background running application. The application program running in the foreground is the application program in use by the user, and the application program running in the background is the application program running in the background of the electronic equipment when the user is not in use. An application program in operation needs to occupy part of resources, such as processor resources, memory and the like.
And step 304, when the number of the running candidate application programs is greater than the number threshold value, acquiring the running information of each candidate application program.
Specifically, when the number of candidate application programs in operation is too large, the power consumption of the electronic device is too large, and then the target application program is awakened, so that the power consumption of the electronic device is further increased. And when the number of the running candidate application programs is smaller than the number threshold value, performing wake-up processing on the target application program. And when the number of the running candidate application programs is greater than the number threshold value, acquiring the running information of each candidate application program. The number threshold may be preset by the user or may be set in other manners, which are not limited herein.
And step 306, acquiring the frozen application program from the candidate application programs according to the running information.
Wherein, the operation information refers to the related information of the application program in the operation process. Freezing an application refers to an application that meets a freezing condition among candidate applications. For example, a freezing parameter threshold may be set, and when the freezing parameter obtained from the running information of the application program is greater than the parameter threshold, that is, the freezing condition is satisfied, the application program that satisfies the freezing condition is regarded as the frozen application program.
Step 308, freeze the frozen application and wake the target application.
Because the awakened target application program occupies the resources of the electronic equipment in the running process, when the excessive occupation of the resources in the electronic equipment is detected, the one-step resources can be released first and then the target application program is awakened, so that the target application program is ensured to have enough resources to run. Specifically, after the frozen application program is obtained from the candidate application programs according to the running information, the frozen application program is frozen, a part of resources are released, and then the target application program is awakened.
In this embodiment, when the number of candidate application programs in operation is greater than the number threshold, operation information of each candidate application program is obtained, and the frozen application program is frozen according to the operation information, so that the wake-up time of the target application program is improved, and the power consumption of the electronic device is reduced.
In one embodiment, the running information may include an application level and a background running time length, and selecting the frozen application program from the running application programs according to the running information includes: and acquiring freezing parameters of each candidate application program according to the application grade and the background operation time length, and taking the candidate application program with the freezing parameters larger than the parameter threshold as the freezing application program.
The application level refers to the priority level of the application program, and the importance of the application program to the user is set. The background running time refers to the time of running the application program in the background, that is, the time of not using the application program by the user in the running state of the application program. The freeze parameter refers to a parameter for indicating that an application program is frozen. The parameter threshold may be set by the user or may be set by other means, not limited herein.
It will be appreciated that the higher the level, the more important the application is to the user and the lower the freeze parameters. The longer the background run time, the longer the user is not using the application, and the higher the freeze parameters.
In one embodiment, the freeze parameters may be weighted by the application level of the run information and the background run time length. The weighted calculation formula may be set by the user, or may be set by other means, which is not limited herein.
For example, the application level of the application program a is one level, and the background running time is 3 hours. The application level of the application program B is three-level, and the background operation time is 4 hours. The weight corresponding to the first level of the application level is 0.5, and the weight corresponding to the third level of the application level is 0.2. The background operation time is 1 hour, and the corresponding weight is 0.1. Every 1 hour of the background operation time length is increased, the corresponding weight value is increased by 0.1. The weighted calculation formula is: freezing parameter = 100 apply class weight +100 background run length weight. Wherein 100 is the basic parameters of the application level and the background operation time length respectively. Then the freeze parameters for the a application = 100 x 0.5+100 x 0.3 = 80 and the b application = 100 x 0.2+100 x 0.4 = 60 are calculated. Assuming that the parameter threshold is 60, then the freeze parameter 60 of the B application is equal to the parameter threshold, the B application is not the frozen application, the freeze parameter 80 of the a application is greater than the parameter threshold 60, and the a application is the frozen application.
In this embodiment, the freezing parameters of each candidate application program are calculated according to the application level of the running information and the background running time, and when the freezing parameters are greater than the parameter threshold, the candidate application program is frozen as a frozen application program, so that some candidate application programs which are not important or are not used for a long time can be more accurately frozen.
FIG. 4 is a schematic diagram of a server in communication with a third party application in one embodiment. As shown in fig. 4, when the server 402 sends a communication message to the third party application 408, the communication message is first sent to the Linux kernel 404, and after the Linux kernel 404 receives the communication message, the Linux kernel obtains the target application identifier and the target service information contained in the communication message, and then searches the third party application 408 according to the target application identifier. If the Linux kernel 404 detects that the third party application 408 is in a frozen state, a processing list is stored in the Native layer 406. And searching processing information corresponding to the target application identification and the target service information from the processing list, and when the processing information is wake-up information, performing wake-up processing on the third-party application program 408.
In one embodiment, the target application may receive and process the communication message after the target application wakes up. As shown in fig. 5, when the processing information is wake-up information, after the target application program is woken up, the method may further include:
step 502, obtaining a total occupancy rate of resources of the electronic device.
The resource refers to a software or hardware resource that must be used by the electronic device when processing an application event, such as a CPU (Central Processing Unit ), a Memory (Memory), hardware, a network resource, an IO (Input-Output), and the like of the electronic device. The resource occupancy rate refers to the ratio of occupied resources of the electronic device, generally refers to the ratio of occupied resources to all resources, and can be expressed in the form of percentage. For example, the total memory of the device has 128GB and the occupied memory has 56GB, so the resource occupancy rate of the device can be expressed as the memory occupancy rate, and the obtained memory occupancy rate is 43.75%.
Step 504, when the total occupancy rate of the resources exceeds a first occupancy rate threshold, controlling the awakened target application program to enter a resource limiting state; the resource occupancy rate of the application program in the resource limiting state to the electronic equipment is smaller than a second occupancy rate threshold value when the application program runs, and the first occupancy rate threshold value is larger than the second occupancy rate threshold value.
It is understood that the resource limitation state refers to a state in which resources of the electronic device used by the application program at the time of execution are limited. When the total occupancy rate of the resources exceeds the first occupancy rate threshold, the remaining resources of the electronic equipment are considered to be relatively small, the target application program can influence the normal operation of the electronic equipment, and then the awakened target application program can be controlled to enter a resource limiting state. When the target application program is in the resource limiting state, the resource occupancy rate in the running process cannot exceed the second occupancy rate threshold, so that the use of the electronic equipment resource by the target application program can be controlled, and the resource of the electronic equipment is saved. For example, the CPU occupancy of the target application at run-time is limited to not more than 10%.
Specifically, the occupation condition of the resources can be controlled according to the application level of the target application program, the corresponding relation between the application level of the target application program and the resource limitation level is pre-established, and then the resource limitation level entering the resource limitation state is controlled according to the application level of the target application program. The resource restriction level refers to the degree to which resources used by an application are restricted. Acquiring an application level corresponding to a target application program, and acquiring a corresponding resource restriction level according to the application level; and controlling the awakened target application program to enter a resource limitation state corresponding to the resource limitation level.
In other embodiments provided in the present application, a correspondence between the total occupancy rate of resources and the resource limitation level may also be established. When the total occupancy rate of the resources exceeds a first occupancy rate threshold, acquiring a resource restriction level according to the total occupancy rate of the resources, and then controlling the awakened target application program to enter a resource restriction state corresponding to the resource restriction level. For example, if the first occupancy rate threshold is 50%, when the total occupancy rate of the resources exceeds 50%, the total occupancy rate of the resources is divided into three occupancy levels, such as 50% -60%, 60% -80%, 80% -100%, and then three levels, such as a light resource limitation level, a common resource limitation level, and a deep resource limitation level, are respectively corresponding to each other, and the corresponding resource limitation level can be obtained according to the total occupancy rate of the resources. It will be appreciated that the resource limitation level may also be obtained by combining the total occupancy of resources with the application level of the target application, which is not limited herein.
In one embodiment, as shown in fig. 6, when the processing information is wake-up information, after the target application program performs wake-up processing, the method may further include:
step 602, starting timing from the point at which the target application is awakened.
When the target application is awakened, the electronic device starts a timer and then starts counting by the timer. If there are multiple target applications that are awakened at the same time, a corresponding timer may be defined for each target application, and each target application may be clocked by the corresponding timer. Specifically, a correspondence between the application identifier of the target application program and the timing identifier of the timer may be established, so that after the target application program is awakened, the timer may be searched and started to start timing by the timing identifier corresponding to the application identifier.
Taking an Android system as an example, a timer can be predefined by the system, when the target application program is detected to be awakened, the timer corresponding to the application identifier can be searched according to a pre-established corresponding relation, the timer is cleared through a timer. It is to be understood that, in the present application, the application processing method is described by taking an Android operating system as an example, but the application processing method is not limited to be implemented in an Android system, and may be applied to an operating system such as IOS (IPhone Operating System), saint, windows, MAC OS (Macintosh Operating System), and the like.
In step 604, the target application is frozen when the timed duration exceeds the duration threshold.
Specifically, the time of the wake-up of the target application starts to be counted, and the counted time length represents the time length from the wake-up time of the target application to the current time. The duration threshold may be predefined and the target application program is re-frozen when the timed duration exceeds the duration threshold. The duration threshold is typically set to a relatively small threshold, so as to avoid that the target application is always in a running state and occupies the resources of the electronic device. It will be appreciated that different target applications may use the same duration threshold, or different duration thresholds, without limitation.
In one embodiment, the duration threshold may be set according to the frequency with which the communication messages are received by the target application. Specifically, the receiving frequency of the communication message received by the awakened target application program is obtained, and the corresponding duration threshold value is obtained according to the receiving frequency. For example, when the receiving frequency is low, the duration threshold is set to a small value, so that the target application program can be automatically frozen when the target application program is idle, and the resource consumption of the electronic equipment is avoided.
FIG. 7 is a schematic diagram of an application process flow in one embodiment. As shown in fig. 7, when a communication message sent to a target application in a frozen state is detected, a process list is acquired. And searching the processing information from the processing list through the target application identification and the target service information contained in the communication message. When the processing information is wake-up information, the target application program is subjected to wake-up processing, and the wake-up application program is controlled to enter a resource limiting state. And freezing the target application program when the wake-up time exceeds the time threshold. When the target application program is in a frozen state, the target application program does not run, and the resource occupancy rate corresponding to the target application program does not change. In the awake state and in the resource restricted state, the target application may be running, but only occupies a portion of the device's resources during operation.
According to the application processing method provided by the embodiment, when the communication message is detected, whether the corresponding target application is in a frozen state is detected according to the target application identifier in the communication message. And when the target application program is in a frozen state, acquiring a processing list. When the application identifier corresponding to the target application identifier does not exist in the processing list, the communication message is not intercepted. When the application identifier corresponding to the target application identifier exists in the processing list, the processing information is searched from the processing list through the target application identifier and the target service information contained in the communication message. And processing the target application program according to the processing information. And when the processing information is wake-up information, freezing the frozen application program according to the running information of the candidate application program, and waking up the target application program. Therefore, the application programs can be filtered through the processing list, and the candidate application programs in running are controlled at the same time, so that the situation that too many application programs occupy too many resources of the electronic equipment is prevented, and the power consumption of the electronic equipment is reduced.
It should be understood that, although the steps in the flowcharts of fig. 2, 3, 5, and 6 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps of fig. 2, 3, 5, 6 may comprise a plurality of sub-steps or phases, which are not necessarily performed at the same time, but may be performed at different times, nor does the order of execution of the sub-steps or phases necessarily follow one another, but may be performed alternately or alternately with at least some of the other steps or sub-steps of other steps.
In one embodiment, as shown in fig. 8, there is provided an application processing apparatus including: a communication information acquisition module 802, a processing list acquisition module 804, a lookup module 806, and a wake-up module 808, wherein:
the communication information obtaining module 802 is configured to obtain, when a communication message is detected, a target application identifier and target service information included in the communication message, where the target application identifier is used to indicate a target application program that receives the communication message, and the target service information is used to indicate a service that generates the communication message.
The processing list obtaining module 804 is configured to obtain a processing list when detecting that the target application is in a frozen state.
A searching module 806, configured to search the processing list for processing information corresponding to the target application identifier and the target service information.
And the wake-up module 808 is configured to wake-up the target application program when the processing information is wake-up information.
The application processing method, the device, the computer equipment and the storage medium acquire the target application identifier and the target service information contained in the communication message when the communication message is detected, wherein the target application identifier is used for marking a target application program for receiving the communication message, and the target service information is used for marking a service for generating the communication message; when the target application program is detected to be in a frozen state, a processing list is acquired; searching processing information corresponding to the target application identifier and the target service information from the processing list; and when the processing information is wake-up information, carrying out wake-up processing on the target application program. In the mode of processing the application program, the communication message is detected, when the target application program corresponding to the communication message is in a frozen state, the processing list is acquired, the processing information in the processing list is searched, and when the processing information is awakening information, the target application program is awakened, so that the situation that the application program cannot receive the communication message and is abnormal after all the communication messages are intercepted is avoided, and the abnormality of the application program is reduced.
In one embodiment, as shown in fig. 9, there is provided an application processing apparatus including: a communication information acquisition module 902, a processing list acquisition module 904, a lookup module 906, a wake module 908, a resource restriction module 910, and a freeze module 912, wherein:
the communication information obtaining module 902 is configured to obtain, when a communication message is detected, a target application identifier and target service information included in the communication message, where the target application identifier is used to indicate a target application program that receives the communication message, and the target service information is used to indicate a service that generates the communication message.
A processing list acquisition module 904, configured to acquire a processing list when detecting that the target application is in a frozen state.
A searching module 906, configured to search the processing list for processing information corresponding to the target application identifier and the target service information.
And a wake-up module 908, configured to wake up the target application program when the processing information is wake-up information.
A resource limitation module 910, configured to obtain a total resource occupancy rate of the electronic device; when the total occupancy rate of the resources exceeds a first occupancy rate threshold value, controlling the awakened target application program to enter a resource limiting state; the resource occupancy rate of the application program in the resource limiting state to the electronic equipment is smaller than a second occupancy rate threshold value when the application program runs, and the first occupancy rate threshold value is larger than the second occupancy rate threshold value.
A freeze module 912 for starting timing from the time the target application is awakened; and freezing the target application program when the timing duration exceeds the duration threshold.
The application processing method, the device, the computer equipment and the storage medium detect the communication message, acquire the processing list when the target application corresponding to the communication message is in a frozen state, search the processing information in the processing list, and wake up the target application when the processing information is wake-up information. After the target application program is waken up, the total occupancy rate of the resources of the electronic equipment is obtained, and the waken target application program is controlled to enter a resource limiting state according to the total occupancy rate of the resources. After the target application program is awakened, when the timing time length after the target application program is awakened exceeds the time length threshold value, the target application program is frozen, so that all the communication application programs are prevented from being awakened, and the power consumption of the electronic equipment is reduced.
In one embodiment, the searching module 906 is further configured to match the target service information with reference service information in the processing list, so as to obtain at least one reference application identifier corresponding to the reference service information; and when the target application identifier is matched with the at least one reference application identifier, searching the matched application identifier matched with the target application identifier from the at least one reference application identifier, and acquiring wake-up information corresponding to the matched application identifier.
In one embodiment, the wake module 908 is further configured to obtain the number of candidate applications in operation when the processing information is wake information; when the number of the running candidate application programs is larger than a number threshold value, acquiring running information of each candidate application program; acquiring a frozen application program from the candidate application programs according to the running information; freezing the frozen application and waking up the target application.
In one embodiment, the wake module 908 is further configured to obtain a freeze parameter of each candidate application according to the application level and the background running duration, and use the candidate application with the freeze parameter greater than the parameter threshold as the frozen application.
In one embodiment, the freezing module 912 is further configured to obtain a receiving frequency of the communication message received by the awakened target application program, and obtain a corresponding duration threshold according to the receiving frequency.
The above-described division of the respective modules in the application processing apparatus is merely for illustration, and in other embodiments, the application processing apparatus may be divided into different modules as needed to complete all or part of the functions of the application processing apparatus.
For specific limitations of the application processing apparatus, reference may be made to the above limitation of the application processing method, and no further description is given here. The various modules in the application processing apparatus described above may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
The implementation of each module in the application processing apparatus provided in the embodiments of the present application may be in the form of a computer program. The computer program may run on a terminal or a server. Program modules of the computer program may be stored in the memory of the terminal or server. Which when executed by a processor, performs the steps of the methods described in the embodiments of the present application.
The embodiment of the application also provides electronic equipment. As shown in fig. 10, for convenience of explanation, only the portions related to the embodiments of the present application are shown, and specific technical details are not disclosed, please refer to the method portions of the embodiments of the present application. The electronic device 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 electronic device as an example of the mobile phone:
fig. 10 is a block diagram of a part of a structure of a mobile phone related to an electronic device according to an embodiment of the present application. Referring to fig. 10, the mobile phone includes: radio Frequency (RF) circuitry 1010, memory 1020, input unit 1030, display unit 1040, sensor 1050, audio circuitry 1060, wireless fidelity (wireless fidelity, wiFi) module 1070, processor 1080, and power source 1090. It will be appreciated by those skilled in the art that the handset construction shown in fig. 10 is not limiting of the handset and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The RF circuit 1010 may be used to receive and transmit information or receive and transmit signals during a call, and may receive downlink information of a base station and process the downlink information for the processor 1080; the uplink data may be transmitted to the base station. Typically, RF circuitry includes, but is not limited to, antennas, at least one amplifier, transceivers, couplers, low noise amplifiers (Low Noise Amplifier, LNAs), diplexers, and the like. In addition, the RF circuitry 1010 may also communicate with networks and other devices via wireless communications. The wireless communications may use any communication standard or protocol 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), code division multiple access (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), and the like.
The memory 1020 may be used to store software programs and modules that the processor 1080 performs various functional applications and data processing of the handset by executing 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, application programs required for at least one function (such as an application program of a sound playing function, an application program of an image playing function, etc.), and the like; the data storage area may store data (such as audio data, address book, etc.) created according to the use of the cellular phone, etc. In addition, 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 memory 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 handset 1000. In particular, 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 thereon or thereabout by a user (e.g., operations of the user on the touch panel 1031 or thereabout using any suitable object or accessory such as a finger, stylus, etc.), and drive the corresponding connection device according to a predetermined program. In one embodiment, touch panel 1031 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection device and converts it into touch point coordinates, which are then sent to the processor 1080 and can receive commands from the processor 1080 and execute them. Further, the touch panel 1031 may be implemented in various types such as resistive, capacitive, infrared, and 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 (e.g., 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 mobile phone. The display unit 1040 may include a display panel 1041. In one embodiment, the display panel 1041 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, touch panel 1031 may overlay display panel 1041, and when touch panel 1031 detects a touch operation thereon or thereabout, it is communicated to processor 1080 to determine the type of touch event, and processor 1080 then provides a corresponding visual output on display panel 1041 based on the type of touch event. Although in fig. 10, the touch panel 1031 and the display panel 1041 are two independent 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 handset 1000 may also include at least one sensor 1050, such as a light sensor, a 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 acceleration in all directions, the gravity and the direction can be detected when the motion sensor is static, and the motion sensor can be used for identifying the application of the gesture of a mobile phone (such as switching of a transverse screen and a vertical screen), vibration identification related functions (such as a pedometer and knocking) and the like; in addition, the mobile phone can be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor and the like.
Audio circuitry 1060, speaker 1061, and microphone 1062 may provide an audio interface between a user and a cell phone. Audio circuit 1060 may transmit the received electrical signal after audio data conversion to speaker 1061 for conversion by speaker 1061 into an audio signal output; on the other hand, microphone 1062 converts the collected sound signals into electrical signals, which are received by audio circuit 1060 and converted into audio data, which are processed by audio data output processor 1080 and transmitted to another cell phone via RF circuit 1010 or output to memory 1020 for subsequent processing.
WiFi belongs to a short-distance wireless transmission technology, and a mobile phone can help a user to send and receive emails, browse webpages, access streaming media and the like through a WiFi module 1070, so that wireless broadband Internet access is provided for the user. Although fig. 10 shows a WiFi module 1070, it is understood that it is not a necessary component of the handset 1000 and may be omitted as desired.
Processor 1080 is the control center of the handset, connects the various parts of the entire handset using various interfaces and lines, and performs various functions and processes of the handset by running or executing software programs and/or modules stored in memory 1020, and invoking data stored in memory 1020, thereby performing overall monitoring of the handset. 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 processes operating systems, user interfaces, application programs, and the like; the modem processor primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1080.
The handset 1000 further includes a power source 1090 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 1080 by a power management system for performing functions such as managing charge, discharge, and power consumption by the power management system.
In one embodiment, the handset 1000 may also include a camera, bluetooth module, etc.
In the present embodiment, the processor 1080 included in the electronic device implements the steps of the application processing method when executing a computer program stored on a memory.
Embodiments of the present application also provide 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 an application processing method.
A computer program product comprising instructions which, when run on a computer, cause the computer to perform an application processing method.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. The nonvolatile 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 DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (28)

1. An application processing method, the method comprising:
when a communication message is detected, acquiring a target application identifier and target service information contained in the communication message, wherein the target application identifier is used for marking a target application program for receiving the communication message, and the target service information is used for marking a service for generating the communication message;
when the target application program is detected to be in a frozen state, a processing list is acquired;
searching processing information corresponding to the target application identifier and the target service information from the processing list;
and when the processing information is wake-up information, carrying out wake-up processing on the target application program, and controlling the awakened target application program to enter a resource limiting state.
2. The method of claim 1, wherein the searching for process information corresponding to the target application identification and target service information from the process list comprises:
matching the target service information with the reference service information in the processing list to obtain at least one reference application identifier corresponding to the reference service information;
and when the target application identifier is matched with the at least one reference application identifier, searching a matched application identifier matched with the target application identifier from the at least one reference application identifier, and acquiring processing information corresponding to the matched application identifier.
3. The method according to claim 1, wherein when the processing information is wake-up information, performing wake-up processing on the target application program includes:
when the processing information is wake-up information, acquiring the number of candidate application programs in operation;
when the number of the running candidate application programs is larger than a number threshold value, acquiring running information of each candidate application program;
acquiring a frozen application program from the candidate application programs according to the running information;
Freezing the frozen application and waking up the target application.
4. The method of claim 3, wherein the running information includes an application level and a background running time period, and the obtaining the frozen application program from the candidate application program according to the running information includes:
and acquiring freezing parameters of each candidate application program according to the application grade and the background operation time, and taking the candidate application program with the freezing parameters larger than a parameter threshold as a freezing application program.
5. The method according to claim 1, wherein when the processing information is wake-up information, after performing wake-up processing on the target application program, further comprising:
acquiring the total occupancy rate of resources of the electronic equipment;
when the total occupancy rate of the resources exceeds a first occupancy rate threshold, controlling the awakened target application program to enter a resource limiting state;
the resource occupancy rate of the application program in the resource limitation state to the electronic equipment is smaller than a second occupancy rate threshold value when the application program runs, and the first occupancy rate threshold value is larger than the second occupancy rate threshold value.
6. The method according to any one of claims 1 to 5, wherein when the processing information is wake-up information, after performing wake-up processing on the target application program, further comprising:
Starting timing from the time when the target application program is awakened;
and freezing the target application program when the timing duration exceeds a duration threshold.
7. The method of claim 6, wherein the step of freezing the target application when the time duration exceeds a duration threshold further comprises:
and acquiring the receiving frequency of the communication message received by the awakened target application program, and acquiring a corresponding duration threshold according to the receiving frequency.
8. An application processing apparatus, the apparatus comprising:
the communication information acquisition module is used for acquiring a target application identifier and target service information contained in the communication information when the communication information is detected, wherein the target application identifier is used for marking a target application program for receiving the communication information, and the target service information is used for marking a service for generating the communication information;
the processing list acquisition module is used for acquiring a processing list when detecting that the target application program is in a frozen state;
the searching module is used for searching the processing information corresponding to the target application identifier and the target service information from the processing list;
and the awakening module is used for carrying out awakening processing on the target application program when the processing information is awakening information and controlling the awakened target application program to enter a resource limiting state.
9. The apparatus of claim 8, wherein the lookup module is further configured to match the target service information with reference service information in the processing list to obtain at least one reference application identifier corresponding to the reference service information; and when the target application identifier is matched with the at least one reference application identifier, searching a matched application identifier matched with the target application identifier from the at least one reference application identifier, and acquiring processing information corresponding to the matched application identifier.
10. The apparatus of claim 8, wherein the wake module is further configured to obtain a number of candidate applications in operation when the processing information is wake information; when the number of the running candidate application programs is larger than a number threshold value, acquiring running information of each candidate application program; acquiring a frozen application program from the candidate application programs according to the running information; freezing the frozen application and waking up the target application.
11. The apparatus of claim 10, wherein the operation information includes an application level and a background operation duration, and wherein the wake module is further configured to obtain a freeze parameter for each candidate application according to the application level and the background operation duration, and use the candidate application with the freeze parameter greater than a parameter threshold as the frozen application.
12. The apparatus of claim 8, wherein the application processing apparatus further comprises:
the resource limiting module is used for acquiring the total occupancy rate of the resources of the electronic equipment; when the total occupancy rate of the resources exceeds a first occupancy rate threshold, controlling the awakened target application program to enter a resource limiting state; the resource occupancy rate of the application program in the resource limitation state to the electronic equipment is smaller than a second occupancy rate threshold value when the application program runs, and the first occupancy rate threshold value is larger than the second occupancy rate threshold value.
13. The apparatus according to any one of claims 8 to 12, further comprising:
the freezing module is used for starting timing from the awakening moment of the target application program; and freezing the target application program when the timing duration exceeds a duration threshold.
14. The apparatus of claim 13, wherein the freezing module is further configured to obtain a receiving frequency at which the awakened target application program receives the communication message, and obtain the corresponding duration threshold according to the receiving frequency.
15. An electronic device comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of:
When a communication message is detected, acquiring a target application identifier and target service information contained in the communication message, wherein the target application identifier is used for marking a target application program for receiving the communication message, and the target service information is used for marking a service for generating the communication message;
when the target application program is detected to be in a frozen state, a processing list is acquired;
searching processing information corresponding to the target application identifier and the target service information from the processing list;
and when the processing information is wake-up information, carrying out wake-up processing on the target application program, and controlling the awakened target application program to enter a resource limiting state.
16. The electronic device of claim 15, wherein the computer program, when executed by the processor, performs the step of looking up processing information corresponding to the target application identification and target service information from the processing list, further performs the step of:
matching the target service information with the reference service information in the processing list to obtain at least one reference application identifier corresponding to the reference service information;
And when the target application identifier is matched with the at least one reference application identifier, searching a matched application identifier matched with the target application identifier from the at least one reference application identifier, and acquiring processing information corresponding to the matched application identifier.
17. The electronic device according to claim 15, wherein the computer program is executed by the processor to perform the step of performing wake-up processing on the target application program when the processing information is wake-up information, further comprising:
when the processing information is wake-up information, acquiring the number of candidate application programs in operation;
when the number of the running candidate application programs is larger than a number threshold value, acquiring running information of each candidate application program;
acquiring a frozen application program from the candidate application programs according to the running information;
freezing the frozen application and waking up the target application.
18. The electronic device of claim 17, wherein the operation information includes an application level and a background operation time period, and wherein the computer program further performs the steps of, when executed by the processor, obtaining a frozen application from the candidate application according to the operation information:
And acquiring freezing parameters of each candidate application program according to the application grade and the background operation time, and taking the candidate application program with the freezing parameters larger than a parameter threshold as a freezing application program.
19. The electronic device according to claim 15, wherein after the step of performing wake-up processing on the target application program when the processing information is wake-up information, the computer program further performs the steps of:
acquiring the total occupancy rate of resources of the electronic equipment;
when the total occupancy rate of the resources exceeds a first occupancy rate threshold, controlling the awakened target application program to enter a resource limiting state;
the resource occupancy rate of the application program in the resource limitation state to the electronic equipment is smaller than a second occupancy rate threshold value when the application program runs, and the first occupancy rate threshold value is larger than the second occupancy rate threshold value.
20. The electronic device according to any one of claims 15 to 19, wherein after the step of performing wake-up processing on the target application program when the processing information is wake-up information, the computer program further performs the step of:
Starting timing from the time when the target application program is awakened;
and freezing the target application program when the timing duration exceeds a duration threshold.
21. The electronic device of claim 20, wherein the computer program further performs the following steps, prior to the step of freezing the target application program when the timed duration exceeds a duration threshold, performed by the processor:
and acquiring the receiving frequency of the communication message received by the awakened target application program, and acquiring a corresponding duration threshold according to the receiving frequency.
22. A computer readable storage medium having stored thereon a computer program, characterized in that the computer program when executed by a processor realizes the steps of:
when a communication message is detected, acquiring a target application identifier and target service information contained in the communication message, wherein the target application identifier is used for marking a target application program for receiving the communication message, and the target service information is used for marking a service for generating the communication message;
when the target application program is detected to be in a frozen state, a processing list is acquired;
searching processing information corresponding to the target application identifier and the target service information from the processing list;
And when the processing information is wake-up information, carrying out wake-up processing on the target application program, and controlling the awakened target application program to enter a resource limiting state.
23. The computer-readable storage medium according to claim 22, wherein the computer program, when executed by the processor, further performs the step of looking up processing information corresponding to the target application identification and target service information from the processing list, of:
matching the target service information with the reference service information in the processing list to obtain at least one reference application identifier corresponding to the reference service information;
and when the target application identifier is matched with the at least one reference application identifier, searching a matched application identifier matched with the target application identifier from the at least one reference application identifier, and acquiring processing information corresponding to the matched application identifier.
24. The computer-readable storage medium according to claim 22, wherein the computer program, when executed by the processor, performs the step of performing wake-up processing on the target application when the processing information is wake-up information, further performs the steps of:
When the processing information is wake-up information, acquiring the number of candidate application programs in operation;
when the number of the running candidate application programs is larger than a number threshold value, acquiring running information of each candidate application program;
acquiring a frozen application program from the candidate application programs according to the running information;
freezing the frozen application and waking up the target application.
25. The computer readable storage medium of claim 24, wherein the run information includes an application level and a background run time period, and wherein the computer program, when executed by the processor, further performs the step of obtaining frozen applications from the candidate applications based on the run information, of:
and acquiring freezing parameters of each candidate application program according to the application grade and the background operation time, and taking the candidate application program with the freezing parameters larger than a parameter threshold as a freezing application program.
26. The computer-readable storage medium according to claim 22, wherein after the computer program is executed by the processor to perform the step of performing wake-up processing on the target application program when the processing information is wake-up information, the steps of:
Acquiring the total occupancy rate of resources of the electronic equipment;
when the total occupancy rate of the resources exceeds a first occupancy rate threshold, controlling the awakened target application program to enter a resource limiting state;
the resource occupancy rate of the application program in the resource limitation state to the electronic equipment is smaller than a second occupancy rate threshold value when the application program runs, and the first occupancy rate threshold value is larger than the second occupancy rate threshold value.
27. The computer-readable storage medium according to any one of claims 22 to 26, wherein after the step of performing wake-up processing on the target application program when the processing information is wake-up information, the computer program further performs the steps of:
starting timing from the time when the target application program is awakened;
and freezing the target application program when the timing duration exceeds a duration threshold.
28. The computer readable storage medium of claim 27, wherein before the computer program is executed by the processor to freeze the target application when the timed duration exceeds a duration threshold, the steps of:
and acquiring the receiving frequency of the communication message received by the awakened target application program, and acquiring a corresponding duration threshold according to the receiving frequency.
CN201880097679.7A 2018-11-05 2018-11-05 Application processing method and device, computer equipment and computer readable storage medium Active CN112703714B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/114003 WO2020093208A1 (en) 2018-11-05 2018-11-05 Application processing method and apparatus, computer device, and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112703714A CN112703714A (en) 2021-04-23
CN112703714B true CN112703714B (en) 2023-05-05

Family

ID=70611285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880097679.7A Active CN112703714B (en) 2018-11-05 2018-11-05 Application processing method and device, computer equipment and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN112703714B (en)
WO (1) WO2020093208A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111918386B (en) * 2020-07-03 2023-09-29 Oppo广东移动通信有限公司 Positioning method, positioning device, storage medium and electronic equipment
CN112131482B (en) * 2020-10-10 2023-12-08 腾讯科技(深圳)有限公司 Aging determining method and related device
CN112653615A (en) * 2020-12-16 2021-04-13 努比亚技术有限公司 Management and control method, terminal and computer readable medium for instant messaging application
CN112711471A (en) * 2020-12-31 2021-04-27 中移(杭州)信息技术有限公司 Big data task execution method and device, server and storage medium
CN112667407B (en) * 2021-01-18 2023-09-19 成都国科微电子有限公司 Processor parameter adjusting method and device, electronic equipment and storage medium
CN112764512B (en) * 2021-01-26 2024-03-01 维沃移动通信有限公司 Power saving control method, device, electronic equipment and readable storage medium
CN114860460B (en) * 2022-07-05 2022-10-11 深圳市遇贤微电子有限公司 Database acceleration method and device and computer equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1463348A2 (en) * 2003-03-26 2004-09-29 Samsung Electronics Co., Ltd. Method of starting an application program of a mobile terminal and method of providing service data in a mobile communication system
CN104468645A (en) * 2013-09-13 2015-03-25 联想(北京)有限公司 Control method, electronic equipment, and information transmission method and device
CN104717342A (en) * 2013-12-11 2015-06-17 阿里巴巴集团控股有限公司 Method and device for awakening client application based on short message
CN106791004A (en) * 2016-11-28 2017-05-31 北京奇虎科技有限公司 That applies automatically wakens up method, device and mobile terminal
CN107466094A (en) * 2017-08-02 2017-12-12 努比亚技术有限公司 Network data method for controlling reporting, coprocessor, terminal and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051516B (en) * 2011-10-17 2016-04-13 腾讯科技(深圳)有限公司 A kind of message prompt method of instant communication client and device
CN103259714A (en) * 2013-04-28 2013-08-21 深圳市深信服电子科技有限公司 Instant information notification method and device
CN108243085B (en) * 2016-12-26 2020-08-04 腾讯科技(深圳)有限公司 Method and device for pushing and setting communication group state identifier

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1463348A2 (en) * 2003-03-26 2004-09-29 Samsung Electronics Co., Ltd. Method of starting an application program of a mobile terminal and method of providing service data in a mobile communication system
CN104468645A (en) * 2013-09-13 2015-03-25 联想(北京)有限公司 Control method, electronic equipment, and information transmission method and device
CN104717342A (en) * 2013-12-11 2015-06-17 阿里巴巴集团控股有限公司 Method and device for awakening client application based on short message
CN106791004A (en) * 2016-11-28 2017-05-31 北京奇虎科技有限公司 That applies automatically wakens up method, device and mobile terminal
CN107466094A (en) * 2017-08-02 2017-12-12 努比亚技术有限公司 Network data method for controlling reporting, coprocessor, terminal and storage medium

Also Published As

Publication number Publication date
CN112703714A (en) 2021-04-23
WO2020093208A1 (en) 2020-05-14

Similar Documents

Publication Publication Date Title
CN112703714B (en) Application processing method and device, computer 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
EP2882234B1 (en) Method, apparatus, equipment and system for controlling turn-on and turn-off of wireless network
WO2019128546A1 (en) Application program processing method, electronic device, and computer readable storage medium
CN107368400B (en) CPU monitoring method and device, computer readable storage medium and mobile terminal
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
CN109445917B (en) Application processing method and device, electronic equipment and computer readable storage medium
CN110032266B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN107577508B (en) Application processing method and device, readable storage medium and mobile terminal
CN109992364B (en) Application freezing method and device, computer equipment and computer readable storage medium
CN110032321B (en) Application processing method and device, electronic equipment and computer readable storage medium
CN108334345B (en) Application processing method and device, readable storage medium and mobile terminal
WO2018214744A1 (en) Information processing method and related product
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
CN109992309B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN110018886B (en) Application state switching method and device, electronic equipment and readable storage medium
CN109992323B (en) Process processing method and device, electronic equipment and computer readable storage medium
CN107659718B (en) Method and device for controlling mobile terminal, mobile terminal and storage medium
CN106454953B (en) Flow control method, device and terminal
CN109992360B (en) Process processing method and device, electronic equipment and computer readable storage medium
CN110046033B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN108646909B (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
GR01 Patent grant
GR01 Patent grant