Summary of the invention
In view of this, technical matters to be solved by this invention has been to provide a kind of management method and device based on startup item, the boot sequence of startup item or time are adjusted, more or unnecessary startup item is delayed startup to make occupying system resources, guarantee preferential normal startup of requisite startup item, the stability of not impact system operation, has shortened user and by system, has been started to the time of using computer simultaneously, directly feel that system startup has accelerated, it is very good that user experiences.
In order to solve the problems of the technologies described above, the invention discloses a kind of management method based on startup item, comprising: the startup item setting while obtaining described os starting; Adjust described startup item setting and make wherein one or more startup item delay starts.
Further, adjust described startup item setting and comprise following strategy: according to cloud server, the startup item setting of each terminal is collected to statistics post analysis and go out startup item that starting duration surpasses a thresholding, cause the startup item that operating system is abnormal and stablize relevant startup item to operating system, thereby know the priority of each startup item and determine current described one or more startup items for the treatment of delay start; Accept user and indicate definite described one or more startup items for the treatment of delay start; Or occupation condition is determined described one or more startup items for the treatment of delay start while starting according to the system monitoring.
Further, the startup item setting of the startup item configuration file in read operation system when obtaining described os starting; And/or the plug-in registration file in scan operation system calls the startup item setting that starts plug-in unit when obtaining described os starting.
Further, the startup item of described delay start, does not comprise that the system of maintaining moves requisite startup item.
Further, when adjusting described startup item and arranging, by arrange described one or more startup items time delay so that described one or more startup item in the time of expectation, start.
Further, when adjusting described startup item and arranging, by the boot sequence adjusted the time delay of each startup item between startup item being set so that described one or more startup item delay start.
In order to solve the problems of the technologies described above, the invention also discloses a kind of management devices based on startup item, comprising: acquisition module, the startup item setting when obtaining described os starting; Module is set, for adjusting described startup item setting, makes wherein one or more startup item delay starts.
Further, trigger module, for collecting to the startup item setting of each terminal the definite described one or more startup items for the treatment of delay start of startup item priority that statistics post analysis obtains according to cloud server; Also for accepting user, indicate definite described one or more startup items for the treatment of delay start; When the system also monitoring for basis starts, occupation condition is determined described one or more startup items for the treatment of delay start.
Further, described acquisition module, be further used for the startup item setting when obtaining described os starting of startup item configuration file in read operation system, and/or the plug-in registration file in scan operation system calls the startup item setting that starts plug-in unit when obtaining described os starting.
Further, the described module that arranges, the startup item of institute's delay start does not comprise that the system of maintaining moves requisite startup item.
Further, the described module that arranges, be further used for by arrange described one or more startup items time delay so that described one or more startup item expectation time start, and/or, by the boot sequence adjusted the time delay of each startup item between startup item being set so that described one or more startup item delay start.
Compare the technique effect that the present invention obtains with existing scheme:
1) user is started to and has been used the time shorten of computer by system, directly feels that system startup has accelerated, and it is very good that user experiences;
2) when guaranteeing that user experiences, because generally can there is not deep operation when user just starts to operate, so the delaying startup and can not affect user and use of startup item;
3) part that startup item takes the lead in starting can guarantee system run all right, and startup item is final or all unlatching can guarantee that systemic-function does not weaken.
Embodiment
Below will coordinate graphic and embodiment to describe embodiments of the present invention in detail, and by this present invention's implementation procedure how application technology means solve technical matters and reach technology effect can be fully understood and be implemented according to this.
Core idea of the present invention is: the startup item setting while obtaining described os starting; Adjust described startup item setting and make wherein one or more startup item delay starts.
Lower scene of the present invention and design idea are below described.
When startup item quantity is much and while wherein also having the startup item of a large amount of consume system resources, now can consider the boot sequence of startup item or time to adjust.
Startup item is divided into system to be moved requisite startup item and other startup items, other startup items and may comprise the startup item that is not essential but very important, startup item of user preference etc.While wherein only having system to move requisite startup item must to start with system, open, other startup items can arrange according to strategy, the more startup item of consume system resources wherein or system are started to user and complete the startup item program that can't use immediately after logging in and delay startup, on backstage, start when allowing these startup items start to operate after user signs in to desktop.
Because generally can there is not deep operation when user just starts to operate, so delay other startup items of startup in startup item, can not affect user's use, the requisite startup item that simultaneously takes the lead in starting in startup item can guarantee system run all right, and all startup items are final or all unlatchings, can guarantee that systemic-function does not weaken, and user has started to the time shorten of use computer by system, directly feel that system startup has accelerated, it is very good that user experiences.
With an embodiment, overall plan of the present invention is described below.As shown in Figure 1, carry out operation as follows:
Step 100, the startup item setting while obtaining described os starting;
The startup item setting of startup item configuration file in read operation system when obtaining described os starting; And/or the plug-in registration file in scan operation system calls the startup item setting that starts plug-in unit when obtaining described os starting;
Step 200, adjusts described startup item setting and makes wherein one or more startup item delay starts; The startup item of described delay start, does not comprise that the system of maintaining moves requisite startup item;
In general, postponing to be controlled at user and sign in to and when starting to operate after desktop, allow the startup item be more rational in startup, is also delay target of the present invention, and this startup is generally carried out on backstage, when not affecting user's use, give user and better experience.
In step 200, adjust described startup item setting and can comprise following one or more strategy:
1) cloud server is collected statistics to the startup item setting of each terminal, thereby comprehensive most of terminal user's set-up mode or custom is set analyzes and to obtain starting duration long (surpassing a thresholding), which startup item which startup item takies and can cause that abnormal and which startup item of operating system is preferential starts that to be conducive to operating system stable, the final priority of determining each startup item, in this locality, according to priority, determine the one or more startup items that need delay start on current local terminal, automatically to adjust the startup setting of described startup item and to point out user;
2) for part, there is the advanced level user of certain profession basis, can be arranged by the startup of the self-defined startup item of user oneself: first in this locality, startup item setting is represented to user, receive user's indication, by User Defined, determine and need one or more startup items of delay start to arrange automatically to adjust the startup of described startup item;
3) when resource occupation surpasses a thresholding while monitoring system startup, determine the one or more startup items that need delay start, the system of maintaining is moved to the larger one or more startup items of resource occupation in requisite startup item other startup items in addition and be automatically adjusted into delay start and point out user, so that startup item arranges the application that can come into force when lower subsystem starts;
Or, when resource occupation surpasses a thresholding when system that monitors starts, determine the one or more startup items that need delay start, the system of maintaining is moved to the larger one or more startup items of resource occupation in requisite startup item other startup items in addition closes, automatically be adjusted into delay start and point out user, so that the startup item setting application that just can come into force when this subsystem starts.
In step 200, adjust described startup item setting wherein one or more startup item delay starts can be realized in the following manner:
When adjusting described startup item and arranging, by arrange described one or more startup items time delay so that described one or more startup item in the time of expectation, start;
When adjusting described startup item and arranging, by the boot sequence adjusted the time delay of each startup item between startup item being set so that described one or more startup item delay start.
With an application example, the present invention will be described below, and the mobile phone A that android (Android) system is housed of take is example.
Mobile phone A is in running status, read the startup item setting when obtaining described os starting of startup item configuration file in the Android system of mobile phone A, comprise following startup item (English is wherein interpreted as the title code name of certain service, does not have special art-recognized meanings): alarm clock, Google Talk service, information, network location, calendar, instant message, calendar storage, Google's spelling input method, Google Partner Setup, Gmail storage, Google Maps, senior setting etc.; Above startup item is all opened when Android system starts, thereby these more users' of causing of startup item quantity mobile phone is very slow when starting to start, and needs could start for a long time operation.
Cloud server is collected after statistics the startup item setting of the mobile phone of each Android system of its administration, analyze and find: alarm clock, Google Talk service, information, network location are the requisite startup items of Android system, if do not started while starting shooting, can not cause a lot of problems to produce; Even if calendar, instant message, calendar store, Google Partner Setup, Gmail storage, the senior startup item such as arrange do not start, on the operation of system also almost not impact, therefore certainly can even start by delay start; Google's spelling input method, Google Maps are functions that user often uses, if do not started, can not cause user cannot use this function, but they can not start when system starts, delay a period of time is even waited until when user uses and restarts, wherein adds up and find that the frequency of utilization of Google's spelling input method exceeds certain proportion compared with the frequency of utilization of Google Maps.
Obtain thus the priority of above-mentioned each startup item: the priority of alarm clock, Google Talk service, information, network location is the highest; Calendar, instant message, calendar store, Google Partner Setup, Gmail store, the priority of senior setting is minimum; The priority of Google's spelling input method, Google Maps is in above between the two, but the priority of Google's spelling input method is higher compared with Google Maps.
In local handset A according to above-mentioned priority, automatically adjust the startup setting of described startup item, the requisite startup item of Android system that priority is the highest is preferentially started, other startup items that priority is low are delayed startup, and may need the function of using can be set in special time startup for user.Alarm clock, Google Talk service, information, network location are set to start with system; Be set to 15 seconds the time delay of Google's spelling input method (delay 30 seconds reference time when relative system starts), because user will use input function after may starting shooting soon, can not delay too many; Be set to 30 seconds the time delay of Google Maps, because this function belongs to comparatively deep operation, after the general start of user, can't use very soon this function, so after it can lean on relatively, start when user carries out other operation.Calendar, instant message, calendar store, Google Partner Setup, Gmail store, senior setting is set to close.Prompting user will be set above.
After user's operating handset A is restarted, when when system starts, alarm clock, Google Talk service, information, network location start with system, start, because startup item is less, user can check the note in telephone directory or inbox soon, when user carries out these operations, Google's spelling input method starts on backstage, and user just can carry out short message editing by input method afterwards, do not have influence on user's use, last Google Maps start.
The startup item setting of above application example for carrying out according to the right of priority of cloud server statistics, can also be by the mode of User Defined or detection system resource.Certainly, also can pass through right of priority, User Defined or detection system resource between two or three's array mode, the present invention just repeats no longer one by one, the multiple combination of design according to the invention also belongs to protection scope of the present invention.
With an embodiment, device of the present invention is described below.As shown in Figure 2, comprising: acquisition module 1, trigger module 2 and module 3 is set.
Acquisition module 1, the startup item setting when obtaining described os starting; Specifically, startup item setting for the startup item configuration file of read operation system when obtaining described os starting, and/or the plug-in registration file in scan operation system calls the startup item setting that starts plug-in unit when obtaining described os starting.
Trigger module 2, for collecting to the startup item setting of each terminal the definite described one or more startup items for the treatment of delay start of startup item priority that statistics post analysis obtains according to cloud server; Also for accepting user, indicate definite described one or more startup items for the treatment of delay start; When the system also monitoring for basis starts, occupation condition is determined described one or more startup items for the treatment of delay start.
Module 3 is set, for adjusting described startup item setting, makes described definite one or more startup item delay starts, the startup item of institute's delay start does not comprise that the system of maintaining moves requisite startup item; Specifically, by arrange described one or more startup items time delay so that described one or more startup item expectation time start, and/or, by the boot sequence adjusted the time delay of each startup item between startup item being set so that described one or more startup item delay start.
Said apparatus is corresponding with the feature of preceding method, and weak point can be with reference to the aforementioned management method based on startup item.
Above-mentioned explanation illustrates and has described some preferred embodiments of the present invention, but as previously mentioned, be to be understood that the present invention is not limited to disclosed form herein, should not regard the eliminating to other embodiment as, and can be used for various other combinations, modification and environment, and can, in invention contemplated scope described herein, by technology or the knowledge of above-mentioned instruction or association area, change.And the change that those skilled in the art carry out and variation do not depart from the spirit and scope of the present invention, all should be in the protection domain of claims of the present invention.