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

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

Info

Publication number
CN110032431A
CN110032431A CN201810032311.4A CN201810032311A CN110032431A CN 110032431 A CN110032431 A CN 110032431A CN 201810032311 A CN201810032311 A CN 201810032311A CN 110032431 A CN110032431 A CN 110032431A
Authority
CN
China
Prior art keywords
target application
duration
threshold value
application
duration threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810032311.4A
Other languages
Chinese (zh)
Inventor
陈岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810032311.4A priority Critical patent/CN110032431A/en
Publication of CN110032431A publication Critical patent/CN110032431A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

This application involves a kind of application processing methods and device, electronic equipment, computer readable storage medium.This method comprises: obtaining electronic equipment, target application is in the operation duration of front stage operation in the monitoring mode;Obtain the first duration threshold value corresponding with the target application;The limitation to the target application that preset monitoring device is sent is received to instruct;After the operation duration reaches the first duration threshold value, resource constraint processing is carried out to the target application according to limitation instruction.By the above method, the flexibility of the control to the target application on electronic equipment can be improved.

Description

Application processing method and device, electronic equipment, computer readable storage medium
Technical field
This application involves data processing fields, more particularly to a kind of application processing method and device, electronic equipment, calculating Machine readable storage medium storing program for executing.
Background technique
The application installed on electronic equipment at runtime, needs to occupy certain resource, such as occupies processor resource, interface Resource, Internet resources and/or memory source etc..Due to being run on electronic equipment using numerous, when the money that all applications occupy When source is excessive, the overall operation efficiency of terminal will affect.
Conventional method is usually to carry out freezing to handle to background application, to limit background application to the occupancy of resource, is improved Available resources on electronic equipment tilts more available resources in foreground application, and less answers for foreground With being limited.Some improved ways also can in the case of the electricity of terminal is lower, or under conditions of other settings, Show the prompt informations such as resource that not enough power supply or application operation occupy is excessive, it is desired nonetheless to which user exits front stage operation manually Application program, it is difficult to effectively improve the available resources of electronic equipment.Therefore, traditional processing mode for application program It is inflexible.
Summary of the invention
The embodiment of the present application provides a kind of application processing method and device, electronic equipment, computer readable storage medium, can To improve the flexibility of the processing to application.
A kind of application processing method, comprising: obtaining electronic equipment, target application is in front stage operation in the monitoring mode Operation duration;Obtain the first duration threshold value corresponding with the target application;Receive that preset monitoring device sends to described The limitation of target application instructs;After the operation duration reaches the first duration threshold value, instructed according to the limitation to institute It states target application and carries out resource constraint processing.
A kind of to apply processing unit, described device includes: that duration obtains module, for obtaining electronic equipment in monitoring mode Lower target application is in the operation duration of front stage operation;Obtain the first duration threshold value corresponding with the target application;Limitation refers to Receiving module is enabled, is instructed for receiving the limitation to the target application that preset monitoring device is sent;Using limitation module, For being provided according to limitation instruction to the target application after operation duration reaches the first duration threshold value Source limitation processing.
A kind of electronic equipment, including memory and processor store computer program, the calculating in the memory When machine program is executed by the processor, so that the processor executes each application processing method as described in the examples of the application The step of.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of each application processing method as described in the examples of the application is realized when row.
Application processing method and device provided by the embodiments of the present application, electronic equipment, computer readable storage medium, pass through Obtaining electronic equipment, target application is in the operation duration of front stage operation and corresponding first duration threshold value in the monitoring mode;It connects The limitation to the target application that preset monitoring device is sent is received to instruct;When the operation duration reaches first duration After threshold value, resource constraint processing is carried out to the target application according to limitation instruction.To in the operation of target application Long is more than when corresponding to the first duration threshold value, to be realized by monitoring device and carry out resource constraint to target application, realized and set by monitoring The standby monitoring that target application is carried out to electronic equipment, improves the flexibility to electronic equipment to the processing of application.
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 applied environment figure of application processing method in one embodiment;
Fig. 2 is the schematic diagram of internal structure of electronic equipment in one embodiment;
Fig. 3 is the part frame schematic diagram of the system in one embodiment in electronic equipment;
Fig. 4 is the flow chart of application processing method in one embodiment;
Fig. 5 is the flow chart that the first duration threshold value corresponding with target application is obtained in one embodiment;
Fig. 6 is the schematic diagram that process flow is applied in one embodiment;
Fig. 7 is the flow chart of application processing method in another embodiment;
Fig. 8 is the structural block diagram that processing unit is applied in one embodiment;
Fig. 9 is the block diagram of the part-structure of mobile phone in one embodiment.
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.
It is appreciated that term " first " used in the present invention, " second " etc. can be used to describe various elements herein, But these elements should not be limited by these terms.These terms are only used to distinguish the first element from the other element.Citing comes It says, without departing from the scope of the invention, the first duration threshold value can be known as the second duration threshold value, and similarly, Second duration threshold value can be known as the first duration threshold value.First duration threshold value and the second duration threshold value both duration threshold value, But it is not same duration threshold value.
Information off-line processing method provided by the embodiment of the present invention may be used in application environment as shown in Figure 1.Ginseng It examines shown in Fig. 1, which includes the electronic equipment 110 and monitoring device 120 by network connection.110 He of electronic equipment Monitoring device 120 be not limited to mobile phone, handheld device, tablet computer, personal digital assistant or wearable device etc. any one Equipment.Application program can be installed on electronic equipment 110 and monitoring device 120, electronic equipment 102 can open monitoring mode, And monitoring objective applies the operation duration in front stage operation in the monitoring mode, and can monitor operation duration monitored etc. Information is sent to monitoring device 104, and the limitation that monitoring device 104 can be sent to electronic equipment 102 to target application instructs, and works as electricity When the operation duration that target application in sub- equipment is in front stage operation reaches the first duration threshold value, then according to limitation instruction pair Target application carries out resource constraint processing, realizes by monitoring device come the resource constraint to electronic equipment, improves and set to electronics The flexibility of standby resource constraint.
In one embodiment, as shown in Fig. 2, providing the schematic diagram of internal structure of a kind of electronic equipment.The electronics is set Standby includes processor, memory and the network interface connected by system bus.Wherein, which calculates and controls for providing Ability processed supports the operation of entire electronic equipment.Memory for storing data, program, and/or instruction code etc., memory Upper at least one computer program of storage, the computer program can be executed by processor, be provided with realizing in the embodiment of the present application The application processing method suitable for electronic equipment.Memory may include magnetic disk, CD, read-only memory (Read-Only Memory, ROM) etc. non-volatile memory mediums or random access memory (Random-Access-Memory, RAM) etc..Example Such as, in one embodiment, memory includes non-volatile memory medium and built-in storage.Non-volatile memory medium is stored with Operating system and computer program.The computer program can be performed by processor, for realizing each embodiment of the application A kind of provided application processing method.Built-in storage is that the operating system and computer program in non-volatile memory medium mention For the running environment of cache.Network interface can be Ethernet card or wireless network card etc., for the electronic equipment with outside Communicated, for example can be used for being communicated with monitoring device, send to monitoring device to the monitoring information of target application and Receive the limitation instruction etc. to target application that monitoring device is sent.
It will be understood by those skilled in the art that structure shown in Figure 2, only part relevant to application scheme is tied The block diagram of structure, does not constitute the restriction for the electronic equipment being applied thereon to application scheme, and specific electronic equipment can be with Including than more or fewer components as shown in the figure, perhaps combining certain components or with different component layouts.Such as electricity Sub- equipment further includes the display screen connected by system bus.Display screen can be touch screen, for example be capacitance plate or electrical screen, It for the showing interface information of display foreground application, may be utilized for the touch operation that detection acts on the display screen, generate Corresponding instruction.
In one embodiment, as shown in figure 3, providing the part architecture diagram of a kind of electronic equipment.Wherein, which sets It include JAVA space layer 310, local ccf layer 320 and kernel (Kernel) space layer 330 in standby architecture system.JAVA is empty It may include that freezing pipe ought to use 312 on interbed 310, electronic equipment can ought to be realized with 312 by the freezing pipe and be answered each Freeze strategy, the operation such as freeze and thaw is done to the related application of backstage power consumption.It is excellent comprising resource in local ccf layer 320 First grade and limitation management module 322 and platform freezing pipe manage module 324.Electronic equipment can pass through resource prioritization and limitation management The different application of 322 real-time servicing of module in the tissue of different priorities and different resource, and according to the demand on upper layer come The resource group of application program is adjusted to reach optimization performance, saves the effect of power consumption.Electronic equipment can be freezed by platform The task that management module 324 can freeze on backstage is assigned to corresponding preset different layers according to the length for entering freeze-off time Secondary frozen crust.Optionally, which may include three, be respectively: CPU limits sleep pattern, CPU freezes sleep pattern, Process deep freezing mode.Wherein, CPU limitation sleep pattern, which refers to, limits the occupied cpu resource of associated process, makes Associated process occupies less cpu resource, and vacant cpu resource is tilted to other not frozen processes, is limited to CPU The occupancy of resource also accordingly limits process to the occupancy of Internet resources and I/O interface resource;CPU freezes sleep pattern Finger forbids associated process using CPU, and retains the occupancy to memory, when being forbidden to use cpu resource, corresponding Internet resources with And I/O interface resource is also prohibited from using;Process deep freezing mode refers in addition to being forbidden to use cpu resource, further right The occupied memory source of associated process is recycled, and the memory of recycling uses for other processes.It is wrapped in kernel spacing layer 330 It includes UID management module 331, Cgroup module 332, Binder control module 333, proceeding internal memory recycling module 334 and freezes Time-out exits module 335.Wherein, UID management module 331 is for realizing the User Identity (User based on application Identifier, UID) Lai Guanli third-party application resource or freezed.It is compared to and is identified based on process identity The control of (Process Identifier, PID) Lai Jinhang process is more convenient for being managed collectively the application of a user by UID Resource.Cgroup module 332 for provide a set of perfect central processing unit (Central Processing Unit, CPU), CPUSET, memory (memory), input/output (input/output, I/O) and the relevant resource constraint mechanism of Net.Binder Module 333 is managed for realizing the control of the backstage binder priority communicated.Wherein, the interface module of local ccf layer 320 Comprising developing to the binder interface on upper layer, binder interface of the frame or application on upper layer by offer limits to send resource The instruction made or freezed manages module 324 to resource prioritization and limitation management module 322 and platform freezing pipe.Proceeding internal memory returns Receipts module 334, in this way can be when some third-party application be chronically at frozen state for realizing process deep freezing mode It waits, can mainly discharge the file area of process, to reach the module for saving memory, also accelerate this and apply in starting next time Speed.Freeze time-out and exits exception of the module 335 for solving to occur freezing overtime scene generation.It, can by above-mentioned framework Realize the application processing method in each embodiment of the application.
In one embodiment, as shown in figure 4, providing a kind of application processing method, the present embodiment is applied in this way It is illustrated for electronic equipment as shown in Figure 1.This method comprises:
Step 402, obtaining electronic equipment, target application is in the operation duration of front stage operation in the monitoring mode.
Electronic equipment is preset with monitoring mode, and monitoring mode is indicated to the mode that electronic equipment is in slave mode, when When monitoring mode is opened, the operation information on electronic equipment can be monitored, so that monitoring device can be obtained and be monitored Operation information on electronic equipment, the operation information may include the operation duration that target application is in front stage operation.
The operation of one application (Application, abbreviation APP) is usually to be embodied by the operation of relevant multiple processes 's.Process (process) is program in computer about the primary operation activity on certain data acquisition system, is that system carries out resource The basic unit of distribution and scheduling, is the basis of operating system configuration.Target application is the default application for needing to be monitored.Such as For the application of the types such as game class application, video class application, the application of music class or social category application or payment class application.For example, User can play game by game class application, can also see video by video class application, can also pass through music class application Play music etc..
Using foreground application and background application can be divided into according to the state of operation.Foreground application refers in electronic equipment The application of front stage operation, foreground application can with foreground show and with user realize interact.Background application refers in electronics The application of the running background of equipment, background application cannot generally show on foreground and realize interactive process with user.Electronic equipment The switching of front and back operation between controllable different application.
Electronic equipment under the monitoring mode, can monitoring objective application whether be in front stage operation, and it is accumulative in working as Under preceding monitoring mode, the operation duration in front stage operation.In one embodiment, settable right for the target application The timer answered at the time of detecting that target application initially enters front stage operation, then opens the meter under monitoring mode When device and carry out timing, when detecting that target application is switched to backstage, then at the time of the switching, the meter of time-out clock When.And when detecting that target application is switched to front stage operation, then again at the time of the switching, and the pause is released, On the basis of the timing duration of upper primary time out, timing is carried out again, and front stage operation is in target application to improve Operation duration statistical accuracy.
Step 404, the first duration threshold value corresponding with target application is obtained.
First duration threshold value is the referential data for deciding whether to freeze target application.Electronic equipment is not for Same target application, settable corresponding first duration threshold value.First duration threshold value can be arranged to any appropriate numerical value, should Numerical value can be the numerical value of the customized setting of user, or the numerical value that the frequency of use of target application can be also arranged for basis. For example it can be directed to a certain target application, the corresponding first duration threshold value of customized setting is 1 hour, or can be according to target application In the frequency of use of nearest period, and it is 45 minutes that corresponding first duration threshold value is arranged automatically.
In one embodiment, it obtains for pre-set the first duration threshold corresponding with target application under monitoring mode Value.Electronic equipment can be in advance for the corresponding first duration threshold value of target application setting.Specifically, it can receive what user chose The application (target application) for needing to monitor and inputted it is corresponding can operation duration, can operation duration and the application by this Corresponding relationship is established between application identities, it, can be right by this according to identified target application when under the monitoring mode Answer the application identities of the Relation acquisition target application it is corresponding can operation duration, using this can operation duration as the first duration threshold Value.
In one embodiment, the corresponding first duration threshold value of different target applications is not necessarily identical or same mesh Mark application, in different times under section, different monitoring modes, corresponding first duration threshold value can also be not necessarily identical.Electronics Equipment can obtain under the pre-set period belonging to current time, and the target application under the monitoring mode is corresponding First duration threshold value.For example, corresponding first duration threshold value can be 1 hour in the period of morning 8:00~12:00, When evening 19:00~24:00, which can be 2 hours.
Step 406, the limitation to target application that preset monitoring device is sent is received to instruct.
Monitoring device, which refers to, the equipment that electronic equipment is monitored, electronic equipment can be preset corresponding monitoring mould Formula, and it is directed to the monitoring mode, wherein one or more are chosen from the equipment of connection as monitoring device, and receive the monitoring Monitoring of the equipment to electronic equipment itself.In one embodiment, monitoring mode also may include a variety of, under different monitoring modes Corresponding target application is not necessarily identical.For example, which can show as the child mode being set, or old The contextual models such as people's mode.Under child mode, settable corresponding target application can be a certain or a variety of game class applications, prison Controlling equipment can be parent's terminal corresponding with the electronic equipment under the child mode.
The limitation that monitoring device can be sent to electronic equipment to target application instructs, and limitation instruction can be in electronic equipment It by the instruction of monitoring device automatic trigger, or can be to be in monitoring mode in electronic equipment after opening under monitoring mode Any time under state, the instruction triggered manually by the user of monitoring device.
Step 408, after length reaches the first duration threshold value when running, resource limit is carried out to target application according to limitation instruction System processing.
The operation duration counted on can be compared by electronic equipment with preset first duration threshold value, be run when detecting After duration reaches the first duration threshold value, then resource constraint processing can be carried out to target application according to the limitation instruction received. It can start to carry out target application resource constraint processing at the time of detecting that operation duration reaches the first duration threshold value, or Person can also start to carry out resource to target application after reaching the first duration threshold value, at the time of receiving limitation instruction Limitation processing.I.e. limitation instruction receives before or after can growing at runtime at the time of reaching the first duration threshold value, when both connecing Receive limitation instruction, and detect operation duration meet the first duration threshold value after, then to the target application carry out resource constraint Processing.
Wherein, resource refers to the software or hardware resource that electronic equipment must be used when handling application affairs, such as The CPU (Central Processing Unit, central processing unit) of electronic equipment, memory (Memory), hardware, Internet resources, IO (Input-Output, input and output) etc..Resource constraint processing refers to the processing that the resource occupied to application is limited.Money Limitation processing in source can be, but not limited to be that control application enters frozen state or resource constraint state, the application in frozen state It is not turned off, does not run temporarily only.If application is in frozen state, application is not take up processor resource, but still Occupy the resources such as memory and the hardware of electronic equipment.Resource constraint state refers to the corresponding electronic equipment used at runtime The state that resource is limited, such as the CPU usage that control application uses at runtime is no more than 5%.
Above-mentioned application processing method, by obtaining electronic equipment, target application is in front stage operation in the monitoring mode Operation duration and corresponding first duration threshold value;The limitation to target application that preset monitoring device is sent is received to instruct;When After operation duration reaches the first duration threshold value, resource constraint processing is carried out to target application according to limitation instruction.To in target When the operation duration of application is more than corresponding first duration threshold value, is realized by monitoring device and resource constraint is carried out to target application, it is real The monitoring for carrying out target application to electronic equipment by monitoring device is showed, has improved to electronic equipment to the flexible of the processing of application Property.
In one embodiment, the first duration threshold value corresponding with target application is obtained, comprising: receive preset monitoring and set The monitoring setting information to target application that preparation is sent obtains the first duration corresponding with target application from monitoring setting information Threshold value.
Wherein, monitoring device produces the monitoring setting information to target application, and monitoring in setting information may include wait supervise Control apply foreground can operation duration, this can operation duration be the first duration threshold value.Monitoring device can receive user The monitoring setting information can be sent to by the duration of input using the duration as the first duration, and after receiving transmission instruction Electronic equipment.
In one embodiment, monitor also may include the application for needing the application (i.e. target application) monitored in setting information Mark, electronic equipment can receive the monitoring setting information that monitoring device is sent, obtain the application identities in the monitoring setting information, The application that the application identities are identified as target application, using it is corresponding can operation duration as the target application first when Long threshold value.
It optionally, also may include the application identities of multiple targets in the monitoring setting information, each application identities can correspond to One it is independent can operation duration, or it is common can operation duration.Electronic equipment can be from the monitoring setting information received Each application identities that acquisition includes regard the corresponding application of each application identities as target application, and obtain and each answer With identify it is corresponding can operation duration, using this can operation duration as correspondence target application the first duration threshold value.
By the way that the first duration threshold value to target application is arranged by monitoring device, can further improve in electronic equipment Application monitoring flexibility.
In one embodiment, as shown in figure 5, obtaining the first duration threshold value corresponding with target application, comprising:
Step 502, the history data of target application in the monitoring mode is obtained.
Using in the process of running, electronic equipment can be recorded the data that application generates.History data It exactly applies before current time, the data generated during the history run under monitoring mode.For example, history run Data may include applying from being installed between current time, be in electronic equipment consumed by each run under monitoring mode Electricity, or duration when application each run, using Startup time and application close moment etc..
In one embodiment, history data include each run period of target application in the monitoring mode and Be averaged operation duration every time.
Average operation duration indicates the duration that electronic equipment is averagely run in unit time, and unit time can be pre- advanced Row setting.For example, average operation duration can be the average duration run interior daily of electronic equipment of statistics, or it can be system The duration run in the electronic equipment of meter is one month average.Specifically, electronic equipment will record each entrance in the process of running The work start time and work finish time of working condition, then according to the work start time of record and work finish time The operating time of every task can be calculated.
When calculating average operation duration, operation data of the available electronic equipment in statistical time range, then basis Operation data calculates operation duration.Statistical time range refers to the period for statistical average operation duration, and operation data refers to electricity The data that sub- equipment generates in the process of running may include work start time and work finish time.According to statistical time range Interior operation data can be with the operation duration in each unit time in the counting statistics period, and when according to each unit of acquisition Operation duration in length calculates average operation duration.For example, current time is 15:30:00 on December 25th, 2017, then when counting Section can be the operation data in the previous moon, that is, obtain from December 25,15:30:00 to 2017 years on the 25th November in 2017 The operation data of 15:30:00 inner electronic equipment.Then operation duration daily in this month is calculated according to operation data, then Daily operation duration is averagely obtained to average operation duration.
Step 504, it is determined according to history data in the monitoring mode to the degree of dependence of target application.
For user's degree of dependence for indicating user to the degree of dependence of electronic equipment, degree of dependence can be divided into multiple ranks. It for example according to the height for relying on rank from high to low include that first order degree of dependence, second level degree of dependence and the third level rely on journey Degree.Wherein, first order degree of dependence is higher than second level degree of dependence, and second level degree of dependence is higher than third level degree of dependence.One As, first order degree of dependence indicates that user relies on the severe of electronic equipment, and second level degree of dependence indicates user to electronics The common dependence of equipment, third level degree of dependence indicate slight dependence of the user to electronic equipment.
In one embodiment, according to frequency of use and every time, averagely operation duration is calculated in the monitoring mode to target The degree of dependence of application.
Optionally, the corresponding relationship of average operation duration and user's degree of dependence can be pre-established, then according to average fortune Row duration obtains corresponding user and relies on program.For example, average operation duration can be expressed as mobile phone it is average run daily when Long, if the average duration run daily of user was at 8 hours or more, corresponding user's degree of dependence is first order degree of dependence; If the average duration run daily of user was at 4 to 8 hours, corresponding user's degree of dependence is second level degree of dependence;If with The average duration run daily in family is at 4 hours hereinafter, then corresponding user's degree of dependence is third level degree of dependence.
In one embodiment, the average operation duration of target application in the monitoring mode can be obtained, determines average operation The target duration section that duration is fallen into;Corresponding user's degree of dependence is obtained according to target duration section.
The value range of the average operation duration of electronic equipment can be divided into two with more than two durations in advance Section, divided duration section are target duration section.Then pair in each duration section and user's degree of dependence is established It should be related to, user's degree of dependence of electronic equipment is then obtained according to the corresponding relationship.For example, calculating average operation duration Unit time can be three days, then averagely operation duration can be expressed as the electronic equipment interior duration averagely run every three days, The value range for the operation duration that is then averaged just is 0 to 72 hours.The value range of average operation duration is divided into three durations Section, then can be divided into three duration sections such as [0,12], [12,36], [36,72], and corresponding user's degree of dependence is first Grade degree of dependence, second level degree of dependence and third level degree of dependence.Assuming that when the average operation of the electronic equipment of current statistic A length of 24 hours, then the user is just second level degree of dependence with regard to corresponding user's degree of dependence.
Step 506, the first duration threshold value corresponding with target application is determined according to degree of dependence.
In one embodiment, the corresponding first duration threshold value of different degrees of dependence is not necessarily identical.Optionally, first The size of duration threshold value and the size of degree of dependence are positively correlated.Big for degree of dependence, settable corresponding first duration Threshold value is accordingly compared with establishing incidence relation with corresponding degree of dependence for the first set duration threshold value, determining degree of dependence Afterwards, corresponding first duration threshold value can be determined according to the corresponding relationship.
In the above method, the first duration is determined by the history data being under monitoring mode according to target application The flexibility to the setting of the first duration threshold value has can be improved in threshold value.
In one embodiment, when running it is long reach the first duration threshold value after, according to limitation instruction to target application into Row resource constraint processing, comprising: when length reaches the first duration threshold value when running, instruct control target application to enter according to limitation Resource constraint state, the operational objective application under resource constraint state;When length reaches the second duration threshold value when running, according to limit Target application is freezed in system instruction, and the second duration threshold value is greater than the first duration threshold value.
Optionally, the also settable first duration threshold value of electronic equipment and the second duration threshold value, wherein the first duration threshold value is small In the second duration threshold value.First duration threshold value is for deciding whether that control target application enters the reference number of resource constraint state Value, the second duration threshold value are the referential data for deciding whether to freeze target application.
Application in resource constraint state is less than occupancy threshold to the resources occupation rate of electronic equipment at runtime, when When target application is in resource constraint state, target application cannot be more than occupancy threshold to the resources occupation rate of electronic equipment Value can control target application in the operational efficiency on foreground in this way, reduce dependence of the user to electronic equipment.For example, control mesh The CPU usage of mark application at runtime is consumed excessively with reducing target application to CPU no more than 5%, reduces user couple The dependence of target application on electronic equipment.
When the operation duration of target application in the monitoring mode has had reached the second duration threshold value, then it represents that in money Under the restriction state of source, and it is not blocked from dependence of the user to target application, thus further to target application can be limited, it can be right The target application is freezed, and control target application enters frozen state.Into the target application of frozen state, can not be further continued for Operation, can reduce target application to the resource occupation of electronic equipment in this way, further decrease user to the mesh on electronic equipment Mark the dependence of application.Target application after freezing can also be waken up, and user or system can be configured the condition of wake-up.
In one embodiment, after obtaining target application and being in the operation duration of front stage operation in the monitoring mode, Further include:
When length reaches third duration threshold value when running, the prompt information using duration to target application is generated, will be mentioned Show that information is sent to monitoring device;Prompt information is for prompting whether monitoring device restricts instruction.
Third duration threshold value is less than or equal to the first duration threshold value.Optionally, when electronic equipment detects that operation duration reaches When third duration threshold value, the prompt information to the operation duration of target application is produced.It include current time in the prompt information Under the user that counts on to the operation duration of target application, and the prompt information comprising the operation duration is sent to monitoring and is set It is standby, so that monitoring device can obtain the user on electronic equipment in the monitoring mode, to the operation duration of target application, Jin Erke The limitation for whether carrying out resource constraint to electronic equipment is made according to the prompt information to instruct.
In one embodiment, after carrying out resource constraint processing to target application, further includes: acquisition is answered to target With limitation duration at the time of carrying out resource constraint processing to current time;If limiting duration is more than limitation duration threshold value, will Target application is restored to normal operating condition.
After carrying out resource constraint processing to target application, electronic equipment starts timer, is then opened by timer Beginning timing.Electronic equipment can establish a corresponding timer for each target application, and each target application is provided When the limitation processing of source, timing can be carried out according to corresponding timer.Pre-establish target application target application mark with The corresponding relationship of the timing markers of timer, is identified corresponding timing markers and is searched and start timer and start by target application Timing.By taking android system as an example, system can pre-define a timer, when detecting that target application is waken up, mesh It marks application identities and searches corresponding timer, and pass through timer.setBase (SystemClock.elapsedRealtime ()) timer is reset, timer is then started by timer.start () function, starts timing.
When limiting duration is more than to limit duration threshold value, target application is restored to normal operating condition.If target application In resource constraint state, then electronic equipment is released to the resource constraint of target application.If target application is in frozen state, Target application is waken up from frozen state.After being restored to normal operating condition, use of the target application to electronic equipment resource It is no longer influenced by limitation.
Fig. 6 is the schematic diagram for the resource constraint state applied in one embodiment.As shown in fig. 6, the resource of electronic equipment Including CPU, memory, IO, Internet resources etc., the state of application can be divided into normal operating condition, resource constraint state and freeze State.Wherein, resource constraint state can be divided into slight resource constraint state, common resources restriction state and depth resource limit again State processed.Under different resource restriction state, corresponding available resources 602 and unavailable resource 604 be not identical.From slight resource Restriction state, common resources restriction state to depth resource constraint state, available resources 602 are successively decreased.Under normal operating conditions, The available resources 602 of application are 100%.It is released, is can further improve to target application by the limitation to target application Processing flexibility.
In one embodiment, as shown in fig. 7, providing another application processing method, this method comprises:
Step 702, obtaining electronic equipment, target application is in the operation duration of front stage operation in the monitoring mode.
In one embodiment, the monitoring mode can be preset child mode, target application can for game class application or Video class application, when detecting in electronic equipment under the child mode, the application of front stage operation is opens to game class Using or video class in application, then regard the application as target application, and add up this in the monitoring mode, corresponding target application Operation duration.
Optionally, which can be the operation duration of each individually target application, can also be all target applications The sum of operation duration.For example, a certain game class that the operation duration can obtain for timing using A be in front stage operation when The long or operation duration can also be the sum of the duration that front stage operation is in using A and video class application B of the game class.
Step 704, the first duration threshold value corresponding with target application, the second duration threshold value and third duration threshold value are obtained.
Wherein, the first duration threshold value is greater than third duration threshold value, and less than the second duration threshold value.Each duration threshold value is It is correspondingly arranged according to different target applications, or unified duration can be set according to each application.
In one embodiment, it can receive the monitoring setting information to target application that preset monitoring device is sent, from It monitors and obtains the first duration threshold value corresponding with target application, the second duration threshold value and third duration threshold value in setting information;Or When acquisition is directed to pre-set the first duration threshold value corresponding with target application, the second duration threshold value and third under monitoring mode Long threshold value.
In one embodiment, the history data of target application in the monitoring mode is obtained;History data packet Include each run period of target application in the monitoring mode and the operation duration that is averaged every time;It is true according to each run period Determine in the monitoring mode to the frequency of use of target application;It calculates and is monitoring according to frequency of use and each averagely operation duration The first duration threshold value corresponding with target application is determined according to degree of dependence to the degree of dependence of target application under mode.
Step 706, it when length reaches third duration threshold value when running, generates and the prompt using duration of target application is believed Breath;It will be prompted to information and be sent to monitoring device.
Third duration threshold value can be the numerical value of a certain fixed proportion of the first duration threshold value, or less than the first duration threshold value A certain fixed numbers numerical value.It for example can be the 90% or 95% of the first duration threshold value, or less than the first duration threshold value 30 Minute or 15 minutes etc..
In one embodiment, it when detecting that operation duration reaches third duration threshold value, can also show on an electronic device Show prompt information generated, reminded the user of electronic equipment, stops the user of electronic equipment actively to target application Operation, ends automatically the dependence to target application.
Step 708, preset monitoring device is received to be instructed according to the limitation to target application that prompt information is sent.
Monitoring device can limit target application for being made according to the prompt information after receiving prompt information Limitation instruction.For example, the prompt information is " to detect that the user on controlled mobile phone has reached the use duration that XX is applied 55 minutes ".
Step 710, when length reaches the first duration threshold value when running, control target application is instructed to enter resource according to limitation Restriction state, the operational objective application under resource constraint state.
Step 712, long when reaching the second duration threshold value when running, target application is freezed according to limitation instruction, when second Long threshold value is greater than the first duration threshold value.
Similar with third duration threshold value, the second duration threshold value can be the numerical value of a certain fixed proportion of the first duration threshold value, Or the numerical value of a certain fixed numbers greater than the first duration threshold value.For example can be the 120% or 130% of the first duration threshold value, Or it is greater than the first duration threshold value 30 minutes or 15 minutes etc..
In one embodiment, after length reaches the first duration threshold value when running, to the resource constraint shape of target application State can be any one restriction state as shown in FIG. 6, or can limit with the increase of operation duration the resource of target application State processed further strengthens, until freezing when operation duration reaches the second duration threshold value to target application.
In the above method, target application is monitored by the way that monitoring mode is arranged on an electronic device, and be arranged with The corresponding first duration threshold value of the target application, the second duration threshold value and third duration threshold value, when detecting target application preceding When the operation duration of platform operation reaches third duration threshold value, generates prompt information and send monitoring device, made by monitoring device To the limitation of target application instruction, then detecting that operation duration reaches the first duration threshold value, control target application enters money Source restriction state, the operational objective application under resource constraint state are grown when running with reducing dependence of the user to target application When reaching the second duration threshold value, freeze target application, to prevent the operation of target application, by the way that different duration threshold values is arranged, Further improve the flexibility of the control to target application.
It should be understood that although each step in the flow chart of Fig. 4, Fig. 5 and Fig. 7 is successively shown according to the instruction of arrow Show, but these steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, this There is no stringent sequences to limit for the execution of a little steps, these steps can execute in other order.Moreover, Fig. 4, Fig. 5 and At least part step in Fig. 7 may include that perhaps these sub-steps of multiple stages or stage be not necessarily for multiple sub-steps It is so to execute completion in synchronization, but can execute at different times, these sub-steps or stage execute sequence Also it is not necessarily and successively carries out, but can be at least part of the sub-step or stage of other steps or other steps It executes in turn or alternately.
In one embodiment, as shown in figure 8, providing a kind of using processing unit, which includes that duration obtains mould Block 802, limitation command reception module 804 and application limitation module 806.Wherein, duration obtains module 802 for obtaining electronics Target application is in the operation duration of front stage operation to equipment in the monitoring mode;Obtain the first duration threshold corresponding with target application Value;Limitation command reception module 804 is used to receive the limitation to target application that preset monitoring device is sent and instructs;Using limit After molding block 806 is for length to reach the first duration threshold value when running, resource constraint is carried out to target application according to limitation instruction Processing.
In one embodiment, duration obtains module 802 and is also used to receive answering target for preset monitoring device transmission Monitoring setting information obtains the first duration threshold value corresponding with target application from monitoring setting information.
In one embodiment, duration obtains module 802 and is also used to obtain for pre-set and mesh under monitoring mode Mark applies corresponding first duration threshold value.
In one embodiment, duration obtains the history fortune that module 802 is also used to obtain target application in the monitoring mode Row data;It is determined according to history data in the monitoring mode to the degree of dependence of target application;It is determined according to degree of dependence The first duration threshold value corresponding with target application.
In one embodiment, history data include each run period of target application in the monitoring mode and Be averaged operation duration every time;Duration obtains module 802 and is also used to be determined according to each run period in the monitoring mode to mesh Mark the frequency of use of application;It is calculated in the monitoring mode according to frequency of use and each averagely operation duration to target application Degree of dependence.
In one embodiment, using limitation module 806 be also used to grow when running reach the first duration threshold value when, according to Limitation instruction control target application enters resource constraint state, the operational objective application under resource constraint state;It grows when running When reaching the second duration threshold value, target application is freezed according to limitation instruction, the second duration threshold value is greater than the first duration threshold value.
In one embodiment, duration obtains module 802 and is also used to grow when running when reaching third duration threshold value, generates To the prompt information using duration of target application;It will be prompted to information and be sent to monitoring device;Prompt information is for prompting monitoring Whether equipment restricts instruction, and third duration threshold value is less than or equal to the first duration threshold value.
In one embodiment, duration obtains module 802 and is also used to obtain to target application progress resource constraint processing At the time of to current time limitation duration;If being also used to limit duration using limitation module 806 is more than limitation duration threshold value, Target application is restored to normal operating condition.
Above-mentioned application processing unit, by obtaining electronic equipment, target application is in front stage operation in the monitoring mode Operation duration and corresponding first duration threshold value;The limitation to target application that preset monitoring device is sent is received to instruct;When After operation duration reaches the first duration threshold value, resource constraint processing is carried out to target application according to limitation instruction.To in target When the operation duration of application is more than corresponding first duration threshold value, is realized by monitoring device and resource constraint is carried out to target application, it is real The monitoring for carrying out target application to electronic equipment by monitoring device is showed, has improved to electronic equipment to the flexible of the processing of application Property.
The above-mentioned division using modules in processing unit is only used for for example, in other embodiments, can will answer It is divided into different modules, as required with processing unit to complete above-mentioned all or part of function using processing unit.It closes Specific in application processing unit limits the restriction that may refer to above for application processing method, and details are not described herein.On Stating can realize using the modules in processing unit fully or partially through software, hardware and combinations thereof.Above-mentioned each module It can be embedded in the form of hardware or independently of in the processor in electronic equipment, electronic equipment can also be stored in a software form In memory in, execute the corresponding operation of above modules in order to which processor calls.
There is provided in the embodiment of the present application can be the shape of computer program using realizing for the modules in processing unit Formula.The computer program can be run on the electronic equipments such as terminal or server.The program module that the computer program is constituted can It is stored on the memory of electronic equipment.When the computer program is executed by processor, realize described in the embodiment of the present application Application processing method the step of.
In one embodiment, a kind of electronic equipment is provided, including memory, processor and storage are on a memory simultaneously The computer program that can be run on a processor is realized when processor executes computer program and is answered provided by the various embodiments described above The step of with processing method.
In one embodiment, a kind of computer readable storage medium is additionally provided, on the computer readable storage medium It is stored with computer program, when which executes processor, realizes application described in each embodiment of the application The step of processing method.
In one embodiment, a kind of computer program product comprising instruction is provided, when it runs on computers When, so that computer executes application processing method described in each embodiment of the application.
The embodiment of the present application also provides a kind of computer equipments.As shown in figure 9, 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:
Fig. 9 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 9, mobile phone include: radio frequency (Radio Frequency, RF) circuit 910, memory 920, input unit 930, display unit 940, Sensor 950, voicefrequency circuit 960, Wireless Fidelity (wireless fidelity, WiFi) module 970, processor 980 and The components such as power supply 990.It will be understood by those skilled in the art that handset structure shown in Fig. 9 does not constitute the restriction to mobile phone, it can To include perhaps combining certain components or different component layouts than illustrating more or fewer components.
Wherein, RF circuit 910 can be used for receiving and sending messages or communication process in, signal sends and receivees, can be by base station After downlink information receives, handled to processor 980;The data of uplink can also be sent to base station.In general, RF circuit include but Be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 910 can also be communicated with network and other equipment by wireless communication.Above-mentioned channel radio Any communication standard or agreement, including but not limited to global system for mobile communications (Global System of can be used in letter Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE)), Email, Short message service (Short Messaging Service, SMS) etc..
Memory 920 can be used for storing software program and module, and processor 980 is stored in memory 920 by operation Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 920 can mainly include Program storage area and data storage area, wherein program storage area can application journey needed for storage program area, at least one function Sequence (such as application program, application program of image player function of sound-playing function etc.) etc.;Data storage area can store root Created data (such as audio data, address list etc.) etc. are used according to mobile phone.In addition, memory 920 may include high speed Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or Other volatile solid-state parts.
Input unit 930 can be used for receiving the number or character information of input, and generate the user setting with mobile phone 900 And the related key signals input of function control.Specifically, input unit 930 may include touch panel 931 and other inputs Equipment 932.Touch panel 931, alternatively referred to as touch screen collect touch operation (such as the user of user on it or nearby Use the operation of any suitable object or attachment such as finger, stylus on touch panel 931 or near touch panel 931), And corresponding attachment device is driven according to preset formula.In one embodiment, touch panel 931 may include touching inspection Survey two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation Bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and will It is converted into contact coordinate, then gives processor 980, and can receive order that processor 980 is sent and be executed.In addition, Touch panel 931 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch surface Plate 931, input unit 930 can also include other input equipments 932.Specifically, other input equipments 932 may include but not It is limited to one of physical keyboard, function key (such as volume control button, switch key etc.) etc. or a variety of.
Display unit 940 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 940 may include display panel 941.In one embodiment, liquid crystal display (Liquid can be used Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) To configure display panel 941.In one embodiment, touch panel 931 can cover display panel 941, when touch panel 931 is examined After measuring touch operation on it or nearby, processor 980 is sent to determine the type of touch event, is followed by subsequent processing device 980 provide corresponding visual output according to the type of touch event on display panel 941.Although in Fig. 9, touch panel 931 and display panel 941 are the input and input function for realizing mobile phone as two independent components, but in certain implementations In example, can be integrated by touch panel 931 and display panel 941 and that realizes mobile phone output and input function.
Mobile phone 900 may also include at least one sensor 950, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 941, and proximity sensor can close display panel when mobile phone is moved in one's ear 941 and/or backlight.Motion sensor may include acceleration transducer, can detect by acceleration transducer and adds in all directions The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer, humidity Other sensors such as meter, thermometer, infrared sensor etc..
Voicefrequency circuit 960, loudspeaker 961 and microphone 962 can provide the audio interface between user and mobile phone.Audio-frequency electric Electric signal after the audio data received conversion can be transferred to loudspeaker 961, be converted to sound by loudspeaker 961 by road 960 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960 It is changed to audio data, then by after the processing of audio data output processor 980, another mobile phone can be sent to through RF circuit 910, or Person exports audio data to memory 920 so as to subsequent processing.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 970 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 9 is shown WiFi module 970, but it is understood that, and it is not belonging to must be configured into for mobile phone 900, it can according to need and omit.
Processor 980 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 920, and call and be stored in memory 920 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.In one embodiment, it handles Device 980 may include one or more processing units.In one embodiment, processor 980 can integrate application processor and modulation Demodulator, wherein the main processing operation system of application processor, user interface and application program etc.;Modem is mainly located Reason wireless communication.It is understood that above-mentioned modem can not also be integrated into processor 980.For example, the processor 980 can integrate application processor and baseband processor, baseband processor with and the composable modem such as other peripheral chips. Mobile phone 900 further includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can pass through power management system It unites logically contiguous with processor 980, to realize the function such as management charging, electric discharge and power managed by power-supply management system Energy.
In one embodiment, mobile phone 900 can also include camera, bluetooth module etc..
In the embodiment of the present application, when processor included by the mobile phone executes the computer program of storage on a memory Realize above-mentioned described application processing method.
Any reference to memory, storage, database or other media used in this application may include non-volatile And/or volatile memory.Suitable nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), Electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include arbitrary access Memory (RAM), it is used as external cache.By way of illustration and not limitation, RAM is available in many forms, such as It is static 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) direct RAM (RDRAM), direct 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 application processing method characterized by comprising
Obtaining electronic equipment, target application is in the operation duration of front stage operation in the monitoring mode;
Obtain the first duration threshold value corresponding with the target application;
The limitation to the target application that preset monitoring device is sent is received to instruct;
After the operation duration reaches the first duration threshold value, the target application is provided according to limitation instruction Source limitation processing.
2. the method according to claim 1, wherein described obtain the first duration corresponding with the target application Threshold value, comprising:
The monitoring setting information to the target application that preset monitoring device is sent is received, from the monitoring setting information Obtain the first duration threshold value corresponding with the target application;Or
It obtains for pre-set the first duration threshold value corresponding with the target application under the monitoring mode.
3. the method according to claim 1, wherein described obtain the first duration corresponding with the target application Threshold value, comprising:
Obtain the history data of the target application under the monitoring mode;
It is determined under the monitoring mode according to the history data to the degree of dependence of the target application;
The first duration threshold value corresponding with the target application is determined according to the degree of dependence.
4. according to the method described in claim 3, it is characterized in that, the history data includes the target application in institute State each run period under monitoring mode and the operation duration that is averaged every time;
It is described to be determined under the monitoring mode according to the history data to the degree of dependence of the target application, packet It includes:
It is determined under the monitoring mode according to each run period to the frequency of use of the target application;
It calculates and the target is answered under the monitoring mode according to the frequency of use and the operation duration that is averaged every time Degree of dependence.
5. the method according to claim 1, wherein described when the operation duration reaches the first duration threshold After value, resource constraint processing is carried out to the target application according to limitation instruction, comprising:
When the operation duration reaches the first duration threshold value, the target application is controlled according to limitation instruction and is entered Resource constraint state runs the target application under the resource constraint state;
When the operation duration reaches the second duration threshold value, the target application is freezed according to limitation instruction, described the Two duration threshold values are greater than the first duration threshold value.
6. the method according to claim 1, wherein before the acquisition target application is in the monitoring mode After the operation duration of platform operation, further includes:
When the operation duration reaches the third duration threshold value, generates and the prompt using duration of the target application is believed Breath;
The prompt information is sent to monitoring device;The prompt information is for prompting whether the monitoring device restricts Instruction, the third duration threshold value are less than or equal to the first duration threshold value.
7. method according to any one of claim 1 to 6, which is characterized in that carried out described to the target application After resource constraint processing, further includes:
To the limitation duration at current time at the time of acquisition to target application progress resource constraint processing;
If the limitation duration is more than limitation duration threshold value, the target application is restored to normal operating condition.
8. a kind of apply processing unit, which is characterized in that described device includes:
Duration obtains module, and for obtaining electronic equipment, target application is in the operation duration of front stage operation in the monitoring mode; Obtain the first duration threshold value corresponding with the target application;
Command reception module is limited, is instructed for receiving the limitation to the target application that preset monitoring device is sent;
Using limitation module, for when the operation duration reaches the first duration threshold value after, instructed pair according to the limitation The target application carries out resource constraint processing.
9. a kind of electronic equipment, including memory and processor, computer program is stored in the memory, feature exists In when the computer program is executed by the processor, so that the processor executes such as any one of claims 1 to 7 The step of the method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program It realizes when being executed by processor such as the step of any one of claims 1 to 7 the method.
CN201810032311.4A 2018-01-12 2018-01-12 Application processing method and device, electronic equipment, computer readable storage medium Pending CN110032431A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810032311.4A CN110032431A (en) 2018-01-12 2018-01-12 Application processing method and device, electronic equipment, computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810032311.4A CN110032431A (en) 2018-01-12 2018-01-12 Application processing method and device, electronic equipment, computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110032431A true CN110032431A (en) 2019-07-19

