CN110045812B - Information processing method, information processing device, computer equipment and computer readable storage medium - Google Patents

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

Info

Publication number
CN110045812B
CN110045812B CN201810032304.4A CN201810032304A CN110045812B CN 110045812 B CN110045812 B CN 110045812B CN 201810032304 A CN201810032304 A CN 201810032304A CN 110045812 B CN110045812 B CN 110045812B
Authority
CN
China
Prior art keywords
application program
background application
resource
resources
background
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
CN201810032304.4A
Other languages
Chinese (zh)
Other versions
CN110045812A (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 CN201810032304.4A priority Critical patent/CN110045812B/en
Publication of CN110045812A publication Critical patent/CN110045812A/en
Application granted granted Critical
Publication of CN110045812B publication Critical patent/CN110045812B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3212Monitoring battery levels, e.g. power saving mode being initiated when battery voltage goes below a certain level
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3206Monitoring of events, devices or parameters that trigger a change in power modality
    • G06F1/3215Monitoring of peripheral devices
    • G06F1/3225Monitoring of peripheral devices of memory devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/3287Power saving characterised by the action undertaken by switching off individual functional units in the computer system

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)
  • Power Sources (AREA)

Abstract

The application provides an information processing method, an information processing device, computer equipment and a computer readable storage medium. The method comprises the following steps: if a resource limitation instruction is received, acquiring a current electric quantity value and a current available memory value of the computer equipment; acquiring a resource limitation strategy for limiting resources of the background application program according to the current electric quantity value and the current available memory value; and performing resource limitation on the background application program according to the resource limitation strategy. According to the method, the computer equipment can limit the resources of the background application program according to the resource limit strategy after acquiring the resource limit strategy according to the current electric quantity value and the current available memory value, so that the intellectualization of resource limit on the background application program is improved, and the cruising ability of the computer equipment is enhanced.

Description

