CN105159693A - Method and apparatus for realizing server startup - Google Patents

Method and apparatus for realizing server startup Download PDF

Info

Publication number
CN105159693A
CN105159693A CN201510382988.7A CN201510382988A CN105159693A CN 105159693 A CN105159693 A CN 105159693A CN 201510382988 A CN201510382988 A CN 201510382988A CN 105159693 A CN105159693 A CN 105159693A
Authority
CN
China
Prior art keywords
mirror image
bios mirror
bios
load
module
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
CN201510382988.7A
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.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry 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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201510382988.7A priority Critical patent/CN105159693A/en
Publication of CN105159693A publication Critical patent/CN105159693A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method and an apparatus for realizing server startup. The method comprises: when a BIOS mirror image needs to be loaded, detecting whether a preset second BIOS mirror image is available or not; and when it is detected that the preset second BIOS mirror image is unavailable, loading a preset initial BIOS mirror image. According to the technical scheme, quick and accurate startup of the BIOS mirror image is realized and the reliability and availability of a server are improved.

Description

A kind of method and device realizing startup of server
Technical field
The present invention relates to mobile communication technology, espespecially a kind of method and device realizing startup of server.
Background technology
Along with the development of infotech, the scene of server application gets more and more, and the performance requirement of the portfolio day by day increased to server is more and more higher.Weigh the quality of a server product except performance factor, reliability is also important factor.This is because some crucial industry and application, as finance, telecommunications industry etc. even can exceed the requirement to performance sometimes to the reliability requirement of server.
At present, the start-up course of server system roughly comprises:
First, South Bridge chip group (PCH) loads basic input and output (BIOS) mirror image in flash ROM (FlashROM);
Then, BIOS mirror image carries out initialization to system;
Finally, load operation system.
In above-mentioned start-up course, it is most important to whole startup of server that the South Bridge chip group started most loads BIOS mirror image.Load in BIOS mirrored procedure to prevent startup of server South Bridge chip group and go wrong, for ensureing the reliability that server system starts in existing server design, the design of two FlashROM can be adopted, as shown in Fig. 1 (a) He Fig. 1 (b), South Bridge chip group manually change-over switch is connected with two FlashROM storing BIOS mirror image, under default situations, South Bridge chip group can start from main FlashROM, when main FlashROM breaks down, need user to be manually switched to start from FlashROM, improve the reliability of startup with this.
But there are following two defects in this design: one is, it is the same that the BIOS deposited in principal and subordinate FlashROM starts mirror image, if it is wrong for starting mirror image itself, is so switched to which FlashROM and all cannot installs correct system; Two are, when needing manual switchover, user needs to find specific jumping cap or switch to switch from mainboard, and this just needs user to open the cabinet of server, and this is very difficult operation to unfamiliar user.
Summary of the invention
In order to solve the problems of the technologies described above, the invention provides a kind of method and the device that realize startup of server, can realize rapidly, carry out accurately the startup of BIOS mirror image, improve the reliabilty and availability of server.
In order to reach the object of the invention, the invention provides a kind of method realizing startup of server, comprising:
When needs load basic input and output BIOS mirror image, detect the 2nd BIOS mirror image pre-set and whether can use;
When detecting that the 2nd BIOS mirror image pre-set is unavailable, load the initial BIOS mirror image pre-set.
Further, also comprise before the method: in flash ROM FlashROM, write initial BIOS mirror image and the 2nd BIOS mirror image.
Further, the 2nd BIOS mirror image pre-set described in is unavailable to be comprised: server system cannot load the 2nd BIOS mirror image or the 2nd BIOS mirror image cannot start.
Further, when detecting that the 2nd BIOS mirror image pre-set is available, the method also comprises:
Load described 2nd BIOS mirror image;
Judge whether server system normally starts;
When judging that server system normally starts, detect the BIOS mirror image whether having redaction;
When the BIOS mirror image of redaction being detected, described 2nd BIOS mirror image being covered and is written in initial BIOS mirror image;
The BIOS mirror image of the redaction detected is covered and is written in described 2nd BIOS mirror image.
Further, when judging that server system can not normally start, the method also comprises: load described initial BIOS mirror image.
Present invention also offers a kind of device realizing startup of server, comprising: detection module and load-on module; Wherein,
Whether detection module, during for loading basic input and output BIOS mirror image when needs, detect the 2nd BIOS mirror image pre-set and can use; When detecting that the 2nd BIOS mirror image pre-set is unavailable, send the first notice to load-on module;
Load-on module, for receiving the first notice, loads the initial BIOS mirror image pre-set.
Further, this device also comprises processing module, for: in flash ROM FlashROM, write initial BIOS mirror image and the 2nd BIOS mirror image.
Further, the 2nd BIOS mirror image pre-set described in is unavailable to be comprised: server system cannot load the 2nd BIOS mirror image or the 2nd BIOS mirror image cannot start.
Further, described detection module, also for when detecting that the 2nd BIOS mirror image pre-set is available, sends the second notice to described load-on module;
Described load-on module, also for receiving the second notice, loads described 2nd BIOS mirror image;
Detection module, also for judging whether server system normally starts; When judging that server system normally starts, detect the BIOS mirror image whether having redaction; When the BIOS mirror image of redaction being detected, send third notice to described processing module;
Described processing module, also for receiving third notice, covering described 2nd BIOS mirror image and being written in initial BIOS mirror image; The BIOS mirror image of the redaction detected is covered and is written in described 2nd BIOS mirror image.
Further, described detection module, also for when judging that server system can not normally start, sends the 4th notice to described load-on module;
Described load-on module, also for receiving the 4th notice, loads described initial BIOS mirror image.
Whether technical solution of the present invention comprises: when needs load BIOS mirror image, detect the 2nd BIOS mirror image pre-set and can use; When detecting that the 2nd BIOS mirror image pre-set is unavailable, load the initial BIOS mirror image pre-set.Technical solution of the present invention achieves rapidly, carry out the startup of BIOS mirror image accurately, improves the reliabilty and availability of server.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 (a) is the existing schematic diagram one realizing startup of server;
Fig. 1 (b) is the existing schematic diagram two realizing startup of server;
Fig. 2 is the process flow diagram that the present invention realizes the method for startup of server;
Fig. 3 is the process flow diagram that the present invention realizes the embodiment of the method for startup of server;
Fig. 4 (a) realizes the schematic diagram one of startup of server for the present invention;
Fig. 4 (b) realizes the schematic diagram two of startup of server for the present invention;
Fig. 5 is the structural representation that the present invention realizes the device of startup of server.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, hereinafter will be described in detail to embodiments of the invention by reference to the accompanying drawings.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combination in any mutually.
Can perform in the computer system of such as one group of computer executable instructions in the step shown in the process flow diagram of accompanying drawing.Further, although show logical order in flow charts, in some cases, can be different from the step shown or described by order execution herein.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use the suffix of such as " module ", " parts " or " unit " for representing element only in order to be conducive to explanation of the present invention, itself is specific meaning not.Therefore, " module " and " parts " can mixedly use.
Fig. 2 is the process flow diagram that the present invention realizes the method for startup of server, as shown in Figure 2, comprising:
Whether step 201: when needs load basic input and output (BIOS) mirror image, detect the 2nd BIOS mirror image pre-set and can use.
Further, also comprise before the method: the initial BIOS mirror image of write and the 2nd BIOS mirror image in flash ROM (FlashROM).
It should be noted that, when initially writing, the initial BIOS mirror image write in FlashROM is the same with the 2nd BIOS mirror image, is that is same BIOS mirror image.
Step 202: when detecting that the 2nd BIOS mirror image pre-set is unavailable, loads the initial BIOS mirror image pre-set.
Wherein, the BIOS mirror image pre-set can be pointed to also load the initial BIOS mirror image pre-set by arranging structured fingers device in FlashROM.
Wherein, the 2nd BIOS mirror image pre-set is unavailable to be comprised: server system cannot load the 2nd BIOS mirror image or the 2nd BIOS mirror image cannot start.
Further, when detecting that the 2nd BIOS mirror image pre-set is available, the method also comprises:
Load the 2nd BIOS mirror image;
Judge whether server system normally starts;
When judging that server system normally starts, detect the BIOS mirror image whether having redaction;
When the BIOS mirror image of redaction being detected, the 2nd BIOS mirror image being covered and is written in initial BIOS mirror image;
The BIOS mirror image of the redaction detected is covered and is written in the 2nd BIOS mirror image.
Wherein, the BIOS mirror image of redaction is that server product may in use be pinpointed the problems, and manufacturer server needs upgrading BIOS to solve problem or optimization and is supplied to server.The BIOS mirror image of redaction is similar to some needs upgrade software.
Wherein, the 2nd BIOS mirror image pre-set can with comprising: server system can load the 2nd BIOS mirror image or the 2nd BIOS mirror image can start.
Wherein, the 2nd BIOS mirror image pre-set can be pointed to also load the second mirror image pre-set by arranging structured fingers device in FlashROM.
Further, when judging that server system can not normally start, the method also comprises: load initial BIOS mirror image.
Fig. 3 is the process flow diagram that the present invention realizes the embodiment of the method for startup of server, as shown in Figure 3, comprising:
Step 301: initial basic input and output (BIOS) mirror image of write and the 2nd BIOS mirror image in flash ROM (FlashROM).
Whether step 302: when needs load BIOS mirror image, detect the 2nd BIOS mirror image pre-set and can use; When detecting that the 2nd BIOS mirror image pre-set is available, proceed to step 303; Otherwise, proceed to step 304.
Wherein, the 2nd BIOS mirror image pre-set is unavailable to be comprised: server system cannot load the 2nd BIOS mirror image or the 2nd BIOS mirror image cannot start.And,
The 2nd BIOS mirror image pre-set can with comprising: server system can load the 2nd BIOS mirror image or the 2nd BIOS mirror image can start.
Step 303: load the 2nd BIOS mirror image, proceed to step 305.
Wherein, can the 2nd BIOS mirror image be pointed to by arranging structured fingers device in FlashROM and load the 2nd BIOS mirror image.As shown in Fig. 4 (a), when detecting that the 2nd BIOS mirror image pre-set is available, only the structured fingers device arranged in FlashROM need be pointed to the 2nd BIOS mirror image and load the 2nd BIOS mirror image pointed to.
Step 304: load initial BIOS mirror image.
Wherein, the initial BIOS mirror image pre-set can be pointed to also load the initial BIOS mirror image pre-set by arranging structured fingers device in FlashROM.As shown in Fig. 4 (b), when detecting that the 2nd BIOS mirror image pre-set is unavailable, only the structured fingers device arranged in FlashROM need be pointed to initial BIOS mirror image and loading the initial BIOS mirror image pointed to.
Step 305: judge whether server system normally starts.When judging that server system can normally start, proceed to step 306; Otherwise, proceed to step 304.
Step 306: detect the BIOS mirror image whether having redaction.When the BIOS mirror image of redaction being detected, proceed to step 307.
Step 307: the 2nd BIOS mirror image is covered and is written in initial BIOS mirror image.
Step 308: the BIOS mirror image of the redaction detected is covered and is written in the 2nd BIOS mirror image.
Fig. 5 is the structural representation that the present invention realizes the device of startup of server, as shown in Figure 5, comprising: detection module and load-on module.Wherein,
Whether detection module, during for loading basic input and output (BIOS) mirror image when needs, detect the 2nd BIOS mirror image pre-set and can use; When detecting that the 2nd BIOS mirror image pre-set is unavailable, send the first notice to load-on module.
Load-on module, for receiving the first notice, loads the initial BIOS mirror image pre-set.
Further, this device also comprises processing module, for: in flash ROM (Flash) ROM, write initial BIOS mirror image and the 2nd BIOS mirror image.
Wherein, the 2nd BIOS mirror image pre-set is unavailable to be comprised: server system cannot load the 2nd BIOS mirror image or the 2nd BIOS mirror image cannot start.
Further, detection module, also for when detecting that the 2nd BIOS mirror image pre-set is available, sends the second notice to load-on module;
Load-on module, also for receiving the second notice, loads the 2nd BIOS mirror image;
Detection module, also for judging whether server system normally starts; When judging that server system normally starts, detect the BIOS mirror image whether having redaction; When the BIOS mirror image of redaction being detected, send third notice to processing module;
Processing module, also for receiving third notice, covering the 2nd BIOS mirror image and being written in initial BIOS mirror image; The BIOS mirror image of the redaction detected is covered and is written in the 2nd BIOS mirror image.
Further, detection module, also for when judging that server system can not normally start, sends the 4th notice to load-on module;
Load-on module, also for receiving the 4th notice, loads initial BIOS mirror image.
The all or part of step that one of ordinary skill in the art will appreciate that in said method is carried out instruction related hardware by program and is completed, and described program can be stored in computer-readable recording medium, as ROM (read-only memory), disk or CD etc.Alternatively, all or part of step of above-described embodiment also can use one or more integrated circuit to realize.Correspondingly, each module/unit in above-described embodiment can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.The application is not restricted to the combination of the hardware and software of any particular form.
The above, be only preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any amendment made, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. realize a method for startup of server, it is characterized in that, comprising:
When needs load basic input and output BIOS mirror image, detect the 2nd BIOS mirror image pre-set and whether can use;
When detecting that the 2nd BIOS mirror image pre-set is unavailable, load the initial BIOS mirror image pre-set.
2. method according to claim 1, is characterized in that, also comprises before the method: in flash ROM FlashROM, write initial BIOS mirror image and the 2nd BIOS mirror image.
3. method according to claim 1, is characterized in that, described in the 2nd BIOS mirror image that pre-sets is unavailable comprises: server system cannot load the 2nd BIOS mirror image or the 2nd BIOS mirror image cannot start.
4. method according to claim 2, is characterized in that, when detecting that the 2nd BIOS mirror image pre-set is available, the method also comprises:
Load described 2nd BIOS mirror image;
Judge whether server system normally starts;
When judging that server system normally starts, detect the BIOS mirror image whether having redaction;
When the BIOS mirror image of redaction being detected, described 2nd BIOS mirror image being covered and is written in initial BIOS mirror image;
The BIOS mirror image of the redaction detected is covered and is written in described 2nd BIOS mirror image.
5. method according to claim 4, is characterized in that, when judging that server system can not normally start, the method also comprises: load described initial BIOS mirror image.
6. realize a device for startup of server, it is characterized in that, comprising: detection module and load-on module; Wherein,
Whether detection module, during for loading basic input and output BIOS mirror image when needs, detect the 2nd BIOS mirror image pre-set and can use; When detecting that the 2nd BIOS mirror image pre-set is unavailable, send the first notice to load-on module;
Load-on module, for receiving the first notice, loads the initial BIOS mirror image pre-set.
7. device according to claim 6, is characterized in that, this device also comprises processing module, for: in flash ROM FlashROM, write initial BIOS mirror image and the 2nd BIOS mirror image.
8. device according to claim 6, is characterized in that, described in the 2nd BIOS mirror image that pre-sets is unavailable comprises: server system cannot load the 2nd BIOS mirror image or the 2nd BIOS mirror image cannot start.
9. device according to claim 7, is characterized in that, described detection module, also for when detecting that the 2nd BIOS mirror image pre-set is available, sends the second notice to described load-on module;
Described load-on module, also for receiving the second notice, loads described 2nd BIOS mirror image;
Detection module, also for judging whether server system normally starts; When judging that server system normally starts, detect the BIOS mirror image whether having redaction; When the BIOS mirror image of redaction being detected, send third notice to described processing module;
Described processing module, also for receiving third notice, covering described 2nd BIOS mirror image and being written in initial BIOS mirror image; The BIOS mirror image of the redaction detected is covered and is written in described 2nd BIOS mirror image.
10. device according to claim 9, is characterized in that, described detection module, also for when judging that server system can not normally start, sends the 4th notice to described load-on module;
Described load-on module, also for receiving the 4th notice, loads described initial BIOS mirror image.
CN201510382988.7A 2015-07-02 2015-07-02 Method and apparatus for realizing server startup Pending CN105159693A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510382988.7A CN105159693A (en) 2015-07-02 2015-07-02 Method and apparatus for realizing server startup

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510382988.7A CN105159693A (en) 2015-07-02 2015-07-02 Method and apparatus for realizing server startup

