CN103955405B - A kind of application management method and its device - Google Patents

A kind of application management method and its device Download PDF

Info

Publication number
CN103955405B
CN103955405B CN201410129062.2A CN201410129062A CN103955405B CN 103955405 B CN103955405 B CN 103955405B CN 201410129062 A CN201410129062 A CN 201410129062A CN 103955405 B CN103955405 B CN 103955405B
Authority
CN
China
Prior art keywords
application
run
scene mode
recovery
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410129062.2A
Other languages
Chinese (zh)
Other versions
CN103955405A (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.)
Zhuhai Seal Interest Technology Co Ltd
Original Assignee
Zhuhai Juntian Electronic Technology 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 Zhuhai Juntian Electronic Technology Co Ltd filed Critical Zhuhai Juntian Electronic Technology Co Ltd
Priority to CN201410129062.2A priority Critical patent/CN103955405B/en
Publication of CN103955405A publication Critical patent/CN103955405A/en
Application granted granted Critical
Publication of CN103955405B publication Critical patent/CN103955405B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a kind of application management method and application management device, wherein method includes:The Run-time scenario of monitoring system;When monitoring system operation in first scene mode, the application run under first scene mode is determined, and processing is optimized to the application run according to preset optimisation strategy, to optimize the running environment of first scene mode;When the system of monitoring switches to second scene mode, recovery processing is performed to the application for having optimized processing.Using the present invention, it can prevent that being not required to application to be used takes Installed System Memory and the network bandwidth, it is ensured that the effect of optimization acceleration system;And the automatic application to having optimized processing performs recovery processing, it ensure that to apply and recover in time when needing to be used, the appearance using the problems such as even browser collapses that report an error is avoided, and does not need user's to manually select recovery application, Consumer's Experience is improved.

Description

