Os starting guard method and device
Patented claim of the present invention be that on 06 20th, 2011, application number are 201110166662.2 the applying date, name is called the dividing an application of Chinese invention patent application of " os starting guard method and device ".
Technical field
The present invention relates to the application program launching technical field, particularly relate to a kind of os starting guard method and device.
Background technology
Generally speaking, in computing machine or portable terminal, the user can install various application programs according to the needs of oneself.Wherein, more application program tool can be in the self-starting of when start, namely along with computing machine or mobile terminal-opening can start voluntarily.But, because the compatibility of self-starting application program and operating system, the perhaps compatibility between the different self-starting application programs, the situation that the problems such as graunch that perhaps application program self occurs in start-up course all may cause computing machine or portable terminal normally to start.Portable terminal, particularly common smart mobile phone, because the stability of operating system wherein is still waiting to strengthen, application program often can cause because self is unusual it can't normal boot-strap in the process of self-starting.
For example, for smart mobile phone, if at storage card the self-starting application program has been installed, and fault has appearred in the storage card file system, so mobile phone may be also can be therefore and can't normal boot-strap.For another example; the application program of a self-starting is by undesired deletion; because usually can record the startup path of self-starting application program in the portable terminal; it is deleted so just may application program to appear; but the startup path of this application program is not deleted, and when again starting shooting, operating system can't find application program according to starting the path; system mistake will occur, causing can't normal boot-strap.
Because the operating system of computing machine or portable terminal is the automatic reason that produces of identification error generally, aforesaid unusual and when causing normally to start when occurring, if not human intervention, as fault being repaired or computing machine or portable terminal being formatd, generally, computing machine or portable terminal can't change this situation that can't normally start that causes because application program self unusual voluntarily.That is to say, may occur repeatedly starting repeatedly all can't be successful situation, this can affect computing machine undoubtedly or portable terminal normally uses, and makes troubles to the user.
Summary of the invention
Technical matters to be solved by this invention provides a kind of os starting guard method and device; can in the system starting process of computing machine or portable terminal, protect operating system normally to start, avoid occurring repeatedly starting all can't be successful situation occur.
In order to address the above problem, the invention discloses a kind of os starting guard method, may further comprise the steps:
The trigger action system starts;
Before other application program launchings, at first call the starting protection device;
The starting protection device judges in the upper subsystem operational process system exception whether occurs, if occur unusually then allowing other application programs of os starting, otherwise the security application that then only allows to preset in the os starting process starts.
Further, described method also comprises:
If the security application that presets occurs unusual, then in the start-up course, the starting protection device is forbidden all application program launchings except starting protection device self to operating system again.
Further, before starting, the security application that presets also comprises:
Whether the authenticating security application program is tampered, if be tampered, forbids that then this security application starts.
Further, whether described authenticating security application program is tampered and comprises:
In start-up course, the starting protection device is networked, and obtains the normal data of security application from server, and compares with the current data of security application, if the two difference illustrates that then security application is tampered; Or
In start-up course, the starting protection device obtains the normal data of pre-stored security application from client, and compares with the current data of security application, if the two difference illustrates that then security application is tampered.
Further, the described security application acquisition methods that presets comprise following one or more:
From the server of starting protection device appointment, download and obtain;
Obtain the manual self-starting application program of confirming license of user;
Obtain the self-starting application program when the user arranges recovery point;
The self-starting application program of moving when obtaining the subsystem normal operation.
Further, described method also comprises:
After os starting is finished, show not start the application list.
In order to address the above problem, the invention also discloses a kind of os starting protective device, comprising:
The os starting module is suitable for the trigger action system and starts;
The protection calling module is suitable at first calling the starting protection device before other application program launchings;
The starting protection device is suitable for judging in the upper subsystem operational process system exception whether occurs, if occur unusually then allowing other application programs of os starting, otherwise the security application that then only allows to preset in the os starting process starts.
Further, described device also comprises:
The No starting module is suitable for verifying that the security application that presets occurs unusual, and then in the start-up course, notice starting protection device is forbidden all application program launchings except the starting protection device to operating system again.
Further, described device also comprises:
Whether security application abnormality detection module is suitable for the authenticating security application program and is tampered, if be tampered, illustrates that then security application occurs unusual.
Further, described security application abnormality detection module comprises:
The first comparing unit is suitable in start-up course, and the starting protection device is networked, and obtains the normal data of security application from server, and compares with the current data of security application; Or
The second comparing unit is suitable in start-up course, and the starting protection device obtains the normal data of pre-stored security application from client, and compares with the current data of security application.
Further, described starting protection device also comprises:
The security application acquiring unit is suitable for obtaining the security application that presets, described acquisition methods comprise following one or more:
From the server of starting protection device appointment, download and obtain;
Obtain the manual affirmation of user and permitted available self-starting application program;
Self-starting application program when obtaining the user recovery point being set;
The self-starting application program of moving when obtaining the subsystem normal operation.
Further, described device also comprises:
Display module is suitable for after os starting is finished, and shows not start the application list.Compared with prior art, the present invention has the following advantages:
Os starting guard method of the present invention and device check system exception whether occurs by the system log analysis for operating system last time in os starting; the security application that then only allows to preset when appearance is unusual starts; the situation that the operating system that can avoid causing because the application program self in the operating system is unusual repeatedly can't normally start also can avoid starting needing formatting system, losing the situation such as user profile of causing.
Further, unusual if the security application that presets occurs, again in the start-up course, then only allow the starting protection device to start in operating system, can make the operating system can sequence starting.
Description of drawings
Fig. 1 is the process flow diagram of os starting guard method embodiment one of the present invention;
Fig. 2 is the process flow diagram of os starting guard method embodiment two of the present invention;
Fig. 3 is the structural representation of os starting protective device embodiment one of the present invention;
Fig. 4 is the structural representation of os starting protective device embodiment two of the present invention.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
Os starting guard method of the present invention and application of installation are used for the starting up of client is protected in clients such as computing machine, mobile phones, can start normally.Concrete, the application's os starting guard method and device can realize by computer program, and be installed in the client, carries out by the operation of processor.
With reference to Fig. 1, the embodiment one of os starting guard method of the present invention is shown, may further comprise the steps:
Step 101, the trigger action system starts.
Start the operating system and to start according to user's order or according to starting predetermined start-up time.
Step 102 was at first called the starting protection device before other application program launchings.
Can in advance the starting protection device be installed in the clients such as computing machine or mobile phone, when the client user starts the operating system of client, before other application program launchings, at first call the starting protection device by operating system.Concrete; the starting protection device can be added in the startup tabulation that operating system carries; and the startup priority of starting protection device is set, when os starting, the starting protection device that starts in the tabulation then will preferentially start before other application program launchings.
In addition, then can preferentially call the starting protection device by the mode that limits other application program launchings, after the starting protection device starts, start again other application program by starting protection device or operating system.For example; after adding to the starting protection device in the startup tabulation that operating system carries; all application records in the startup tabulation that carries in the deletion action system except the starting protection device; and other application records are added in the starting protection device, start other application programs by the starting protection device.
Step 103, the operating system record in the analysis of starting protection device in the subsystem operational process checks system exception whether occurs; if do not occur unusual; then normally start the operating system, otherwise the security application that then only allows to preset in the os starting process starts.
Generally speaking, operating system can be by daily record or other mode oneself record operational process, and for example, in this operational process, whether all application programs or process be normal, faults such as deadlock, blue screen etc. whether occur.The starting protection device can directly check whether occur system exception by the logout of storing in the read operation system.Whether in addition, the starting protection device also can be monitored it in the operational process of operating system, and record operating system state, occur when unusual when needs obtain operating system, and the logout that then can directly record from the starting protection device is checked.
The security application that presets can be that the starting protection device is downloaded the trusted application that obtains from the server of appointment; also can be through the self-starting application program in the manual operating system of confirming to permit of user; can also be the user recovery point is set is the self-starting application program of confirming, the self-starting application program in perhaps during last or certain primary system normal operation.
With reference to Fig. 2, the embodiment two of os starting guard method of the present invention is shown, further, after step 103, also comprise the steps:
Step 201, unusual if the security application that presets occurs, then in the start-up course, the starting protection device is forbidden all application program launchings except the starting protection device to operating system again.
Whether the security application that wherein, presets occurs unusual by checking whether the security application that presets causes faults such as deadlock, blue screen etc. to be judged.
Further, os starting guard method embodiment of the present invention also comprises: before the security application that presets started, whether the authenticating security application program was tampered, if be tampered, forbade that then this security application starts.
By before starting security application is verified, the security application that only allows not to be tampered starts, and can guarantee the normal startup of operating system, and that avoids occurring is unusual.Wherein, whether the authenticating security application program is tampered hash value that can be by the authenticating security application program or MD5 (Message-Digest Algorithm5) value is whether identical judges.If different, illustrate that then security application is tampered, so just can judge that security application occurs unusual.
Whether be tampered in the authenticating security application program; the starting protection device can be networked in the start-up course of operating system; obtain the normal data of security application from server; such as hash value or MD5 value; and compare with the current data of security application; if the two difference illustrates that then security application is tampered.In addition, also can be in advance the normal data of security application be stored in the client, the starting protection device can directly obtain the normal data of pre-stored security application from client, compare with the current data of security application again.
Further, in aforesaid os starting guard method embodiment, can also may further comprise the steps:
After os starting is finished, if the application program that does not start is arranged, then show not start the application list.
The user can select whether to start the application program in the tabulation as required, perhaps these application programs is detected, and checks the startup failure whether it can cause operating system.For example; the user is according to selecting item by item one of them application program to start in the tabulation that provides at the starting protection device; perhaps select wherein certain two or certain several program to start; finding when causing application program that operating system can't normally start, then can delete this application program or it is repaired etc. operation.
With reference to Fig. 3, the embodiment one of os starting protective device of the present invention is shown, the modules in this device refers to be stored in the computer program write based on computerese in the client at operating system place, and move by processor.
The os starting protective device comprises that os starting module 10, starting protection device start module 20 and starting protection device 30.
Os starting module 10 is suitable for the trigger action system and starts.
Protection calling module 20 is suitable at first calling the starting protection device before other application program launchings.
Starting protection device 30 is suitable for the operating system record in the subsystem operational process, checks system exception whether occurs; if do not occur unusual; then normally start the operating system, otherwise the security application that then only allows to preset in the os starting process starts.
With reference to Fig. 4; the embodiment two of os starting protective device of the present invention is shown; further; this device also comprises No starting module 40; if the security application that presets occurs unusual; then in the start-up course, the starting protection device is forbidden all application program launchings except the starting protection device to operating system again.
Whether further, os starting protective device embodiment of the present invention also comprises security application abnormality detection module, be suitable for the authenticating security application program and be tampered, if be tampered, illustrates that then security application occurs unusual.
Security application abnormality detection module comprises the first comparing unit, is suitable in start-up course, and the starting protection device is networked, and obtains the normal data of security application from server, and compares with the current data of security application; Or second comparing unit, being suitable in start-up course, the starting protection device obtains the normal data of pre-stored security application from client, and compares with the current data of security application.
Further, starting protection device 30 also comprises the security application acquiring unit, is suitable for obtaining the security application that presets, described acquisition methods comprise following one or more: from the server of starting protection device appointment, download and obtain; Obtain the manual affirmation of user and permitted available self-starting application program; Self-starting application program when obtaining the user recovery point being set; The self-starting application program of moving when obtaining the subsystem normal operation.
Further, this device also comprises display module, is suitable for after os starting is finished, and shows not start the application list.
Os starting guard method of the present invention and device check system exception whether occurs by the system log analysis for operating system last time in os starting; the security application that then only allows to preset when appearance is unusual starts; the situation that the operating system that can avoid causing because the application program self in the operating system is unusual repeatedly can't normally start also can avoid starting needing formatting system, losing the situation such as user profile of causing.
Further, unusual if the security application that presets occurs, again in the start-up course, then only allow the starting protection device to start in operating system, can make the operating system can sequence starting.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For device embodiment because itself and embodiment of the method basic simlarity, so describe fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method.
Above os starting guard method provided by the present invention and device are described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.