CN103019706A - Method and device for processing startup item - Google Patents

Method and device for processing startup item Download PDF

Info

Publication number
CN103019706A
CN103019706A CN2012104987441A CN201210498744A CN103019706A CN 103019706 A CN103019706 A CN 103019706A CN 2012104987441 A CN2012104987441 A CN 2012104987441A CN 201210498744 A CN201210498744 A CN 201210498744A CN 103019706 A CN103019706 A CN 103019706A
Authority
CN
China
Prior art keywords
project
startup
situation
resource
starting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012104987441A
Other languages
Chinese (zh)
Inventor
陈希
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN2012104987441A priority Critical patent/CN103019706A/en
Publication of CN103019706A publication Critical patent/CN103019706A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a device for processing a startup item. The device comprises a startup item information acquirer, a system resource condition acquirer and a self-starting inhibitor, wherein the startup item information acquirer is suitable for acquiring the information of the startup item of a computer operating system; the system resource condition acquirer is suitable for acquiring the condition of the system resources occupied by the startup item being running and the startup item having stopped running; the self-starting inhibitor is suitable for inhibiting the startup item from self starting when the computer operating system is being started according to the condition of the system resources occupied by the startup item; and the startup item comprises a menu startup item, a registry startup item, a scheduled task startup item and a serving startup item. According to the embodiment of the invention, the problem that the startup item can only be ended temporarily and can be started again when the system is restarted is fundamentally solved, and the problem of low startup speed is thoroughly solved.

Description