A kind of application management method and its device
Technical field
The present invention relates to field of computer technology, more particularly to a kind of application management method and its device.
Background technology
At present, most of optimum management softwares possess the function that start accelerates, accelerated in real time, i.e., by disabling starting up Accelerate the speed of starting up, and terminate the process that is currently running to accelerate the speed of computer system operation.For With a software, it is necessary to according to the scene mode of operation, to decide whether to clear up it.Such as, when user uses a sudden peal of thunder When being downloaded, optimum management software should not recommended user clear up a sudden peal of thunder process, and when user carry out online game when, it is fast Thunder, which is downloaded, can take substantial amounts of Installed System Memory and the network bandwidth, and large effect is caused to user.Now then should recommended user Terminate a sudden peal of thunder to download, clear up its process.
However, in the presence of some softwares, be not required to it is to be used in the case of have disabled its startup item, or finish his After process, service, when needing to reuse, the problems such as application reports an error, even browser collapses may result in, it is impossible to ensure The normal of the software is used.
The content of the invention
Technical problem to be solved of the embodiment of the present invention is there is provided a kind of application management method and its device, can root According to the Run-time scenario of system, Automatic Optimal application or unlatching application.
In order to solve the above-mentioned technical problem, the embodiments of the invention provide a kind of application management method, including:
The Run-time scenario of monitoring system, the Run-time scenario includes the first scene mode and the second scene mode;
When monitoring system operation in first scene mode, determine that has been run under first scene mode answers With, and processing is optimized to the application run according to preset optimisation strategy, to optimize first scene mode Running environment;
When the system of monitoring switches to second scene mode, the application for having optimized processing is performed at recovery Reason.
Wherein, it is described when monitoring system operation in first scene mode, determine under first scene mode The application run, and processing is optimized to the application run according to preset optimisation strategy, to optimize described The running environment of one scene mode, including:
When monitoring system operation in first scene mode, obtain the essential information of application currently run and/ Or the progress information of application;
Obtain the optimization list indicated by optimisation strategy preset under first scene mode;
According to the preset optimisation strategy, judge that the application whether there is in the optimization list;
If the determination result is YES, then according to the essential information of the application and/or the progress information of application, to the application Processing is optimized, to optimize the running environment of first scene mode.
Wherein, the essential information and/or the progress information of application for obtaining the application currently run, including:
It is determined that the application that currently runs and obtaining corresponding characteristic information;
According to the characteristic information, obtained from local data base the application currently run essential information and/or Progress information.
Wherein, the local data base is configured according to the running frequency or run time of application, its correspondence that is stored with The essential information and progress information of application.
Wherein, the essential information and/or the progress information of application for obtaining the application currently run, including:
It is determined that the application that currently runs and obtaining corresponding characteristic information;
According to the characteristic information, the essential information for inquiring about the application currently run is sent to cloud server And/or the inquiry request of progress information;
Receive the inquiry knot of essential information including the application currently run that high in the clouds returns and/or progress information Really.
Wherein, the characteristic information is included described in startup item position, registration table name or the sensing of the application currently run Using the path of corresponding program.
Wherein, when monitoring system operation in first scene mode, determine to have transported under first scene mode Capable application, and after optimizing processing to the application run according to preset optimisation strategy, in addition to:
To optimize the application of processing essential information and/or progress information be recorded in it is extensive indicated by recovery policy In multiple list.
Wherein, it is described when the system of monitoring switches to second scene mode, the application to having optimized processing Recovery processing is performed, including:
When the system of monitoring switches to second scene mode, the corresponding recovery plan of second scene mode is read Slightly;
Determine the recovery list that read recovery policy is indicated;
Related application is performed according to the essential information and progress information of the application recorded in the recovery list of the instruction Recovery is handled.
Wherein, the essential information and progress information according to the application recorded in the recovery list is held to related application Row recovery is handled, including:
According to the essential information and progress information of the application recorded in the recovery list of the instruction, the record is judged Using whether in running status;
If judged result is no, the application to the record performs recovery processing.
Wherein, the Run-time scenario is defined according to the classification of the main application currently run.
The embodiment of the present invention additionally provides a kind of application management device, including:
Scene monitoring modular, for the Run-time scenario of monitoring system, the Run-time scenario includes the first scene mode and the Two scene modes;
Optimization module, for when monitoring system operation in first scene mode, determining the first scene mould The application run under formula, and processing is optimized to the application run according to preset optimisation strategy, to optimize State the running environment of the first scene mode;
Recovery module, for when the system of monitoring switches to second scene mode, to having optimized processing Handled using recovery is performed.
Wherein, the optimization module includes:
Information acquisition unit, for when monitoring system operation in first scene mode, obtaining what is currently run The essential information of application and/or the progress information of application;
Optimize list acquiring unit, for obtaining the optimization indicated by optimisation strategy preset under first scene mode List;
Judging unit, for according to the preset optimisation strategy, judging that the application whether there is in the optimization row In table;
Optimizing unit, during for being when judged result, being believed according to the essential information of the application and/or the process of application Breath, optimizes processing, to optimize the running environment of first scene mode to the application.
Wherein, described information acquiring unit includes:
First determination subelement, the application currently run for determination simultaneously obtains corresponding characteristic information;
First obtain subelement, described is currently run for according to the characteristic information, being obtained from local data base The essential information and/or progress information of application.
Wherein, the local data base is configured according to the running frequency or run time of application, its correspondence that is stored with The essential information and/or progress information of application.
Wherein, described information acquiring unit includes:
Second determination subelement, the application currently run for determination simultaneously obtains corresponding characteristic information;
Transmission sub-unit, for according to the characteristic information, being sent to cloud server for inquiring about the current operation Application essential information and/or the inquiry request of progress information;
Receiving subelement, for receiving the essential information including the application currently run of high in the clouds return and/or entering The Query Result of journey information.
Wherein, the characteristic information is included described in startup item position, registration table name or the sensing of the application currently run Using the path of corresponding program.
Wherein, the application management device also includes:
Logging modle, essential information and/or the process letter for application that the optimization module has been optimized to processing Breath is recorded in the recovery list indicated by recovery policy.
Wherein, the recovery module includes:
Reading unit, for when the system of monitoring switches to second scene mode, reading the second scene mould The corresponding recovery policy of formula;
Recover list determining unit, for determining the recovery list that read recovery policy is indicated;
Recovery unit, for the essential information of application and progress information pair recorded in the recovery list according to the instruction Related application performs recovery processing.
Wherein, the recovery unit includes:
Judgment sub-unit, for the essential information of application and the process letter recorded in the recovery list according to the instruction Breath, judges whether the application of the record is in running status;
Recover subelement, for when the judged result that the second judgment sub-unit export be it is no when, the application to the record Perform recovery processing.
Wherein, the Run-time scenario is defined according to the classification of the main application currently run.
Using the embodiment of the present invention, have the advantages that:By the Run-time scenario of monitoring system, correspondence is used in operation In doing corresponding processing under different scenes pattern, such as when system operation is in the first scene mode, according to preset optimisation strategy The application being currently running is optimized into processing, prevents that being not required to application to be used takes Installed System Memory and the network bandwidth, protects The effect of optimization acceleration system is demonstrate,proved;When system operation is in the second scene mode, the application for having optimized processing is held automatically Row recovery is handled, it is ensured that is applied and is in time recovered when needing to be used, it is to avoid the application even browser collapse etc. that reports an error is asked The appearance of topic, and do not need user's to manually select recovery application, improve Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of structural representation of application management method provided in an embodiment of the present invention;
Fig. 2 is the structural representation of another application management method provided in an embodiment of the present invention;
Fig. 3 is a kind of structural representation of application management device provided in an embodiment of the present invention;
Fig. 4 is the structural representation of optimization module provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of information acquisition unit provided in an embodiment of the present invention;
Fig. 6 is the structural representation of another information acquisition unit provided in an embodiment of the present invention;
Fig. 7 is the structural representation of recovery module provided in an embodiment of the present invention;
Fig. 8 is the structural representation of recovery unit provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Fig. 1 is refer to, is a kind of schematic flow sheet of application management method provided in an embodiment of the present invention, including step S101-S103。
S101, the Run-time scenario of monitoring system, the Run-time scenario includes the first scene mode and the second scene mode.
It should be noted that Run-time scenario is defined according to the classification of the main application currently run, it can specifically wrap Include:The Run-time scenarios such as common scenarios, scene of game, net purchase scene or audio-visual scene, for example, assuming that the application currently run For game application, then it is scene of game to correspond to Run-time scenario, it is assumed that system monitoring have accessed website to user Www.xiaomi.com, then corresponding Run-time scenario is net purchase scene, if user opens Games Software, corresponding operation field Scape is scene of game.First scene mode and the second scene mode are two kinds of different Run-time scenarios.
S102, when monitoring system operation in first scene mode, determines to have transported under first scene mode Capable application, and processing is optimized to the application run according to preset optimisation strategy, to optimize described first The running environment of scape pattern.
Wherein, preset optimisation strategy is to recommend or determine the application of optimization cleaning according to different Run-time scenarios, when It so may also comprise the application of user's actual selection optimization, the application carry out process of the optimisation strategy for meeting the first scene mode Cleaning, to optimize the running environment of first scene mode, prevent unnecessary application from taking Installed System Memory and network money Source.
S103, when the system of monitoring switches to second scene mode, is performed to the application for having optimized processing Recovery is handled.
It should be noted that it is excellent to realize to be closed process in the first scene mode to have optimized the application of processing The application of change, it is that system operation needs the application of restarting when under the second scene mode, when the system of monitoring is switched to During second scene mode, the application is resumed, i.e., process restarts, to ensure that the normal of application is used.
In embodiments of the present invention, by the Run-time scenario of monitoring system, correspondence is used in and run under different scenes pattern Corresponding processing is done, such as when system operation is in the first scene mode, according to preset optimisation strategy by the application being currently running Processing is optimized, prevents that being not required to application to be used takes Installed System Memory and the network bandwidth, it is ensured that optimization acceleration system Effect;When system operation is in the second scene mode, recovery processing is performed to the application for having optimized processing automatically, it is ensured that Apply and in time recover when needing to be used, it is to avoid application reports an error the appearance of the problems such as even browser collapses, and is not required to That wants user manually selects recovery application, improves Consumer's Experience.
Fig. 2 is refer to, is the schematic flow sheet of another application management method provided in an embodiment of the present invention, including step S201-S209。
S201, the Run-time scenario of monitoring system, the Run-time scenario includes the first scene mode and the second scene mode.
It should be noted that Run-time scenario is defined according to the classification of the main application currently run, it can specifically wrap Include:The Run-time scenarios such as common scenarios, scene of game, net purchase scene or audio-visual scene, for example, assuming that the application currently run For game application, then it is scene of game to correspond to Run-time scenario, it is assumed that system monitoring have accessed website to user Www.xiaomi.com, then corresponding Run-time scenario is net purchase scene, if user opens Games Software, corresponding operation field Scape is scene of game.First scene mode and the second scene mode are two kinds of different Run-time scenarios.
S202, when monitoring system operation in first scene mode, obtains the basic letter of the application currently run Breath and/or the progress information of application.
Wherein, obtaining the essential information of the application currently run and/or the progress information of application includes three kinds of situations:Obtain The essential information of the application currently run and the progress information of application, obtain essential information and the acquisition of the application currently run The progress information of the application currently run.Because the essential information and its corresponding progress information of application have one-to-one pass System, therefore the two information can be obtained or one of information is only obtained.It should be noted that the essential information bag of application Title, type of application of application etc. are included, progress information includes the version that process title, path and system distribute to each process With priority etc..
In one embodiment, the side of the essential information of the application currently run and/or the progress information of application is obtained Method may include:
It is determined that the application that currently runs and obtaining corresponding characteristic information;According to the characteristic information, from local data base The middle essential information and/or progress information for obtaining the application currently run.
Wherein, the local data base is configured according to the running frequency or run time of application, its correspondence that is stored with The essential information and progress information of application.Specifically, for the application that running frequency is high or runs for a period of time recently, sheet Its relevant information can be that the essential information and/or progress information of application are cached by ground database, can effectively solve suspension The problem of Shi Wufa obtains essential information and/or the progress information of application from high in the clouds.It is preferred that, for being stored in local data base Application relevant information, the out-of-service time can be set, when application relevant information store time exceed the out-of-service time when, from The dynamic relevant information for deleting correspondence application, it is to avoid useless or outdated information committed memory.
In another embodiment, the progress information of the essential information of application currently run and/or application is obtained Method may include:
It is determined that the application that currently runs and obtaining corresponding characteristic information;According to the characteristic information, to cloud server Send for inquiring about the essential information of the application currently run and/or the inquiry request of progress information;High in the clouds is received to return Essential information including the application currently run and/or progress information Query Result.
Further, high in the clouds according to the inquiry request received, can count the inquiry times or query time of each application, root Result is by under inquiry times are more or inquire about recently the essential information of application and/or the inquiry request of progress information according to statistics Issue in local data base, and stored by local data base.
It should be noted that above-mentioned characteristic information include currently run application startup item position, registration table name or Person points to the path of the corresponding program of the application.
S203, obtains the optimization list indicated by optimisation strategy preset under first scene mode;
When preset optimisation strategy refers to that system operation is under the first scene mode scene under first scene mode, to prevent Some application occupying system resources being not used and the strategy taken, in one embodiment, it specifically can be comprising needing The set of optimised application, such as optimization list.
S204, according to the preset optimisation strategy, judges that the application whether there is in the optimization list;If sentencing Disconnected result is yes, then performs step S205.
S205, according to the essential information of the application and/or the progress information of application, place is optimized to the application Reason, to optimize the running environment of first scene mode.
Specifically, according to the essential information of the application and/or the progress information of application, the process of the application is cleared up, To optimize the running environment of first scene mode.
S206, the essential information and/or progress information that will optimize the application of processing is recorded in recovery policy meaning In the recovery list shown.
Specifically, judging to have optimized whether applying for processing needs to recover in other Run-time scenarios, if judging As a result it is yes, then in the recovery list that the application is added to the Run-time scenario for needing to recover its operation, in the embodiment of the present invention In, it can determine whether whether need to recover when this is applied under the second scene mode, if the determination result is YES, be then added to the application In the recovery list of second scene mode.
S207, when the system of monitoring switches to second scene mode, reads second scene mode corresponding Recovery policy.
When the corresponding recovery policy of second scene mode refers to that system operation is under the second scene mode, to ensure that user can The normal application recovery strategy using set by related application, when detecting system switching from other Run-time scenarios (such as first Scape pattern) when switching to the second scene mode, read the corresponding recovery policy of the second scene mode.
S208, it is determined that the recovery list that the recovery policy read is indicated;
In one embodiment, recovery policy can specifically include the set for the application for needing to be resumed, and such as recover list.
S209, according to the essential information and progress information of the application recorded in the recovery list of the instruction to related application Perform recovery processing.
If recovering to be prohibited when the optimised application in list or start, when system operation is in its corresponding operation field , it is necessary to start its process when under scape.Specifically, including:
According to the essential information and progress information of the application recorded in the recovery list of the instruction, the record is judged Using whether in running status;If judged result is no, the application to the record performs recovery processing.
The implementation process of the embodiment of the present invention will be illustrated from practical application example below:
Assuming that current system runs on the first scene mode (such as game mode), and the process currently run includes wealth and paid It is logical to pay control, during Acceleration of starting software (despot accelerates spherical plate such as poison), networking or the application is inquired about in the local database Essential information and/or application message, obtain after Query Result, according to the optimisation strategy of the first scene mode, logical branch paid by wealth Pay control to optimize, that is, close its process, it is to avoid it takes Installed System Memory and Internet resources and then influences game progress.
Judge that wealth pays whether logical payment control needs to recover in other Run-time scenarios, e.g., judges system operation in second Whether need to recover during scene mode (net purchase pattern), net purchase pattern is needed to pay the support of control, therefore wealth can be paid to logical branch Control is paid to be added in the recovery list of the second scene mode.
When system monitoring is to user's Exit Game, and it have accessed www.xiaomi.com websites, then it is assumed that system enters Second scene mode (net purchase pattern), may need to open and use according to the recovery policy of the second scene mode, i.e. net purchase pattern In the control of payment, the recovery list indicated in recovery policy is read, it can be deduced that wealth pays the logical control that pays and is located at the recovery plan In slightly, therefore the automatic start control.
In embodiments of the present invention, by the Run-time scenario of monitoring system, correspondence is used in and run under different scenes pattern Corresponding processing is done, such as when system operation is in the first scene mode, according to preset optimisation strategy by the application being currently running Processing is optimized, prevents that being not required to application to be used takes Installed System Memory and the network bandwidth, it is ensured that optimization acceleration system Effect;When system operation is in the second scene mode, recovery processing is performed to the application for having optimized processing automatically, it is ensured that Apply and in time recover when needing to be used, it is to avoid application reports an error the appearance of the problems such as even browser collapses, and is not required to That wants user manually selects recovery application, improves Consumer's Experience.
Fig. 3 is refer to, is a kind of structural representation of application management device provided in an embodiment of the present invention, including scene prison Survey module 31, optimization module 32, recovery module 33 and logging modle 34.
Scene monitoring modular 31, for the Run-time scenario of monitoring system, the Run-time scenario include the first scene mode and Second scene mode.
It should be noted that Run-time scenario is defined according to the classification of the main application currently run, it can specifically wrap Include:The Run-time scenarios such as common scenarios, scene of game, net purchase scene or audio-visual scene, for example, assuming that the application currently run For game application, then it is scene of game to correspond to Run-time scenario, it is assumed that system monitoring have accessed website to user Www.xiaomi.com, then corresponding Run-time scenario is net purchase scene, if user opens Games Software, corresponding operation field Scape is scene of game.First scene mode and the second scene mode are two kinds of different Run-time scenarios.
Optimization module 32, for when monitoring system operation in first scene mode, determining first scene The application run under pattern, and processing is optimized to the application run according to preset optimisation strategy, to optimize The running environment of first scene mode.
Wherein, preset optimisation strategy is to recommend or determine the application of optimization cleaning according to different Run-time scenarios, when It so may also comprise the application of user's actual selection optimization, the application carry out process of the optimisation strategy for meeting the first scene mode Cleaning, to optimize the running environment of first scene mode, prevent unnecessary application from taking Installed System Memory and network money Source.
In one embodiment, Fig. 4 is referred to, optimization module 32 includes information acquisition unit 321, optimization list and obtained Unit 322, judging unit 323 and optimization unit 324.
Information acquisition unit 321, for when monitoring system operation in first scene mode, obtaining current operation Application essential information and/or the progress information of application.
Wherein, obtaining the essential information of the application currently run and/or the progress information of application includes three kinds of situations:Obtain The essential information of the application currently run and the progress information of application, obtain essential information and the acquisition of the application currently run The progress information of the application currently run.Because the essential information and its corresponding progress information of application have one-to-one pass System, therefore the two information can be obtained or one of information is only obtained.It should be noted that the essential information bag of application Title, type of application of application etc. are included, progress information includes the version that process title, path and system distribute to each process With priority etc..
In one embodiment, Fig. 5 is referred to, information acquisition unit 321 includes the first determination subelement 3211 and the One obtains subelement 3212.
First determination subelement 3211, the application currently run for determination simultaneously obtains corresponding characteristic information;First obtains Subelement 3212 is taken, for according to the characteristic information, the basic of the application currently run to be obtained from local data base Information and/or progress information.
Wherein, the local data base is configured according to the running frequency or run time of application, its correspondence that is stored with The essential information and progress information of application.Specifically, for the application that running frequency is high or runs for a period of time recently, sheet Its relevant information can be that the essential information and/or progress information of application are cached by ground database, can effectively solve suspension The problem of Shi Wufa obtains essential information and/or the progress information of application from high in the clouds.It is preferred that, for being stored in local data base Application relevant information, the out-of-service time can be set, when application relevant information store time exceed the out-of-service time when, from The dynamic relevant information for deleting correspondence application, it is to avoid useless or outdated information committed memory.
In another embodiment, Fig. 6 is referred to, information acquisition unit 321 includes the second determination subelement 3213, hair Send subelement 3214 and receiving subelement 3215.
Second determination subelement 3213, the application currently run for determination simultaneously obtains corresponding characteristic information;
Transmission sub-unit 3214, for according to the characteristic information, sending described current for inquiring about to cloud server The essential information of the application of operation and/or the inquiry request of progress information;
Receiving subelement 3215, for receive the essential information including the application currently run of high in the clouds return with/ Or the Query Result of progress information.
Further, high in the clouds according to the inquiry request received, can count the inquiry times or query time of each application, root Result is by under inquiry times are more or inquire about recently the essential information of application and/or the inquiry request of progress information according to statistics Issue in local data base, and stored by local data base.
It should be noted that above-mentioned characteristic information include currently run application startup item position, registration table name or Person points to the path of the corresponding program of the application.
Optimize list acquiring unit 322, for obtaining indicated by optimisation strategy preset under first scene mode Optimize list.
When preset optimisation strategy refers to that system operation is under the first scene mode scene under first scene mode, to prevent Some application occupying system resources being not used and the strategy taken, in one embodiment, it specifically can be comprising needing The set of optimised application, such as optimization list.
Judging unit 323, for according to the preset optimisation strategy, judging that the application whether there is in the optimization In list;
Optimize unit 324, during for being when judged result, according to entering for the essential information of the application and/or application Journey information, processing is optimized to the application, to optimize the running environment of first scene mode.
Specifically, according to the essential information of the application and/or the progress information of application, the process of the application is cleared up, To optimize the running environment of first scene mode.
Recovery module 33, for when the system of monitoring switches to second scene mode, to having optimized processing Application perform recovery processing.
It should be noted that it is excellent to realize to be closed process in the first scene mode to have optimized the application of processing The application of change, it is that system operation needs the application of restarting when under the second scene mode, when the system of monitoring is switched to During second scene mode, the application is resumed, i.e., process restarts, to ensure that the normal of application is used.
In one embodiment, Fig. 7 is referred to, recovery module 33 includes reading unit 331, recovers list determining unit 332 and recovery unit 333.
Reading unit 331, for when the system of monitoring switches to second scene mode, reading second scene The corresponding recovery policy of pattern.
When the corresponding recovery policy of second scene mode refers to that system operation is under the second scene mode, to ensure that user can The normal application recovery strategy using set by related application, when detecting system switching from other Run-time scenarios (such as first Scape pattern) when switching to the second scene mode, read the corresponding recovery policy of the second scene mode.
Recover list determining unit 332, for determining the recovery list that read recovery policy is indicated.
In one embodiment, recovery policy can specifically include the set for the application for needing to be resumed, and such as recover list.
Recovery unit 333, for the essential information of application and the process letter recorded in the recovery list according to the instruction Breath performs recovery processing to related application.
If recovering to be prohibited when the optimised application in list or start, when system operation is in its corresponding operation field , it is necessary to start its process when under scape.In one embodiment, Fig. 8 is referred to, recovery unit 333 includes judgment sub-unit 3331 and recover subelement 3332.
Judgment sub-unit 3331, for the essential information and process of the application recorded in the recovery list according to the instruction Information, judges whether the application of the record is in running status;
Recover subelement 3332, for when the judged result that the second judgment sub-unit is exported is no, to the record Handled using recovery is performed.
Logging modle 34, for the essential information and/or process of the application that the optimization module has been optimized to processing Information record is in the recovery list indicated by recovery policy.
Specifically, judging to have optimized whether applying for processing needs to recover in other Run-time scenarios, if judging As a result it is yes, then in the recovery list that the application is added to the Run-time scenario for needing to recover its operation, in the embodiment of the present invention In, it can determine whether whether need to recover when this is applied under the second scene mode, if the determination result is YES, be then added to the application In the recovery list of second scene mode.
In embodiments of the present invention, by the Run-time scenario of monitoring system, correspondence is used in and run under different scenes pattern Corresponding processing is done, such as when system operation is in the first scene mode, according to preset optimisation strategy by the application being currently running Processing is optimized, prevents that being not required to application to be used takes Installed System Memory and the network bandwidth, it is ensured that optimization acceleration system Effect;When system operation is in the second scene mode, recovery processing is performed to the application for having optimized processing automatically, it is ensured that Apply and in time recover when needing to be used, it is to avoid application reports an error the appearance of the problems such as even browser collapses, and is not required to That wants user manually selects recovery application, improves Consumer's Experience.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosure is only preferred embodiment of present invention, can not limit the right model of the present invention with this certainly Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.

