CN105677477A - Method and device for optimizing application program resources and electronic equipment - Google Patents

Method and device for optimizing application program resources and electronic equipment Download PDF

Info

Publication number
CN105677477A
CN105677477A CN201511019342.9A CN201511019342A CN105677477A CN 105677477 A CN105677477 A CN 105677477A CN 201511019342 A CN201511019342 A CN 201511019342A CN 105677477 A CN105677477 A CN 105677477A
Authority
CN
China
Prior art keywords
application program
optimization
resource optimization
triggering event
strategy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201511019342.9A
Other languages
Chinese (zh)
Other versions
CN105677477B (en
Inventor
刘伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
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
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses a method and a device for optimizing application program resources and electronic equipment. The method comprises the following steps: monitoring a trigger event of an operating system, and if the monitored trigger event is any one of a preset trigger event set; inquiring a mapping relation between a preset trigger event and an application program set resource optimization strategy, and acquiring the application program set resource optimization strategy mapped by the monitored trigger event; performing resource optimization on each application program running in the background according to the acquired application program set resource optimization strategy; intercepting a re-operation request of an application program for resource optimization; inquiring the mapping relation between a preset trigger event and an application program restart optimization strategy, acquiring the application program restart optimization strategy mapped by the current trigger event, and processing the application program for resource optimization according to the acquired application program restart optimization strategy. By applying the invention, the application program resource can be optimized.

Description

A kind of method of optimization application resource, device and electronic equipment
Technical field
The present invention relates to computer resource optimisation technique, particularly relate to a kind of method of optimization application resource, device and electronic equipment.
Background technology
Along with compunication and Internet technology, the application of electronic equipment is more and more general, such as, intelligent mobile phone, personal digital assistant, palm PC and desktop computer obtain and are increasingly widely applied, types of applications program (APP in the electronic device is installed, Application) also get more and more, instant messaging (the IM such as such as QQ, wechat, Whatsapp, Facebook, Line, InstantMessaging) application program, in order to meet user to the multifarious demand of business. But, along with increasing of the application program installed in electronic equipment, owing to the operation of each application program all can consume the substantial amounts of resource of electronic equipment, such as, memory source, power resources, cpu resource etc., and some application programs still can run after exiting in the backstage of electronic equipment, and the application program of running background is due to other hardware devices such as needs periodic access external memory storage, wireless network or data networks, also can consume the resource that electronic equipment is limited, and electronic equipment totally can to run resource generally relatively limited. Thus, the application program installed in electronic equipment is more many, and consumed resource is also relatively more big, occupies the resource of other properly functioning application programs, and then makes the resource optimization of electronic equipment inefficient.
At present, in order to improve the resource optimization efficiency of electronic equipment, it is generally adopted user and manually the process of some inessential application programs is carried out termination process process, thus discharging its resource taken. But owing to, in practical application, general user does not also know which application program is inessential application program, such that it is able to terminate its process; Or, the inessential application program chosen can not contain all inessential application program that can carry out process termination, more inessential application program, and especially the process of the inessential application program of running background is not terminated; Or, it is possible to the application program (such as music, motion, download class application program) that user is currently in use, exits temporarily can be killed, thus making troubles to user;Or, after the process of some application programs is terminated, can be waken up by brother's class application program, for instance, application A and application program B are brother's class application programs, after application A detects that the process of application program B is killed, the process of application A re-launching applications B at once, thus recovering the operation of application program B, causes that application program B resumes resource, and owing to the startup of a process is also required to resource, and more than when the resource needed likely is run. Thus, existing method for optimizing resources, resource optimization is inefficient.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method of optimization application resource, device and electronic equipment, promotes application resource and optimizes efficiency.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that
First aspect, the embodiment of the present invention provides a kind of method of optimization application resource, including:
The triggering event of snoop-operations system, if the triggering event listened to is the arbitrary triggering event in the set of trigger events pre-set;
Inquire about the mapping relations of triggering event and the application program fund-raising source optimization strategy pre-set, the application program fund-raising source optimization strategy that the triggering event listened to described in acquisition maps;
According to the application program fund-raising source optimization strategy obtained, each application program of running background is carried out resource optimization;
Intercept and capture carry out resource optimization application program rerun request;
The triggering event that inquiry pre-sets and application program restart the mapping relations of optimisation strategy, the application program obtaining current triggering event mapping restarts optimisation strategy, restarts optimisation strategy according to the application program obtained and the described application program carrying out resource optimization is processed.
Optionally, described triggering event and application program are restarted the mapping relations of optimisation strategy and are included:
If triggering event is screen locking event, force the application program operation stopping carrying out resource optimization;
If triggering event is non-screen locking event, and meet following condition, force the application program operation stopping carrying out resource optimization:
If the application program that controls that the application program carrying out resource optimization is reruned in request ran in the timeline pre-set in the way of user operation, but described control application program and the described application program carrying out resource optimization do not have the incidence relation pre-set; Or,
If described control application program runs in the way of non-user operation.
Optionally, restarting in the mapping relations of optimisation strategy at described triggering event and application program, if triggering event is after screen locking event, before forcing the application program operation stopping carrying out resource optimization, described method also includes:
The request of acquisition carries out the control application program of application program of resource optimization described in reruning, it is judged that whether described control application program was used by a user in the timeline pre-set;
If described control application program ran in the timeline pre-set in the way of user operation, and described control application program and the described application program carrying out resource optimization have the incidence relation pre-set, do not deal with, otherwise, the described step forcing the application program stopping carrying out resource optimization to operate is performed.
Optionally, the forceStopPackage method that the described application program operation forcing to stop carrying out resource optimization is use ActivityManager carries out, described in terminating, the process that the application program of resource optimization is corresponding.
Optionally, after the application program fund-raising source optimization strategy that the triggering event that listens to described in described acquisition maps, before according to the application program fund-raising source optimization strategy obtained each application program of running background being carried out resource optimization, described method also includes:
Obtain the resource use value that electronic equipment is current, if the resource use value obtained exceedes the resource pre-set uses threshold value, perform the described step that according to the application program fund-raising source optimization strategy obtained, each application program of running background is carried out resource optimization, if the resource that the resource use value obtained is not above pre-setting uses threshold value, process ends.
Optionally, described resource use value includes: one in CPU usage, memory usage, electric quantity consumption rate and exception of network traffic rate or its combination in any.
Optionally, after the application program fund-raising source optimization strategy that the triggering event that listens to described in described acquisition maps, before according to the application program fund-raising source optimization strategy obtained each application program of running background being carried out resource optimization, described method also includes:
The application program of traversal running background, it is judged that whether the application program of traversal was used by a user in the timeline pre-set;
If the application program of traversal was not used by a user in the timeline pre-set, perform the described step that according to the resource optimization strategy obtained, each application program of running background is carried out resource optimization.
Optionally, if after the described application program obtaining traversal was not used by a user in the timeline pre-set, perform described according to the resource optimization strategy obtained, each application program of running background is carried out resource optimization before, described method also includes:
Judge the application program of described traversal to be operated the need of call operation System Privileges;
If not needing call operation System Privileges, perform the described step that according to the resource optimization strategy obtained, each application program of running background is carried out resource optimization;
If needing call operation System Privileges, call the preassembled middle plug-in unit with operating system permission grant function, operating system permission grant function is obtained, to perform the described step that according to the resource optimization strategy obtained, each application program of running background is carried out resource optimization by described middle plug-in unit.
Optionally, described each application program of running background carried out resource optimization include according to the application program fund-raising source optimization strategy obtained:
Extract in each application program of running background, raise funds the application program to be presented that matches of source optimization strategy and the resource optimization strategy that described application program to be presented is corresponding with described application program;
In the way of informing or dialog box, show each application program to be presented and resource optimization strategy corresponding to each application program to be presented;
Receive the strategy that user chooses according to the resource optimization strategy shown, corresponding application programs is carried out resource optimization.
Optionally, the request of reruning of the application program that described intercepting and capturing carry out resource optimization includes:
Inject the foot basis pre-set in an operating system;
The script that pre-sets described in utilization intercept and capture send the application program carrying out resource optimization to operating system rerun request.
Optionally, described resource optimization strategy includes: terminate process operation corresponding to application program, pressure stops application program and operates, forbids that application program automatically starts operation, forbids that application program execution network attended operation, application programs perform the one in unloading operation or its combination in any.
Second aspect, the embodiment of the present invention provides the device of a kind of optimization application resource, including: action listener module, optimisation strategy acquisition module, optimization module, weight Request Interception module and weight request processing module, wherein,
Action listener module, for the triggering event of snoop-operations system, if the triggering event listened to is the arbitrary triggering event in the set of trigger events pre-set;
Optimisation strategy acquisition module, for inquiring about the mapping relations of triggering event and the application program fund-raising source optimization strategy pre-set, the application program fund-raising source optimization strategy that the triggering event listened to described in acquisition maps;
Optimize module, for each application program of running background being carried out resource optimization according to the application program fund-raising source optimization strategy obtained;
Weight Request Interception module, reruns request for what intercept and capture the application program that carries out resource optimization;
Weight request processing module, the mapping relations of optimisation strategy are restarted for inquiring about the triggering event that pre-sets and application program, the application program obtaining current triggering event mapping restarts optimisation strategy, restarts optimisation strategy according to the application program obtained and the described application program carrying out resource optimization is processed.
Optionally, described triggering event and application program are restarted the mapping relations of optimisation strategy and are included:
If triggering event is screen locking event, force the application program operation stopping carrying out resource optimization;
If triggering event is non-screen locking event, and meet following condition, force the application program operation stopping carrying out resource optimization:
If the application program that controls that the application program carrying out resource optimization is reruned in request ran in the timeline pre-set in the way of user operation, but described control application program and the described application program carrying out resource optimization do not have the incidence relation pre-set; Or,
If described control application program runs in the way of non-user operation.
Optionally, restarting in the mapping relations of optimisation strategy at described triggering event and application program, if triggering event is after screen locking event, before forcing the application program operation stopping carrying out resource optimization, described mapping relations also include:
The request of acquisition carries out the control application program of application program of resource optimization described in reruning, it is judged that whether described control application program was used by a user in the timeline pre-set;
If described control application program ran in the timeline pre-set in the way of user operation, and described control application program and the described application program carrying out resource optimization have the incidence relation pre-set, do not deal with, otherwise, the described step forcing the application program stopping carrying out resource optimization to operate is performed.
Optionally, the forceStopPackage device that the described application program operation forcing to stop carrying out resource optimization is use ActivityManager carries out, described in terminating, the process that the application program of resource optimization is corresponding.
Optionally, described device also includes:
Resource uses judge module, the resource use value current for obtaining electronic equipment, if the resource use value obtained exceedes the resource pre-set uses threshold value, perform the described step that according to the application program fund-raising source optimization strategy obtained, each application program of running background is carried out resource optimization, if the resource that the resource use value obtained is not above pre-setting uses threshold value, process ends.
Optionally, described resource use value includes: one in CPU usage, memory usage, electric quantity consumption rate and exception of network traffic rate or its combination in any.
Optionally, described device also includes:
Timeline judge module, for traveling through the application program of running background, it is judged that whether the application program of traversal was used by a user in the timeline pre-set;
If the application program of traversal was not used by a user in the timeline pre-set, perform the described step that according to the resource optimization strategy obtained, each application program of running background is carried out resource optimization.
Optionally, described timeline module is additionally operable to judge the application program of described traversal to be operated the need of call operation System Privileges;
If not needing call operation System Privileges, perform the described step that according to the resource optimization strategy obtained, each application program of running background is carried out resource optimization;
If needing call operation System Privileges, call the preassembled middle plug-in unit with operating system permission grant function, operating system permission grant function is obtained, to perform the described step that according to the resource optimization strategy obtained, each application program of running background is carried out resource optimization by described middle plug-in unit.
Optionally, described optimization module includes: extraction unit, display unit and optimization unit, wherein,
Extraction unit, for extracting in each application program of running background, raises funds the application program to be presented that source optimization strategy matches and the resource optimization strategy that described application program to be presented is corresponding with described application program;
Display unit, in the way of informing or dialog box, shows each application program to be presented and resource optimization strategy corresponding to each application program to be presented;
Optimize unit, for receiving the strategy that user chooses according to the resource optimization strategy shown, corresponding application programs is carried out resource optimization.
Optionally, described heavy Request Interception module includes: injection unit and intercepting and capturing unit, wherein,
Injection unit, for injecting the foot basis pre-set in an operating system;
Intercept and capture unit, the script for pre-setting described in utilizing intercept and capture send the application program carrying out resource optimization to operating system rerun request.
Optionally, described resource optimization strategy includes: terminate process operation corresponding to application program, pressure stops application program and operates, forbids that application program automatically starts operation, forbids that application program execution network attended operation, application programs perform the one in unloading operation or its combination in any.
The third aspect, the embodiment of the present invention provides a kind of electronic equipment, and described electronic equipment includes: housing, processor, memorizer, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, processor and memorizer and arranges on circuit boards; Power circuit, powers for each circuit or the device for above-mentioned electronic equipment; Memorizer is used for storing executable program code; Processor runs the program corresponding with executable program code by reading the executable program code of storage in memorizer, for the method performing aforementioned arbitrary described optimization application resource.
The method of optimization application resource, device and the electronic equipment that the embodiment of the present invention provides, by the triggering event of snoop-operations system, the application program of running background is carried out resource optimization by the application program fund-raising source optimization strategy calling the mapping of triggering event, after the application program of resource optimization reruns, obtain according to current triggering event and re-run process strategy accordingly, according to the process strategy that re-runs obtained, the application program reruned is carried out secondary resource optimization process. As such, it is possible to effectively prevent the application program performing resource optimization from being started by malice again, thus when not affecting user and using, effectively promoting resource optimization efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the method flow schematic diagram of embodiment of the present invention optimization application resource;
Fig. 2 is the apparatus structure schematic diagram of embodiment of the present invention optimization application resource;
Fig. 3 is the optimization modular structure schematic diagram of the embodiment of the present invention;
Fig. 4 is the structural representation of one embodiment of electronic equipment of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in detail.
It will be appreciated that described embodiment a part of embodiment that is only the present invention, rather than whole embodiment. Based on the embodiment in the present invention, all other embodiments that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
Fig. 1 is the method flow schematic diagram of embodiment of the present invention optimization application resource. Referring to Fig. 1, the method includes:
Step 11, the triggering event of snoop-operations system, if the triggering event listened to is the arbitrary triggering event in the set of trigger events pre-set;
In this step, the scene residing for electronic equipment is triggered by a series of triggering events of operating system, for instance, when needs screen locking, screen locking event trigger and enter screen locking. In the embodiment of the present invention, as an alternative embodiment, triggering event includes but 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 user's non-athletic event etc. It is known technology about monitoring triggering event, omits detailed description at this.
Step 12, inquires about the mapping relations of triggering event and the application program fund-raising source optimization strategy pre-set, the application program fund-raising source optimization strategy that the triggering event listened to described in acquisition maps;
In this step, same application can run in different scenes, and the scene that different triggering events triggers is different, thus, the resource optimization strategy that same application is adopted also can be different. Such as, when user is in screen locking scene, can by running background except alarm clock calling, receive calls, receive the application programs such as note except application program (as game, browser) carry out resource optimization, such as, close related application, and spreading its tail scene, it is necessary to open game, browser; Again such as, when user is in indoor scene, the resource optimization strategy that the application programs such as the global positioning system of running background, Baidu's map are corresponding can be close, and when outdoor scene, the resource optimization strategy that the application program such as the global positioning system of running background, Baidu's map is corresponding can be open.
In the embodiment of the present invention, as an alternative embodiment, the mapping relations of triggering event and application program fund-raising source optimization strategy can be configured in this locality by user, can also be that the person skilled of network side server is by collecting each triggering event, it is analyzed for each application program under each triggering event, obtain the resource optimization strategy of each application program under this scene, generate the application program fund-raising source optimization strategy based on this scene (triggering event), and the mapping relations of triggering event with application program fund-raising source optimization strategy are issued to each electronic equipment, electronic equipment receives and stores. in subsequent applications, the mapping relations of triggering event with application program fund-raising source optimization strategy can also be updated by technical staff. so, analyze the mapping relations of the triggering event of editor and application program fund-raising source optimization strategy more comprehensively by technical staff, be conducive to optimizing the resource distribution of each application program.
In the embodiment of the present invention, as an alternative embodiment, resource optimization strategy includes: terminates process operation corresponding to application program, force to stop application program operation (stopping bag), forbid application program and automatically start operation, forbid application program and perform the one in network attended operation, application programs execution unloading operation or its combination in any.
Step 13, carries out resource optimization according to the application program fund-raising source optimization strategy obtained to each application program of running background;
In this step, in application program fund-raising source optimization strategy, it can be the corresponding resource optimization strategy of an application program, it can also be the corresponding multinomial resource optimization strategy of an application program, such as, for a certain application program, it is possible to arrange pressure and stop application program operation and forbid that application program starts two resource optimization strategies of operation automatically, can also is that the corresponding resource optimization strategy of multiple utility program, this is not construed as limiting by the embodiment of the present invention.
As an alternative embodiment, after the application program fund-raising source optimization strategy that the triggering event listened to described in described acquisition maps, before according to the application program fund-raising source optimization strategy obtained each application program of running background being carried out resource optimization, the method can also include:
Obtain the resource use value that electronic equipment is current, if the resource use value obtained exceedes the resource pre-set uses threshold value, perform the described step that according to the application program fund-raising source optimization strategy obtained, each application program of running background is carried out resource optimization, if the resource that the resource use value obtained is not above pre-setting uses threshold value, process ends.
In this step, can in conjunction with the current resource service condition of electronic equipment, it is determined whether need the application program to running background to perform resource optimization operation, if the current resource of electronic equipment makes consumption less, resource optimization operation can not be carried out, occur until next triggers event. In the embodiment of the present invention, resource use value includes but not limited to: the one of CPU usage, memory usage, electric quantity consumption rate, exception of network traffic rate etc. or its combination in any.
As another alternative embodiment, after the application program fund-raising source optimization strategy that the triggering event listened to described in described acquisition maps, before according to the application program fund-raising source optimization strategy obtained each application program of running background being carried out resource optimization, the method can also include:
The application program of traversal running background, it is judged that whether the application program of traversal was used by a user in the timeline pre-set;
If the application program of traversal was not used by a user in the timeline pre-set, perform the described step that according to the resource optimization strategy obtained, each application program of running background is carried out resource optimization.
In this step, if the application program of traversal was used by a user in the timeline pre-set, show that user is likely to perform consistency operation for this application program, then this application program is not performed any operation, to avoid the experience of user is impacted.
In the embodiment of the present invention, the timeline pre-set can be configured according to actual needs, for instance, can be configured according to the attribute of application program. For example, for downloading class application program, the timeline of setting can be grown, for the instant messaging application program of interactive class, it is possible to arranges shorter timeline. For example, if the download class application program of running background was not used by a user in 2 hours, then this download class application program is carried out resource optimization, if this download class application program was used by a user in 2 hours, then continue to allow this download class application program at running background.
In the embodiment of the present invention, as an alternative embodiment, if after the described application program obtaining traversal was not used by a user in the timeline pre-set, perform described according to the resource optimization strategy obtained, each application program of running background is carried out resource optimization before, the method can also include:
Judge the application program of described traversal to be operated the need of call operation System Privileges;
If not needing call operation System Privileges, perform the described step that according to the resource optimization strategy obtained, each application program of running background is carried out resource optimization;
If needing call operation System Privileges, call the preassembled middle plug-in unit with operating system permission grant function, operating system permission grant function is obtained, to perform the described step that according to the resource optimization strategy obtained, each application program of running background is carried out resource optimization by described middle plug-in unit.
In the embodiment of the present invention, as an alternative embodiment, according to the application program fund-raising source optimization strategy obtained, each application program of running background is carried out resource optimization and includes:
Extract in each application program of running background, raise funds the application program to be presented that matches of source optimization strategy and the resource optimization strategy that described application program to be presented is corresponding with described application program;
In the way of informing or dialog box, show each application program to be presented and resource optimization strategy corresponding to each application program to be presented;
Receive the strategy that user chooses according to the resource optimization strategy shown, corresponding application programs is carried out resource optimization.
Step 14, intercept and capture carry out resource optimization application program rerun request;
In this step, for some application programs, stop after bag processes terminating its process or carry out, it is likely to by other application program launching, such as, application A is brother's (association) class application program with application program B, when application program is after A detects that the process of application program B is killed, the process of application A re-launching applications B at once, application program B is reruned, for example, application program B can due to application A call or application A issue message and be restarted, reruning for this type of application program, need be analyzed according to concrete condition and process.
In the embodiment of the present invention, reruning of application program includes: application program self-starting is reruned, application program is by the associated application program launching of onrelevant application program launching and application program. Wherein, onrelevant application program refers to other application programs without incidence relation with this application program, and affiliate application refers to have other application programs of incidence relation with this application program.
In the embodiment of the present invention, when other application programs need to restart the application program carrying out resource optimization, the request (carrying out the request that the application program of resource optimization reruns) restarting the application program carrying out resource optimization can be sent, to ask operating system to restart this application program carrying out resource optimization to operating system. Thus, as an alternative embodiment, the request of reruning intercepting and capturing the application program carrying out resource optimization includes:
Inject the foot basis pre-set in an operating system;
The script that pre-sets described in utilization intercept and capture send the application program carrying out resource optimization to operating system rerun request.
In the embodiment of the present invention, about injection script with the request of intercepting and capturing for known hook (hook) technology, omit detailed description at this.
Step 15, the triggering event that inquiry pre-sets and application program restart the mapping relations of optimisation strategy, the application program obtaining current triggering event mapping restarts optimisation strategy, restarts optimisation strategy according to the application program obtained and the described application program carrying out resource optimization is processed.
In this step, currently refer to the time period of the application program carrying out resource optimization described in re-request operation. In the embodiment of the present invention, the situation that the application program for carrying out resource optimization reruns in self-starting mode, it is possible to carry out respective handling according to resource optimization strategy, thus, the application program reruned is directed to by the situation of other application program launchings.
As an alternative embodiment, triggering event and application program are restarted the mapping relations of optimisation strategy and are included:
If triggering event is screen locking event, force the application program operation stopping carrying out resource optimization;
If triggering event is non-screen locking event, and meet following condition, force the application program operation stopping carrying out resource optimization:
If the application program that controls that the application program carrying out resource optimization is reruned in request ran in the timeline pre-set in the way of user operation, but described control application program and the described application program carrying out resource optimization do not have the incidence relation pre-set; Or,
If described control application program runs in the way of non-user operation.
In the embodiment of the present invention, if current triggering event is screen locking event, then show in during the screen locking that this screen locking event is corresponding, the application program carrying out resource optimization is started by other application programs (control application program), and other application programs starting this application program carrying out resource optimization run in the way of non-user operation, may determine that this carries out the application program of resource optimization and is maliciously started, the application program carrying out resource optimization this described is performed pressure stop operation, namely carry out stopping bag and process.
If current triggering event is non-screen locking event, then need to be further analysed, judge that this carries out the application program of resource optimization, starts this and carry out the relation between other application programs (control application program) of application program of resource optimization, user operation: obtain the control application program reruning the application program carrying out resource optimization described in (startup), application program if carried out resource optimization reruns in the way of user operation, namely triggered by user operation and automatically run, then do not process; If described control application program runs in the way of user operation, but described control application program and the described application program carrying out resource optimization do not have the incidence relation pre-set, and force to carry out described in stopping the application program operation of resource optimization; Or, if described control application program runs in the way of user operation, and described control application program has, with the described application program carrying out resource optimization, the incidence relation pre-set, and does not process; Or, if described control application program runs in the way of non-user operation, then no matter carry out the application program of resource optimization with whether other application programs starting this application program carrying out resource optimization have incidence relation, force to carry out described in stopping the application program operation of resource optimization.
Similar with described above, as an alternative embodiment, whether application program and other application program (control application program) starting this application program have incidence relation, can also be that the person skilled of network side server is by collecting application program and other application program starting this application program, analyze association between the two, so that it is determined that whether it has incidence relation, then, the incidence relation determined is issued to each electronic equipment, and electronic equipment receives and stores.
In the embodiment of the present invention, as an alternative embodiment, restart in the mapping relations of optimisation strategy at described triggering event and application program, if triggering event is after screen locking event, before forcing the application program operation stopping carrying out resource optimization, the method can also include:
The request of acquisition carries out the control application program of application program of resource optimization described in reruning, it is judged that whether described control application program was used by a user in the timeline pre-set;
If described control application program ran in the timeline pre-set in the way of user operation, and described control application program and the described application program carrying out resource optimization have the incidence relation pre-set, do not deal with, otherwise, the described step forcing the application program stopping carrying out resource optimization to operate is performed.
In the embodiment of the present invention, as an alternative embodiment, for Android (Android) operating system, force the application program operation stopping carrying out resource optimization that forcestop instruction can be adopted to carry out stopping bag to process, namely use the forceStopPackage method of ActivityManager terminate described in carry out the process that the application program of resource optimization is corresponding.
In the embodiment of the present invention, by the triggering event of snoop-operations system, the application program of running background is carried out resource optimization by the application program fund-raising source optimization strategy calling the mapping of triggering event, after the application program of resource optimization reruns, obtain according to current triggering event and re-run process strategy accordingly, according to the process strategy that re-runs obtained, the application program reruned is carried out secondary resource optimization process. so, when the application program of execution resource optimization is by other uncorrelated application program launchings, or, although associated application triggers starts, but when the application program of this association is not user's user operation startup in the timeline pre-set, the application program performing resource optimization can be effectively prevented to be again started up, thus when not affecting user and using, effectively promote resource optimization efficiency, solve the technical problem of the resource consumption that application program is maliciously started and cause and rationally cut off a certain application program and do not affect the technical problem that user uses.
Fig. 2 is the apparatus structure schematic diagram of embodiment of the present invention optimization application resource. Referring to Fig. 2, this device includes: action listener module 21, optimisation strategy acquisition module 22, optimization module 23, weight Request Interception module 24 and weight request processing module 25, wherein,
Action listener module 21, for the triggering event of snoop-operations system, if the triggering event listened to is the arbitrary triggering event in the set of trigger events pre-set;
In the embodiment of the present invention, triggering event includes but 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 user's non-athletic event etc.
Optimisation strategy acquisition module 22, for inquiring about the mapping relations of triggering event and the application program fund-raising source optimization strategy pre-set, the application program fund-raising source optimization strategy that the triggering event listened to described in acquisition maps:
In the embodiment of the present invention, resource optimization strategy includes: terminate process operation corresponding to application program, pressure stops application program and operates, forbids that application program automatically starts operation, forbids that application program execution network attended operation, application programs perform the one in unloading operation or its combination in any.
As an alternative embodiment, the mapping relations of triggering event and application program fund-raising source optimization strategy are passed through to collect each triggering event by the person skilled of network side server, it is analyzed for each application program under each triggering event, obtain the resource optimization strategy of each application program under this scene, generate the application program fund-raising source optimization strategy based on this scene (triggering event), and the mapping relations of triggering event with application program fund-raising source optimization strategy are issued to each electronic equipment, electronic equipment receives and stores.
Optimize module 23, for each application program of running background being carried out resource optimization according to the application program fund-raising source optimization strategy obtained;
In the embodiment of the present invention, as an alternative embodiment, Fig. 3 is the optimization modular structure schematic diagram of the embodiment of the present invention. Referring to Fig. 3, this optimization module includes: extraction unit, display unit and optimization unit, wherein,
Extraction unit, for extracting in each application program of running background, raises funds the application program to be presented that source optimization strategy matches and the resource optimization strategy that described application program to be presented is corresponding with described application program;
Display unit, in the way of informing or dialog box, shows each application program to be presented and resource optimization strategy corresponding to each application program to be presented;
Optimize unit, for receiving the strategy that user chooses according to the resource optimization strategy shown, corresponding application programs is carried out resource optimization.
Weight Request Interception module 24, reruns request for what intercept and capture the application program that carries out resource optimization;
In the embodiment of the present invention, reruning of application program includes: application program self-starting is reruned, application program is by the associated application program launching of onrelevant application program launching and application program. Wherein, onrelevant application program refers to other application programs without incidence relation with this application program, and affiliate application refers to have other application programs of incidence relation with this application program.
As an alternative embodiment, weight Request Interception module 24 includes: injection unit and intercepting and capturing unit (not shown), wherein,
Injection unit, for injecting the foot basis pre-set in an operating system;
Intercept and capture unit, the script for pre-setting described in utilizing intercept and capture send the application program carrying out resource optimization to operating system rerun request.
Weight request processing module 25, the mapping relations of optimisation strategy are restarted for inquiring about the triggering event that pre-sets and application program, the application program obtaining current triggering event mapping restarts optimisation strategy, restarts optimisation strategy according to the application program obtained and the described application program carrying out resource optimization is processed.
In the embodiment of the present invention, as an alternative embodiment, triggering event and application program are restarted the mapping relations of optimisation strategy and are included:
If triggering event is screen locking event, force the application program operation stopping carrying out resource optimization;
If triggering event is non-screen locking event, and meet following condition, force the application program operation stopping carrying out resource optimization:
If the application program that controls that the application program carrying out resource optimization is reruned in request ran in the timeline pre-set in the way of user operation, but described control application program and the described application program carrying out resource optimization do not have the incidence relation pre-set; Or,
If described control application program runs in the way of non-user operation.
As another alternative embodiment, restarting in the mapping relations of optimisation strategy at described triggering event and application program, if triggering event is after screen locking event, before forcing the application program operation stopping carrying out resource optimization, these mapping relations also include:
The request of acquisition carries out the control application program of application program of resource optimization described in reruning, it is judged that whether described control application program was used by a user in the timeline pre-set;
If described control application program ran in the timeline pre-set in the way of user operation, and described control application program and the described application program carrying out resource optimization have the incidence relation pre-set, do not deal with, otherwise, the described step forcing the application program stopping carrying out resource optimization to operate is performed.
In the embodiment of the present invention, the forceStopPackage method that the described application program operation forcing to stop carrying out resource optimization is use ActivityManager terminate described in carry out the process that the application program of resource optimization is corresponding.
The present invention is in embodiment, and as an alternative embodiment, this device also includes:
Resource uses judge module 26, the resource use value current for obtaining electronic equipment, if the resource use value obtained exceedes the resource pre-set uses threshold value, perform the described step that according to the application program fund-raising source optimization strategy obtained, each application program of running background is carried out resource optimization, if the resource that the resource use value obtained is not above pre-setting uses threshold value, process ends.
In the embodiment of the present invention, resource use value includes: one in CPU usage, memory usage, electric quantity consumption rate and exception of network traffic rate or its combination in any.
As another alternative embodiment, this device also includes:
Timeline judge module 27, for traveling through the application program of running background, it is judged that whether the application program of traversal was used by a user in the timeline pre-set;
If the application program of traversal was not used by a user in the timeline pre-set, perform the described step that according to the resource optimization strategy obtained, each application program of running background is carried out resource optimization.
In the embodiment of the present invention, as another alternative embodiment, timeline module is additionally operable to judge the application program of described traversal to be operated the need of call operation System Privileges;
If not needing call operation System Privileges, perform the described step that according to the resource optimization strategy obtained, each application program of running background is carried out resource optimization;
If needing call operation System Privileges, call the preassembled middle plug-in unit with operating system permission grant function, operating system permission grant function is obtained, to perform the described step that according to the resource optimization strategy obtained, each application program of running background is carried out resource optimization by described middle plug-in unit.
The embodiment of the present invention also provides for a kind of electronic equipment, and described electronic equipment comprises the device described in aforementioned any embodiment.
Fig. 4 is the structural representation of one embodiment of electronic equipment of the present invention, the flow process of Fig. 1-3 illustrated embodiment of the present invention can be realized, as shown in Figure 4, above-mentioned electronic equipment may include that housing 41, processor 42, memorizer 43, circuit board 44 and power circuit 45, wherein, circuit board 44 is placed in the interior volume that housing 41 surrounds, processor 42 and memorizer 43 and is arranged on circuit board 44;Power circuit 45, powers for each circuit or the device for above-mentioned electronic equipment; Memorizer 43 is used for storing executable program code; Processor 42 runs the program corresponding with executable program code by reading the executable program code of storage in memorizer 43, for the method performing the optimization application resource described in aforementioned any embodiment.
The step that concrete execution process and the processor 42 of above-mentioned steps are performed further by processor 42 by operation executable program code, it is possible to referring to the description of Fig. 1-3 illustrated embodiment of the present invention, do not repeat them here.
This electronic equipment exists in a variety of forms, includes but not limited to:
(1) mobile communication equipment: the feature of this kind equipment is to possess mobile communication function, and to provide speech, data communication for main target. This Terminal Type includes: smart mobile phone (such as iPhone), multimedia handset, functional mobile phone, and low-end mobile phone etc.
(2) super mobile personal computer equipment: this kind equipment belongs to the category of personal computer, has calculating and processes function, generally also possessing mobile Internet access characteristic. This Terminal Type includes: PDA, MID and UMPC equipment etc., for instance iPad.
(3) portable entertainment device: this kind equipment can show and play content of multimedia. This kind equipment includes: audio frequency, video player (such as iPod), handheld device, e-book, and intelligent toy and portable car-mounted navigator.
(4) server: the equipment of the service of calculating is provided, the composition of server includes processor, hard disk, internal memory, system bus etc., server is similar with general computer architecture, but owing to needing to provide highly reliable service, therefore require higher in disposal ability, stability, reliability, safety, extensibility, manageability etc.
(5) other have the electronic equipment of data interaction function.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can be by the hardware that computer program carrys out instruction relevant to complete, described program can be stored in a computer read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each side method. Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
The above; being only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any those familiar with the art is in the technical scope that the invention discloses; the change that can readily occur in or replacement, all should be encompassed within protection scope of the present invention. Therefore, protection scope of the present invention should be as the criterion with scope of the claims.

Claims (10)

1. the method for an optimization application resource, it is characterised in that the method includes:
The triggering event of snoop-operations system, if the triggering event listened to is the arbitrary triggering event in the set of trigger events pre-set;
Inquire about the mapping relations of triggering event and the application program fund-raising source optimization strategy pre-set, the application program fund-raising source optimization strategy that the triggering event listened to described in acquisition maps;
According to the application program fund-raising source optimization strategy obtained, each application program of running background is carried out resource optimization;
Intercept and capture carry out resource optimization application program rerun request;
The triggering event that inquiry pre-sets and application program restart the mapping relations of optimisation strategy, the application program obtaining current triggering event mapping restarts optimisation strategy, restarts optimisation strategy according to the application program obtained and the described application program carrying out resource optimization is processed.
2. method according to claim 1, it is characterised in that described triggering event and application program are restarted the mapping relations of optimisation strategy and included:
If triggering event is screen locking event, force the application program operation stopping carrying out resource optimization;
If triggering event is non-screen locking event, and meet following condition, force the application program operation stopping carrying out resource optimization:
If the application program that controls that the application program carrying out resource optimization is reruned in request ran in the timeline pre-set in the way of user operation, but described control application program and the described application program carrying out resource optimization do not have the incidence relation pre-set; Or,
If described control application program runs in the way of non-user operation.
3. method according to claim 2, it is characterized in that, restart in the mapping relations of optimisation strategy at described triggering event and application program, if triggering event is after screen locking event, before forcing the application program operation stopping carrying out resource optimization, described method also includes:
The request of acquisition carries out the control application program of application program of resource optimization described in reruning, it is judged that whether described control application program was used by a user in the timeline pre-set;
If described control application program ran in the timeline pre-set in the way of user operation, and described control application program and the described application program carrying out resource optimization have the incidence relation pre-set, do not deal with, otherwise, the described step forcing the application program stopping carrying out resource optimization to operate is performed.
4. method according to claim 2, it is characterized in that, the forceStopPackage method that the described application program operation forcing to stop carrying out resource optimization is use ActivityManager terminate described in carry out the process that the application program of resource optimization is corresponding.
5. method according to claim 1, it is characterized in that, after the application program fund-raising source optimization strategy that the triggering event listened to described in described acquisition maps, before according to the application program fund-raising source optimization strategy obtained each application program of running background being carried out resource optimization, described method also includes:
Obtain the resource use value that electronic equipment is current, if the resource use value obtained exceedes the resource pre-set uses threshold value, perform the described step that according to the application program fund-raising source optimization strategy obtained, each application program of running background is carried out resource optimization, if the resource that the resource use value obtained is not above pre-setting uses threshold value, process ends.
6. method according to claim 5, it is characterised in that described resource use value includes: one in CPU usage, memory usage, electric quantity consumption rate and exception of network traffic rate or its combination in any.
7. method according to claim 1, it is characterized in that, after the application program fund-raising source optimization strategy that the triggering event listened to described in described acquisition maps, before according to the application program fund-raising source optimization strategy obtained each application program of running background being carried out resource optimization, described method also includes:
The application program of traversal running background, it is judged that whether the application program of traversal was used by a user in the timeline pre-set;
If the application program of traversal was not used by a user in the timeline pre-set, perform the described step that according to the resource optimization strategy obtained, each application program of running background is carried out resource optimization.
8. method according to claim 7, it is characterized in that, if after the described application program obtaining traversal was not used by a user in the timeline pre-set, perform described according to the resource optimization strategy obtained, each application program of running background is carried out resource optimization before, described method also includes:
Judge the application program of described traversal to be operated the need of call operation System Privileges;
If not needing call operation System Privileges, perform the described step that according to the resource optimization strategy obtained, each application program of running background is carried out resource optimization;
If needing call operation System Privileges, call the preassembled middle plug-in unit with operating system permission grant function, operating system permission grant function is obtained, to perform the described step that according to the resource optimization strategy obtained, each application program of running background is carried out resource optimization by described middle plug-in unit.
9. the device of an optimization application resource, it is characterised in that this device includes: action listener module, optimisation strategy acquisition module, optimization module, weight Request Interception module and weight request processing module, wherein,
Action listener module, for the triggering event of snoop-operations system, if the triggering event listened to is the arbitrary triggering event in the set of trigger events pre-set;
Optimisation strategy acquisition module, for inquiring about the mapping relations of triggering event and the application program fund-raising source optimization strategy pre-set, the application program fund-raising source optimization strategy that the triggering event listened to described in acquisition maps;
Optimize module, for each application program of running background being carried out resource optimization according to the application program fund-raising source optimization strategy obtained;
Weight Request Interception module, reruns request for what intercept and capture the application program that carries out resource optimization;
Weight request processing module, the mapping relations of optimisation strategy are restarted for inquiring about the triggering event that pre-sets and application program, the application program obtaining current triggering event mapping restarts optimisation strategy, restarts optimisation strategy according to the application program obtained and the described application program carrying out resource optimization is processed.
10. an electronic equipment, it is characterised in that described electronic equipment includes: housing, processor, memorizer, circuit board and power circuit, wherein, circuit board is placed in the interior volume that housing surrounds, processor and memorizer and arranges on circuit boards; Power circuit, powers for each circuit or the device for above-mentioned electronic equipment; Memorizer is used for storing executable program code; Processor runs the program corresponding with executable program code by reading the executable program code of storage in memorizer, for the method performing the optimization application resource described in aforementioned any claim 1-8.
CN201511019342.9A 2015-12-30 2015-12-30 Method and device for optimizing application program resources and electronic equipment Active CN105677477B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511019342.9A CN105677477B (en) 2015-12-30 2015-12-30 Method and device for optimizing application program resources and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511019342.9A CN105677477B (en) 2015-12-30 2015-12-30 Method and device for optimizing application program resources and electronic equipment

Publications (2)

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

Family

ID=56189728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511019342.9A Active CN105677477B (en) 2015-12-30 2015-12-30 Method and device for optimizing application program resources and electronic equipment

Country Status (1)

Country Link
CN (1) CN105677477B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790006A (en) * 2016-12-13 2017-05-31 北京元心科技有限公司 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
CN107577537A (en) * 2017-09-06 2018-01-12 广东欧珀移动通信有限公司 Resource allocation method and Related product
CN107577533A (en) * 2017-08-31 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
CN107943268A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Schedule job control method, device, terminal device and storage medium
CN108664329A (en) * 2018-05-10 2018-10-16 努比亚技术有限公司 A kind of resource allocation method, terminal and computer readable storage medium
CN109600409A (en) * 2017-09-30 2019-04-09 华为终端(东莞)有限公司 The method for managing resource and terminal of application
WO2019091344A1 (en) * 2017-11-09 2019-05-16 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and related products
WO2019109868A1 (en) * 2017-12-06 2019-06-13 Oppo广东移动通信有限公司 Resource allocation method and related product
CN110147275A (en) * 2019-05-24 2019-08-20 中国联合网络通信集团有限公司 A kind of terminal resource optimization method and device
US10908920B2 (en) 2017-12-20 2021-02-02 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for preloading application, computer readable storage medium, and terminal device
CN115629826A (en) * 2022-12-07 2023-01-20 润芯微科技(江苏)有限公司 System performance optimization method and optimization framework based on scene recognition

Citations (5)

* 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
US20100167792A1 (en) * 2008-12-25 2010-07-01 Inventec Appliances (Shanghai) Co., Ltd. Power-saving method and electrical device using the same
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

Patent Citations (5)

* 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
US20100167792A1 (en) * 2008-12-25 2010-07-01 Inventec Appliances (Shanghai) Co., Ltd. Power-saving method and electrical device using the same
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

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790006A (en) * 2016-12-13 2017-05-31 北京元心科技有限公司 Device management method and system
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
CN107577533B (en) * 2017-08-31 2020-12-15 Oppo广东移动通信有限公司 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
CN109600409A (en) * 2017-09-30 2019-04-09 华为终端(东莞)有限公司 The method for managing resource and terminal of application
US10824470B2 (en) 2017-10-31 2020-11-03 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
WO2019085721A1 (en) * 2017-10-31 2019-05-09 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
CN107861816B (en) * 2017-10-31 2022-10-28 Oppo广东移动通信有限公司 Resource allocation method and device
CN107861816A (en) * 2017-10-31 2018-03-30 广东欧珀移动通信有限公司 Resource allocation method and device
WO2019091344A1 (en) * 2017-11-09 2019-05-16 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and related products
US10936371B2 (en) 2017-11-09 2021-03-02 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and related products
CN107943268A (en) * 2017-11-21 2018-04-20 广东欧珀移动通信有限公司 Schedule job control method, device, terminal device and storage medium
CN107943268B (en) * 2017-11-21 2020-03-10 Oppo广东移动通信有限公司 Scheduling job control method, device, terminal equipment and storage medium
WO2019109868A1 (en) * 2017-12-06 2019-06-13 Oppo广东移动通信有限公司 Resource allocation method and related product
US11698815B2 (en) 2017-12-06 2023-07-11 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and related products
US10908920B2 (en) 2017-12-20 2021-02-02 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for preloading application, computer readable storage medium, and terminal device
CN108664329A (en) * 2018-05-10 2018-10-16 努比亚技术有限公司 A kind of resource allocation method, terminal and computer readable storage medium
CN110147275A (en) * 2019-05-24 2019-08-20 中国联合网络通信集团有限公司 A kind of terminal resource optimization method and device
CN115629826A (en) * 2022-12-07 2023-01-20 润芯微科技(江苏)有限公司 System performance optimization method and optimization framework based on scene recognition

Also Published As

Publication number Publication date
CN105677477B (en) 2019-10-15

Similar Documents

Publication Publication Date Title
CN105677477A (en) Method and device for optimizing application program resources and electronic equipment
CN109213539B (en) Memory recovery method and device
US11025963B2 (en) Data processing method, apparatus, and system for live streaming page
US10838838B2 (en) Method and apparatus for dealing with abnormality of application program and storage medium
EP2977854B1 (en) Method, apparatus, and user terminal for removing malicious power consuming application
WO2017185616A1 (en) File storage method and electronic equipment
CN107122032A (en) Terminal, crash reset control circuit and method
CN104202323A (en) Method for controlling application software based on mobile terminal
WO2015183809A1 (en) Method and apparatus of prompting an update of an application
CN105388990A (en) Power saving processing method and apparatus for terminal device
CN105549718A (en) Method and device for optimizing power consumption of application program and electronic equipment
CN105786839A (en) Application data acquisition method and apparatus
CN102156534A (en) Hardware energy-saving processing method and device
CN108572908B (en) Information feedback method and device
CN104503828A (en) Process management method and terminal
WO2017020781A1 (en) Power saving processing method, device, mobile terminal and cloud server
CN103870303A (en) Method and device for reducing size of software installation package
CN104899049A (en) File deletion method and device
CN106959857A (en) The application control method and apparatus of a kind of electronic equipment
CN103838620A (en) Method and device for processing application programs
CN104808766A (en) Terminal
CN102622254B (en) Television outage disposal route and system
CN104102498A (en) Mobile terminal and booting method thereof
CN105138372A (en) Backstage service management and control system and method based on Android system
CN108011860A (en) A kind of method and device for handling broadcast message

Legal Events

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