For startup item purpose disposal route and device
Technical field
The present invention relates to computer system, relate in particular to a kind of for startup item purpose disposal route and device.
Background technology
Along with the development of computer technology, various computer programs emerge in multitude, and many application programs have all been selected to start and self-starting with computer operating system in order to start fast in response to user's operation.The startup project, with regard to refer to this with computer operating system start and self-starting, subsequently on the foreground or the program of running background.
Although the startup project of this self-starting can realize starting fast when the user operates, but but taken a large amount of system resource, cause computing machine (the especially lower computing machine of configuration) starting up operation system significantly to prolong start-up time, had a strong impact on computer user's work efficiency.Most of user runs into the slow situation of os starting, and the virus of will having suspected computer infected just can use fail-safe software to carry out virus scan, and but often inspection does not measure virus.As mentioned above, cause the slow reason of os starting often some startup project taken more system resource.
The user can check by the task manager of computer system the CPU(Central Processing Unit of current active process, CPU (central processing unit)) and the EMS memory occupation situation, can the situation that take of each process be sorted, thereby check the process that resource occupation is higher, and can select ending resource to take higher process.Yet, because startup item purpose characteristic, when computer system starting next time, still can self-starting, occupying system resources.
Because the system of operating system mainly refers to the needed time of the whole start process of os starting total on time, start process generally includes the loading system file, starts kernel service, show and welcome interface, wait user to input account number cipher, dispose the loading non-critical services according to the individual, load a series of processes such as self-triggered program.In a word, start to all starting up's project order loadeds from starting operating system, all should calculate during this period of time the system of operating system in total on time.Like this, after start powered on, computing machine can detect first and the rear start-up loading operating system of initiating hardware equipment success, and application program starts successively one by one.Also namely, function the more means that namely operating system in the computing machine need spend the more time and load various softwares and program.Thus, before the user uses computing machine, namely spent many times on waiting for, the required time of expending of particularly starting shooting is longer, really makes the user feel inconvenient and loaded down with trivial details.
Summary of the invention
In view of the above problems, the present invention has been proposed, so as to provide a kind of overcome the problems referred to above or address the above problem at least in part for startup item purpose disposal route and corresponding device.
According to one aspect of the present invention, provide a kind of for startup item purpose disposal route, may further comprise the steps: the startup item purpose information of obtaining computer operating system; The situation of the system resource that the startup project of obtaining the startup project of moving and having finished to move is shared; And according to the situation of the shared system resource of startup project, self-starting when the No starting project starts in computer operating system; Wherein said startup project comprises that start menu starts project, registry boot project, plan target startup project, service startup project.
Alternatively, in according to an embodiment of the invention for startup item purpose disposal route, described system resource comprises CPU (central processing unit) resource, input and output resource, network traffics resource, memory source.
Alternatively, in according to an embodiment of the invention for startup item purpose disposal route, the situation of the CPU (central processing unit) resource that the startup project of utilizing system interface GetProcessTimes to obtain to move is shared.
Alternatively, in according to an embodiment of the invention for startup item purpose disposal route, the situation of the input and output resource that the startup project of utilizing system interface GetProcessIoCounters to obtain to move is shared.
Alternatively, in according to an embodiment of the invention for startup item purpose disposal route, the situation of the network traffics resource that the startup project of utilizing the traffic monitoring interface to obtain to move is shared.
Alternatively, in according to an embodiment of the invention for startup item purpose disposal route, the situation of the memory source that the startup project of utilizing system interface GetProcessMemoryInfo to obtain to move is shared.
Alternatively, in according to an embodiment of the invention for startup item purpose disposal route, utilize application programming interface PsSetCreateProcessNotifyRoutine registration procedure to withdraw from callback events, when the startup project finishes operation, obtain the situation of its shared system resource.
Alternatively, in according to an embodiment of the invention for startup item purpose disposal route, in the step of described situation according to the shared system resource of startup project, the self-starting when computer operating system starts of No starting project, forbid that shared system resource surpasses startup project self-starting when computer operating system starts of predefined threshold value.
Alternatively, in according to an embodiment of the invention for startup item purpose disposal route, in the step of described situation according to the shared system resource of startup project, the self-starting when computer operating system starts of No starting project, notify the situation of the shared system resource of startup project by computer operating system in the mode of picture and/or sound, and start project self-starting when computer operating system starts in response to user's attendant exclusion.
According to another aspect of the present invention, provide a kind of for startup item purpose treating apparatus, comprising: start project acquisition of information device, be suitable for obtaining the startup item purpose information of computer operating system; System resource situation getter is suitable for obtaining the startup project of moving and the situation of the system resource that the startup project that finished to move is shared; And the self-starting inhibitor, be suitable for the situation according to the shared system resource of startup project, self-starting when the No starting project starts in computer operating system; Described startup project comprises that start menu starts project, registry boot project, plan target startup project, service startup project.
Alternatively, in according to an embodiment of the invention for startup item purpose treating apparatus, described system resource comprises CPU (central processing unit) resource, input and output resource, network traffics resource, memory source.
Alternatively, in according to an embodiment of the invention for startup item purpose treating apparatus, the situation of the CPU (central processing unit) resource that the startup project that described system resource situation getter utilizes system interface GetProcessTimes to obtain to move is shared.
Alternatively, in according to an embodiment of the invention for startup item purpose treating apparatus, the situation of the input and output resource that the startup project that described system resource situation getter utilizes system interface GetProcessIoCounters to obtain to move is shared.
Alternatively, in according to an embodiment of the invention for startup item purpose treating apparatus, the situation of the network traffics resource that the startup project that described system resource situation getter utilizes the traffic monitoring interface to obtain to move is shared.
Alternatively, in according to an embodiment of the invention for startup item purpose treating apparatus, the situation of the memory source that the startup project that described system resource situation getter utilizes system interface GetProcessMemoryInfo to obtain to move is shared.
Alternatively, in according to an embodiment of the invention for startup item purpose treating apparatus, described system resource situation getter utilizes application programming interface PsSetCreateProcessNotifyRoutine registration procedure to withdraw from callback events, obtains the situation of its shared system resource when the startup project finishes operation.
Alternatively, in according to an embodiment of the invention for startup item purpose treating apparatus, described self-starting inhibitor forbids that shared system resource surpasses startup project self-starting when computer operating system starts of predefined threshold value.
Alternatively, in according to an embodiment of the invention for startup item purpose treating apparatus, described self-starting inhibitor is notified the situation of the shared system resource of startup project by computer operating system in the mode of picture and/or sound, and starts project self-starting when computer operating system starts in response to user's attendant exclusion.
The invention provides above-mentioned for startup item purpose disposal route and device.According to embodiments of the invention, the situation of the system resource that the startup project that can obtain the startup project that computer operating system moving and finish to move is shared, and accordingly No starting project self-starting when computer operating system starts, like this, can only temporarily finish the startup project, this problem of self-starting again when the startup project is treated system restart, just obtain basic solution, thoroughly solved the slow problem of starting up speed.And, according to embodiments of the invention, can also obtain the situation that has finished the shared system resource of the startup project moved, and can select to forbid its self-starting when the os starting according to the situation of its shared system resource, having solved can only be for the defective of still processing in the startup project of operation.In addition, can also start in the mode of picture and/or sound the situation of the shared system resource of project to user notification, and start project self-starting when the os starting in response to user's attendant exclusion, avoided the user is wished that the startup project of self-starting forbids falling.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
Fig. 1 is according to an embodiment of the invention for the schematic flow diagram of startup item purpose disposal route;
Fig. 2 is according to an embodiment of the invention for the schematic block diagram of startup item purpose treating apparatus; And
Fig. 3 is the schematic flow diagram of accelerating according to an embodiment of the invention the method for computer operating system toggle speed.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
Fig. 1 schematically illustrates according to an embodiment of the invention the process flow diagram for startup item purpose disposal route 100.
Hereinafter, will take the Windows operating system of Microsoft as example, exemplarily describe for principle of the present invention.Yet just for the purpose of example, to help reader understanding's principle of the present invention, scope of the present invention is not limited to this for this, and principle of the present invention is equally applicable to other computer operating system, for example Mac OS, Linux etc.
As shown in Figure 1, start from step S101 for startup item purpose disposal route 100 according to an embodiment of the invention, wherein, obtain computer operating system (for example, Windows) startup item purpose information.According to embodiments of the invention, described startup project can comprise that start menu starts project, registry boot project, plan target startup project, service startup project.The below specifically describes this several startup item purpose information of how obtaining.
(1) start menu starts project
Start project for start menu, can use API(Application ProgrammingInterface, application programming interface) the SHGetSpecialFolderLocation start menu that obtains the active user of operating system and all users starts the catalogue at project place.For the file under the catalogue, if PE(Portable is Executable, portable can be carried out) file, then can directly obtain startup item purpose title and path; And for shortcut file, can obtain shortcut actual file pointed or path with the IShellLink interface.
(2) registry boot project
For the registry boot project, can enumerate registration table, for the Windows system, registration table can for example can be:
HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows CurrentVersion Run, and
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run。
Above-mentioned two registry-location only are example, and the processing mode of other registry-location is identical with it.The value of each registration table is corresponding to a startup project, and the title of value is corresponding to the startup project name, and the data of value are corresponding to starting item Path.
(3) plan target starts project
Start project for plan target, when the Windows system version is Windows XP or more during older version (for example Windows 98), can enumerate all the .job files under " Windows installation directory tasks " catalogue, for each .job file, by ITask interface acquisition approach.As long as be present in the .job file under " Windows An Zhuanmulu tasks " catalogue, can think the startup project of self-starting.And when the Windows system version is Windows Vista or renewal version (for example Windows 7 and Windows 8), can use the ITaskService interface, be connected to the plan target service, all services of recursively enumerate, for each plan target, use the IRegisteredTask interface to be obtained from starting state, use the IExecAction interface to obtain Program path.
(4) service startup project
For service startup project, can use the EnumServicesStatus interface to obtain service in the service manager, the service here comprises SERVICE_DRIVER and SERVICE_WIN32, alternatively, can only obtain SERVICE_WIN32, i.e. application software service.Can use the OpenService interface to open service, in order to obtain information on services, and use the QueryServiceConfig interface to obtain service configuration information and (start type, Program path), wherein needed startup type is for enabling software self-starting, i.e. SERVICE_AUTO_START0x00000002.
After step S101, execution in step S103 namely obtains the startup project of moving and the situation of the system resource that the startup project that finished to move is shared.According to embodiments of the invention, described system resource can comprise CPU(Central Processing Unit, CPU (central processing unit)) resource, IO(Input/Output, input and output) resource, network traffics resource, memory source.
According to embodiments of the invention, for cpu resource, the situation of the cpu resource that the startup project that can utilize system interface GetProcessTimes to obtain to move is shared for example takies the number percent of cpu resource.
According to embodiments of the invention, for the IO resource, the situation of the IO resource that the startup project that can utilize system interface GetProcessIoCounters to obtain to move is shared.During the system creation process, meeting is this process creation and safeguards a data structure that the resource in order to the record the process run duration uses wherein just comprises IO resource operating position, defines for example as follows in kernel:
Figure BDA00002489343000071
When using interface GetProcessIoCounters, system can be process handle according to first Parameter H ANDLE(), find this process corresponding EPROCESS structure in kernel, after finding, the IO relevant field is returned to caller use.
According to embodiments of the invention, for the network traffics resource, the situation of the network traffics resource that the startup project that can utilize the traffic monitoring interface to obtain to move is shared, wherein, can call the traffic monitoring interface, and call the interface that tests the speed, obtain the situation of the network traffics resources such as the shared instantaneous network speed of startup project, integrated flow.
According to embodiments of the invention, for memory source, the situation of the memory source that the startup project that can utilize system interface GetProcessMemoryInfo to obtain to move is shared.The structure that is used for the description process in system kernel has comprised the memory information that process is used, and defines for example as follows:
Figure BDA00002489343000072
Figure BDA00002489343000081
Wherein, MMSUPPORT is the structure of using for the record the process internal memory, and critical field wherein is for example as follows:
Figure BDA00002489343000082
When using interface GetProcessMemoryInfo to obtain proceeding internal memory to take situation, system is process handle according to Parameter H ANDLE(), in kernel, find EPROCESS structure corresponding to process, just can obtain corresponding descriptor memory structure Vm, after obtaining Vm, just can return to caller to WorkingSetSize, so just obtain the EMS memory occupation value of current process.
According to embodiments of the invention, can utilize API PsSetCreateProcessNotifyRoutine registration procedure to withdraw from callback events, when the startup project finishes operation, obtain the situation of its shared system resource, thereby just can obtain the situation that has finished the shared system resource of the startup project moved.Wherein, utilize core resident to drive, withdraw from callback events by API PsSetCreateProcessNotifyRoutine registration procedure, when having process to withdraw from (the startup project finishes operation), notifications should drive, the information that drives in the time of this can being started project operation (comprises PID(Process ID, process ID), process path, order line, start-up time, concluding time, parent process PID, shared CPU, IO, internal memory, network traffics etc.) be recorded in the data file, afterwards just can be by resolving this file, obtain the situation that finishes the shared system resource of the startup project moved.
Alternatively, also can be by following mode, the startup item purpose progress information of excessive occupied system resources is kept in process and the information bank.Particularly, for the startup project of occupying system resources above predefined threshold value, it is excessive that these startup item purpose operations can cause the system resource total amount to consume, and the slow even seemingly-dead phenomenon of operation appears in system.This startup project also comprises the startup project that causes the operating system abnormal, and the storehouse (being the process of CPU calling data from internal memory) that this startup project can be by operating system or the error log of operating system self are collected and searched.This startup project also is included in the startup project that system carries out after starting, they be in system loads guarantee the user normal use and basic process that system normally moves after the application program that starts.Above-mentioned basic process comprises some processes (such as the process of network environment, the process of security context) that arrange about system environments that the most basic system process of keeping system stability, system or user oneself adds.
Specifically, when finding the relevant new process of a startup project by real-time or cycle monitoring, parent process sign/subprocess sign according to this process finds its upper layer procedures/lower layer procedure, according to this upper layer procedures/lower layer procedure step by step again to the upper strata/lower floor seeks, finally find host process, thereby can judge described upper layer procedures/lower layer procedure and whether described host process has kinship, when having kinship, determine the associated process that described new process is described application-specific and collect the described process of record, upgrade described progress information storehouse according to described new process, report to high in the clouds.
Perhaps, when finding a new process by real-time or cycle monitoring, parent process sign/subprocess sign according to this process finds its upper layer procedures/lower layer procedure, tabulation can know directly whether this upper layer procedures/lower layer procedure and described host process have kinship according to a kinship, when having kinship, directly determine the associated process that described new process is described application-specific and collect the described process of record, upgrade described progress information storehouse according to described new process, report to high in the clouds.
Perhaps, when finding to have new process to occur by real-time or cycle monitoring, all associated process that then trigger the described application program of collecting record detect, whether the subprocess label detection according to described each associated process exists Unrecorded lower layer procedure, if exist, can determine that then this lower layer procedure is exactly the associated process of described application-specific and collects the described lower layer procedure of record, upgrade described progress information storehouse according to described lower layer procedure, report to high in the clouds.
Perhaps, detect by real-time or cycle all associated process to the described application program of collecting record, parent process sign according to described host process and upper layer procedures thereof finds its Unrecorded upper layer procedures, determine that described upper layer procedures is the associated process of described application-specific and collects record, upgrade described progress information storehouse according to described upper layer procedures, report to high in the clouds.
In general, the associated process of application-specific described in the progress information storehouse rule of thumb reaches statistics by the technician and analyzes the exhaustive resulting and continuous updating maintenance of needs; These associated process refer to the whole possible process relevant with application-specific, no matter whether it is current with application program launching; But renewal can also be collected by the cloud mode except safeguarding by the technician in the progress information storehouse, for example by the blacklist mode associated process of the application-specific of reporting of user is collected and is upgraded.What record in the progress information storehouse is process name, sign and/or the pathname of described process.
The progress information storehouse can be left high in the clouds in, is loaded into user terminal after client terminal system starts and networks, and is perhaps directly monitored according to the progress information storehouse by high in the clouds; Also can there be user terminal, regularly removes the high in the clouds down loading updating by user terminal.
After step S103, execution in step S105, wherein according to the situation of the shared system resource of startup project, self-starting when the No starting project starts in computer operating system.
According to embodiments of the invention, can forbid that shared system resource surpasses startup project self-starting when computer operating system starts of predefined threshold value.Alternatively, can be for cpu resource, IO resource, network traffics resource, memory source philosophy definition threshold value, if and the item number that the shared resource of regulation startup project surpasses these threshold values is just forbidden this startup project self-starting when computer operating system starts greater than predetermined item number.For example, suppose that above-mentioned predetermined item number is 2, if the shared cpu resource of startup project is greater than the cpu resource threshold value, shared IO resource is less than the IO resource threshold, and shared network traffics resource is greater than the network traffics resource threshold, and shared memory source is greater than the memory source threshold value, the item number that then should the startup project shared resource surpasses threshold value is 3, greater than predetermined item number, so, forbid this startup project self-starting when computer operating system starts.
According to embodiments of the invention, in step S105, can notify the situation of the shared system resource of startup project in the mode of picture and/or sound by computer operating system, and start project self-starting when computer operating system starts in response to user's attendant exclusion.For example, the tip that in the graphical interfaces of computer operating system (for example Windows), shows the shared system resource situation of reflection startup project, loudspeaker that also can be by computing machine etc. starts the shared system resource situation of project to user notification, the user just can according to self-demand, select to forbid some startup project self-starting when computer operating system starts like this.For example, if certain audio-visual playout software is defaulted as self-starting, and takies more system resource, and the user does not often use this software, then the user can according to the notice of above-mentioned picture and/or voice mode, select to forbid the self-starting when computer operating system starts of this software.
Alternatively, also can be by the information that records in the progress information storehouse of inquiring about high in the clouds, for example, the startup project which process name is corresponding is to need forbidding, forbids these startup project self-startings when computer operating system starts.
The below starts project, registry boot project, plan target startup project, service startup project for start menu, describes respectively how to forbid these startup project self-startings when computer operating system starts.
(1) start menu starts project
Start project for start menu, can move in the particular category of non-startup catalogue starting item file (PE file or shortcut file).Like this, both can forbid its self-starting when computer operating system starts, can when hope recovers its self-starting, use again.
(2) registry boot project
For the registry boot project, value corresponding under the registration table can be read out, and preserve in the specific configuration file, the registry value of subsequently deletion response.Like this, both can forbid the self-starting when computer operating system starts of registry boot project, can when hope recovers its self-starting, recover with this configuration file again.
(3) plan target starts project
Start project for plan target, when the Windows system version is Windows XP or more during older version (for example Windows 98), the .job file can be moved in the particular category of non-startup catalogue, like this, both can forbid its self-starting when computer operating system starts, can when hope recovers its self-starting, use again; And when the Windows system version is Windows Vista or renewal version (for example Windows 7 and Windows 8), can use the IRegisteredTask interface, forbid its self-starting.
(4) service startup project
For service startup project, the start value of the corresponding registration table of service startup project institute can be revised as 3, soon this service startup project becomes and manually boots.
The invention provides above-mentioned for startup item purpose disposal route.According to embodiments of the invention, the situation of the system resource that the startup project that can obtain the startup project that computer operating system moving and finish to move is shared, and accordingly No starting project self-starting when computer operating system starts, like this, can only temporarily finish the startup project, this problem of self-starting again when the startup project is treated system restart, just obtain basic solution, thoroughly solved the slow problem of starting up speed.And, according to embodiments of the invention, can also obtain the situation that has finished the shared system resource of the startup project moved, and can select to forbid its self-starting when the os starting according to the situation of its shared system resource, having solved can only be for the defective of still processing in the startup project of operation.In addition, can also start in the mode of picture and/or sound the situation of the shared system resource of project to user notification, and start project self-starting when the os starting in response to user's attendant exclusion, avoided the user is wished that the startup project of self-starting forbids falling.
Corresponding with said method 100, it is a kind of for startup item purpose treating apparatus 200 that the present invention also provides.Fig. 2 schematically illustrates according to an embodiment of the invention for startup item purpose treating apparatus 200.Referring to Fig. 3, equipment 200 comprises startup project acquisition of information device 201, system resource situation getter 203 and self-starting inhibitor 205.
According to embodiments of the invention, start the startup item purpose information that project acquisition of information device 201 is suitable for obtaining computer operating system; System resource situation getter 203 is suitable for obtaining the startup project of moving and the situation of the system resource that the startup project that finished to move is shared; Self-starting inhibitor 205 is suitable for the situation according to the shared system resource of startup project, self-starting when the No starting project starts in computer operating system.Startup project acquisition of information device 201, system resource situation getter 203 and self-starting inhibitor 205 can be respectively applied to carry out above-mentioned for step S101, S103, S105 in the startup item purpose disposal route 100.
According to embodiments of the invention, described startup project can comprise that start menu starts project, registry boot project, plan target startup project, service startup project.Startup project acquisition of information device 201 can obtain respectively this several startup item purpose information, and the mode of wherein mentioning in concrete mode and the description of carrying out for step S101 is identical, does not repeat them here.
Subsequently, system resource situation getter 203 obtains the startup project of moving and the situation of the system resource that the startup project that finished to move is shared.According to embodiments of the invention, described system resource comprises cpu resource, IO resource, network traffics resource, memory source.
According to embodiments of the invention, the situation of the cpu resource that the startup project that described system resource situation getter 203 can utilize system interface GetProcessTimes to obtain to move is shared, the situation of the IO resource that the startup project that can utilize system interface GetProcessIoCounters to obtain to move is shared, the situation of the network traffics resource that the startup project that can utilize the traffic monitoring interface to obtain to move is shared, the situation of the memory source that the startup project that can utilize system interface GetProcessMemoryInfo to obtain to move is shared, can utilize application programming interface PsSetCreateProcessNotifyRoutine registration procedure to withdraw from callback events, when the startup project finishes operation, obtain the situation of its shared system resource.
It is identical that described system resource situation getter 203 obtains the mode of mentioning in the mode of said system resource situation and the description of above carrying out for step S103, do not repeat them here.
Subsequently, described self-starting inhibitor 205 can be according to the situation of the shared system resource of startup project, self-starting when the No starting project starts in computer operating system.Alternatively, described self-starting inhibitor 205 can forbid that shared system resource surpasses startup project self-starting when computer operating system starts of predefined threshold value; Described self-starting inhibitor 205 also can be notified the situation of the shared system resource of startup project in the mode of picture and/or sound by computer operating system, and starts project self-starting when computer operating system starts in response to user's attendant exclusion.
Described self-starting inhibitor 205 is identical for the mode of mentioning in startup item purpose processing mode and the description of above carrying out for step S105, does not repeat them here.
The invention provides above-mentioned for startup item purpose treating apparatus.According to embodiments of the invention, the situation of the system resource that the startup project that can obtain the startup project that computer operating system moving and finish to move is shared, and accordingly No starting project self-starting when computer operating system starts, like this, can only temporarily finish the startup project, this problem of self-starting again when the startup project is treated system restart, just obtain basic solution, thoroughly solved the slow problem of starting up speed.And, according to embodiments of the invention, can also obtain the situation that has finished the shared system resource of the startup project moved, and can select to forbid its self-starting when the os starting according to the situation of its shared system resource, having solved can only be for the defective of still processing in the startup project of operation.In addition, can also start in the mode of picture and/or sound the situation of the shared system resource of project to user notification, and start project self-starting when the os starting in response to user's attendant exclusion, avoided the user is wished that the startup project of self-starting forbids falling.
Because above-mentioned respectively to install embodiment corresponding with aforementioned approaches method embodiment, therefore no longer each installed embodiment and be described in detail.
According to another aspect of the invention, also provide a kind of method 300 of accelerating the computer operating system toggle speed.Fig. 3 schematically illustrates the schematic flow diagram of the method 300 of accelerating according to an embodiment of the invention the computer operating system toggle speed.As shown in Figure 3, method 300 comprises step S301, step S303 and step S305.
In step S301, obtain the startup item purpose information of computer operating system.Step S301 can take the mode identical with step S101 in the said method 100 to carry out, and concrete executive mode repeats no more.
Next, execution in step S303 obtains the startup project of moving and the situation of the system resource that the startup project that finished to move is shared.Step S303 can take the mode identical with step S103 in the said method 100 to carry out, and concrete executive mode repeats no more.
Then, execution in step S305 when computer operating system starts, only allows shared system resource to be no more than the startup project self-starting of predefined threshold value.Particularly, can be as the step S105 in the above-mentioned method 100, according to the situation of the shared system resource of startup project, self-starting when the No starting project starts in computer operating system.For example can forbid that shared system resource surpasses startup project self-starting when computer operating system starts of predefined threshold value, thereby only allow shared system resource to be no more than the startup project self-starting of predefined threshold value.
Intrinsic not relevant with any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can be with using based on the teaching at this.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the instructions that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be put into practice in the situation of these details not having.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate clearly thus this embodiment into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more devices different from this embodiment the module in the device among the embodiment.Can become the some module combinations among the embodiment module or unit or assembly, and can be divided into a plurality of submodules or subelement or sub-component to them in addition.In such feature and/or process or module at least some are mutually repelling, and can adopt any combination to disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless in addition clearly statement, disclosed each feature can be by providing identical, being equal to or similar purpose alternative features replaces in this instructions (comprising claim, summary and the accompanying drawing followed).
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included among other embodiment, the combination of the feature of different embodiment means and is within the scope of the present invention and forms different embodiment.For example, in claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
Each device embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving at one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use in practice microprocessor or digital signal processor (DSP) to realize according to some or all some or repertoire of modules in the device of the embodiment of the invention.The present invention can also be embodied as be used to part or all the device program (for example, computer program and computer program) of carrying out method as described herein.Such realization program of the present invention can be stored on the computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides at carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation of the scope that does not break away from claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or step in the claim.Being positioned at word " " before the element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title with these word explanations.