Claims (20)

1. a kind of application management method, it is characterised in that comprise the following steps:
The Run-time scenario of monitoring system, the Run-time scenario includes the first scene mode and the second scene mode;
When monitoring system operation in first scene mode, the application run under first scene mode is determined, And processing is optimized to the application run according to preset optimisation strategy, to optimize the fortune of first scene mode Row environment;
When the system of monitoring switches to second scene mode, recovery processing is performed to the application for having optimized processing;
Wherein, the Run-time scenario is to be defined according to the classification of the main application currently run, first scene mode It is two kinds of different Run-time scenarios with second scene mode.
2. application management method as claimed in claim 1, it is characterised in that described system operation to be monitored in described first During scene mode, the application run under first scene mode is determined, and transported to described according to preset optimisation strategy Capable application optimizes processing, to optimize the running environment of first scene mode, including:
When monitoring system operation in first scene mode, obtain the essential information of the application currently run and/or answer Progress information;
Obtain the optimization list indicated by optimisation strategy preset under first scene mode;
According to the preset optimisation strategy, judge that the application whether there is in the optimization list;
If the determination result is YES, then the application is carried out according to the essential information of the application and/or the progress information of application Optimization processing, to optimize the running environment of first scene mode.
3. application management method as claimed in claim 2, it is characterised in that the basic letter for the application that the acquisition is currently run Breath and/or the progress information of application, including:
It is determined that the application that currently runs and obtaining corresponding characteristic information;
According to the characteristic information, the essential information and/or process of the application currently run are obtained from local data base Information.
4. application management method as claimed in claim 3, it is characterised in that the local data base is according to the operation frequency of application Rate or run time are configured, the essential information and progress information of its correspondence application that is stored with.
5. application management method as claimed in claim 2, it is characterised in that the basic letter for the application that the acquisition is currently run Breath and/or the progress information of application, including:
It is determined that the application that currently runs and obtaining corresponding characteristic information;
According to the characteristic information, to cloud server send essential information for inquiring about the application currently run and/ Or the inquiry request of progress information;
Receive the Query Result of essential information including the application currently run that high in the clouds returns and/or progress information.
6. the application management method as described in claim any one of 3-5, it is characterised in that the characteristic information includes current fortune Startup item position, registration table name or the path for pointing to the corresponding program of the application of capable application.
7. application management method as claimed in claim 2, it is characterised in that when monitoring system operation in first scene During pattern, determine the application run under first scene mode, and run according to preset optimisation strategy to described Using after optimizing processing, in addition to:
To optimize the application of processing essential information and/or progress information be recorded in indicated by recovery policy recovery row In table.
8. application management method as claimed in claim 7, it is characterised in that described to monitor that system switches to described second During scene mode, recovery processing is performed to the application for having optimized processing, including:
When the system of monitoring switches to second scene mode, the corresponding recovery policy of second scene mode is read;
Determine the recovery list that read recovery policy is indicated;
Recovery is performed to related application according to the essential information and progress information of the application recorded in the recovery list of the instruction Processing.
9. application management method as claimed in claim 8, it is characterised in that described according to answering for being recorded in the recovery list Essential information and progress information perform recovery processing to related application, including:
According to the essential information and progress information of the application recorded in the recovery list of the instruction, the application of the record is judged Whether running status is in;
If judged result is no, the application to the record performs recovery processing.
10. application management method as claimed in claim 1, it is characterised in that the Run-time scenario is according to the master currently run The classification to be applied is defined.
11. a kind of application management device, it is characterised in that including:
Scene monitoring modular, for the Run-time scenario of monitoring system, the Run-time scenario includes the first scene mode and second Scape pattern;
Optimization module, for when monitoring system operation in first scene mode, determining under first scene mode The application run, and processing is optimized to the application run according to preset optimisation strategy, to optimize described The running environment of one scene mode;
Recovery module, for when the system of monitoring switches to second scene mode, the application to having optimized processing Perform recovery processing;
Wherein, the Run-time scenario is to be defined according to the classification of the main application currently run, first scene mode It is two kinds of different Run-time scenarios with second scene mode.
12. application management device as claimed in claim 11, it is characterised in that the optimization module includes:
Information acquisition unit, for when monitoring system operation in first scene mode, obtaining the application currently run Essential information and/or application progress information;
Optimize list acquiring unit, for obtaining the optimization row indicated by optimisation strategy preset under first scene mode Table;
Judging unit, for according to the preset optimisation strategy, judging that the application whether there is in the optimization list;
Optimize unit, during for being when judged result, according to the essential information of the application and/or the progress information of application, Processing is optimized to the application, to optimize the running environment of first scene mode.
13. application management device as claimed in claim 12, it is characterised in that described information acquiring unit includes:
First determination subelement, the application currently run for determination simultaneously obtains corresponding characteristic information;
First obtains subelement, for according to the characteristic information, the application currently run to be obtained from local data base Essential information and/or progress information.
14. application management device as claimed in claim 13, it is characterised in that the local data base is according to the operation of application Frequency or run time are configured, the essential information and/or progress information of its correspondence application that is stored with.
15. application management device as claimed in claim 12, it is characterised in that described information acquiring unit includes:
Second determination subelement, the application currently run for determination simultaneously obtains corresponding characteristic information;
Transmission sub-unit, for according to the characteristic information, to cloud server send for inquire about it is described currently run should The inquiry request of essential information and/or progress information;
Receiving subelement, essential information including the application currently run and/or process for receiving high in the clouds return are believed The Query Result of breath.
16. the application management device as described in claim any one of 13-15, it is characterised in that the characteristic information includes working as Startup item position, registration table name or the path for pointing to the corresponding program of the application of the application of preceding operation.
17. application management device as claimed in claim 12, it is characterised in that also include:
Logging modle, for the essential information and/or progress information note of the application that the optimization module has been optimized to processing Record in the recovery list indicated by recovery policy.
18. application management device as claimed in claim 17, it is characterised in that the recovery module includes:
Reading unit, for when the system of monitoring switches to second scene mode, reading second scene mode pair The recovery policy answered;
Recover list determining unit, for determining the recovery list that read recovery policy is indicated;
Recovery unit, for the essential information of application that is recorded in the recovery list according to the instruction to progress information to related Handled using recovery is performed.
19. application management device as claimed in claim 18, it is characterised in that the recovery unit includes:
Judgment sub-unit, for the essential information of application and progress information recorded in the recovery list according to the instruction, sentences Whether the application of the disconnected record is in running status;
Recover subelement, for when the judged result that the second judgment sub-unit is exported is no, the application to the record to be performed Recovery is handled.
20. application management device as claimed in claim 11, it is characterised in that the Run-time scenario is according to the master currently run The classification to be applied is defined.
CN201410129062.2A 2014-04-01 2014-04-01 A kind of application management method and its device Active CN103955405B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410129062.2A CN103955405B (en) 2014-04-01 2014-04-01 A kind of application management method and its device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410129062.2A CN103955405B (en) 2014-04-01 2014-04-01 A kind of application management method and its device

