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

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

Info

Publication number
CN110045812A
CN110045812A CN201810032304.4A CN201810032304A CN110045812A CN 110045812 A CN110045812 A CN 110045812A CN 201810032304 A CN201810032304 A CN 201810032304A CN 110045812 A CN110045812 A CN 110045812A
Authority
CN
China
Prior art keywords
background application
resource
resource constraint
application
computer equipment
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.)
Granted
Application number
CN201810032304.4A
Other languages
Chinese (zh)
Other versions
CN110045812B (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

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)
  • Power Sources (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a kind of information processing method, device, computer equipment and computer readable storage medium.The above method, comprising: if receive resource constraint instruction, obtain computer equipment voltage value and currently available memory value;The resource constraint strategy that resource constraint is carried out to background application is obtained according to the voltage value and currently available memory value;Resource constraint is carried out to the background application according to the resource constraint strategy.The above method, computer equipment is after getting resource constraint strategy according to voltage value and currently available memory value, according to above-mentioned resource constraint strategy resource constraint can be carried out to background application, the intelligence for carrying out resource constraint to background application is improved, the cruising ability of computer equipment is enhanced.

Description

Information processing method, device, computer equipment and computer readable storage medium
Technical field
This application involves field of computer technology, more particularly to a kind of information processing method, device, computer equipment and Computer readable storage medium.
Background technique
With the continuous promotion of development and the user demand of intelligence computation machine equipment, more and more intelligence computation machine equipments Screen it is increasing, the application program that can be run is more and more, and the power consumption of intelligence computation machine equipment is also increasing.In order to save The power consumption of intelligence computation machine equipment is saved, intelligence computation machine equipment can carry out resource constraint, limitation application to the application program of operation The available system resource of program.
Summary of the invention
The embodiment of the present application provides a kind of information processing method, device, computer equipment and computer readable storage medium, Resource constraint can be carried out to background application.
A kind of information processing method, comprising:
If receive resource constraint instruction, obtain computer equipment voltage value and currently available memory value;
The money that resource constraint is carried out to background application is obtained according to the voltage value and currently available memory value Source restriction strategy;
Resource constraint is carried out to the background application according to the resource constraint strategy.
A kind of information processing unit, comprising:
First obtains module, if obtaining the voltage value of computer equipment for receiving resource constraint instruction and working as Preceding free memory value;
Second obtains module, for being obtained according to the voltage value and currently available memory value to background application Carry out the resource constraint strategy of resource constraint;
Processing module, for carrying out resource constraint to the background application according to the resource constraint strategy.
A kind of computer equipment, including memory and processor store computer program, the meter in the memory When calculation machine program is executed by the processor, so that the step of processor executes method as described above.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of method as described above is realized when row.
In the embodiment of the present application, computer equipment is getting resource limit according to voltage value and currently available memory value After system strategy, resource constraint can be carried out to background application according to above-mentioned resource constraint strategy, improved to background application journey Sequence carries out the intelligence of resource constraint, enhances the cruising ability of computer equipment.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the schematic diagram of internal structure of computer equipment in one embodiment;
Fig. 2 is the part architecture diagram of computer equipment in one embodiment;
Fig. 3 is the flow chart of information processing method in one embodiment;
Fig. 4 is the flow chart of information processing method in another embodiment;
Fig. 5 is the flow chart of information processing method in another embodiment;
Fig. 6 is the flow chart of information processing method in another embodiment;
Fig. 7 is the structural block diagram of information processing unit in one embodiment;
Fig. 8 is the structural block diagram of information processing unit in another embodiment;
Fig. 9 is the structural block diagram of information processing unit in another embodiment;
The block diagram of the part-structure of Figure 10 mobile phone relevant to computer equipment provided by the embodiments of the present application.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, and It is not used in restriction the application.
Fig. 1 is the schematic diagram of internal structure of computer equipment in one embodiment.As shown in Figure 1, the computer equipment packet Include processor, memory and the network interface connected by system bus.Wherein, which calculates and controls energy for providing Power supports the operation of entire computer equipment.Memory for storing data, program etc., at least one meter is stored on memory Calculation machine program, the computer program can be executed by processor, to realize that is provided in the embodiment of the present application sets suitable for computer Standby information processing method.Memory may include non-volatile memory medium and built-in storage.Non-volatile memory medium storage There are operating system and computer program.The computer program can be performed by processor, for realizing following each embodiment A kind of provided information processing method.Built-in storage provides for the operating system computer program in non-volatile memory medium The running environment of cache.Network interface can be Ethernet card or wireless network card etc., for the computer equipment with outside It is communicated.The computer equipment can be mobile phone, tablet computer or personal digital assistant or wearable device etc..
It will be understood by those skilled in the art that structure shown in Fig. 1, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.Such as The computer equipment further includes the network interface connected by system bus, and network interface can be Ethernet card or wireless network card Deng for being communicated with external computer equipment, for example can be used for same server and communicated.
Fig. 2 is the part architecture diagram of computer equipment in one embodiment.As shown in Fig. 2, the framework system of computer equipment It include Java space layer 210, local ccf layer 220 and kernel (Kernel) space layer 230 in system.Include in Java space layer Freeze and defrosting module 212, it is above-mentioned to freeze and defrosting module 212 is for realizing the strategy that freezes to each application program, such as The application program of backstage power consumption is freezed etc..
It include that resource prioritization and limitation management module 222, platform freeze management module 224 in local ccf layer 220.On Different resource constraints can be carried out to different application programs by stating resource prioritization and limitation management module 222, make different answer It is in different resource prioritizations with program.Resource prioritization and limitation management module 222 can also be according to the demand tune on upper layer The resource prioritization of whole application program, so that rationally application program resource can be used in computer equipment.Platform freezes to manage mould Block 224 can enter the duration on backstage according to application program to determine the grade for carrying out resource constraint to process application program, platform The grade of different resource constraints can be preset by freezing management module 224, and the time that application program enters backstage is longer, and platform freezes The higher grade that management module 224 carries out resource constraint to application program, i.e., higher to the resource constraint degree of application program.It can Selection of land, above-mentioned resource constraint grade can include: CPU limitation sleep pattern, CPU freeze sleep pattern and process deep freezing mould Formula.Above-mentioned CPU limitation sleep pattern refers to central processing unit (Central workable for the process to application program Processing Unit, CPU) resource limited, and make the process of application program that less cpu resource can be used;It is limited in CPU Internet resources workable for the process of application program and input/output interface can be also further limited under sleep pattern processed (input/output, I/O) resource.CPU freezes sleep pattern and refers to that the process for forbidding application program uses cpu resource, network Resource and I/O resource, but to the memory source of the process of application program occupancy without recycling, above-mentioned CPU freezes sleep pattern It is the depth limit mode that application program can be used resource.Process deep freezing mode refers to that the process for forbidding application program makes With cpu resource, Internet resources and I/O resource, while the memory source that the process of recycle program occupies.Wherein, local frame The interface module of rack-layer 220 includes binder interface of the exploitation to upper layer, and the frame or application program on upper layer pass through above-mentioned Binder interface can be transmitted resource constraint and instruct to resource constraint managing module 222, send to freeze to instruct and freeze to manage to platform Module 224.
In kernel spacing layer 230 include UID management module 231, Cgroup module 232, binder control module 233, into Journey Memory recycle module 234 and time-out are freezed to exit module 235.It is currently based on progress recognizing to the management of process of application program Number (Process Identification, PID) Lai Shixian's, process is not corresponding with application program, is unfavorable for being managed collectively The corresponding resource of all processes of one application program.Above-mentioned UID management module 231 can pass through the user identity mark of application program Know the resource of (User Identifier, UID) Lai Guanli application program, can also by the UID of application program to application program into Row freezes.Cgroup module 232 can provide based on CPU, CPUSET, memory (memory), I/O resource and the relevant resource of Net Restriction scheme.Binder control module 233 can be used for limiting the priority of binder communication between background process.Proceeding internal memory recycling Module 234 discharges the file of process when process enters process deep freezing mode for realizing process deep freezing mode Accelerate speed when corresponding starting application program next time of process to realize saving memory in area.Time-out is freezed to exit module 235 are abnormal for solving the problems, such as process freezing time-out.
By above-mentioned framework, it can be achieved that information processing method in each embodiment of the application.
Fig. 3 is the flow chart of information processing method in one embodiment.As shown in figure 3, a kind of information processing method, packet It includes:
Step 302, if receive resource constraint instruction, obtain computer equipment voltage value and currently available memory Value.
When computer equipment receives resource constraint instruction, the voltage value of computer equipment can be obtained and currently may be used Use memory value.Above-mentioned resource constraint instruction refers to the resource constraint instruction to background application, and computer equipment can be to backstage The system resource that application program occupies carries out resource constraint, above system resource can include: Internet resources, I/O resource, memory money Source and cpu resource.After computer equipment gets voltage value, voltage value can be indicated with the percentage of battery total amount, Also available power directly indicates (for example, 3500 milliamperes).Currently available memory value is total memory value and currently running application The difference of program committed memory value.
Step 304, it is obtained according to voltage value and currently available memory value and resource constraint is carried out to background application Resource constraint strategy.
Computer equipment, can be according to above-mentioned currently available electricity after getting voltage value and currently available memory value Value and currently available memory value carry out the resource constraint strategy of resource constraint to obtain to background application.Above-mentioned resource constraint It include carrying out the resource constraint list of resource constraint to background application and resource being carried out to background application in strategy The resource constraint mode of limitation.It include the application program for needing to carry out the application program of resource constraint in above-mentioned resource constraint list Mark includes the resource constraint grade that resource constraint is carried out to application program in above-mentioned resource constraint mode, to application program into The resource class of row resource constraint.
Step 306, resource constraint is carried out to background application according to resource constraint strategy.
The resource constraint list and resource constraint mode that computer equipment includes in getting above-mentioned resource constraint strategy Afterwards, corresponding background application can be searched according to application program identification in above-mentioned resource constraint list, then above-mentioned backstage is answered Resource constraint is carried out with program.Computer equipment can search above-mentioned backstage and answer when carrying out resource constraint to background application With the corresponding resource constraint grade of program and to the resource constraint classification of the corresponding resource constraint of background application.According to upper The resource constraint that resource constraint classification carries out corresponding classification to background application is stated, according to above-mentioned resource constraint grade to backstage The resource constraint of application program progress corresponding grade.Optionally, computer equipment carries out resource constraint to background application Resource class includes: cpu resource, I/O resource, memory source and Internet resources.Computer equipment carries out background application The resource constraint grade of resource constraint includes: that CPU limits sleep pattern, CPU freezes sleep pattern and process deep freezing mode. Wherein, CPU limitation sleep pattern refers to that cpu resource workable for the process to application program limits, and makes application program Less cpu resource can be used in process, and other systems resource workable for the process to application program is not limited;CPU limit Sleep pattern processed can also further limit application program in addition to volume cpu resource can be used to limit for the process to application program Process workable for Internet resources and I/O resource.CPU freezes sleep pattern and refers to that the process for forbidding application program uses CPU Resource, Internet resources and I/O resource, but to the memory source of the process of application program occupancy without recycling, above-mentioned CPU freezes Sleep pattern is application program to can be used the depth limit mode of resource.Process deep freezing mode, which refers to, forbids application program Process use cpu resource, Internet resources and I/O resource, while recycle program process occupy memory source.
Method in the embodiment of the present application, computer equipment are getting money according to voltage value and currently available memory value After the restriction strategy of source, resource constraint can be carried out to background application according to above-mentioned resource constraint strategy, improved to answering from the background The intelligence that resource constraint is carried out with program enhances the cruising ability of computer equipment.
In one embodiment, resource constraint strategy includes resource constraint list and resource constraint grade.Root in step 304 Obtaining the resource constraint strategy for carrying out resource constraint to background application according to voltage value and currently available memory value includes:
(1) power consumption for obtaining background application, determines according to the power consumption of voltage value and background application Resource constraint list.
(2) money that resource constraint is carried out to background application in resource constraint list is determined according to currently available memory value Source limit grade.
It include resource constraint list and resource constraint mode in above-mentioned resource constraint strategy, above-mentioned resource constraint list needs The list of the background application of resource constraint is carried out, includes the backstage for needing to carry out resource constraint in above-mentioned resource constraint list The application program identification of application program.The resource class of resource constraint is carried out in above-mentioned resource constraint mode to background application With resource constraint grade.
Computer equipment can obtain the power consumption of background application respectively.Optionally, the consumption of above-mentioned background application Electricity can be power consumption of the background application within the unit time, can also be the average power consumption of background application.It calculates The corresponding relationship of voltage value with the power consumption for the background application for needing resource constraint is prestored in machine equipment.Computer Equipment can find the background application of corresponding power consumption according to voltage value, then to above-mentioned corresponding power consumption after Platform application program carries out resource constraint.Optionally, voltage value can be divided into 5 grades by computer equipment, comprising: 0~19%, 20%~39%, 40%~59%, 60%~79%, 80%~100%.Background application can be pressed power consumption by computer equipment Application program is divided into 5 grades by the sequence of amount from high to low, wherein is gradually dropped by the 1st grade to the 5th level application of power consumption It is low.When computer equipment voltage value is 0~19%, the application program to power consumption at the 1st grade to the 5th grade carries out resource limit System;When computer equipment voltage value is 20%~39%, the application program to power consumption at the 2nd grade to the 5th grade is provided Source limitation;When computer equipment voltage value is 40%~59%, to power consumption 3rd level to the 5th grade application program into Row resource constraint;When application journey of the computer equipment voltage value 60%~79%, to power consumption at the 4th grade to the 5th grade Sequence carries out resource constraint;When application program of the computer equipment voltage value 80%~100%, to power consumption at the 5th grade Carry out resource constraint.
Computer equipment can also determine the resource that resource constraint is carried out to background application according to currently available memory value Limit grade.Above-mentioned currently available memory value and resource constraint grade negative correlation, when currently available memory value is lower, It is higher ranked to the resource constraint of background application;When currently available memory value is higher, to the resource of background application Limit grade is lower.To the resource constraint higher grade of background application, the available system resource of background application is fewer. It optionally, is from low to high respectively that CPU limits sleep pattern, CPU freezes to sleep to the resource constraint grade of background application Mode and process deep freezing mode.
Method in the embodiment of the present application can determine what needs freezed according to the power consumption of current electric quantity and background application Background application can determine the resource constraint etc. that resource constraint is carried out to background application according to currently available memory value Grade, it is more intelligent to the resource constraint mode of background application.
In one embodiment, the above method further include: the duration that background application enters backstage is obtained, according to duration Adjust the resource constraint grade that resource constraint is carried out to background application.
Computer equipment can also obtain the duration that background application enters backstage, be entered according to above-mentioned background application The duration adjustment on backstage carries out the resource constraint grade of resource constraint to background application.Optionally, with background application journey The duration that sequence enters backstage increases, and computer equipment can also promote the resource constraint grade of background application, i.e., answer from the background The duration for entering backstage with program is longer, and computer equipment is to the resource constraint higher grade of background application.Computer is set The corresponding relationship that the duration and promotion resource constraint grade into backstage can be preset in standby, for example, the duration into backstage reaches 1 Hour, 1 grade is promoted to the resource constraint grade of background application, the duration into backstage reaches 3 hours, to background application journey The resource constraint grade of sequence promotes 1 grade again.
Computer equipment, can be according to backstage after receiving resource constraint instruction and carrying out resource constraint to background application The duration adjustment that application program enters backstage carries out the resource constraint grade of resource constraint to background application, so that computer Equipment is more intelligent to the resource constraint of background application.
In one embodiment, when meeting at least one of following situations, resource constraint instruction is received:
(1) computer equipment is in standby.When computer equipment is in standby, kernel in computer equipment Space can be transmitted resource constraint and instruct to user's space, so that user's space can instruct release backstage to answer according to above-mentioned resource constraint The system resource occupied with program.Wherein, when computer equipment receive put out screen broadcast when, can determine that computer equipment be in Machine state.
(2) memory value that currently running application program occupies is greater than first threshold.Computer equipment can obtain it is each after The summation for the memory source value that platform application program occupies.When the summation for the memory source value that above-mentioned each background application occupies When not less than first threshold, kernel spacing can be transmitted resource constraint and instruct to user's space in computer equipment, so that user is empty Between can according to above-mentioned resource constraint instruct release background application occupy system resource.Above-mentioned first threshold can be computer The value of equipment setting can also be value set by user, for example, the 60% of the total memory source value of computer equipment.
(3) current CPU temperature is higher than second threshold.Computer equipment can also monitor cpu temperature in real time, when cpu temperature height When preset second threshold, determine that application program leads to computer equipment in largely consumption system resource in computer equipment Fever.Kernel spacing can be transmitted resource constraint and instruct to user's space in computer equipment, so that user's space can be according to above-mentioned The system resource that resource constraint instruction release background application occupies.Above-mentioned second threshold can be computer equipment setting Value can also be value set by user, for example, 85 DEG C.
Method in the embodiment of the present application, computer equipment, which can detect the state of computer equipment and send resource constraint, to be referred to It enables, reduces since free system resources not enough cause foreground application to run slow situation, improve computer equipment The fluency of operation.
In one embodiment, the above method further include:
Step 308, resource prioritization is arranged to background application.
Step 310, if detecting, background application and foreground application have in communication mechanism and synchronization mechanism extremely Few one kind, promotes the resource prioritization of background application.
Resource prioritization can be arranged to application program in computer equipment.Wherein, computer equipment can be according to application program Frequency of usage of type, application program etc. is to application setting resource prioritization.Above-mentioned resource prioritization refers to using journey The limit grade of resource can be used in sequence, the corresponding resource prioritization of application program is different, then resource workable for application program Limit grade is different.The corresponding resource prioritization of application program is higher, fewer to the limitation of resource workable for application program.On Stating usable resource includes: cpu resource, memory source, I/O resource and Internet resources.For example, computer equipment can be to using journey It includes: the 1st grade, the 2nd grade, 3rd level, the 4th grade and the 5th grade that 5 grades of priority, which are arranged, in sequence.Wherein, the 1st grade of highest priority, the 5th grade Priority is minimum.When application program is in the 1st grade of priority, ratio workable for every resource is 80%, that is, CPU can be used Resource is the 80% of total cpu resource, and workable memory source is the 80% of total memory source, and workable I/O resource is total The 80% of I/O resource, it is the 80% of overall network resource that Internet resources, which can be used,.When application program is in the 2nd grade of priority, respectively Ratio workable for item resource is 60%;When application program is in 3rd level priority, ratio workable for every resource is 40%;When application program is in the 4th grade of priority, ratio workable for every resource is 20%;When application program is in the 5th When grade priority, ratio workable for every resource is 10%.
The inter-process communication mechanisms of application program include socket, binder, shared drive etc..Two programs on network The exchange of data is realized by a two-way communication connection, one end of this connection is known as a socket.Binder is one Kind inter-process communication mechanisms, provide remote procedure call function.Shared drive is exactly to allow two incoherent process access same One logical memory, shared drive are that shared between the process being currently running at two and transmitting data one kind are very effective Mode, the memory shared between different processes are usually arranged for same section of physical memory.The inter process synchronization mechanism of application program Refer in concurrent program design, each process must restrict the access of public variable, and this restriction is known as synchronizing.It is operating In system, the synchronization mechanism of User space (user mode) can be realized by calling futex system to call.Synchronization mechanism includes letter Number amount, mutual exclusion lock etc..Detect that there are any one synchronous machines with the process of foreground application when calling by futex system When the process of the background application of system, the background application that can be will test, which is used as, is relied on application program.When answering from the background When having one or more in communication mechanism and synchronization mechanism with program and foreground application, it is believed that background application is Foreground application is relied on application program, i.e. foreground application needs to call the data of background application could be smoothly It executes.
Under normal conditions, the resource prioritization that computer equipment sets foreground application is higher, to background application journey The resource prioritization of sequence setting is lower.When computer equipment detects that background application is answering of being relied on of foreground application When with program, whether the resource prioritization of the resource prioritization and foreground application that can detect background application is identical, if The resource prioritization of background application is lower than the resource prioritization of foreground application, then computer equipment can be by background application The resource prioritization of program promotes the resource prioritization to foreground application.
Method in the embodiment of the present application, when detecting that background application is the application program that foreground application is relied on When, the resource prioritization of background application can be improved, resource workable for background application increases, and accelerates background application The speed of program response foreground application.
In one embodiment, further includes: when detecting that foreground application terminates the dependence to background application, drop The resource prioritization of low above-mentioned background application.When background application is no longer the application journey that foreground application is relied on When sequence, the resource prioritization of background application is restored to the preceding lower resource prioritization of adjustment.
In one embodiment, carrying out resource constraint to background application includes: to freeze to background application, Background application is forbidden to use system resource.
The above method further include:
Step 312, if receiving the wakeup message to the background application in frozen state, background application journey is obtained The corresponding wake-up duration of sequence.
Step 314, at the time of being once waken up on current time and background application between time difference be not less than When waking up duration, the background application in frozen state is waken up.
Computer equipment can also to application program carry out resource constraint, wherein can be entered according to application program backstage when Length carries out the grade of resource constraint to determine to application program.The duration that application program enters backstage is longer, to application program into The higher grade of row resource constraint.Computer equipment is when carrying out resource constraint to application program, if application program is switched to Process deep freezing mode, then application program is in frozen state.When application program is in frozen state, application program can not Using system resource, therefore it cannot respond to the communication information of other applications.It is above-mentioned to freeze to wake up duration to be that computer is set The standby preset time difference for twice waking up application program by frozen state.
When computer equipment receives the communication information or system message to the application program in frozen state, can incite somebody to action Computer equipment is switched to the state of usable system resource by frozen state, so that application program can respond above-mentioned communication information Or system message.It wherein, can be by application program by the state that frozen state is switched to usable system resource by application program CPU limitation sleep state is switched to by process frozen state, so that system resource can be used in application program.Computer equipment can also It thaws to application program, does not limit application program and use system resource.
After receiving to the wakeup message of the background application in frozen state, computer equipment will not be each Just background application is waken up when receiving wakeup message.Computer equipment can will be one on current time and background application The secondary time difference being waken up between the moment compares with above-mentioned wake-up duration.If the above-mentioned time difference is greater than or equal to wake-up Long, then computer equipment at once wakes up background application according to above-mentioned wakeup message.If the above-mentioned time difference is less than wake-up It is long, then computer equipment at the time of being once waken up on current time and above-mentioned background application between time difference be equal to When above-mentioned wake-up duration, above-mentioned background application is waken up.I.e. computer equipment is detecting that current time once answers with upper With program be waken up the moment between time difference be less than above-mentioned wake-up duration when, the wakeup message that receives in duration will waken up Accumulation, at the time of being once waken up on current time and above-mentioned background application between time difference be equal to above-mentioned wake-up when When long, background application is waken up according to the wakeup message of accumulation.If waking up duration after upper primary application program is waken up Do not receive wakeup message inside, then when receiving wakeup message after being more than to wake up duration, computer equipment can immediately will be above-mentioned Background application wakes up.
It under normal conditions, can be to rear in order to save computer equipment power consumption and improve the available resources of foreground application The available resource of platform application program is limited, for example, freezing to background application.Computer equipment is receiving pair When the wakeup message of above-mentioned background application, need to wake up above-mentioned background application, otherwise above-mentioned background application The mistake of no response can occur, but background application wake-up frequently be will lead into computer equipment to background application Resource constraint rate reduce, the available resource of foreground application can not be improved.
Method in the embodiment of the present application, the application program for frozen state, which can be arranged, in computer equipment wakes up duration, So that application program will not frequently be waken up and waste computer equipment power consumption, in turn avoid application program and be chronically to freeze shape The problem of state is without response.
In one embodiment, the above method further include:
Step 316, if the termination order to the background application in frozen state is received, by background application It thaws and be set as background application can not frozen state.
Step 318, it is ordered according to termination and closes background application.
If computer device resources are in short supply, computer equipment can send the application program in frozen state and terminate life It enables, closes the above-mentioned application program in frozen state, discharge the system resource that above-mentioned application program occupies.But work as application program When in frozen state, application program can not receive any message, be waken up, call out even at the application program of frozen state Application program can also quickly recover to frozen state after waking up, therefore computer equipment can not close the application journey in frozen state Sequence.Under normal conditions, computer equipment will use two sets of codes to terminate application program, wherein a set of code freezes for terminating State application, another set of code is for terminating other applications.
When computer equipment receives the termination order to the application program in frozen state, if detecting above-mentioned answer With program be in frozen state in frozen state, thaw to the above-mentioned application program in frozen state, and will solve After jelly application program be set as can not frozen state, then thaw after application program above-mentioned termination order can correctly be responded, i.e., Application program after above-mentioned defrosting can be closed.Wherein, thawing to application program can use for no longer limitation application program System resource, can also be that application program is switched to the shape of usable system resource by the state of unusable system resource Application program is such as switched to CPU limitation sleep pattern by state.
Method in the embodiment of the present application can terminate safely the application program in frozen state, avoid the occurrence of application program The case where can not terminating, computer equipment can be terminated according to unified command for stopping in the application program of frozen state and its His application program realizes the compatibility for terminating application program and other applications in frozen state, reduces software The difficulty of exploitation, it is convenient that Mobile operating system is safeguarded.
It should be understood that although each step in above-mentioned flow chart is successively shown according to the instruction of arrow, this A little steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these steps It executes there is no the limitation of stringent sequence, these steps can execute in other order.Moreover, at least one in above-mentioned flow chart Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one embodiment, a kind of information processing method, comprising:
(1) if receive resource constraint instruction, obtain computer equipment voltage value and currently available memory.
(2) resource that resource constraint is carried out to background application is obtained according to voltage value and currently available memory value Restriction strategy.
(3) resource constraint is carried out to background application according to resource constraint strategy.
Optionally, resource constraint strategy includes resource constraint list and resource constraint grade.According to voltage value and work as It includes: acquisition background application that preceding free memory value, which obtains and carries out the resource constraint strategy of resource constraint to background application, Power consumption, resource constraint list is determined according to the power consumption of voltage value and background application;According to currently available interior It deposits value and determines the resource constraint grade for carrying out resource constraint to background application in resource constraint list.
Optionally, the above method further include: obtain the duration that background application enters backstage, adjusted according to duration to rear The resource constraint grade of platform application program progress resource constraint.
Optionally, when meeting at least one of following situations, resource constraint instruction is received:
(1) computer equipment is in standby.
(2) memory value that currently running application program occupies is greater than first threshold.
(3) current CPU temperature is higher than second threshold.
Optionally, the above method further include: resource prioritization is arranged to background application;If detecting background application journey Sequence and foreground application have at least one of communication mechanism and synchronization mechanism, promote the resource priority of background application Grade.
Optionally, carrying out resource constraint to background application includes: to freeze to background application, forbids backstage Application program uses system resource.The above method further include: if receiving calling out to the background application in frozen state Awake message obtains the corresponding wake-up duration of background application;It is once waken up on current time and background application When time difference between moment is not less than wake-up duration, the background application in frozen state is waken up.
Optionally, the above method further include: if receiving the termination order to the background application in frozen state, Background application is thawed and be set as background application can not frozen state;Background application is closed according to terminating to order Program.
Fig. 7 is the structural block diagram of information processing unit in one embodiment.As shown in fig. 7, a kind of information processing unit, packet It includes:
First obtain module 702, if for receive resource constraint instruction, obtain computer equipment voltage value and Currently available memory value.
Second obtains module 704, for being obtained according to voltage value and currently available memory value to background application Carry out the resource constraint strategy of resource constraint.
Processing module 706, for carrying out resource constraint to background application according to resource constraint strategy.
In one embodiment, resource constraint strategy includes resource constraint list and resource constraint grade.Second obtains mould Block 704 obtains the resource constraint plan that resource constraint is carried out to background application according to voltage value and currently available memory value Include: slightly the power consumption for obtaining background application, resource is determined according to the power consumption of voltage value and background application Limit list;The resource that resource constraint is carried out to background application in resource constraint list is determined according to currently available memory value Limit grade.
In one embodiment, processing module 706 is also used to obtain the duration that background application enters backstage, according to when Long adjustment carries out the resource constraint grade of resource constraint to background application.
In one embodiment, when meeting at least one of following situations, receive resource constraint instruction: computer is set It is standby to be in standby;The memory value that currently running application program occupies is greater than first threshold;Current CPU temperature is higher than second Threshold value.
In one embodiment, processing module 706 is also used to that resource prioritization is arranged to background application;If detecting Background application and foreground application have at least one of communication mechanism and synchronization mechanism, promote background application Resource prioritization.
Fig. 8 is the flow chart of information processing method in another embodiment.As shown in figure 8, a kind of information processing method, packet Include: first, which obtains module 802, second, obtains module 804, processing module 806, wake-up module 808.Wherein, first module is obtained 802, the second acquisition module 804, processing module 806 are identical as functions of modules corresponding in Fig. 7.
It includes: to freeze to background application that processing module 806, which carries out resource constraint to background application, is forbidden Background application uses system resource.
If the second acquisition module 804 is also used to receive the wakeup message to the background application in frozen state, Obtain the corresponding wake-up duration of background application.
Wake-up module 808 is also used to the time between at the time of being once waken up on current time and background application When difference is not less than duration is waken up, the background application in frozen state is waken up.
Fig. 9 is the flow chart of information processing method in another embodiment.As shown in figure 9, a kind of information processing method, packet Include: first, which obtains module 902, second, obtains module 904, processing module 906, defrosting module 908, closedown module 910.Wherein, It is identical as functions of modules corresponding in Fig. 7 that first acquisition module 902, second obtains module 904, processing module 906.
Defrosting module 908, if for receiving the termination order to the background application in frozen state, it will backstage Application program is thawed and be set as background application can not frozen state;
Closedown module 910 closes background application for ordering according to termination.
The division of modules is only used for for example, in other embodiments, can will believe in above- mentioned information processing unit Breath processing unit is divided into different modules as required, to complete all or part of function of above- mentioned information processing unit.
Specific about information processing unit limits the restriction that may refer to above for information processing method, herein not It repeats again.Modules in above- mentioned information processing unit can be realized fully or partially through software, hardware and combinations thereof.On Stating each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also store in a software form In memory in computer equipment, the corresponding operation of the above modules is executed in order to which processor calls.
Realizing for the modules in information processing unit provided in the embodiment of the present application can be the shape of computer program Formula.The computer program can be run in terminal or server.The program module that the computer program is constituted is storable in terminal Or on the memory of server.When the computer program is executed by processor, method described in the embodiment of the present application is realized Step.
The embodiment of the present application also provides a kind of computer readable storage mediums.One or more is executable comprising computer The non-volatile computer readable storage medium storing program for executing of instruction, when computer executable instructions are executed by one or more processors, So that processor executes the step of information processing method in the embodiment of the present application.
A kind of computer program product comprising instruction, when run on a computer, so that computer executes this Shen It please be in embodiment the step of information processing method.
The embodiment of the present application also provides a kind of computer equipments.As shown in Figure 10, for ease of description, illustrate only with The relevant part of the embodiment of the present application, it is disclosed by specific technical details, please refer to the embodiment of the present application method part.The calculating Machine equipment can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), Any terminal devices such as POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer, wearable device are with computer equipment For mobile phone:
Figure 10 is the block diagram of the part-structure of mobile phone relevant to computer equipment provided by the embodiments of the present application.With reference to figure 10, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 1010, memory 1020, input unit 1030, display unit 1040, sensor 1050, voicefrequency circuit 1060, Wireless Fidelity (wireless fidelity, WiFi) module 1070, processor The components such as 1080 and power supply 1090.It will be understood by those skilled in the art that handset structure shown in Fig. 10 does not constitute opponent The restriction of machine may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
Wherein, RF circuit 1010 can be used for receiving and sending messages or communication process in, signal sends and receivees, can be by base station After downlink information receives, handled to processor 1080;The data of uplink can also be sent to base station.In general, RF circuit includes But be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 1010 can also be communicated with network and other equipment by wireless communication.It is above-mentioned wireless Any communication standard or agreement, including but not limited to global system for mobile communications (Global System of can be used in communication Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE)), Email, Short message service (Short Messaging Service, SMS) etc..
Memory 1020 can be used for storing software program and module, and processor 1080 is stored in memory by operation 1020 software program and module, thereby executing the various function application and data processing of mobile phone.Memory 1020 can be led It to include program storage area and data storage area, wherein program storage area can be needed for storage program area, at least one function Application program (such as application program, application program of image player function of sound-playing function etc.) etc.;It data storage area can Storage uses created data (such as audio data, address list etc.) etc. according to mobile phone.In addition, memory 1020 can wrap High-speed random access memory is included, can also include nonvolatile memory, for example, at least disk memory, a flash memories Part or other volatile solid-state parts.
Input unit 1030 can be used for receiving the number or character information of input, and generates and set with the user of mobile phone 1000 It sets and the related key signals of function control inputs.Specifically, input unit 1030 may include touch panel 1031 and other Input equipment 1032.Touch panel 1031, alternatively referred to as touch screen collect the touch operation (ratio of user on it or nearby Such as user is using finger, stylus any suitable object or attachment on touch panel 1031 or near touch panel 1031 Operation), and corresponding attachment device is driven according to preset formula.In one embodiment, touch panel 1031 can Including both touch detecting apparatus and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and examine Touch operation bring signal is surveyed, touch controller is transmitted a signal to;Touch controller receives touching from touch detecting apparatus Information is touched, and is converted into contact coordinate, then gives processor 1080, and order that processor 1080 is sent can be received and added To execute.Furthermore, it is possible to realize touch panel using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves 1031.In addition to touch panel 1031, input unit 1030 can also include other input equipments 1032.Specifically, other are inputted Equipment 1032 can include but is not limited to one in physical keyboard, function key (such as volume control button, switch key etc.) etc. Kind is a variety of.
Display unit 1040 can be used for showing information input by user or be supplied to user information and mobile phone it is each Kind menu.Display unit 1040 may include display panel 1041.In one embodiment, liquid crystal display can be used (Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode, ) etc. OLED forms configure display panel 1041.In one embodiment, touch panel 1031 can cover display panel 1041, After touch panel 1031 detects touch operation on it or nearby, processor 1080 is sent to determine touch event Type is followed by subsequent processing device 1080 according to the type of touch event and provides corresponding visual output on display panel 1041.Although In Figure 10, touch panel 1031 and display panel 1041 are the input and input for realizing mobile phone as two independent components Function, but in some embodiments it is possible to touch panel 1031 and display panel 1041 are integrated and are realized the input of mobile phone And output function.
Mobile phone 1000 may also include at least one sensor 1050, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 1041, and proximity sensor can close display when mobile phone is moved in one's ear Panel 1041 and/or backlight.Motion sensor may include acceleration transducer, can detect all directions by acceleration transducer The size of upper acceleration can detect that size and the direction of gravity when static, the application that can be used to identify mobile phone posture is (such as horizontal Vertical screen switching), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer, Other sensors such as hygrometer, thermometer, infrared sensor etc..
Voicefrequency circuit 1060, loudspeaker 1061 and microphone 1062 can provide the audio interface between user and mobile phone.Sound Electric signal after the audio data received conversion can be transferred to loudspeaker 1061, by 1061 turns of loudspeaker by frequency circuit 1060 It is changed to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1062, by voicefrequency circuit Audio data is converted to after 1060 receptions, then by after the processing of audio data output processor 1080, can be sent out through RF circuit 1010 Another mobile phone is given, or audio data is exported to memory 1020 so as to subsequent processing.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 1070 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Figure 10 is shown WiFi module 1070, but it is understood that, and it is not belonging to must be configured into for mobile phone 1000, it can according to need and save Slightly.
Processor 1080 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, By running or execute the software program and/or module that are stored in memory 1020, and calls and be stored in memory 1020 Interior data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.In one embodiment, Processor 1080 may include one or more processing units.In one embodiment, processor 1080 can integrate application processor And modem processor, wherein the main processing operation system of application processor, user interface and application program etc.;Modulatedemodulate Processor is adjusted mainly to handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor In 1080.
Mobile phone 1000 further includes the power supply 1090 (such as battery) powered to all parts, it is preferred that power supply can pass through Power-supply management system and processor 1080 are logically contiguous, to realize management charging, electric discharge, Yi Jigong by power-supply management system The functions such as consumption management.
In one embodiment, mobile phone 1000 can also include camera, bluetooth module etc..
In the embodiment of the present application, processor 100 included by the computer equipment executes the meter of storage on a memory The step of executing information processing method in the embodiment of the present application when calculation machine program.
Any reference to memory, storage, database or other media used in this application may include non-volatile And/or volatile memory.Nonvolatile memory may include that read-only memory (ROM), programming ROM (PROM), electricity can be compiled Journey ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include random access memory (RAM), it is used as external cache.By way of illustration and not limitation, RAM is available in many forms, such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), straight Connect memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM).
Above embodiments only express the several embodiments of the application, and the description thereof is more specific and detailed, but can not Therefore it is interpreted as the limitation to the application the scope of the patents.It should be pointed out that for those of ordinary skill in the art, Without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection model of the application It encloses.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of information processing method characterized by comprising
If receive resource constraint instruction, obtain computer equipment voltage value and currently available memory value;
The resource for carrying out resource constraint to background application is obtained according to the voltage value and currently available memory value to limit System strategy;
Resource constraint is carried out to the background application according to the resource constraint strategy.
2. according to the method described in claim 1, it is characterized by:
The resource constraint strategy includes resource constraint list and resource constraint grade;
It is described that the money that resource constraint is carried out to background application is obtained according to the voltage value and currently available memory value Source restriction strategy includes:
The power consumption for obtaining background application, according to the determination of the power consumption of the voltage value and background application Resource constraint list;
The resource that resource constraint is carried out to background application in resource constraint list is determined according to the currently available memory value Limit grade.
3. according to the method described in claim 2, it is characterized by further comprising:
The duration that the background application enters backstage is obtained, the background application is carried out according to duration adjustment The resource constraint grade of resource constraint.
4. the method according to claim 1, wherein receiving institute when meeting at least one of following situations State resource constraint instruction:
Computer equipment is in standby;
The memory value that currently running application program occupies is greater than first threshold;
Current CPU temperature is higher than second threshold.
5. the method according to the method in any one of claims 1 to 3, which is characterized in that further include:
Resource prioritization is arranged to the background application;
If detecting, the background application and foreground application have at least one of communication mechanism and synchronization mechanism, mention Rise the resource prioritization of the background application.
6. according to the method in any one of claims 1 to 3, which is characterized in that described to be provided to background application Source limitation includes: to freeze to the background application, and the background application is forbidden to use system resource;
The method also includes:
If receiving the wakeup message to the background application in frozen state, it is corresponding to obtain the background application Wake up duration;
Time difference between at the time of being once waken up on current time and the background application is not less than the wake-up When duration, the background application in frozen state is waken up.
7. according to the method described in claim 6, it is characterized by further comprising:
If receive in frozen state background application termination order, by the background application thaw and incite somebody to action The background application is set as can not frozen state;
The background application is closed according to termination order.
8. a kind of information processing unit characterized by comprising
First obtains module, if obtaining the voltage value of computer equipment for receiving resource constraint instruction and currently may be used Use memory value;
Second obtains module, carries out for being obtained according to the voltage value and currently available memory value to background application The resource constraint strategy of resource constraint;
Processing module, for carrying out resource constraint to the background application according to the resource constraint strategy.
9. a kind of computer equipment, including memory and processor, computer program, the calculating are stored in the memory When machine program is executed by the processor, so that the processor executes the method as described in any one of claims 1 to 7 Step.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method as described in any one of claims 1 to 7 is realized when being executed by processor.
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 true CN110045812A (en) 2019-07-23
CN110045812B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114845166A (en) * 2022-05-07 2022-08-02 广东长虹电子有限公司 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