Publications (1)

Publication Number Publication Date
CN105159693A true CN105159693A (en) 2015-12-16

Family

ID=54800560

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510382988.7A Pending CN105159693A (en) 2015-07-02 2015-07-02 Method and apparatus for realizing server startup

Country Status (1)

Country Link
CN (1) CN105159693A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254798A (en) * 2018-08-29 2019-01-22 郑州云海信息技术有限公司 Server starts method, apparatus, server and computer readable storage medium
CN109634675A (en) * 2018-12-10 2019-04-16 广东浪潮大数据研究有限公司 A kind of redundancy approach of BIOS, redundant system and relevant apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017441A (en) * 2007-02-27 2007-08-15 华为技术有限公司 Electric device, start method of electric and update method of BIOS
CN101308470A (en) * 2007-05-17 2008-11-19 华硕电脑股份有限公司 Computer system for initiative restoration, backup and update of BIOS
CN102591728A (en) * 2011-01-11 2012-07-18 研祥智能科技股份有限公司 Method for starting up computer and basic input output system (BIOS) automatic restoring circuit
CN103077060A (en) * 2013-01-10 2013-05-01 中兴通讯股份有限公司 Method, device and system for switching master basic input/output system (BIOS) and spare BIOS
CN103853566A (en) * 2012-11-30 2014-06-11 鸿富锦精密工业(深圳)有限公司 Basic input output system (BIOS) updating system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017441A (en) * 2007-02-27 2007-08-15 华为技术有限公司 Electric device, start method of electric and update method of BIOS
CN101308470A (en) * 2007-05-17 2008-11-19 华硕电脑股份有限公司 Computer system for initiative restoration, backup and update of BIOS
CN102591728A (en) * 2011-01-11 2012-07-18 研祥智能科技股份有限公司 Method for starting up computer and basic input output system (BIOS) automatic restoring circuit
CN103853566A (en) * 2012-11-30 2014-06-11 鸿富锦精密工业(深圳)有限公司 Basic input output system (BIOS) updating system and method
CN103077060A (en) * 2013-01-10 2013-05-01 中兴通讯股份有限公司 Method, device and system for switching master basic input/output system (BIOS) and spare BIOS

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109254798A (en) * 2018-08-29 2019-01-22 郑州云海信息技术有限公司 Server starts method, apparatus, server and computer readable storage medium
CN109634675A (en) * 2018-12-10 2019-04-16 广东浪潮大数据研究有限公司 A kind of redundancy approach of BIOS, redundant system and relevant apparatus