Publications (2)

Publication Number Publication Date
CN103955405A CN103955405A (en) 2014-07-30
CN103955405B true CN103955405B (en) 2017-10-24

Family

ID=51332680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410129062.2A Active CN103955405B (en) 2014-04-01 2014-04-01 A kind of application management method and its device

Country Status (1)

Country Link
CN (1) CN103955405B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104133703A (en) * 2014-07-31 2014-11-05 珠海市君天电子科技有限公司 Method and device for determining software not used frequently
CN104331601A (en) * 2014-09-30 2015-02-04 珠海市君天电子科技有限公司 Method and device for optimizing game scenes
CN104268248B (en) * 2014-09-30 2018-06-05 北京金山安全软件有限公司 Recommendation method and device for application program and terminal
CN104267997B (en) * 2014-09-30 2018-09-21 珠海市君天电子科技有限公司 The startup method and terminal device of application software in a kind of terminal device
CN104461711B (en) * 2014-12-15 2017-05-17 北京奇虎科技有限公司 Adaptive optimization method and adaptive optimization device of computing equipment
CN105095072B (en) * 2015-07-02 2018-01-23 北京金山安全软件有限公司 Application testing method and device and terminal
CN105100468A (en) * 2015-07-17 2015-11-25 努比亚技术有限公司 Operating method and apparatus for mobile terminal
CN106681805B (en) * 2016-11-21 2019-12-03 北京儒博科技有限公司 Application service progress control method and device in a kind of smart machine
CN106909424A (en) * 2017-03-01 2017-06-30 广东小天才科技有限公司 The startup control method and device of a kind of application program
CN107832142B (en) * 2017-10-11 2020-06-09 Oppo广东移动通信有限公司 Resource allocation method and equipment for application program
CN109683979A (en) * 2017-10-17 2019-04-26 中兴通讯股份有限公司 A kind of control method and device using self-starting
CN108182096A (en) * 2018-01-23 2018-06-19 北京小米移动软件有限公司 Running optimizatin method and system, computer readable storage medium
CN115629826A (en) * 2022-12-07 2023-01-20 润芯微科技(江苏)有限公司 System performance optimization method and optimization framework based on scene recognition

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541625A (en) * 2010-12-14 2012-07-04 盛乐信息技术(上海)有限公司 Operating system and method for cloud server
CN103197964A (en) * 2012-01-09 2013-07-10 华硕电脑股份有限公司 Method for Information exchange between plurality of operating systems of electronic device
CN103246558A (en) * 2012-02-07 2013-08-14 联想(北京)有限公司 Application management method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541625A (en) * 2010-12-14 2012-07-04 盛乐信息技术(上海)有限公司 Operating system and method for cloud server
CN103197964A (en) * 2012-01-09 2013-07-10 华硕电脑股份有限公司 Method for Information exchange between plurality of operating systems of electronic device
CN103246558A (en) * 2012-02-07 2013-08-14 联想(北京)有限公司 Application management method and device

