CN1261872C - Method for detecting computer operating system normal start - Google Patents

Method for detecting computer operating system normal start Download PDF

Info

Publication number
CN1261872C
CN1261872C CN 03119538 CN03119538A CN1261872C CN 1261872 C CN1261872 C CN 1261872C CN 03119538 CN03119538 CN 03119538 CN 03119538 A CN03119538 A CN 03119538A CN 1261872 C CN1261872 C CN 1261872C
Authority
CN
China
Prior art keywords
operating system
sign
started
computer
bios
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.)
Expired - Lifetime
Application number
CN 03119538
Other languages
Chinese (zh)
Other versions
CN1530835A (en
Inventor
王东斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN 03119538 priority Critical patent/CN1261872C/en
Publication of CN1530835A publication Critical patent/CN1530835A/en
Application granted granted Critical
Publication of CN1261872C publication Critical patent/CN1261872C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention discloses a method for detecting the normal start of a computer operating system. In the process of starting up a computer, the BIOS makes a mark so as to differentiate the states of the computer, after the operating system is started up smoothly, the current mark is rewritten into another mark through an application program embedded in the operating system, and in this way, if the operation system can not be started up, the application program is not executed, and the current mark is unchanged; therefore, when the computer is started up by a user, a host board BIOS can know if the operating system has been smoothly started up or not by checking if the mark is correctly changed or not, and if the operating system has been started up smoothly, the other actions can be started up by the BIOS. The method of the present invention can make the computer automatically detect if the operating system is normally started up or not in the start-up process, and the present invention can make the computer switched to the subsequent automatic operation when the operating system can not be started up normally.

Description

The normal method that starts of detection computations machine operation system
Technical field
The present invention relates to field of computer technology, be meant the normal method that starts of a kind of detection computations machine operation system especially.
Background technology
In computer realm, because the contradiction of the develop rapidly of computer peripheral and the hysteresis of computer motherboard support, and the user usually causes to the multiple reasons such as operation lack of standardization of operating system that the collapse of operating system causes normally to start and enters operating system.And this kind situation is after the user is often repeatedly restarted computing machine when taking place, and just the discovery system can not start, and then manually boots backup recovery operation system etc., brings very burden to the user.Particularly, when taking place, this kind situation often is at a loss for domestic consumer without any computer expertise.Therefore the detection that whether computing machine is normally carried out automatically to os starting, and in time switch to follow-up automatic operation and just become a problem to be solved.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide the method whether a kind of automatic detection computations machine operation system normally starts.Whether computing machine can automatic detecting operation system normally be started, and when operating system can't normally start, can in time computing machine be switched to follow-up automatic operation in start-up course.
The normal method that starts of a kind of detection computations machine operation system sets in advance the sign that is used to identify the computing machine different conditions, and this method may further comprise the steps at least:
A) computer booting, BIOS detect and judge whether current sign is to start normal sign, if, change current sign into the startup switching mark, enter step c), otherwise, enter step b);
B) judge whether this sign is to start switching mark, if, switch to the not operation system task, otherwise, change current sign into the startup switching mark, enter step c);
C) start the operating system;
D) after startup was finished, operating system changed current sign into and starts normal sign.
This method is arranged on described sign on the nonvolatile memory.
The described nonvolatile memory of this method is a flash memory of depositing bios program.
The described nonvolatile memory of this method is to deposit the CMOS RAM that BIOS is provided with.
The described sign of this method leaves on the address of nonvolatile memory.
This method step b) described not operation system task is the recovery of computer operating system.
From such scheme as can be seen, the invention provides the normal method that starts of detection computations machine operation system, be not subjected to the restriction of the type of operating system, when os starting is failed, software can enter the system recovery operation that just can enter into next step as starting the operating system work such as recovering backup, making the user need not to intervene automatically.
Description of drawings
Fig. 1 is the workflow of the embodiment of the invention.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
When being computer starting, thinking of the present invention guides in (BOOT) process at motherboard BIOS, on certain address of nonvolatile memory, do earlier a sign, to distinguish computer mode, behind os starting, current sign is rewritten as another sign by the application program of under operating system, implanting.So, if operating system can not enter, then this application program is not carried out, so current sign does not become.Therefore when the user started computing machine for the second time, whether motherboard BIOS correctly changed by checkmark, and whether operating system started smoothly as can be known.If operating system did not correctly start, then can start other actions, for example: automatic recovery system etc. by BIOS.
Below preferred embodiment of the present invention is described in detail explanation:
The workflow of present embodiment can be divided into BIOS and the application program two parts under operating system.Below two-part workflow is narrated respectively.
The working routine of BIOS part is implantable in the flash memory of depositing the bios program section (FLASH), the sign of differentiation computing machine different conditions mentioned above can be made in certain position of CMOS RAM, on the address, on the perhaps independent nonvolatile memory, sign is made on certain address of this FLASH in the present embodiment, its workflow is referring to shown in Figure 1:
Step 101, in the BOOT of BIOS process, detect and judge on the FLASH whether to sign that should the address be that normal the startup indicates, if, change this sign into the startup switching mark, enter step 104, otherwise, next step entered.
Wherein, normal in the present embodiment the startup indicates it is AAH, and starting switching mark is 55H, and sign can be provided with arbitrarily certainly, distinguishes purpose as long as reach; And the placement location of sign also can be chosen arbitrarily, is that sign is placed on certain address of nonvolatile memory in the present embodiment, also can be placed on other position.
Step 102, judge that whether this sign is to start switching mark, i.e. 55H, if, enter step 103, otherwise, step 104 entered.
Step 103, switching and start-up system are recovered supervisor.
Step 104, change current sign into the startup switching mark, i.e. 55H, normal boot operating system.
The operating system part that will enter present embodiment after operating system starts smoothly, this certain applications program can realize by the modes such as startup menu with its implant procedure system.
Step 105, os starting.
Step 106, application program launching.
Step 107, operating system change current sign into startup according to application program and normally indicate on this position of nonvolatile memory, i.e. AAH.
Like this, when computing machine startup next time execution in step 101, find that the sign on the corresponding address of FLASH is AAH, will think that started normally the last time of computing machine, thereby carry out subsequent operation.
The invention provides the normal method that starts of detection computations machine operation system, can be independent of the type of operating system.When os starting is failed, software can enter other work automatically, for example starts backup etc., thus more convenient user, and the system recovery that makes user side need not to intervene just can to enter into next step is operated.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1, the normal method that starts of a kind of detection computations machine operation system is characterized in that set in advance the sign that is used to identify the computing machine different conditions, this method may further comprise the steps at least:
A) computer booting, BIOS detect and judge whether current sign is to start normal sign, if, change current sign into the startup switching mark, enter step c), otherwise, enter step b);
B) judge whether this sign is to start switching mark, if, switch to the not operation system task, otherwise, change current sign into the startup switching mark, enter step c);
C) start the operating system;
D) after startup was finished, operating system changed current sign into and starts normal sign.
2, method according to claim 1 is characterized in that, described sign is arranged on the nonvolatile memory.
3, method according to claim 2 is characterized in that, described nonvolatile memory is a flash memory of depositing bios program.
4, method according to claim 2 is characterized in that, described nonvolatile memory is to deposit the CMOS RAM that BIOS is provided with.
5, method according to claim 2 is characterized in that, described sign leaves on the address of nonvolatile memory.
6, method according to claim 1 is characterized in that, the recovery that the described not operation system task of step b) is a computer operating system.
CN 03119538 2003-03-10 2003-03-10 Method for detecting computer operating system normal start Expired - Lifetime CN1261872C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03119538 CN1261872C (en) 2003-03-10 2003-03-10 Method for detecting computer operating system normal start

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03119538 CN1261872C (en) 2003-03-10 2003-03-10 Method for detecting computer operating system normal start