Information processing method, information processing device, computer equipment 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, an information processing apparatus, a computer device, and a computer-readable storage medium.
Background
With the development of intelligent computer devices and the continuous improvement of user requirements, more and more intelligent computer devices have larger and larger screens, more and more executable application programs, and larger power consumption of the intelligent computer devices. In order to save power consumption of the intelligent computer device, the intelligent computer device can perform resource limitation on the running application program, and limit system resources available for the application program.
Disclosure of Invention
The embodiment of the application provides an information processing method, an information processing device, computer equipment and a computer readable storage medium, which can limit resources of a background application program.
An information processing method comprising:
if a resource limitation instruction is received, acquiring a current electric quantity value and a current available memory value of the computer equipment;
acquiring a resource limitation strategy for limiting resources of the background application program according to the current electric quantity value and the current available memory value;
and performing resource limitation on the background application program according to the resource limitation strategy.
An information processing apparatus comprising:
the first acquisition module is used for acquiring the current electric quantity value and the current available memory value of the computer equipment if the resource limitation instruction is received;
the second acquisition module is used for acquiring a resource limitation strategy for limiting resources of the background application program according to the current electric quantity value and the current available memory value;
and the processing module is used for limiting the resources of the background application program according to the resource limiting strategy.
A computer device 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.
In the embodiment of the application, after the computer equipment acquires the resource limitation strategy according to the current electric quantity value and the current available memory value, the resource limitation can be performed on the background application program according to the resource limitation strategy, so that the intelligence of performing the resource limitation on the background application program is improved, and the cruising ability of the computer equipment is enhanced.
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 schematic diagram showing an internal configuration of a computer device according to an embodiment;
FIG. 2 is a partial block diagram of a computer device in one embodiment;
FIG. 3 is a flow diagram of a method of information processing in one embodiment;
FIG. 4 is a flowchart of an information processing method in another embodiment;
FIG. 5 is a flowchart of an information processing method in another embodiment;
FIG. 6 is a flowchart of an information processing method in another embodiment;
FIG. 7 is a block diagram showing the configuration of an information processing apparatus according to an embodiment;
FIG. 8 is a block diagram showing the construction of an information processing apparatus according to another embodiment;
FIG. 9 is a block diagram showing the construction of an information processing apparatus according to another embodiment;
fig. 10 is a block diagram of a partial structure of a mobile phone related to a computer device provided in 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.
Fig. 1 is a schematic diagram of an internal structure of a computer device according to an embodiment. As shown in fig. 1, the computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein, the processor is used for providing calculation and control capability and supporting the operation of the whole computer equipment. 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 computer device provided in 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, etc. for communicating with an external computer device. The computer device may be a mobile phone, a tablet computer or a personal digital assistant or a wearable device, etc.
Those skilled in the art will appreciate that the architecture shown in fig. 1 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components. For example, the computer device further includes a network interface connected via the system bus, where the network interface may be an ethernet card or a wireless network card, and the like, and is used for communicating with an external computer device, such as a server.
FIG. 2 is a diagram illustrating a portion of the architecture of a computer device, in accordance with one embodiment. As shown in FIG. 2, the architectural system of the computer device includes a Java space layer 210, a local framework layer 220, and a Kernel space layer 230. The Java space layer includes a freezing and unfreezing module 212, and the freezing and unfreezing module 212 is used for implementing a freezing policy for each application program, for example, freezing the application program consuming power in the background.
The local framework layer 220 includes a resource priority and restriction management module 222 and a platform freeze management module 224. The resource priority and restriction management module 222 may perform different resource restrictions on different applications, so that different applications are in different resource priorities. The resource priority and restriction management module 222 may also adjust the resource priority of the application according to the requirements of the upper layers so that the computer device can make it reasonable for the application to use the resources. The platform freezing management module 224 may determine the level of resource limitation on the process application program according to the time length of the application program entering the background, the platform freezing management module 224 may preset different levels of resource limitation, and the longer the time length of the application program entering the background is, the higher the level of resource limitation on the application program by the platform freezing management module 224 is, that is, the higher the degree of resource limitation on the application program is. Optionally, the resource restriction level may include: a CPU restricted sleep mode, a CPU frozen sleep mode, and a process deep frozen mode. The CPU restricted sleep mode is to restrict a Central Processing Unit (CPU) resource that can be used by a process of an application, so that the process of the application can use less CPU resource; network resources and input/output (I/O) resources that can be used by processes of the application may be further limited in the CPU limited sleep mode. The CPU freeze sleep mode is a deep restricted mode in which resources available to an application are not recovered, but CPU resources, network resources, and I/O resources are prohibited from being used by the process of the application. The process deep freezing mode is to prohibit the process of the application program from using CPU resources, network resources and I/O resources, and recycle the memory resources occupied by the process of the application program. The interface module of the local framework layer 220 includes a binder interface that is developed to the upper layer, and the framework or the application program of the upper layer can send a resource restriction instruction to the resource restriction management module 222 and send a freeze instruction to the platform freeze management module 224 through the binder interface.
The kernel space layer 230 includes a UID management module 231, a Cgroup module 232, a binder management and control module 233, a process memory recycling module 234, and a timeout freeze exit module 235. Currently, Process management for an application is implemented based on a Process Identification (PID), and a Process does not correspond to an application, which is not beneficial to uniformly managing resources corresponding to all processes of an application. The UID management module 231 may manage resources of the application program through a User Identifier (UID) of the application program, and may also freeze the application program through the UID of the application program. The Cgroup module 232 may provide a CPU, CPUSET, memory, I/O resources and Net related resource restriction mechanism. binder management module 233 may be used to limit the priority of background inter-process binder communications. The process memory recycling module 234 is configured to implement a process deep freeze mode, and release a file area of a process when the process enters the process deep freeze mode, thereby saving memory and speeding up the next start of an application program corresponding to the process. The timeout freeze exit module 235 is used to solve the problem that the process is abnormal during the freeze timeout.
Through the above-mentioned architecture, the information processing method in each embodiment of the present application can be realized.
FIG. 3 is a flow diagram of a method for information processing in one embodiment. As shown in fig. 3, an information processing method includes:
step 302, if a resource restriction instruction is received, a current electric quantity value and a current available memory value of the computer device are obtained.
When the computer device receives the resource restriction instruction, a current charge value and a current available memory value of the computer device may be obtained. The resource restriction instruction refers to a resource restriction instruction for the background application program, and the computer device may perform resource restriction on system resources occupied by the background application program, where the system resources may include: network resources, I/O resources, memory resources, and CPU resources. After the computer device obtains the current electricity value, the current electricity value may be represented as a percentage of the total amount of the battery or may be directly represented by electricity (e.g., 3500 milliamps). The current available memory value is the difference between the total memory value and the memory value occupied by the currently running application program.
And 304, acquiring a resource limitation strategy for limiting the resources of the background application program according to the current electric quantity value and the current available memory value.
After the computer device obtains the current electric quantity value and the current available memory value, a resource limitation strategy for limiting resources of the background application program can be obtained according to the current available electric quantity value and the current available memory value. The resource restriction policy includes a resource restriction list for performing resource restriction on the background application program and a resource restriction mode for performing resource restriction on the background application program. The resource restriction list includes an application program identifier of an application program requiring resource restriction, and the resource restriction mode includes a resource restriction level for resource restriction of the application program and a resource type for resource restriction of the application program.
And step 306, performing resource limitation on the background application program according to the resource limitation strategy.
After obtaining the resource restriction list and the resource restriction mode included in the resource restriction policy, the computer device may search for a corresponding background application program according to the application program identifier in the resource restriction list, and then perform resource restriction on the background application program. When the computer device performs resource limitation on the background application program, the computer device can search the resource limitation level corresponding to the background application program and the resource limitation category corresponding to the background application program. And performing resource limitation of corresponding types on the background application program according to the resource limitation types, and performing resource limitation of corresponding levels on the background application program according to the resource limitation levels. Optionally, the resource category for resource restriction of the background application by the computer device includes: CPU resources, I/O resources, memory resources, and network resources. The resource restriction level of the computer device for resource restriction on the background application program comprises the following steps: a CPU restricted sleep mode, a CPU frozen sleep mode, and a process deep frozen mode. The CPU limitation sleep mode is to limit CPU resources which can be used by the process of the application program, so that the process of the application program can use less CPU resources, and other system resources which can be used by the process of the application program are not limited; the CPU-restricted sleep mode may further restrict network resources and I/O resources that may be used by the process of the application in addition to restricting additional CPU resources that may be used by the process of the application. The CPU freeze sleep mode is a deep restricted mode in which resources available to an application are not recovered, but CPU resources, network resources, and I/O resources are prohibited from being used by the process of the application. The process deep freezing mode is to prohibit the process of the application program from using CPU resources, network resources and I/O resources, and recycle the memory resources occupied by the process of the application program.
According to the method, the computer equipment can limit the resources of the background application program according to the resource limit strategy after acquiring the resource limit strategy according to the current electric quantity value and the current available memory value, so that the intellectualization of resource limit on the background application program is improved, and the cruising ability of the computer equipment is enhanced.
In one embodiment, the resource restriction policy includes a resource restriction list and a resource restriction level. The step 304 of obtaining a resource restriction policy for performing resource restriction on the background application according to the current power value and the current available memory value includes:
(1) and acquiring the power consumption of the background application program, and determining the resource restriction list according to the current power value and the power consumption of the background application program.
(2) And determining the resource limitation level for limiting the resources of the background application programs in the resource limitation list according to the current available memory value.
The resource limitation policy comprises a resource limitation list and a resource limitation mode, the resource limitation list needs to carry out a list of background application programs subjected to resource limitation, and the resource limitation list comprises application program identifications of the background application programs subjected to resource limitation. The resource type and the resource limit level for resource limit of the background application program are performed in the resource limit mode.
The computer devices may obtain power consumption of the background applications, respectively. Alternatively, the power consumption of the background application may be the power consumption of the background application in a unit time, or may be the average power consumption of the background application. The computer device is pre-stored with the corresponding relation between the current electric quantity value and the electric consumption of the background application program requiring resource limitation. The computer equipment can search the corresponding background application program with the power consumption according to the current power value and then limit the resource of the corresponding background application program with the power consumption. Optionally, the computer device may divide the current charge value into 5 levels, including: 0 to 19 percent, 20 to 39 percent, 40 to 59 percent, 60 to 79 percent and 80 to 100 percent. The computer device can divide the application programs into 5 grades by the background application programs according to the sequence of the power consumption from high to low, wherein the power consumption of the application programs from 1 grade to 5 grade is gradually reduced. When the current electric quantity value of the computer equipment is 0-19%, resource limitation is carried out on the application programs with the electric consumption from the 1 st level to the 5 th level; when the current electric quantity value of the computer equipment is 20% -39%, resource limitation is carried out on the application programs with the electric consumption from the level 2 to the level 5; when the current electric quantity value of the computer equipment is 40% -59%, resource limitation is carried out on the application programs with the electric consumption from the 3 rd level to the 5 th level; when the current electric quantity value of the computer equipment is 60% -79%, resource limitation is carried out on the application programs with the electric consumption from the 4 th level to the 5 th level; when the current electric quantity value of the computer equipment is 80% -100%, resource limitation is carried out on the application program with the electric consumption at the 5 th level.
The computer device may also determine a resource restriction level for resource restricting the background application based on the current available memory value. The current available memory value is in a negative correlation with the resource restriction level, and when the current available memory value is lower, the resource restriction level of the background application program is higher; when the current available memory value is higher, the resource restriction level for the background application is lower. The higher the level of resource restriction on the background application, the less system resources are available to the background application. Optionally, the resource restriction level for the background application is from low to high, which is respectively the CPU restricted sleep mode, the CPU frozen sleep mode, and the process deep frozen mode.
According to the method, the background application program needing to be frozen can be determined according to the current electric quantity and the electric power consumption of the background application program, the resource limitation level for limiting the resources of the background application program can be determined according to the current available memory value, and the resource limitation mode of the background application program is more intelligent.
In one embodiment, the method further comprises: and acquiring the time length of the background application program entering the background, and adjusting the resource limitation level for limiting the resource of the background application program according to the time length.
The computer equipment can also acquire the time length of the background application program entering the background, and adjust the resource limitation level for limiting the resource of the background application program according to the time length of the background application program entering the background. Optionally, as the duration of the background application program entering the background increases, the resource restriction level of the computer device to the background application program also increases, that is, the longer the duration of the background application program entering the background is, the higher the resource restriction level of the computer device to the background application program is. The corresponding relation between the time length of entering the background and the resource limit level can be preset in the computer equipment, for example, the time length of entering the background reaches 1 hour, the resource limit level of the background application program is increased by 1 level, the time length of entering the background reaches 3 hours, and the resource limit level of the background application program is increased by 1 level.
After the computer equipment receives the resource limiting instruction to limit the resources of the background application program, the resource limiting level for limiting the resources of the background application program can be adjusted according to the time length for the background application program to enter the background, so that the resource limitation of the background application program by the computer equipment is more intelligent.
In one embodiment, the resource restriction instruction is received when at least one of the following conditions is met:
(1) the computer device is in a standby state. When the computer equipment is in a standby state, the kernel space in the computer equipment can send a resource limiting instruction to the user space, so that the user space can release system resources occupied by the background application program according to the resource limiting instruction. When the computer device receives the screen-off broadcast, the computer device can be judged to be in a standby state.
(2) The memory value occupied by the currently running application program is larger than a first threshold value. The computer device may obtain a sum of memory resource values occupied by each background application. When the sum of the memory resource values occupied by the background application programs is not less than a first threshold value, the kernel space in the computer equipment can send a resource limiting instruction to the user space, so that the user space can release the system resources occupied by the background application programs according to the resource limiting instruction. The first threshold may be a value set by the computer device or a value set by a user, for example, 60% of the total memory resource value of the computer device.
(3) The current CPU temperature is above the second threshold. The computer equipment can also monitor the temperature of the CPU in real time, and when the temperature of the CPU is higher than a preset second threshold value, the application program in the computer equipment is judged to consume a large amount of system resources, so that the computer equipment generates heat. The kernel space in the computer equipment can send a resource limiting instruction to the user space, so that the user space can release system resources occupied by the background application program according to the resource limiting instruction. The second threshold may be a value set by a computer device or a value set by a user, for example, 85 ℃.
According to the method, the computer equipment can detect the state of the computer equipment and send the resource limiting instruction, the situation that the foreground application program runs slowly due to insufficient available system resources is reduced, and the running smoothness of the computer equipment is improved.
In one embodiment, the method further comprises:
step 308, set resource priority for the background application.
In step 310, if it is detected that the background application program and the foreground application program have at least one of a communication mechanism and a synchronization mechanism, the resource priority of the background application program is increased.
The computer device may set a resource priority for the application. The computer device can set resource priority to the application program according to the type of the application program, the use frequency of the application program and the like. The resource priority is a limit level of resources available to the application, and if the resource priorities corresponding to the applications are different, the limit levels of the resources available to the applications are different. The higher the priority of the resource corresponding to the application, the less the limitation on the resources available to the application. The usable resources include: CPU resources, memory resources, I/O resources, and network resources. For example, the computer device may set a 5-level priority for the application including: stage 1, stage 2, stage 3, stage 4, and stage 5. Wherein, the 1 st priority is the highest, and the 5 th priority is the lowest. When the application program is in priority level 1, the usable proportion of each resource is 80%, that is, the usable CPU resource is 80% of the total CPU resource, the usable memory resource is 80% of the total memory resource, the usable I/O resource is 80% of the total I/O resource, and the usable network resource is 80% of the total network resource. When the application program is in the priority level 2, the usable proportion of each resource is 60 percent; when the application program is in the 3 rd priority level, the usable proportion of each resource is 40 percent; when the application program is in the 4 th priority level, the usable proportion of each resource is 20 percent; when the application is in priority 5, the proportion of each resource available is 10%.
The interprocess communication mechanism of the application program comprises socket, binder, shared memory and the like. Two programs on the network effect the exchange of data via a bidirectional communication link, one end of which is called a socket. Binder is an interprocess communication mechanism that provides remote procedure call functionality. Shared memory is a very efficient way to allow two unrelated processes to access the same logical memory, and shared memory is a very efficient way to share and transfer data between two running processes, and memory shared between different processes is usually arranged as the same physical memory. The inter-process synchronization mechanism of the application program means that in concurrent programming, access of processes to common variables must be restricted, and the restriction is called synchronization. In an operating system, the synchronization mechanism for user mode (user mode) may be implemented by calling a futex system call. The synchronization mechanism includes a semaphore, a mutex, etc. When the process of the background application program with any synchronization mechanism existing with the process of the foreground application program is detected through the futex system call, the detected background application program can be used as the depended application program. When the background application program and the foreground application program have one or more of a communication mechanism and a synchronization mechanism, the background application program can be regarded as a depended application program of the foreground application program, namely the foreground application program can be executed smoothly only by calling data of the background application program.
In general, a computer device sets a higher priority for resources of a foreground application and a lower priority for resources of a background application. When the computer device detects that the background application program is the application program depended on by the foreground application program, whether the resource priority of the background application program is the same as the resource priority of the foreground application program can be detected, and if the resource priority of the background application program is lower than the resource priority of the foreground application program, the resource priority of the background application program can be improved to the resource priority of the foreground application program by the computer device.
According to the method, when the background application program is detected to be the application program depended by the foreground application program, the resource priority of the background application program can be improved, the available resources of the background application program are increased, and the speed of the background application program responding to the foreground application program is increased.
In one embodiment, further comprising: and when detecting that the foreground application program finishes the dependence on the background application program, reducing the resource priority of the background application program. And when the background application program is not the application program depended by the foreground application program any more, restoring the resource priority of the background application program to the lower resource priority before adjustment.
In one embodiment, resource limiting the background application comprises: and freezing the background application program, and forbidding the background application program to use system resources.
The method further comprises the following steps:
in step 312, if a wake-up message for the background application program in the frozen state is received, a wake-up duration corresponding to the background application program is obtained.
And step 314, awakening the background application program in the frozen state when the time difference between the current time and the last awakened time of the background application program is not less than the awakening time.
The computer device may also resource limit the application, wherein a level of resource limit for the application may be determined based on a length of time the application enters the background. The longer the application enters the background, the higher the level of resource restriction on the application. When the computer equipment limits the resources of the application program, if the application program is switched to a process deep freezing mode, the application program is in a freezing state. When an application is in a frozen state, the application cannot use system resources and therefore cannot respond to communication messages of other applications. The freeze wakeup duration is a time difference for waking up the application program from the frozen state twice, which is preset by the computer device.
When the computer device receives a communication message or a system message for the application program in the frozen state, the computer device can be switched from the frozen state to a state in which system resources can be used, so that the application program can respond to the communication message or the system message. The state that the application program is switched from the freezing state to the usable system resource can be a state that the application program is switched from the process freezing state to the CPU restricted sleep state, so that the application program can use the system resource. The computer device can also unfreeze the application program, and the application program is not limited to using system resources.
Upon receiving a wake-up message for a background application in a frozen state, the computer device does not wake-up the background application each time a wake-up message is received. The computer device may compare the time difference between the current time and the last wake-up time of the background application with the wake-up duration. And if the time difference is greater than or equal to the awakening duration, the computer equipment immediately awakens the background application program according to the awakening message. If the time difference is smaller than the awakening time length, the computer equipment awakens the background application program when the time difference between the current time and the last awakened time of the background application program is equal to the awakening time length. That is, when detecting that the time difference between the current time and the last time when the application program is awakened is smaller than the awakening time, the computer device accumulates the awakening messages received in the awakening time, and when the time difference between the current time and the last time when the background application program is awakened is equal to the awakening time, awakens the background application program according to the accumulated awakening messages. If the wake-up message is not received within the wake-up duration after the last application is woken up, the computer device may immediately wake up the background application when the wake-up message is received after the wake-up duration is exceeded.
In general, in order to save power consumption of a computer device and increase available resources of a foreground application, the resources available to the background application are limited, for example, the background application is frozen. When the computer equipment receives the awakening message of the background application program, the background application program needs to be awakened, otherwise, the background application program generates no-response errors, but the frequent awakening of the background application program can cause the resource limit rate of the computer equipment to the background application program to be reduced, and the available resources of the foreground application program cannot be improved.
According to the method in the embodiment of the application, the computer equipment can set the wake-up duration for the application program in the frozen state, so that the application program is not frequently woken up to waste the power consumption of the computer equipment, and the problem that the application program is not responded after being in the frozen state for a long time is solved.
In one embodiment, the method further comprises:
in step 316, if a termination command for the background application program in the frozen state is received, the background application program is thawed and the background application program is set to the unfreezable state.
And step 318, closing the background application program according to the termination command.
If the resources of the computer equipment are in short supply, the computer equipment sends a termination command to the application program in the frozen state, closes the application program in the frozen state and releases the system resources occupied by the application program. However, when the application program is in the frozen state, the application program cannot receive any message, and even if the application program in the frozen state is woken up, the application program can be quickly restored to the frozen state after the application program is woken up, so that the computer device cannot close the application program in the frozen state. Typically, a computer device will use two sets of code to terminate an application, one for terminating frozen state applications and the other for terminating other applications.
When the computer equipment receives a termination command for an application program in a frozen state, if the application program is detected to be in the frozen state of the frozen state, the application program in the frozen state is unfrozen, and the unfrozen application program is set to be in a non-unfrozen state, the unfrozen application program can correctly respond to the termination command, namely the unfrozen application program can be closed. The unfreezing of the application program can be to not limit the system resource used by the application program, or to switch the application program from a state of not using the system resource to a state of using the system resource, such as to switch the application program to a CPU limited sleep mode.
According to the method, the application program in the frozen state can be safely terminated, the situation that the application program cannot be terminated is avoided, the computer equipment can terminate the application program in the frozen state and other application programs according to a uniform termination instruction, the compatibility of the application program in the frozen state and other application programs is achieved, the difficulty in software development is reduced, and the mobile operating system is convenient to maintain.
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.
In one embodiment, an information processing method includes:
(1) and if the resource limiting instruction is received, acquiring the current electric quantity value and the current available memory of the computer equipment.
(2) And acquiring a resource limitation strategy for limiting the resources of the background application program according to the current electric quantity value and the current available memory value.
(3) And carrying out resource limitation on the background application program according to the resource limitation strategy.
Optionally, the resource restriction policy includes a resource restriction list and a resource restriction level. The resource limitation strategy for limiting the resources of the background application program according to the current electric quantity value and the current available memory value comprises the following steps: acquiring the power consumption of the background application program, and determining a resource restriction list according to the current power value and the power consumption of the background application program; and determining the resource limitation level for limiting the resources of the background application programs in the resource limitation list according to the current available memory value.
Optionally, the method further includes: and acquiring the time length of the background application program entering the background, and adjusting the resource limitation level for limiting the resource of the background application program according to the time length.
Optionally, the resource restriction instruction is received when at least one of the following conditions is satisfied:
(1) the computer device is in a standby state.
(2) The memory value occupied by the currently running application program is larger than a first threshold value.
(3) The current CPU temperature is above the second threshold.
Optionally, the method further includes: setting resource priority for the background application program; and if the background application program and the foreground application program are detected to have at least one of a communication mechanism and a synchronization mechanism, the resource priority of the background application program is improved.
Optionally, the resource limiting the background application includes: and freezing the background application program, and forbidding the background application program to use system resources. The method further comprises the following steps: if receiving a wake-up message of the background application program in the frozen state, acquiring a wake-up duration corresponding to the background application program; and awakening the background application program in the frozen state when the time difference between the current time and the last awakened time of the background application program is not less than the awakening time.
Optionally, the method further includes: if a termination command for the background application program in the frozen state is received, unfreezing the background application program and setting the background application program to be in a non-frozen state; and closing the background application program according to the termination command.
Fig. 7 is a block diagram showing the configuration of an information processing apparatus according to an embodiment. As shown in fig. 7, an information processing apparatus includes:
a first obtaining module 702, configured to obtain a current electric quantity value and a current available memory value of the computer device if the resource restriction instruction is received.
A second obtaining module 704, configured to obtain a resource limitation policy for limiting resources of the background application according to the current power value and the current available memory value.
And the processing module 706 is configured to perform resource limitation on the background application according to the resource limitation policy.
In one embodiment, the resource restriction policy includes a resource restriction list and a resource restriction level. The second obtaining module 704 obtains the resource limitation policy for limiting the resource of the background application according to the current power value and the current available memory value, including: acquiring the power consumption of the background application program, and determining a resource restriction list according to the current power value and the power consumption of the background application program; and determining the resource limitation level for limiting the resources of the background application programs in the resource limitation list according to the current available memory value.
In one embodiment, the processing module 706 is further configured to obtain a duration for the background application to enter the background, and adjust a resource limitation level for performing resource limitation on the background application according to the duration.
In one embodiment, the resource restriction instruction is received when at least one of the following conditions is met: the computer equipment is in a standby state; the memory value occupied by the currently running application program is larger than a first threshold value; the current CPU temperature is above the second threshold.
In one embodiment, the processing module 706 is further configured to set resource priorities for background applications; and if the background application program and the foreground application program are detected to have at least one of a communication mechanism and a synchronization mechanism, the resource priority of the background application program is improved.
Fig. 8 is a flowchart of an information processing method in another embodiment. As shown in fig. 8, an information processing method includes: a first obtaining module 802, a second obtaining module 804, a processing module 806, and a wake-up module 808. The first obtaining module 802, the second obtaining module 804, and the processing module 806 have the same functions as the corresponding modules in fig. 7.
The resource restriction of the background application by the processing module 806 includes: and freezing the background application program, and forbidding the background application program to use system resources.
The second obtaining module 804 is further configured to obtain a wake-up duration corresponding to the background application program if a wake-up message for the background application program in the frozen state is received.
The wakeup module 808 is further configured to wake up the background application in the frozen state when a time difference between the current time and the last time the background application was woken up is not less than the wakeup time length.
Fig. 9 is a flowchart of an information processing method in another embodiment. As shown in fig. 9, an information processing method includes: a first acquisition module 902, a second acquisition module 904, a processing module 906, a thawing module 908, and a shutdown module 910. The first obtaining module 902, the second obtaining module 904, and the processing module 906 have the same functions as corresponding modules in fig. 7.
A thawing module 908, configured to, if a termination command for the background application in the frozen state is received, thaw the background application and set the background application in the non-freezable state;
a closing module 910, configured to close the background application according to the termination command.
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 from a processor in the computer device, and can also be stored in a memory in the computer device 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.
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 computer equipment. 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 computer 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 computer device as the mobile phone as an example:
fig. 10 is a block diagram of a partial structure of a mobile phone related to a computer device provided in 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 source 1090. 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 communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Messaging Service (SMS), and the like.
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, the Display panel 1041 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. 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 supply 1090 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 1080 via a power management system that may be configured to manage charging, discharging, and power consumption.
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 100 included in the computer device executes the computer program stored in the memory to perform the steps of the information processing method in the embodiment of the present application.
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 (16)