Similar Documents

Publication Publication Date Title
US10552263B2 (en) System running method and intelligent terminal
US9298470B2 (en) Method and apparatus for selecting bios program for a processor
WO2016101411A1 (en) Server display method and device
EP2629500A1 (en) Apparatus and method for portable terminal having dual subscriber identity module card
US7729900B2 (en) Method and computer-readable medium for consistent configuration of language support across operating system and application programs
CN105988843A (en) Firmware upgrade method and firmware upgrade device for mobile terminal
WO2015078294A1 (en) Kernel module loading method and apparatus
CN102141921A (en) Method for upgrading system of terminal equipment and terminal equipment
CN107562483A (en) A kind of method and device of carry guiding file system
CN109062616A (en) System self-adaption method, mobile terminal and the storage medium of mobile terminal
CN108121560A (en) Difference bag upgrade method, device, terminal and computer readable storage medium
US20220027165A1 (en) Systems And Methods To Bifurcate At Least One Peripheral Component Interconnect Express (PCIE) Port In Accordance With A User-Selectable PCIE Bifurcation Setting
CN105159693A (en) Method and apparatus for realizing server startup
CN102226888B (en) Framework loading method and device
CN112084064A (en) Master-slave BIOS switching method, board card and equipment
US11513918B2 (en) Action undo service based on cloud platform
WO2022199622A1 (en) Method for running startup program of electronic device, and electronic device
CN113821265B (en) Operating system control method and device, computer mainboard and readable storage medium
CN104951325A (en) Information display method and electronic equipment
CN111381892B (en) Data processing method, device, equipment and machine-readable medium
CN110069417B (en) A/B test method and device
WO2017096889A1 (en) Method and device for upgrading and downgrading system
CN102460386B (en) For the method and apparatus of load document during bootup process
CN113110862A (en) Structure and method for realizing dual-redundancy Flash
CN111949294A (en) Firmware refreshing method, device, server and computer readable storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20151216