Family

ID=67234868

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810032311.4A Pending CN110032431A (en) 2018-01-12 2018-01-12 Application processing method and device, electronic equipment, computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110032431A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110727552A (en) * 2019-10-12 2020-01-24 深圳市元征科技股份有限公司 Equipment testing method, system, electronic equipment and storage medium
CN112702470A (en) * 2020-12-15 2021-04-23 歌尔光学科技有限公司 Equipment monitoring method, device, equipment and storage medium
CN113225767A (en) * 2021-04-19 2021-08-06 深圳市安全守护科技有限公司 Monitoring management method, device, equipment and computer readable storage medium
CN114339468A (en) * 2021-12-22 2022-04-12 珠海格力电器股份有限公司 Data transmission method and device of unit equipment, computer equipment and storage medium
CN117149362A (en) * 2023-04-06 2023-12-01 荣耀终端有限公司 Process control method and related device
WO2023241052A1 (en) * 2022-06-15 2023-12-21 中兴通讯股份有限公司 Method for adjusting operating state of application, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015184885A1 (en) * 2014-11-19 2015-12-10 中兴通讯股份有限公司 Method and device for closing background application of mobile terminal, and mobile terminal
CN106066810A (en) * 2016-05-26 2016-11-02 广东欧珀移动通信有限公司 A kind of application management method, device and mobile terminal
CN106096352A (en) * 2016-05-26 2016-11-09 广东欧珀移动通信有限公司 The control method for preventing indulging of a kind of mobile terminal, device and mobile terminal
CN106293803A (en) * 2016-07-22 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of application control method and device
CN107197091A (en) * 2017-05-19 2017-09-22 广东小天才科技有限公司 Terminal control method, device, terminal device and computer-readable recording medium
CN107329559A (en) * 2017-06-30 2017-11-07 宇龙计算机通信科技(深圳)有限公司 A kind of application control method, device, terminal and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015184885A1 (en) * 2014-11-19 2015-12-10 中兴通讯股份有限公司 Method and device for closing background application of mobile terminal, and mobile terminal
CN106066810A (en) * 2016-05-26 2016-11-02 广东欧珀移动通信有限公司 A kind of application management method, device and mobile terminal
CN106096352A (en) * 2016-05-26 2016-11-09 广东欧珀移动通信有限公司 The control method for preventing indulging of a kind of mobile terminal, device and mobile terminal
CN106293803A (en) * 2016-07-22 2017-01-04 宇龙计算机通信科技(深圳)有限公司 A kind of application control method and device
CN107197091A (en) * 2017-05-19 2017-09-22 广东小天才科技有限公司 Terminal control method, device, terminal device and computer-readable recording medium
CN107329559A (en) * 2017-06-30 2017-11-07 宇龙计算机通信科技(深圳)有限公司 A kind of application control method, device, terminal and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110727552A (en) * 2019-10-12 2020-01-24 深圳市元征科技股份有限公司 Equipment testing method, system, electronic equipment and storage medium
CN110727552B (en) * 2019-10-12 2023-10-31 深圳市元征科技股份有限公司 Equipment testing method, system, electronic equipment and storage medium
CN112702470A (en) * 2020-12-15 2021-04-23 歌尔光学科技有限公司 Equipment monitoring method, device, equipment and storage medium
CN113225767A (en) * 2021-04-19 2021-08-06 深圳市安全守护科技有限公司 Monitoring management method, device, equipment and computer readable storage medium
CN114339468A (en) * 2021-12-22 2022-04-12 珠海格力电器股份有限公司 Data transmission method and device of unit equipment, computer equipment and storage medium
CN114339468B (en) * 2021-12-22 2023-05-30 珠海格力电器股份有限公司 Data transmission method and device of unit equipment, computer equipment and storage medium
WO2023241052A1 (en) * 2022-06-15 2023-12-21 中兴通讯股份有限公司 Method for adjusting operating state of application, terminal and storage medium
CN117149362A (en) * 2023-04-06 2023-12-01 荣耀终端有限公司 Process control method and related device