Claims (18)

1. one kind for startup item purpose disposal route, comprising:
Obtain the startup item purpose information of computer operating system;
The situation of the system resource that the startup project of obtaining the startup project of moving and having finished to move is shared; And
According to the situation of the shared system resource of startup project, self-starting when the No starting project starts in computer operating system;
Wherein said startup project comprises that start menu starts project, registry boot project, plan target startup project, service startup project.
2. disposal route as claimed in claim 1, wherein said system resource comprises CPU (central processing unit) resource, input and output resource, network traffics resource, memory source.
3. disposal route as claimed in claim 2, the situation of the CPU (central processing unit) resource that the startup project of wherein utilizing system interface GetProcessTimes to obtain to move is shared.
4. disposal route as claimed in claim 2, the situation of the input and output resource that the startup project of wherein utilizing system interface GetProcessIoCounters to obtain to move is shared.
5. disposal route as claimed in claim 2, the situation of the network traffics resource that the startup project of wherein utilizing the traffic monitoring interface to obtain to move is shared.
6. disposal route as claimed in claim 2, the situation of the memory source that the startup project of wherein utilizing system interface GetProcessMemoryInfo to obtain to move is shared.
7. disposal route as claimed in claim 2 wherein utilizes application programming interface PsSetCreateProcessNotifyRoutine registration procedure to withdraw from callback events, obtains the situation of its shared system resource when the startup project finishes operation.
8. such as each the described disposal route among the claim 1-7, wherein in the step of described situation according to the shared system resource of startup project, the self-starting when computer operating system starts of No starting project, forbid that shared system resource surpasses startup project self-starting when computer operating system starts of predefined threshold value.
9. such as each the described disposal route among the claim 1-7, wherein in the step of described situation according to the shared system resource of startup project, the self-starting when computer operating system starts of No starting project, notify the situation of the shared system resource of startup project by computer operating system in the mode of picture and/or sound, and start project self-starting when computer operating system starts in response to user's attendant exclusion.
10. one kind for startup item purpose treating apparatus, comprising:
Startup project acquisition of information device is suitable for obtaining the startup item purpose information of computer operating system;
System resource situation getter is suitable for obtaining the startup project of moving and the situation of the system resource that the startup project that finished to move is shared; And
The self-starting inhibitor is suitable for the situation according to the shared system resource of startup project, self-starting when the No starting project starts in computer operating system;
Wherein said startup project comprises that start menu starts project, registry boot project, plan target startup project, service startup project.
11. treating apparatus as claimed in claim 10, wherein said system resource comprise CPU (central processing unit) resource, input and output resource, network traffics resource, memory source.
The situation of the CPU (central processing unit) resource that the startup project that 12. treating apparatus as claimed in claim 11, wherein said system resource situation getter utilize system interface GetProcessTimes to obtain to be moved is shared.
The situation of the input and output resource that the startup project that 13. treating apparatus as claimed in claim 11, wherein said system resource situation getter utilize system interface GetProcessIoCounters to obtain to be moved is shared.
The situation of the network traffics resource that the startup project that 14. treating apparatus as claimed in claim 11, wherein said system resource situation getter utilize the traffic monitoring interface to obtain to be moved is shared.
The situation of the memory source that the startup project that 15. treating apparatus as claimed in claim 11, wherein said system resource situation getter utilize system interface GetProcessMemoryInfo to obtain to be moved is shared.
16. treating apparatus as claimed in claim 11, wherein said system resource situation getter utilizes application programming interface PsSetCreateProcessNotifyRoutine registration procedure to withdraw from callback events, obtains the situation of its shared system resource when the startup project finishes operation.
17. such as each the described treating apparatus among the claim 10-16, wherein said self-starting inhibitor forbids that shared system resource surpasses startup project self-starting when computer operating system starts of predefined threshold value.
18. such as each the described treating apparatus among the claim 10-16, wherein said self-starting inhibitor is notified the situation of the shared system resource of startup project by computer operating system in the mode of picture and/or sound, and starts project self-starting when computer operating system starts in response to user's attendant exclusion.
CN2012104987441A 2012-11-29 2012-11-29 Method and device for processing startup item Pending CN103019706A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104987441A CN103019706A (en) 2012-11-29 2012-11-29 Method and device for processing startup item

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104987441A CN103019706A (en) 2012-11-29 2012-11-29 Method and device for processing startup item