1. An information processing method characterized by comprising:
if a resource limitation instruction is received, acquiring a current electric quantity value and a current available memory value of the computer equipment;
acquiring a resource limitation strategy for limiting resources of the background application program according to the current electric quantity value and the current available memory value; the resource restriction strategy comprises a resource restriction list and a resource restriction level; the resource limitation level comprises a CPU limitation sleep mode, a CPU freezing sleep mode and a process deep freezing mode; the CPU sleep-restricted mode refers to restricting CPU resources which can be used by the process of the application program; the CPU freeze sleep mode means that the process of the application program is prohibited from using CPU resources, network resources and I/O resources, but the memory resources occupied by the process of the application program are not recycled; the process deep freezing mode is to forbid the process of the application program to use CPU resources, network resources and I/O resources and recycle the memory resources occupied by the process of the application program;
and performing resource limitation on the background application program according to the resource limitation strategy.
2. The method of claim 1, wherein:
the obtaining of the resource limitation policy for resource limitation of the background application program according to the current electric quantity value and the current available memory value includes:
acquiring the power consumption of a background application program, and determining the resource restriction list according to the current power value and the power consumption of the background application program;
and determining the resource limitation level for limiting the resources of the background application programs in the resource limitation list according to the current available memory value.
3. The method of claim 2, further comprising:
and acquiring the time length of the background application program entering the background, and adjusting the resource limitation level for limiting the resource of the background application program according to the time length.
4. The method of claim 1, wherein the resource restriction instruction is received when at least one of the following conditions is met:
the computer equipment is in a standby state;
the memory value occupied by the currently running application program is larger than a first threshold value;
the current CPU temperature is above the second threshold.
5. The method of any of claims 1 to 3, further comprising:
setting resource priority for the background application program;
and if the background application program and the foreground application program are detected to have at least one of a communication mechanism and a synchronization mechanism, the resource priority of the background application program is promoted.
6. The method of any of claims 1-3, wherein resource limiting the background application comprises: freezing the background application program, and forbidding the background application program to use system resources;
the method further comprises the following steps:
if a wake-up message of the background application program in the frozen state is received, acquiring a wake-up duration corresponding to the background application program;
and awakening the background application program in the frozen state when the time difference between the current time and the last awakened time of the background application program is not less than the awakening time length.
7. The method of claim 6, further comprising:
if a termination command for the background application program in the frozen state is received, unfreezing the background application program and setting the background application program to be in a non-frozen state;
and closing the background application program according to the termination command.
8. An information processing apparatus characterized by comprising:
the first acquisition module is used for acquiring the current electric quantity value and the current available memory value of the computer equipment if the resource limitation instruction is received;
the second acquisition module is used for acquiring a resource limitation strategy for limiting resources of the background application program according to the current electric quantity value and the current available memory value; the resource restriction strategy comprises a resource restriction list and a resource restriction level; the resource limitation level comprises a CPU limitation sleep mode, a CPU freezing sleep mode and a process deep freezing mode; the CPU sleep-restricted mode refers to restricting CPU resources which can be used by the process of the application program; the CPU freeze sleep mode means that the process of the application program is prohibited from using CPU resources, network resources and I/O resources, but the memory resources occupied by the process of the application program are not recycled; the process deep freezing mode is to forbid the process of the application program to use CPU resources, network resources and I/O resources and recycle the memory resources occupied by the process of the application program;
and the processing module is used for limiting the resources of the background application program according to the resource limiting strategy.
9. The apparatus of claim 8, wherein: the second obtaining module is further configured to obtain power consumption of a background application program, and determine the resource restriction list according to the current power consumption value and the power consumption of the background application program; and determining the resource limitation level for limiting the resources of the background application programs in the resource limitation list according to the current available memory value.
10. The apparatus of claim 9, wherein the processing module is further configured to obtain a duration for the background application to enter the background, and adjust a resource restriction level for resource restriction on the background application according to the duration.
11. The apparatus of claim 8, wherein the resource restriction instruction is received when at least one of the following conditions is met:
the computer equipment is in a standby state;
the memory value occupied by the currently running application program is larger than a first threshold value;
the current CPU temperature is above the second threshold.
12. The apparatus of any of claims 8 to 11, wherein the processing module is further configured to set a resource priority for the background application; and if the background application program and the foreground application program are detected to have at least one of a communication mechanism and a synchronization mechanism, the resource priority of the background application program is promoted.
13. The apparatus according to any one of claims 8 to 11, wherein the apparatus further comprises a wake-up module;
the processing module is further used for freezing the background application program and forbidding the background application program to use system resources;
the second obtaining module is further configured to obtain a wake-up duration corresponding to the background application program if a wake-up message for the background application program in the frozen state is received;
and the awakening module is used for awakening the background application program in the frozen state when the time difference between the current time and the last awakened time of the background application program is not less than the awakening time length.
14. The apparatus of claim 13, further comprising:
the unfreezing module is used for unfreezing the background application program and setting the background application program to be in a non-freezing state if a termination command of the background application program in the freezing state is received;
and the closing module is used for closing the background application program according to the termination command.
15. A computer device 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 7.
16. 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 7.
CN201810032304.4A 2018-01-12 2018-01-12 Information processing method, information processing device, computer equipment and computer readable storage medium Active CN110045812B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810032304.4A CN110045812B (en) 2018-01-12 2018-01-12 Information processing method, information processing device, computer equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810032304.4A CN110045812B (en) 2018-01-12 2018-01-12 Information processing method, information processing device, computer equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110045812A CN110045812A (en) 2019-07-23
CN110045812B true CN110045812B (en) 2021-01-15