Cited By (2)

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

Also Published As

Publication number Publication date
CN110045812B (en) 2021-01-15

Similar Documents

Publication Publication Date Title
CN110018904A (en) Information processing method, device, computer equipment and computer readable storage medium
CN110018901A (en) Method for recovering internal storage, device, computer equipment and computer readable storage medium
CN109992438A (en) Information processing method, device, computer equipment and computer readable storage medium
CN110045809A (en) Information processing method, device, computer equipment and computer readable storage medium
CN110032266A (en) Information processing method, device, computer equipment and computer readable storage medium
CN110008008A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN107272872A (en) Electricity-saving control method and Related product
CN109992400A (en) Resource allocation methods, device, mobile terminal and computer readable storage medium
CN109144232A (en) Process handling method and device, electronic equipment, computer readable storage medium
CN109992370A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN109992364A (en) Using freezing method, device, computer equipment and computer readable storage medium
CN109992378A (en) Using freezing method, device, terminal and computer readable storage medium
CN110018905A (en) Information processing method, device, computer equipment and computer readable storage medium
CN110032431A (en) Application processing method and device, electronic equipment, computer readable storage medium
CN110032267A (en) Information processing method, device, mobile terminal and computer readable storage medium
CN109992375A (en) Information processing method, device, computer equipment and computer readable storage medium
CN109992397A (en) Process handling method and device, electronic equipment, computer readable storage medium
CN109992425A (en) Information processing method, device, computer equipment and computer readable storage medium
CN110032429A (en) Information processing method, device, mobile terminal and computer readable storage medium
CN109992323A (en) Process handling method and device, electronic equipment, computer readable storage medium
CN110032397A (en) Application processing method and device, electronic equipment, computer readable storage medium
CN110018886A (en) Application state switching method and apparatus, electronic equipment, readable storage medium storing program for executing
CN110046033A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN109992360A (en) Process handling method and device, electronic equipment, computer readable storage medium
CN109992363A (en) Applied program processing method and device, electronic equipment, computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
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