Publications (1)

Publication Number Publication Date
CN103019706A true CN103019706A (en) 2013-04-03

Family

ID=47968345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104987441A Pending CN103019706A (en) 2012-11-29 2012-11-29 Method and device for processing startup item

Country Status (1)

Country Link
CN (1) CN103019706A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239139A (en) * 2014-08-25 2014-12-24 北京金山安全软件有限公司 Method, device and terminal for processing boot-strap self-starting project
CN104239066A (en) * 2014-09-30 2014-12-24 珠海市君天电子科技有限公司 Process optimization method and system
CN104360885A (en) * 2014-11-18 2015-02-18 深圳市中兴移动通信有限公司 Start control method, start control device and start control terminal
CN104572199A (en) * 2014-12-31 2015-04-29 北京奇虎科技有限公司 Method and device for inhibiting starting items from starting
CN104834536A (en) * 2014-02-12 2015-08-12 研祥智能科技股份有限公司 Method and device of automatic operation of application program
CN104123162B (en) * 2014-07-29 2017-06-16 北京奇虎科技有限公司 The method and device that control application program is opened certainly
CN113553230A (en) * 2021-06-30 2021-10-26 珠海豹趣科技有限公司 Application program performance monitoring method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101317171A (en) * 2005-11-30 2008-12-03 微软公司 Delay start-up of applications
CN102298532A (en) * 2011-09-15 2011-12-28 奇智软件(北京)有限公司 Startup-item-based management method and device
EP2400387A1 (en) * 2010-06-25 2011-12-28 TuneUp Software GmbH Method for improving the performance of computers
CN102331947A (en) * 2011-10-14 2012-01-25 中科创达软件科技(北京)有限公司 Restarting method for Android system
CN102999343A (en) * 2012-11-29 2013-03-27 北京奇虎科技有限公司 Method and device for forbidding self-starting of startup project

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101317171A (en) * 2005-11-30 2008-12-03 微软公司 Delay start-up of applications
EP2400387A1 (en) * 2010-06-25 2011-12-28 TuneUp Software GmbH Method for improving the performance of computers
US20110321034A1 (en) * 2010-06-25 2011-12-29 Tuneup Software Gmbh Method for Improving the Performance of Computers
CN102298532A (en) * 2011-09-15 2011-12-28 奇智软件(北京)有限公司 Startup-item-based management method and device
CN102331947A (en) * 2011-10-14 2012-01-25 中科创达软件科技(北京)有限公司 Restarting method for Android system
CN102999343A (en) * 2012-11-29 2013-03-27 北京奇虎科技有限公司 Method and device for forbidding self-starting of startup project

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834536A (en) * 2014-02-12 2015-08-12 研祥智能科技股份有限公司 Method and device of automatic operation of application program
CN104123162B (en) * 2014-07-29 2017-06-16 北京奇虎科技有限公司 The method and device that control application program is opened certainly
CN104239139A (en) * 2014-08-25 2014-12-24 北京金山安全软件有限公司 Method, device and terminal for processing boot-strap self-starting project
CN104239066A (en) * 2014-09-30 2014-12-24 珠海市君天电子科技有限公司 Process optimization method and system
CN104360885A (en) * 2014-11-18 2015-02-18 深圳市中兴移动通信有限公司 Start control method, start control device and start control terminal
CN104572199A (en) * 2014-12-31 2015-04-29 北京奇虎科技有限公司 Method and device for inhibiting starting items from starting
CN104572199B (en) * 2014-12-31 2018-03-02 北京奇虎科技有限公司 The method and apparatus that a kind of No starting item starts
CN113553230A (en) * 2021-06-30 2021-10-26 珠海豹趣科技有限公司 Application program performance monitoring method and device, storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
CN102999343A (en) Method and device for forbidding self-starting of startup project
JP7316726B2 (en) Methods, systems, and programs for detecting security risks associated with software components
CN103019706A (en) Method and device for processing startup item
CN108399132B (en) Scheduling test method, device and storage medium
US8412984B2 (en) Debugging in a cluster processing network
US10303490B2 (en) Apparatus and method for optimizing startup of embedded system
CN106844136B (en) Method and system for collecting program crash information
US10713107B2 (en) Detecting a possible underlying problem among computing devices
CN102819469B (en) operating system recovery method and system
US8930761B2 (en) Test case result processing
KR20120079847A (en) Method and system for minimizing loss in a computer application
CN102419803A (en) Method, system and device for searching and killing computer virus
CN113177001A (en) Vulnerability detection method and device for open source component
US10915624B2 (en) Method and apparatus for determining behavior information corresponding to a dangerous file
US9329953B2 (en) Reducing application downtime during failover
CN113157347A (en) Automatic probe deployment method, electronic device and storage medium
US20070074172A1 (en) Software problem administration
CN103064705B (en) Computer system starting processing method and device
US10318731B2 (en) Detection system and detection method
CN115220863A (en) Operation and maintenance method and device for container application, computer equipment and storage medium
CN103019790B (en) Computer system power-on Acceleration of starting method and apparatus
CN116303099A (en) Cross-platform rapid deployment method, device, medium and equipment for automatic test environment
CN105787359A (en) Course guarding method and device
JP2017129970A (en) Management apparatus, management method, and management program
CN108108180B (en) Method and device for dynamically updating application during running

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20130403

RJ01 Rejection of invention patent application after publication