Family

ID=67264279

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810032304.4A Active CN110045812B (en) 2018-01-12 2018-01-12 Information processing method, information processing device, computer equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110045812B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114845166B (en) * 2022-05-07 2024-05-07 广东长虹电子有限公司 Television standby method, system and computer readable storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917516A (en) * 2010-08-16 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Power-saving processing method and system for mobile terminal, and mobile terminal
CN104317373A (en) * 2014-10-21 2015-01-28 北京奇虎科技有限公司 Method and device for cooling mobile terminal
CN105116990A (en) * 2015-08-14 2015-12-02 董宇文 Method and system for automatic optimization of smartphone operating environment and energy saving
CN105955445A (en) * 2016-04-29 2016-09-21 周肇炎 Power-saving method for mobile terminal
CN105979095A (en) * 2016-06-27 2016-09-28 努比亚技术有限公司 Mobile terminal and application power consumption control method
CN106155789A (en) * 2016-06-28 2016-11-23 宇龙计算机通信科技(深圳)有限公司 A kind of application freezing method and mobile terminal
CN106292998A (en) * 2016-07-28 2017-01-04 宇龙计算机通信科技(深圳)有限公司 The management method of a kind of running background program and terminal
CN106371481A (en) * 2015-07-21 2017-02-01 中兴通讯股份有限公司 Terminal energy-saving management method and apparatus, and terminal
CN106569579A (en) * 2016-10-21 2017-04-19 宇龙计算机通信科技(深圳)有限公司 Power-saving control method and device of terminal
CN106713490A (en) * 2017-01-19 2017-05-24 努比亚技术有限公司 Network application-based process freezing and unfreezing apparatus and method
CN107220076A (en) * 2016-09-27 2017-09-29 华为技术有限公司 A kind of method for recovering internal storage and device
CN107491348A (en) * 2017-08-01 2017-12-19 广州三星通信技术研究有限公司 Electric terminal middle pipe ought to method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917516A (en) * 2010-08-16 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Power-saving processing method and system for mobile terminal, and mobile terminal
CN104317373A (en) * 2014-10-21 2015-01-28 北京奇虎科技有限公司 Method and device for cooling mobile terminal
CN106371481A (en) * 2015-07-21 2017-02-01 中兴通讯股份有限公司 Terminal energy-saving management method and apparatus, and terminal
CN105116990A (en) * 2015-08-14 2015-12-02 董宇文 Method and system for automatic optimization of smartphone operating environment and energy saving
CN105955445A (en) * 2016-04-29 2016-09-21 周肇炎 Power-saving method for mobile terminal
CN105979095A (en) * 2016-06-27 2016-09-28 努比亚技术有限公司 Mobile terminal and application power consumption control method
CN106155789A (en) * 2016-06-28 2016-11-23 宇龙计算机通信科技(深圳)有限公司 A kind of application freezing method and mobile terminal
CN106292998A (en) * 2016-07-28 2017-01-04 宇龙计算机通信科技(深圳)有限公司 The management method of a kind of running background program and terminal
CN107220076A (en) * 2016-09-27 2017-09-29 华为技术有限公司 A kind of method for recovering internal storage and device
CN106569579A (en) * 2016-10-21 2017-04-19 宇龙计算机通信科技(深圳)有限公司 Power-saving control method and device of terminal
CN106713490A (en) * 2017-01-19 2017-05-24 努比亚技术有限公司 Network application-based process freezing and unfreezing apparatus and method
CN107491348A (en) * 2017-08-01 2017-12-19 广州三星通信技术研究有限公司 Electric terminal middle pipe ought to method and device