Publications (2)

Publication Number Publication Date
CN1530835A CN1530835A (en) 2004-09-22
CN1261872C true CN1261872C (en) 2006-06-28

Family

ID=34285147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03119538 Expired - Lifetime CN1261872C (en) 2003-03-10 2003-03-10 Method for detecting computer operating system normal start

Country Status (1)

Country Link
CN (1) CN1261872C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100401255C (en) * 2005-12-05 2008-07-09 英业达股份有限公司 Computer platform inlaid operation system switch-over processing method and system
CN102831031A (en) * 2011-06-17 2012-12-19 鸿富锦精密工业(深圳)有限公司 Recovery method and system for operating system
CN103927492B (en) * 2013-01-14 2018-01-23 联想(北京)有限公司 A kind of data processing equipment and data guard method

Also Published As

Publication number Publication date
CN1530835A (en) 2004-09-22

Similar Documents

Publication Publication Date Title
US5745669A (en) System and method for recovering PC configurations
EP1879109A1 (en) Information processing device, program, and storage medium
US7934213B2 (en) Device driver rollback
TW200416544A (en) Recovery method of multi-functional operating system and system thereof
CN101038561A (en) Computer remote control method and system
CN1299483A (en) Initializing and restarting operating systems
US7080247B2 (en) System and method for automated display driver management
CN101571807A (en) System with firmware and starting method thereof
CN101634960A (en) Method for revising BIOS parameter and regenerating checksum
CN1877539A (en) Data backup/recovery system under cold start mode and implementing method therefor
CN105045708A (en) Method and system for processing running errors of software
CN1838082A (en) Computer hard disk data protection method
US8032788B2 (en) System and method for managing the restarting of automatic control equipment
US6205561B1 (en) Tracking and managing failure-susceptible operations in a computer system
CN100395713C (en) Method of automatic repairing basic input output system element and module
CN102043662A (en) Data modification method for multiple operation systems
CN1272708C (en) Custom method of embedded appliance applied software
CN1261872C (en) Method for detecting computer operating system normal start
CN106658192A (en) Control method and device for system upgrade
CN102122258A (en) Method for repairing damaged embedded equipment file system
CN1940887A (en) Method and apparatus for master-controlled applied programm of self-repairing built-in equipment
CN101354654A (en) System and method for automatically switching basic input / output procedure
CN1818824A (en) High-reliable personal computer and operating system thereof
CN102455919A (en) Automatic optimization setting method for basic input output system(BIOS)
CN1294481C (en) Method for updating and recovering system by bootstrap program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20060628

CX01 Expiry of patent term