Also Published As

Publication number Publication date
CN103955405A (en) 2014-07-30

Similar Documents

Publication Publication Date Title
CN103955405B (en) A kind of application management method and its device
CN106874487B (en) Distributed crawler management system and method thereof
CN104394126B (en) Information recommendation method, server, client and system
CN104935558B (en) A kind of network user fast registers and login method and system
CN105163316B (en) Access the method and device of Wi-Fi Hotspot
CN101808102B (en) Operating record tracing system and method based on cloud computing
CN102004994B (en) Online product recommendation and selection method, device and system
CN101931646A (en) Internet brows management method, system and terminal
CN107306355A (en) A kind of content recommendation method and server
CN105847277A (en) Service account share management method and system used for third party application
CN104410660A (en) Method and device of downloading multimedia resources as well as router and server
CN106559312A (en) Group management and device based on controlled plant
WO2014146441A1 (en) Method, server and system for processing task data
CN110535901A (en) Service degradation method, apparatus, computer equipment and storage medium
CN103873273A (en) Method and device for limiting web applications
CN107508914A (en) A kind of accurate method for pushing of message and system based on cloud computing analysis
CN107770046A (en) A kind of method and apparatus for picture mosaic
CN103309868A (en) One-stop book searching method and device
CN107517139A (en) Data processing method and system, device test system and bus test system
CN113626624B (en) Resource identification method and related device
CN103095759B (en) Recover the method and apparatus of resource environment
JP2022525880A (en) Server load prediction and advanced performance measurement
CN107911447A (en) Operation system expansion method and device
CN105635124A (en) Flow control method and device
CN105812432A (en) Cloud file processing method and device

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20181207

Address after: Room 105-53811, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province

Patentee after: Zhuhai Seal Interest Technology Co., Ltd.

Address before: 519070, six level 601F, 10 main building, science and technology road, Tangjia Bay Town, Zhuhai, Guangdong.

Patentee before: Zhuhai Juntian Electronic Technology Co.,Ltd.