Also Published As

Publication number Publication date
CN110045812A (en) 2019-07-23

Similar Documents

Publication Publication Date Title
CN110018901B (en) Memory recovery method and device, computer equipment and computer readable storage medium
CN110032266B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN106471794B (en) Terminal control method and device and terminal
CN109144232B (en) Process processing method and device, electronic equipment and computer readable storage medium
CN109992364B (en) Application freezing method and device, computer equipment and computer readable storage medium
CN112703714B (en) Application processing method and device, computer equipment and computer readable storage medium
WO2019128546A1 (en) Application program processing method, electronic device, and computer readable storage medium
CN109992425B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN110018904A (en) Information processing method, device, computer equipment and computer readable storage medium
CN109992375B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN110018905B (en) Information processing method, information processing apparatus, computer device, and computer-readable storage medium
CN110045809A (en) Information processing method, device, computer equipment and computer readable storage medium
CN110018886B (en) Application state switching method and device, electronic equipment and readable storage medium
CN109992360B (en) Process processing method and device, electronic equipment and computer readable storage medium
CN110018885B (en) Application program freezing method and device, storage medium and terminal
CN109992323B (en) Process processing method and device, electronic equipment and computer readable storage medium
CN110045812B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN109375995B (en) Application freezing method and device, storage medium and electronic equipment
CN110045811B (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
CN109992395B (en) Application freezing method and device, terminal and computer readable storage medium
WO2019128553A1 (en) Application processing method, electronic device, and computer-readable storage medium
CN110046033B (en) Application program processing method and device, electronic equipment and computer readable storage medium
CN110008007B (en) Application program freezing method and device, storage medium and terminal
CN109992369B (en) Application program 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

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant