CN105677477B - A kind of method, apparatus and electronic equipment of optimization application resource - Google Patents

A kind of method, apparatus and electronic equipment of optimization application resource Download PDF

Info

Publication number
CN105677477B
CN105677477B CN201511019342.9A CN201511019342A CN105677477B CN 105677477 B CN105677477 B CN 105677477B CN 201511019342 A CN201511019342 A CN 201511019342A CN 105677477 B CN105677477 B CN 105677477B
Authority
CN
China
Prior art keywords
application program
resource optimization
resource
strategy
trigger event
Prior art date
Application number
CN201511019342.9A
Other languages
Chinese (zh)
Other versions
CN105677477A (en
Inventor
刘伟
Original Assignee
北京金山安全软件有限公司
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 北京金山安全软件有限公司 filed Critical 北京金山安全软件有限公司
Priority to CN201511019342.9A priority Critical patent/CN105677477B/en
Publication of CN105677477A publication Critical patent/CN105677477A/en
Application granted granted Critical
Publication of CN105677477B publication Critical patent/CN105677477B/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals

Abstract

The embodiment of the present invention discloses the method, apparatus and electronic equipment of a kind of optimization application resource.Method includes: the trigger event of snoop-operations system, if the trigger event listened to is any trigger event that pre-set trigger event is concentrated;The mapping relations of pre-set trigger event Yu application program collection resource optimization strategy are inquired, the application program collection resource optimization strategy of the trigger event mapping listened to described in acquisition;Resource optimization is carried out to each application program of running background according to the application program collection resource optimization strategy of acquisition;That intercepts and captures the application program for carrying out resource optimization reruns request;It inquires pre-set trigger event and application program restarts the mapping relations of optimisation strategy, the application program for obtaining current trigger event mapping restarts optimisation strategy, restarts optimisation strategy according to the application program of acquisition and handles the application program for carrying out resource optimization.With the application of the invention, can be with optimization application resource.

Description

A kind of method, apparatus and electronic equipment of optimization application resource

Technical field

The present invention relates to computer resource optimisation technique more particularly to a kind of method, apparatus of optimization application resource And electronic equipment.

Background technique

With computer communication and Internet technology, electronic equipment using more and more common, for example, intelligent mobile is electric Words, personal digital assistant, palm PC and desktop computer are more and more widely used, and installation is in the electronic device Types of applications program (APP, Application) it is also more and more, such as QQ, wechat, Whatsapp, Facebook, Line Equal instant messagings (IM, Instant Messaging) application program, to meet user to the multifarious demand of business.But With increasing for the application program installed in electronic equipment, since all to consume electronic equipment a large amount of for the operation of each application program Resource, for example, memory source, power resources, cpu resource etc., and some application programs still can be set after exiting in electronics It is run in standby backstage, and the application program of running background is due to needing periodic access external memory, wireless network or number According to other hardware devices such as network, the limited resource of electronic equipment can be also consumed, and the totality of electronic equipment can run resource one As it is relatively limited.Thus, the application program installed in electronic equipment is more, and consumed resource is also relatively bigger, occupies other The resource of the application program of normal operation, so that the resource optimization of electronic equipment is inefficient.

Currently, in order to improve the resource optimization efficiency of electronic equipment, generally using user manually to some inessential applications The process of program carries out termination process processing, to discharge the resource of its occupancy.But since in practical application, general user is not Understand which application program is inessential application program, so as to terminate its process;Alternatively, the inessential application program chosen It cannot cover all inessential application programs that can carry out process termination, more inessential application program, especially The process of the inessential application program of running background is not terminated;Alternatively, it is currently in use, interim to kill user The application program (such as music, movement, downloading class application program) exited, to make troubles to user;Alternatively, some apply journey After the process of sequence is terminated, it can be waken up by fraternal class application program, for example, application program A and application program B are that fraternal class is answered With program, after application program A detects that the process of application program B is killed, application program A horse back re-launching applications B's Process causes application program B to resume resource, and due to the starting of a process to restore the operation of application program B The resource for needing resource, and needing is more when being possible to than operation.Thus, existing method for optimizing resources, resource optimization efficiency It is not high.

Summary of the invention

In view of this, the embodiment of the present invention provides the method, apparatus and electronic equipment of a kind of optimization application resource, mention Rise application resource optimization efficiency.

In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that

In a first aspect, the embodiment of the present invention provides a kind of method of optimization application resource, comprising:

The trigger event of snoop-operations system, if the trigger event listened to is what pre-set trigger event was concentrated Any trigger event;

The mapping relations for inquiring pre-set trigger event Yu application program collection resource optimization strategy, obtain the monitoring The application program collection resource optimization strategy for the trigger event mapping arrived;

Resource optimization is carried out to each application program of running background according to the application program collection resource optimization strategy of acquisition;

That intercepts and captures the application program for carrying out resource optimization reruns request;

It inquires pre-set trigger event and application program restarts the mapping relations of optimisation strategy, obtain current triggering The application program of event mapping restarts optimisation strategy, and it is excellent to the progress resource to restart optimisation strategy according to the application program of acquisition The application program of change is handled.

Optionally, the mapping relations that the trigger event restarts optimisation strategy with application program include:

If trigger event is screen locking event, the application program for stopping carrying out resource optimization operation is forced;

If trigger event is non-screen locking event, and meets following conditions, the application journey for stopping carrying out resource optimization is forced Sequence operation:

If request reruns the control application program for the application program for carrying out resource optimization in the pre-set time It was run in a manner of user's operation in line, but the control application program does not have with the application program for carrying out resource optimization There is pre-set incidence relation;Or,

If the control application program is run in such a way that non-user operates.

Optionally, in the mapping relations that the trigger event and application program restart optimisation strategy, if trigger event After screen locking event, before forcing the application program for stopping carrying out resource optimization operation, the method also includes:

Acquisition request reruns the control application program of the application program for carrying out resource optimization, judges the control Whether application program was used by a user in pre-set timeline;

If the control application program was run in a manner of user's operation in pre-set timeline, and described Controlling application program and the application program for carrying out resource optimization has pre-set incidence relation, does not deal with, otherwise, Execute described the step of forcing the application program for stopping carrying out resource optimization operation.

Optionally, described to force the application program for stopping carrying out resource optimization operation to use ActivityManager's ForceStopPackage method terminates the corresponding process of application program for carrying out resource optimization.

Optionally, the application program collection resource optimization strategy of the trigger event mapping listened to described in the acquisition it Afterwards, before carrying out resource optimization according to each application program of the application program collection resource optimization strategy of acquisition to running background, institute State method further include:

The current resource use value of electronic equipment is obtained, if the resource use value obtained is more than that pre-set resource makes With threshold value, executes the application program collection resource optimization strategy according to acquisition and resource is carried out to each application program of running background The step of optimization, terminates process if the resource use value obtained is not above pre-set resource using threshold value.

Optionally, the resource use value includes: CPU usage, memory usage, electric quantity consumption rate and network flow One of abnormal rate or any combination thereof.

Optionally, the application program collection resource optimization strategy of the trigger event mapping listened to described in the acquisition it Afterwards, before carrying out resource optimization according to each application program of the application program collection resource optimization strategy of acquisition to running background, institute State method further include:

Traverse running background application program, judge traversal application program whether in pre-set timeline by with Family used;

If the application program of traversal was not used by a user in pre-set timeline, execute described according to obtaining Resource optimization strategy the step of resource optimization is carried out to each application program of running background.

Optionally, if not being used by a user it in pre-set timeline in the application program for obtaining traversal Afterwards, before carrying out resource optimization according to each application program of the obtained resource optimization strategy to running background described in executing, The method also includes:

Judge that the application program to the traversal is operated and whether needs call operation system permission;

If you do not need to call operation system permission, execute it is described according to obtained resource optimization strategy to running background Each application program carries out the step of resource optimization;

If necessary to call operation system permission, the preassembled centre with operating system permission grant function is called Plug-in unit obtains operating system permission grant function by the intermediate plug-in unit, described according to obtained resource optimization plan to execute The step of resource optimization slightly is carried out to each application program of running background.

Optionally, the application program collection resource optimization strategy according to acquisition carries out each application program of running background Resource optimization includes:

In each application program for extracting running background, match with the application program collection resource optimization strategy to be presented Application program and the corresponding resource optimization strategy of the application program to be presented;

In a manner of notification bar or dialog box, show that each application program to be presented and each application program to be presented are corresponding Resource optimization strategy;

The strategy that user chooses according to the resource optimization strategy shown is received, corresponding application programs are carried out at resource optimization Reason.

Optionally, the intercepting and capturing carry out the request of reruning of the application program of resource optimization and include:

Pre-set script is injected in an operating system;

The weight for being sent to the application program of progress resource optimization of operating system is intercepted and captured using the pre-set script New operation request.

Optionally, the resource optimization strategy includes: to terminate the corresponding process operation of application program, force to stop using journey Sequence operation forbids the automatic start-up operation of application program, forbids application program to execute network connection operation, unloads to application program execution Carry one of operation or any combination thereof.

Second aspect, the embodiment of the present invention provide a kind of device of optimization application resource, comprising: event monitoring mould Block, optimisation strategy obtain module, optimization module, weight Request Interception module and weight request processing module, wherein

Event monitoring module, for the trigger event of snoop-operations system, if the trigger event listened to is to set in advance Any trigger event that the trigger event set is concentrated;

Optimisation strategy obtains module, for inquiring pre-set trigger event and application program collection resource optimization strategy Mapping relations, the application program collection resource optimization strategy of the trigger event mapping listened to described in acquisition;

Optimization module, for the application program collection resource optimization strategy according to acquisition to each application program of running background into Row resource optimization;

Weight Request Interception module, the application program for intercepting and capturing progress resource optimization rerun request;

Weight request processing module restarts the mapping of optimisation strategy for inquiring pre-set trigger event and application program Relationship, the application program for obtaining current trigger event mapping restart optimisation strategy, restart optimization according to the application program of acquisition Strategy handles the application program for carrying out resource optimization.

Optionally, the mapping relations that the trigger event restarts optimisation strategy with application program include:

If trigger event is screen locking event, the application program for stopping carrying out resource optimization operation is forced;

If trigger event is non-screen locking event, and meets following conditions, the application journey for stopping carrying out resource optimization is forced Sequence operation:

If request reruns the control application program for the application program for carrying out resource optimization in the pre-set time It was run in a manner of user's operation in line, but the control application program does not have with the application program for carrying out resource optimization There is pre-set incidence relation;Or,

If the control application program is run in such a way that non-user operates.

Optionally, in the mapping relations that the trigger event and application program restart optimisation strategy, if trigger event After screen locking event, before forcing the application program for stopping carrying out resource optimization operation, the mapping relations further include:

Acquisition request reruns the control application program of the application program for carrying out resource optimization, judges the control Whether application program was used by a user in pre-set timeline;

If the control application program was run in a manner of user's operation in pre-set timeline, and described Controlling application program and the application program for carrying out resource optimization has pre-set incidence relation, does not deal with, otherwise, Execute described the step of forcing the application program for stopping carrying out resource optimization operation.

Optionally, described to force the application program for stopping carrying out resource optimization operation to use ActivityManager's ForceStopPackage device terminates the corresponding process of application program for carrying out resource optimization.

Optionally, described device further include:

Resource uses judgment module, for obtaining the current resource use value of electronic equipment, if the resource obtained uses Value is more than that pre-set resource uses threshold value, executes the application program collection resource optimization strategy according to acquisition and transports to backstage Capable each application program carries out the step of resource optimization, if the resource use value obtained is not above pre-set resource and makes With threshold value, terminate process.

Optionally, the resource use value includes: CPU usage, memory usage, electric quantity consumption rate and network flow One of abnormal rate or any combination thereof.

Optionally, described device further include:

Whether timeline judgment module judges the application program of traversal pre- for traversing the application program of running background It was used by a user in the timeline being first arranged;

If the application program of traversal was not used by a user in pre-set timeline, execute described according to obtaining Resource optimization strategy the step of resource optimization is carried out to each application program of running background.

Optionally, whether the time wire module is also used to judge that the application program to the traversal is operated and needs to adjust With operating system permission;

If you do not need to call operation system permission, execute it is described according to obtained resource optimization strategy to running background Each application program carries out the step of resource optimization;

If necessary to call operation system permission, the preassembled centre with operating system permission grant function is called Plug-in unit obtains operating system permission grant function by the intermediate plug-in unit, described according to obtained resource optimization plan to execute The step of resource optimization slightly is carried out to each application program of running background.

Optionally, the optimization module includes: extraction unit, display unit and optimization unit, wherein

Extraction unit, in each application program for extracting running background, with the application program collection resource optimization strategy The application program to be presented and the corresponding resource optimization strategy of the application program to be presented to match;

Display unit shows each application program to be presented and each wait open up in a manner of notification bar or dialog box Show the corresponding resource optimization strategy of application program;

Optimize unit, the strategy chosen for receiving user according to the resource optimization strategy shown, to corresponding application programs Carry out resource optimization.

Optionally, the heavy Request Interception module includes: injection unit and intercepting and capturing unit, wherein

Injection unit, for injecting pre-set script in an operating system;

Unit is intercepted and captured, for intercepting and capturing using the pre-set script progress resource optimization for being sent to operating system Application program reruns request.

Optionally, the resource optimization strategy includes: to terminate the corresponding process operation of application program, force to stop using journey Sequence operation forbids the automatic start-up operation of application program, forbids application program to execute network connection operation, unloads to application program execution Carry one of operation or any combination thereof.

The third aspect, the embodiment of the present invention provide a kind of electronic equipment, and the electronic equipment includes: shell, processor, deposits Reservoir, circuit board and power circuit, wherein circuit board is placed in the space interior that shell surrounds, processor and memory setting On circuit boards;Power circuit, for each circuit or the device power supply for above-mentioned electronic equipment;Memory is for storing and can hold Line program code;Processor is run and executable program code pair by reading the executable program code stored in memory The program answered, the method for executing aforementioned any optimization application resource.

The method, apparatus and electronic equipment of optimization application resource provided in an embodiment of the present invention, pass through snoop-operations The trigger event of system, call the application program collection resource optimization strategy of trigger event mapping to the application program of running background into Row resource optimization obtains corresponding after the application program of resource optimization reruns according to current trigger event Re-run processing strategie, secondary resource optimization is carried out to the application program that reruns according to the processing strategie that re-runs of acquisition Processing.In this way, the application program for executing resource optimization can be effectively prevented by malice starting again, thus not influencing to use In the case where the use of family, resource optimization efficiency is effectively promoted.

Detailed description of the invention

In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, 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 invention for those of ordinary skill in the art without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.

Fig. 1 is the method flow schematic diagram of optimization application of embodiment of the present invention resource;

Fig. 2 is the apparatus structure schematic diagram of optimization application of embodiment of the present invention resource;

Fig. 3 is the optimization module structural schematic diagram of the embodiment of the present invention;

Fig. 4 is the structural schematic diagram of electronic equipment one embodiment of the present invention.

Specific embodiment

The embodiment of the present invention is described in detail with reference to the accompanying drawing.

It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its Its embodiment, shall fall within the protection scope of the present invention.

Fig. 1 is the method flow schematic diagram of optimization application of embodiment of the present invention resource.Referring to Fig. 1, this method comprises:

Step 11, the trigger event of snoop-operations system, if the trigger event listened to is pre-set triggering thing Any trigger event that part is concentrated;

In this step, scene locating for electronic equipment is triggered by a series of trigger events of operating system, for example, When needing screen locking, screen locking is entered by the triggering of screen locking event.In the embodiment of the present invention, as an alternative embodiment, trigger event packet Include but be not limited to: screen locking event, event of spreading its tail, application program handover event, network change event, indoor event, outdoor event, User movement event and the non-athletic event of user etc..It is well-known technique about trigger event is monitored, detailed description is omitted here.

Step 12, the mapping relations of pre-set trigger event Yu application program collection resource optimization strategy are inquired, are obtained The application program collection resource optimization strategy of the trigger event mapping listened to;

In this step, same application can be run in different scenes, the scene of different trigger event triggerings Difference, thus, the resource optimization strategy used to same application also can be different.For example, when user is in screen locking scene, Can by running background except alarm clock calling, receive calls, receive the application programs such as short message in addition to application program (such as game, Browser) resource optimization is carried out, for example, related application is closed, and in scene of spreading its tail, need to open game, browser;Again For example, when user is in indoor scene, the corresponding resource of the application programs such as global positioning system, Baidu map of running background Optimisation strategy can be closing, and in outdoor scene, the application programs pair such as global positioning system, Baidu map of running background The resource optimization strategy answered can be unlatching.

In the embodiment of the present invention, as an alternative embodiment, trigger event is reflected with application program collection resource optimization strategy The relationship of penetrating can be configured by user locally, be also possible to the related technical personnel of network side server by collecting each touching Hair event is analyzed for each application program under each trigger event, obtains the money of each application program under the scene Source optimization strategy, generate be based on the scene (trigger event) application program collection resource optimization strategy, and by trigger event with answer It is issued to each electronic equipment with the mapping relations of procedure set resource optimization strategy, electronic equipment receives and stores.In subsequent applications, Technical staff can also be updated trigger event and the mapping relations of application program collection resource optimization strategy.In this way, passing through Technical staff analyzes the mapping relations of the trigger event and application program collection resource optimization strategy edited more comprehensively, is conducive to optimize The resource distribution of each application program.

In the embodiment of the present invention, as an alternative embodiment, resource optimization strategy include: terminate application program it is corresponding into Journey operation is forced to stop application program operation (stopping wrapping), forbids the automatic start-up operation of application program, application program is forbidden to execute net Network attended operation executes one of unloading operation or any combination thereof to application program.

Step 13, resource is carried out according to each application program of the application program collection resource optimization strategy of acquisition to running background Optimization;

In this step, in application program collection resource optimization strategy, the corresponding resource optimization strategy of an application program can be, It is also possible to an application program and corresponds to multinomial resource optimization strategy, for example, a certain application program can be set pressure and be stopped Application program operates and forbids application program two resource optimization strategies of automatic start-up operation, can also be multiple utility program pair A resource optimization strategy is answered, the embodiment of the present invention is not construed as limiting this.

As an alternative embodiment, the application program collection resource of the trigger event mapping listened to described in the acquisition is excellent After changing strategy, resource optimization is carried out to each application program of running background according to the application program collection resource optimization strategy of acquisition Before, this method can also include:

The current resource use value of electronic equipment is obtained, if the resource use value obtained is more than that pre-set resource makes With threshold value, executes the application program collection resource optimization strategy according to acquisition and resource is carried out to each application program of running background The step of optimization, terminates process if the resource use value obtained is not above pre-set resource using threshold value.

It, can be in conjunction with the current resource service condition of electronic equipment, it is determined whether need to running background in this step Application program execute resource optimization operation, if electronic equipment it is current resource usage amount it is less, can be without resource optimization Operation, until next trigger event occurs.In the embodiment of the present invention, resource use value includes but is not limited to: CPU usage, interior Deposit one kind or any combination thereof of occupancy, electric quantity consumption rate, exception of network traffic rate etc..

As another alternative embodiment, the application program collection resource of the trigger event mapping listened to described in the acquisition After optimisation strategy, it is excellent that resource is carried out to each application program of running background according to the application program collection resource optimization strategy of acquisition Before change, this method can also include:

Traverse running background application program, judge traversal application program whether in pre-set timeline by with Family used;

If the application program of traversal was not used by a user in pre-set timeline, execute described according to obtaining Resource optimization strategy the step of resource optimization is carried out to each application program of running background.

In this step, if the application program of traversal was used by a user in pre-set timeline, show user Consistency operation may be executed for the application program, then any operation not executed to the application program, made to avoid to user It is impacted with experience.

In the embodiment of the present invention, pre-set timeline can be configured according to actual needs, for example, can be according to application The attribute of program is configured.For example, for downloading class application program, the timeline of setting can be grown, for interaction The instant messaging application program of class, can be set shorter timeline.For example, if the downloading class application journey of running background Sequence was not used by a user in 2 hours, then resource optimization was carried out to the downloading class application program, if the downloading class is answered It was used by a user in 2 hours with program, then continues to allow the downloading class application program in running background.

In the embodiment of the present invention, as an alternative embodiment, if preset in the application program for obtaining traversal Timeline in be not used by a user after, execute each application according to obtained resource optimization strategy to running background Before program carries out resource optimization, this method can also include:

Judge that the application program to the traversal is operated and whether needs call operation system permission;

If you do not need to call operation system permission, execute it is described according to obtained resource optimization strategy to running background Each application program carries out the step of resource optimization;

If necessary to call operation system permission, the preassembled centre with operating system permission grant function is called Plug-in unit obtains operating system permission grant function by the intermediate plug-in unit, described according to obtained resource optimization plan to execute The step of resource optimization slightly is carried out to each application program of running background.

In the embodiment of the present invention, as an alternative embodiment, according to the application program collection resource optimization strategy of acquisition to rear Each application program of platform operation carries out resource optimization

In each application program for extracting running background, match with the application program collection resource optimization strategy to be presented Application program and the corresponding resource optimization strategy of the application program to be presented;

In a manner of notification bar or dialog box, show that each application program to be presented and each application program to be presented are corresponding Resource optimization strategy;

The strategy that user chooses according to the resource optimization strategy shown is received, corresponding application programs are carried out at resource optimization Reason.

Step 14, that intercepts and captures the application program for carrying out resource optimization reruns request;

It, may be by other application after terminating its process or carrying out stopping packet processing for some application programs in this step Program starting, for example, application program A is fraternal (association) class application program with application program B, when application program when A is detected After the process of application program B is killed, the process of application program A horse back re-launching applications B, so that application program B is transported again Row, for example, application program B can due to the calling or application program A of application program A issue message and opened again It is dynamic, for reruning for such application program, need to be analyzed and handled according to concrete condition.

In the embodiment of the present invention, application program rerun include: application program self-starting rerun, application program Application program launching is associated by onrelevant application program launching and application program.Wherein, onrelevant application program refer to The application program does not have the other applications of incidence relation, and affiliate application, which refers to have with the application program, to be associated with The other applications of system.

It, can be to behaviour when other applications need to restart the application program for carrying out resource optimization in the embodiment of the present invention Make system and send to restart the request of the application program for carrying out resource optimization (application program for carrying out resource optimization reruns Request), to request operating system to restart the application program of the carry out resource optimization.Thus, as an alternative embodiment, cut It obtains and carries out the request of reruning of application program of resource optimization and include:

Pre-set script is injected in an operating system;

The weight for being sent to the application program of progress resource optimization of operating system is intercepted and captured using the pre-set script New operation request.

In the embodiment of the present invention, about injection script to intercept and capture request as well known hook (hook) technology, it is omitted here It is described in detail.

Step 15, it inquires pre-set trigger event and application program restarts the mapping relations of optimisation strategy, acquisition is worked as The application program of preceding trigger event mapping restarts optimisation strategy, according to the application program of acquisition restart optimisation strategy to it is described into The application program of row resource optimization is handled.

In this step, currently refer to the period for re-requesting the operation application program for carrying out resource optimization.This hair In bright embodiment, the situation that the application program for carrying out resource optimization is reruned in a manner of self-starting can be according to resource Optimisation strategy carries out respective handling, thus, the application program reruned is directed to the situation started by other applications.

As an alternative embodiment, the mapping relations that trigger event restarts optimisation strategy with application program include:

If trigger event is screen locking event, the application program for stopping carrying out resource optimization operation is forced;

If trigger event is non-screen locking event, and meets following conditions, the application journey for stopping carrying out resource optimization is forced Sequence operation:

If request reruns the control application program for the application program for carrying out resource optimization in the pre-set time It was run in a manner of user's operation in line, but the control application program does not have with the application program for carrying out resource optimization There is pre-set incidence relation;Or,

If the control application program is run in such a way that non-user operates.

In the embodiment of the present invention, if current trigger event is screen locking event, show corresponding in the screen locking event During screen locking, the application program of resource optimization is carried out by other applications (control application program) starting, and starting should be into The other applications of the application program of row resource optimization are run in such a way that non-user operates, and can determine that the carry out resource is excellent The application program of change is maliciously started, and is executed the application program for carrying out resource optimization and is forced to stop operation, that is, carries out Stop packet processing.

If current trigger event is non-screen locking event, needs to be further analysed, judge the carry out resource optimization Application program, start the carry out resource optimization application program other applications (control application program), user's operation Between relationship: obtain rerun (starting) it is described progress resource optimization application program control application program, if into The application program of row resource optimization is reruned in a manner of user's operation, i.e., triggers automatic running by user's operation, then not into Row processing;If the control application program is run in a manner of user's operation, but the control application program and the progress The application program of resource optimization does not have pre-set incidence relation, forces to stop the application program for carrying out resource optimization Operation;Alternatively, if the control application program is run in a manner of user's operation, and the control application program and it is described into The application program of row resource optimization has pre-set incidence relation, without processing;Alternatively, if journey is applied in the control Sequence is run in such a way that non-user operates, then no matter carries out the application program of resource optimization and answering for the starting carry out resource optimization Whether there is incidence relation with the other applications of program, force to stop the application program operation for carrying out resource optimization.

It is similar with foregoing description, as an alternative embodiment, application program and the other application for starting the application program Whether program (control application program) has incidence relation, and the related technical personnel for being also possible to network side server pass through collection Application program and the other application program for starting the application program, analyze association between the two, so that it is determined that whether it has Then determining incidence relation is issued to each electronic equipment, electronic equipment receives and stores by incidence relation.

In the embodiment of the present invention, as an alternative embodiment, optimisation strategy is restarted in the trigger event and application program Mapping relations in, if trigger event be screen locking event after, force stop carry out resource optimization application program operate it Before, this method can also include:

Acquisition request reruns the control application program of the application program for carrying out resource optimization, judges the control Whether application program was used by a user in pre-set timeline;

If the control application program was run in a manner of user's operation in pre-set timeline, and described Controlling application program and the application program for carrying out resource optimization has pre-set incidence relation, does not deal with, otherwise, Execute described the step of forcing the application program for stopping carrying out resource optimization operation.

In the embodiment of the present invention, as an alternative embodiment, for Android (Android) operating system, pressure stop into The application program operation of row resource optimization can carry out stopping packet processing using forcestop instruction, that is, use The forceStopPackage method of ActivityManager terminate it is described carry out resource optimization application program it is corresponding into Journey.

In the embodiment of the present invention, by the trigger event of snoop-operations system, the application program of trigger event mapping is called Collect resource optimization strategy and resource optimization is carried out to the application program of running background, in the application program weight of resource optimization After new operation, processing strategie is re-run accordingly according to current trigger event acquisition, re-runs processing strategie according to acquisition Secondary resource optimization processing is carried out to the application program reruned.In this way, in the application program quilt for executing resource optimization When the application program launching of other onrelevants, although alternatively, associated application triggers starting, this is associated using journey When sequence is not user's operation starting of the user in pre-set timeline, it can be effectively prevented and execute resource optimization Application program is again started up, to effectively promote resource optimization efficiency in the case where not influencing user's use, solves application A certain application program is cut off caused by program is maliciously started the technical issues of resource consumption and rationally without influencing user The technical issues of use.

Fig. 2 is the apparatus structure schematic diagram of optimization application of embodiment of the present invention resource.Referring to fig. 2, which includes: Event monitoring module 21, optimisation strategy obtain module 22, optimization module 23, weight Request Interception module 24 and request processing mould again Block 25, wherein

Event monitoring module 21, for the trigger event of snoop-operations system, if the trigger event listened to is preparatory Any trigger event that the trigger event of setting is concentrated;

In the embodiment of the present invention, trigger event includes but is not limited to: screen locking event, event of spreading its tail, application program switch thing Part, network change event, indoor event, outdoor event, user movement event and the non-athletic event of user etc..

Optimisation strategy obtains module 22, for inquiring pre-set trigger event and application program collection resource optimization strategy Mapping relations, the application program collection resource optimization strategy of the trigger event mapping listened to described in acquisition:

In the embodiment of the present invention, resource optimization strategy includes: to terminate the corresponding process operation of application program, force to stop answering With procedure operation, forbid the automatic start-up operation of application program, forbid application program execute network connection operation, application program is held One of row unloading operation or any combination thereof.

As an alternative embodiment, trigger event and the mapping relations of application program collection resource optimization strategy are taken by network side The related technical personnel of business device are analyzed by each trigger event of collection for each application program under each trigger event, The resource optimization strategy of each application program under the scene is obtained, the application program collection for being based on the scene (trigger event) is generated Resource optimization strategy, and the mapping relations of trigger event and application program collection resource optimization strategy are issued to each electronic equipment, Electronic equipment receives and stores.

Optimization module 23, for the application program collection resource optimization strategy according to acquisition to each application program of running background Carry out resource optimization;

In the embodiment of the present invention, as an alternative embodiment, Fig. 3 is the optimization module structural representation of the embodiment of the present invention Figure.Referring to Fig. 3, which includes: extraction unit, display unit and optimization unit, wherein

Extraction unit, in each application program for extracting running background, with the application program collection resource optimization strategy The application program to be presented and the corresponding resource optimization strategy of the application program to be presented to match;

Display unit shows each application program to be presented and each wait open up in a manner of notification bar or dialog box Show the corresponding resource optimization strategy of application program;

Optimize unit, the strategy chosen for receiving user according to the resource optimization strategy shown, to corresponding application programs Carry out resource optimization.

Weight Request Interception module 24 carries out the application program of resource optimization and reruns request for intercepting and capturing;

In the embodiment of the present invention, application program rerun include: application program self-starting rerun, application program Application program launching is associated by onrelevant application program launching and application program.Wherein, onrelevant application program refer to The application program does not have the other applications of incidence relation, and affiliate application, which refers to have with the application program, to be associated with The other applications of system.

As an alternative embodiment, weight Request Interception module 24 includes: that injection unit and intercepting and capturing unit (do not show in figure Out), wherein

Injection unit, for injecting pre-set script in an operating system;

Unit is intercepted and captured, for intercepting and capturing using the pre-set script progress resource optimization for being sent to operating system Application program reruns request.

Weight request processing module 25 restarts reflecting for optimisation strategy for inquiring pre-set trigger event and application program Relationship is penetrated, the application program for obtaining current trigger event mapping restarts optimisation strategy, restarts according to the application program of acquisition excellent Change strategy to handle the application program for carrying out resource optimization.

In the embodiment of the present invention, as an alternative embodiment, trigger event restarts the mapping of optimisation strategy with application program Relationship includes:

If trigger event is screen locking event, the application program for stopping carrying out resource optimization operation is forced;

If trigger event is non-screen locking event, and meets following conditions, the application journey for stopping carrying out resource optimization is forced Sequence operation:

If request reruns the control application program for the application program for carrying out resource optimization in the pre-set time It was run in a manner of user's operation in line, but the control application program does not have with the application program for carrying out resource optimization There is pre-set incidence relation;Or,

If the control application program is run in such a way that non-user operates.

As another alternative embodiment, in the mapping relations that the trigger event and application program restart optimisation strategy, Before if trigger event is after screen locking event, forced the application program for stopping carrying out resource optimization operation, the mapping relations Further include:

Acquisition request reruns the control application program of the application program for carrying out resource optimization, judges the control Whether application program was used by a user in pre-set timeline;

If the control application program was run in a manner of user's operation in pre-set timeline, and described Controlling application program and the application program for carrying out resource optimization has pre-set incidence relation, does not deal with, otherwise, Execute described the step of forcing the application program for stopping carrying out resource optimization operation.

It is described to force the application program for stopping carrying out resource optimization operation to use in the embodiment of the present invention The forceStopPackage method of ActivityManager terminate it is described carry out resource optimization application program it is corresponding into Journey.

The present invention is in embodiment, as an alternative embodiment, the device further include:

Resource uses judgment module 26, for obtaining the current resource use value of electronic equipment, if the resource obtained makes It is more than that pre-set resource uses threshold value with value, executes the application program collection resource optimization strategy according to acquisition to backstage Each application program of operation carries out the step of resource optimization, if the resource use value obtained is not above pre-set resource Using threshold value, terminate process.

In the embodiment of the present invention, resource use value includes: CPU usage, memory usage, electric quantity consumption rate and network One of Traffic Anomaly rate or any combination thereof.

As another alternative embodiment, the device further include:

Timeline judgment module 27, for traversing the application program of running background, judge traversal application program whether It was used by a user in pre-set timeline;

If the application program of traversal was not used by a user in pre-set timeline, execute described according to obtaining Resource optimization strategy the step of resource optimization is carried out to each application program of running background.

In the embodiment of the present invention, as another alternative embodiment, time wire module is also used to judge to answer the traversal It is operated with program and whether needs call operation system permission;

If you do not need to call operation system permission, execute it is described according to obtained resource optimization strategy to running background Each application program carries out the step of resource optimization;

If necessary to call operation system permission, the preassembled centre with operating system permission grant function is called Plug-in unit obtains operating system permission grant function by the intermediate plug-in unit, described according to obtained resource optimization plan to execute The step of resource optimization slightly is carried out to each application program of running background.

The embodiment of the present invention also provides a kind of electronic equipment, and the electronic equipment includes dress described in aforementioned any embodiment It sets.

Fig. 4 is the structural schematic diagram of electronic equipment one embodiment of the present invention, may be implemented to implement shown in Fig. 1-3 of the present invention The process of example, as shown in figure 4, above-mentioned electronic equipment may include: shell 41, processor 42, memory 43, circuit board 44 and electricity Source circuit 45, wherein circuit board 44 is placed in the space interior that shell 41 surrounds, and processor 42 and memory 43 are arranged in circuit On plate 44;Power circuit 45, for each circuit or the device power supply for above-mentioned electronic equipment;Memory 43 is for storing and can hold Line program code;Processor 42 is run and executable program generation by reading the executable program code stored in memory 43 The corresponding program of code, the method for executing optimization application resource described in aforementioned any embodiment.

Processor 42 to the specific implementation procedures of above-mentioned steps and processor 42 by operation executable program code come The step of further executing may refer to the description of Fig. 1-3 illustrated embodiment of the present invention, and details are not described herein.

The electronic equipment exists in a variety of forms, including but not limited to:

(1) mobile communication equipment: the characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data Communication is main target.This Terminal Type includes: smart phone (such as iPhone), multimedia handset, functional mobile phone and low Hold mobile phone etc..

(2) super mobile personal computer equipment: this kind of equipment belongs to the scope of personal computer, there is calculating and processing function Can, generally also have mobile Internet access characteristic.This Terminal Type includes: PDA, MID and UMPC equipment etc., such as iPad.

(3) portable entertainment device: this kind of equipment can show and play multimedia content.Such equipment include: audio, Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.

(4) server: providing the equipment of the service of calculating, and the composition of server includes that processor, hard disk, memory, system are total Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy Power, stability, reliability, safety, scalability, manageability etc. are more demanding.

(5) other electronic equipments with data interaction function.

Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..

The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (21)

1. a kind of method of optimization application resource, which is characterized in that this method comprises: the triggering thing of snoop-operations system Part, if the trigger event listened to is any trigger event that pre-set trigger event is concentrated;
The mapping relations of pre-set trigger event Yu application program collection resource optimization strategy are inquired, are listened to described in acquisition The application program collection resource optimization strategy of trigger event mapping;
Resource optimization is carried out to each application program of running background according to the application program collection resource optimization strategy of acquisition;
That intercepts and captures the application program for carrying out resource optimization reruns request, and application program is reruned including application program quilt Onrelevant application program launching and application program are associated application program launching;
It inquires pre-set trigger event and application program restarts the mapping relations of optimisation strategy, obtain current trigger event The application program of mapping restarts optimisation strategy, restarts optimisation strategy to the progress resource optimization according to the application program of acquisition Application program is handled;
The mapping relations that the trigger event restarts optimisation strategy with application program include:
If trigger event is screen locking event, the application program for stopping carrying out resource optimization operation is forced;
If trigger event is non-screen locking event, and meets following conditions, the application program for stopping carrying out resource optimization behaviour is forced Make:
If request reruns the control application program for the application program for carrying out resource optimization in pre-set timeline It was run in a manner of user's operation, but the control application program and the application program for carrying out resource optimization do not have in advance The incidence relation being first arranged;Or,
If the control application program is run in such a way that non-user operates;
The method also includes:
It collects the application program for carrying out resource optimization and starts the other applications of the application program, analyze pass between the two Connection, so that it is determined that whether it has incidence relation.
2. the method according to claim 1, wherein restarting optimisation strategy in the trigger event and application program Mapping relations in, if trigger event be screen locking event after, force stop carry out resource optimization application program operate it Before, the method also includes:
Acquisition request reruns the control application program of the application program for carrying out resource optimization, judges the control application Whether program was used by a user in pre-set timeline;
If the control application program was run in a manner of user's operation in pre-set timeline, and the control Application program and the application program for carrying out resource optimization have pre-set incidence relation, do not deal with, and otherwise, execute Described the step of forcing the application program for stopping carrying out resource optimization operation.
3. the method according to claim 1, wherein described force the application program for stopping carrying out resource optimization behaviour As the application program pair for using the forceStopPackage method of ActivityManager to terminate the progress resource optimization The process answered.
4. the method according to claim 1, wherein the trigger event mapping that listens to described in the acquisition Each application after application program collection resource optimization strategy, according to the application program collection resource optimization strategy of acquisition to running background Before program carries out resource optimization, the method also includes:
The current resource use value of electronic equipment is obtained, if the resource use value obtained is more than that pre-set resource uses threshold Value executes the application program collection resource optimization strategy according to acquisition and carries out resource optimization to each application program of running background The step of, if the resource use value obtained is not above pre-set resource using threshold value, terminate process.
5. according to the method described in claim 4, it is characterized in that, the resource use value includes: that CPU usage, memory account for With one of rate, electric quantity consumption rate and exception of network traffic rate or any combination thereof.
6. the method according to claim 1, wherein the trigger event mapping that listens to described in the acquisition Each application after application program collection resource optimization strategy, according to the application program collection resource optimization strategy of acquisition to running background Before program carries out resource optimization, the method also includes:
The application program for traversing running background, judges whether the application program of traversal is made in pre-set timeline by user It is used;
If the application program of traversal was not used by a user in pre-set timeline, execute described according to obtained money The step of source optimization strategy carries out resource optimization to each application program of running background.
If 7. according to the method described in claim 6, it is characterized in that, the traversal application program pre-set After not being used by a user in timeline, execution is described to apply journey to each of running background according to obtained resource optimization strategy Before sequence carries out resource optimization, the method also includes:
Judge that the application program to the traversal is operated and whether needs call operation system permission;
If you do not need to call operation system permission, executes respectively the answering to running background according to obtained resource optimization strategy The step of carrying out resource optimization with program;
If necessary to call operation system permission, call it is preassembled have in operating system permission grant function interleave Part obtains operating system permission grant function by the intermediate plug-in unit, described according to obtained resource optimization strategy to execute The step of resource optimization is carried out to each application program of running background.
8. method according to any one of claims 1 to 7, which is characterized in that the application program according to acquisition is raised funds Source optimization strategy carries out resource optimization to each application program of running background
In each application program for extracting running background, the application to be presented that matches with the application program collection resource optimization strategy Program and the corresponding resource optimization strategy of the application program to be presented;
In a manner of notification bar or dialog box, each application program to be presented and the corresponding money of each application program to be presented are shown Source optimization strategy;
The strategy that user chooses according to the resource optimization strategy shown is received, resource optimization is carried out to corresponding application programs.
9. method according to any one of claims 1 to 7, which is characterized in that the intercepting and capturing carry out the application of resource optimization The request of reruning of program includes:
Pre-set script is injected in an operating system;
The fortune again for being sent to the application program of progress resource optimization of operating system is intercepted and captured using the pre-set script Row request.
10. method according to any one of claims 1 to 7, which is characterized in that the resource optimization strategy includes: to terminate The corresponding process operation of application program forces to stop application program operation, forbids the automatic start-up operation of application program, forbids applying Program executes network connection operation, executes one of unloading operation or any combination thereof to application program.
11. a kind of device of optimization application resource, which is characterized in that the device includes: event monitoring module, optimisation strategy Obtain module, optimization module, weight Request Interception module and weight request processing module, wherein
Event monitoring module, for the trigger event of snoop-operations system, if the trigger event listened to is pre-set Any trigger event that trigger event is concentrated;
Optimisation strategy obtains module, for inquiring the mapping of pre-set trigger event Yu application program collection resource optimization strategy Relationship, the application program collection resource optimization strategy of the trigger event mapping listened to described in acquisition;
Optimization module, for being provided according to the application program collection resource optimization strategy of acquisition to each application program of running background Source optimization;
Weight Request Interception module, the application program for intercepting and capturing progress resource optimization rerun request, the application program Rerun application program launching be associated by onrelevant application program launching and application program including application program;
Weight request processing module restarts the mapping pass of optimisation strategy for inquiring pre-set trigger event and application program System, the application program for obtaining current trigger event mapping restart optimisation strategy, restart optimization plan according to the application program of acquisition Slightly the application program for carrying out resource optimization is handled;
The mapping relations that the trigger event restarts optimisation strategy with application program include:
If trigger event is screen locking event, the application program for stopping carrying out resource optimization operation is forced;
If trigger event is non-screen locking event, and meets following conditions, the application program for stopping carrying out resource optimization behaviour is forced Make:
If request reruns the control application program for the application program for carrying out resource optimization in pre-set timeline It was run in a manner of user's operation, but the control application program and the application program for carrying out resource optimization do not have in advance The incidence relation being first arranged;Or,
If the control application program is run in such a way that non-user operates;
The heavy request processing module is also used to:
It collects the application program for carrying out resource optimization and starts the other applications of the application program, analyze pass between the two Connection, so that it is determined that whether it has incidence relation.
12. device according to claim 11, which is characterized in that restart optimization plan in the trigger event and application program In mapping relations slightly, if trigger event is the application program operation of pressure stopping progress resource optimization after screen locking event Before, the mapping relations further include:
Acquisition request reruns the control application program of the application program for carrying out resource optimization, judges the control application Whether program was used by a user in pre-set timeline;
If the control application program was run in a manner of user's operation in pre-set timeline, and the control Application program and the application program for carrying out resource optimization have pre-set incidence relation, do not deal with, and otherwise, execute Described the step of forcing the application program for stopping carrying out resource optimization operation.
13. device according to claim 11, which is characterized in that the application program for forcing to stop carrying out resource optimization Operation terminates the application program for carrying out resource optimization for the forceStopPackage device using ActivityManager Corresponding process.
14. device according to claim 11, which is characterized in that described device further include:
Resource uses judgment module, for obtaining the current resource use value of electronic equipment, if the resource use value obtained is super Pre-set resource is crossed using threshold value, executes the application program collection resource optimization strategy according to acquisition to running background Each application program carries out the step of resource optimization, if the resource use value obtained is not above pre-set resource and uses threshold Value terminates process.
15. device according to claim 14, which is characterized in that the resource use value includes: CPU usage, memory One of occupancy, electric quantity consumption rate and exception of network traffic rate or any combination thereof.
16. device according to claim 11, which is characterized in that described device further include:
Timeline judgment module judges whether the application program of traversal sets in advance for traversing the application program of running background It was used by a user in the timeline set;
If the application program of traversal was not used by a user in pre-set timeline, execute described according to obtained money The step of source optimization strategy carries out resource optimization to each application program of running background.
17. device according to claim 16, which is characterized in that the timeline judgment module is also used to judge to described The application program of traversal is operated whether need call operation system permission;
If you do not need to call operation system permission, executes respectively the answering to running background according to obtained resource optimization strategy The step of carrying out resource optimization with program;
If necessary to call operation system permission, call it is preassembled have in operating system permission grant function interleave Part obtains operating system permission grant function by the intermediate plug-in unit, described according to obtained resource optimization strategy to execute The step of resource optimization is carried out to each application program of running background.
18. 1 to 17 described in any item devices according to claim 1, which is characterized in that the optimization module includes: to extract list Member, display unit and optimization unit, wherein
Extraction unit, in each application program for extracting running background, with the application program collection resource optimization strategy phase The application program to be presented and the corresponding resource optimization strategy of the application program to be presented matched;
Display unit shows each application program to be presented and each to be presented answers in a manner of notification bar or dialog box With the corresponding resource optimization strategy of program;
Optimize unit, the strategy chosen for receiving user according to the resource optimization strategy shown carries out corresponding application programs Resource optimization.
19. 1 to 17 described in any item devices according to claim 1, which is characterized in that the heavy Request Interception module includes: Injection unit and intercepting and capturing unit, wherein
Injection unit, for injecting pre-set script in an operating system;
Unit is intercepted and captured, for intercepting and capturing the application for being sent to the progress resource optimization of operating system using the pre-set script Program reruns request.
20. 1 to 17 described in any item devices according to claim 1, which is characterized in that the resource optimization strategy includes: end Only the corresponding process operation of application program, pressure stop application program operation, forbid the automatic start-up operation of application program, forbid answering Network connection operation is executed with program, one of unloading operation or any combination thereof is executed to application program.
21. a kind of electronic equipment, which is characterized in that the electronic equipment includes: shell, processor, memory, circuit board and electricity Source circuit, wherein circuit board is placed in the space interior that shell surrounds, and processor and memory setting are on circuit boards;Power supply Circuit, for each circuit or the device power supply for above-mentioned electronic equipment;Memory is for storing executable program code;Processing Device runs program corresponding with executable program code by reading the executable program code stored in memory, for holding The method of optimization application resource described in the aforementioned any claim 1-10 of row.
CN201511019342.9A 2015-12-30 2015-12-30 A kind of method, apparatus and electronic equipment of optimization application resource CN105677477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511019342.9A CN105677477B (en) 2015-12-30 2015-12-30 A kind of method, apparatus and electronic equipment of optimization application resource

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511019342.9A CN105677477B (en) 2015-12-30 2015-12-30 A kind of method, apparatus and electronic equipment of optimization application resource

Publications (2)

Publication Number Publication Date
CN105677477A CN105677477A (en) 2016-06-15
CN105677477B true CN105677477B (en) 2019-10-15

Family

ID=56189728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511019342.9A CN105677477B (en) 2015-12-30 2015-12-30 A kind of method, apparatus and electronic equipment of optimization application resource

Country Status (1)

Country Link
CN (1) CN105677477B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790006B (en) * 2016-12-13 2020-08-04 北京元心科技有限公司 Device management method and system
CN107273164A (en) * 2017-06-16 2017-10-20 郑州云海信息技术有限公司 A kind of method for realizing Auto-matching scene optimization strategy when linux system performance optimizes
CN107577533A (en) * 2017-08-31 2018-01-12 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107577537A (en) * 2017-09-06 2018-01-12 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107621981A (en) * 2017-09-06 2018-01-23 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107861816A (en) * 2017-10-31 2018-03-30 广东欧珀移动通信有限公司 Resource allocation method and device
CN107894920A (en) * 2017-11-09 2018-04-10 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107943268B (en) * 2017-11-21 2020-03-10 Oppo广东移动通信有限公司 Scheduling job control method, device, terminal equipment and storage medium
CN108037999A (en) * 2017-12-06 2018-05-15 广东欧珀移动通信有限公司 Resource allocation method and Related product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094310A (en) * 2006-06-23 2007-12-26 华为技术有限公司 Method, application, and device for changing application states in multiple current services
CN103596252A (en) * 2013-11-28 2014-02-19 贝壳网际(北京)安全技术有限公司 Method and device for controlling mobile terminal and mobile terminal
CN104199733A (en) * 2014-09-05 2014-12-10 广州金山网络科技有限公司 Disabling method and device for application program processes
CN104239157A (en) * 2014-08-19 2014-12-24 北京奇虎科技有限公司 Method and device for optimizing and cleaning data of mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101765188A (en) * 2008-12-25 2010-06-30 英华达(上海)电子有限公司 Energy-saving method of running gear and running gear adopting the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094310A (en) * 2006-06-23 2007-12-26 华为技术有限公司 Method, application, and device for changing application states in multiple current services
CN103596252A (en) * 2013-11-28 2014-02-19 贝壳网际(北京)安全技术有限公司 Method and device for controlling mobile terminal and mobile terminal
CN104239157A (en) * 2014-08-19 2014-12-24 北京奇虎科技有限公司 Method and device for optimizing and cleaning data of mobile terminal
CN104199733A (en) * 2014-09-05 2014-12-10 广州金山网络科技有限公司 Disabling method and device for application program processes

Also Published As

Publication number Publication date
CN105677477A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
Barbera et al. To offload or not to offload? the bandwidth and energy costs of mobile cloud computing
JP6088667B2 (en) Memory cleaning method and device, and terminal device
US10552216B2 (en) Application heartbeat period adjusting method and apparatus, and terminal
CN102938808B (en) Information method for recording in mobile terminal and device
CN104991850B (en) The heartbeat packet control method and device of a kind of application program
US9778721B2 (en) Method and device for monitoring power consumption of application in android terminal
Chen et al. Smartphone background activities in the wild: Origin, energy drain, and optimization
CN104516806B (en) The testing result methods of exhibiting and system of the power consumption information of mobile terminal
CN103324500B (en) A kind of method and device reclaiming internal memory
CN105306682B (en) The method and device of network connection switch is automatically closed
WO2017084293A1 (en) Application closing method, device and electronic equipment
CN101981531B (en) Aggregating recurrent schedules to optimize resource consumption
CN102200942B (en) Based on application behavior monitoring method and the cloud server of cloud computing
Xu et al. Optimizing background email sync on smartphones
CN104268055B (en) The monitoring method and device of a kind of program exception
CN104735671B (en) A kind of method and apparatus of identification malicious call
CN103891363A (en) Systems and methods for monitoring of background application events
CN101859261B (en) Control method and control equipment for releasing memory
BR102013029666A2 (en) energy-efficient processor activity monitoring and management of a portable electronic device
CN104375869B (en) Self-starting application control method and device
CN102087615B (en) Messages merger method and system in message queue
CN103973875B (en) Mobile terminal notice center PUSH message processing method and device
CN104272787A (en) Techniques for autonomic reverting to behavioral checkpoints
CN106125882B (en) A kind of management method and electronic equipment of application program
CN102880514B (en) A kind of method and apparatus of invokes application

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
GR01 Patent grant