Similar Documents

Publication Publication Date Title
CN110032431A (en) Application processing method and device, electronic equipment, computer readable storage medium
CN110008008A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN108112063A (en) Electric quantity managing method, power management device, terminal and readable storage medium storing program for executing
CN107272872A (en) Electricity-saving control method and Related product
CN109144232A (en) Process handling method and device, electronic equipment, computer readable storage medium
CN110018904A (en) Information processing method, device, computer equipment and computer readable storage medium
CN109992398A (en) Method for managing resource, device, mobile terminal and computer readable storage medium
CN109992438A (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
CN109992370A (en) Applied program processing method and device, electronic equipment, 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
CN110018902A (en) Internal memory processing method and device, electronic equipment, computer readable storage medium
CN109992364A (en) Using freezing method, device, computer equipment and computer readable storage medium
CN109992397A (en) Process handling method and device, electronic equipment, computer readable storage medium
CN110032439A (en) Method for managing resource, device, mobile terminal and computer readable storage medium
CN109992425A (en) Information processing method, device, computer equipment and computer readable storage medium
CN110018905A (en) Information processing method, device, computer equipment and computer readable storage medium
CN109992375A (en) Information processing method, device, computer equipment and computer readable storage medium
CN110032397A (en) Application processing method and device, electronic equipment, computer readable storage medium
CN109992360A (en) Process handling method and device, electronic equipment, computer readable storage medium
CN109992309A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN110046033A (en) Applied program processing method and device, electronic equipment, computer readable storage medium
CN110018885A (en) Application program freezing method, device, storage medium and terminal
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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190719

RJ01 Rejection of invention patent application after publication