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

Method for detecting computer operating system normal start Download PDF

Info

Publication number
CN1530835A
CN1530835A CNA031195385A CN03119538A CN1530835A CN 1530835 A CN1530835 A CN 1530835A CN A031195385 A CNA031195385 A CN A031195385A CN 03119538 A CN03119538 A CN 03119538A CN 1530835 A CN1530835 A CN 1530835A
Authority
CN
China
Prior art keywords
sign
operating system
operation system
bios
nonvolatile memory
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.)
Granted
Application number
CNA031195385A
Other languages
Chinese (zh)
Other versions
CN1261872C (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

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The method is as the follows: in computer starting course, a flag is made in advance by BIOS to distinguish computer state and the current flag is changed to be another flag by application program implanted under operation system when operation system is started smoothly, thus, if the operation system can not be entered it improves that the application program is not executed and the current flag is unchanged; therefore when the user starts the computer again host board BIOS can know whether the operation system is started up smoothly or not through checking that flag is changed correctly or not and operation system can be smoothly started by BIOS to start any other action.

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 that to the multiple reasons such as operation lack of standardization of operating system the collapse of operating system enters operating system to making normally to start.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) operating system changes 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) operating system changes 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 true CN1530835A (en) 2004-09-22
CN1261872C 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)

Cited By (5)

* 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
CN103927492A (en) * 2013-01-14 2014-07-16 联想(北京)有限公司 Data processing device and data protecting method
CN106326026A (en) * 2016-10-12 2017-01-11 广州视睿电子科技有限公司 Methods and device for restarting operating system in case of exceptions
CN106326026B (en) * 2016-10-12 2019-07-16 广州视睿电子科技有限公司 The method and device of operating system abnormal restarting

Cited By (6)

* 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
CN103927492A (en) * 2013-01-14 2014-07-16 联想(北京)有限公司 Data processing device and data protecting method
CN103927492B (en) * 2013-01-14 2018-01-23 联想(北京)有限公司 A kind of data processing equipment and data guard method
CN106326026A (en) * 2016-10-12 2017-01-11 广州视睿电子科技有限公司 Methods and device for restarting operating system in case of exceptions
CN106326026B (en) * 2016-10-12 2019-07-16 广州视睿电子科技有限公司 The method and device of operating system abnormal restarting

Also Published As

Publication number Publication date
CN1261872C (en) 2006-06-28

Similar Documents

Publication Publication Date Title
US5745669A (en) System and method for recovering PC configurations
CN1118750C (en) Initializing and restarting operating systems
CN104166561B (en) Electronic equipment system starting method and electronic equipment
CN101038561A (en) Computer remote control method and system
CN101281469A (en) Embedded type system and start-up load application method
US7080247B2 (en) System and method for automated display driver management
CN1877539A (en) Data backup/recovery system under cold start mode and implementing method therefor
US8032788B2 (en) System and method for managing the restarting of automatic control equipment
CN1838082A (en) Computer hard disk data protection method
US6205561B1 (en) Tracking and managing failure-susceptible operations in a computer system
CN102043662A (en) Data modification method for multiple operation systems
CN100395713C (en) Method of automatic repairing basic input output system element and module
CN1272708C (en) Custom method of embedded appliance applied software
CN1261872C (en) Method for detecting computer operating system normal start
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
CN106658192A (en) Control method and device for system upgrade
CN101354654A (en) System and method for automatically switching basic input / output procedure
CN1214328C (en) Guide memory and its construction method and usage
CN115658157A (en) Firmware program starting method, system, storage medium and equipment
CN1482805A (en) Method for video conference terminal protection mode
CN1294481C (en) Method for updating and recovering system by bootstrap program
CN107247642B (en) Method and device for determining executable mapping file during system startup
CN109254800B (en) Equipment information processing method, electronic equipment and server
CN1247346A (en) Set-up method for installing plug-and-play devices

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
CX01 Expiry of patent term

Granted publication date: 20060628