CN109117196B - Dual-BIOS starting and BIOS version comparison processing system - Google Patents

Dual-BIOS starting and BIOS version comparison processing system Download PDF

Info

Publication number
CN109117196B
CN109117196B CN201810936367.2A CN201810936367A CN109117196B CN 109117196 B CN109117196 B CN 109117196B CN 201810936367 A CN201810936367 A CN 201810936367A CN 109117196 B CN109117196 B CN 109117196B
Authority
CN
China
Prior art keywords
bios firmware
version information
comparison
bios
client
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.)
Active
Application number
CN201810936367.2A
Other languages
Chinese (zh)
Other versions
CN109117196A (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810936367.2A priority Critical patent/CN109117196B/en
Publication of CN109117196A publication Critical patent/CN109117196A/en
Application granted granted Critical
Publication of CN109117196B publication Critical patent/CN109117196B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • G06F9/441Multiboot arrangements, i.e. selecting an operating system to be loaded
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1417Boot up procedures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a dual-BIOS starting and BIOS version comparison processing system.A starting-up processing module is used for reading a first BIOS firmware stored in a first storage area after being electrified, and judging whether the system is started up normally and started up; storing a first BIOS firmware in a first storage area; storing a second BIOS firmware in a second storage area; when the server reads the first BIOS firmware stored in the first storage area and normally starts up, only the first BIOS firmware is read; and when the first BIOS firmware stored in the first storage area is read and cannot be normally started, reading the second BIOS firmware stored in the second storage area to start and start the computer. And the problem that the server cannot normally work due to damage of the BIOS firmware is prevented. The first storage area and the second storage area are used for main and standby functions. And in the case of data damage, automatic conversion can be realized, and better user experience is provided for users.

Description

Dual-BIOS starting and BIOS version comparison processing system
Technical Field
The invention relates to the field of servers, in particular to a dual BIOS starting and BIOS version comparison processing system.
Background
BIOS is an abbreviation of English Basic Input Output System, belongs to Input and Output systems, and is a standard firmware interface in the industry on an IBM PC compatible System. The BIOS is the first software loaded at startup of the personal computer.
The BIOS is a set of programs solidified on a ROM chip on the main board in the computer, the BIOS stores the most important basic input and output programs of the computer, a self-checking program after power-on and a system self-starting program, and the BIOS can read and write the specific information set by the system from the CMOS. Its primary function is to provide the lowest level, most direct hardware setup and control for the computer. The BIOS also provides some system parameters to the operating system. The BIOS is an indispensable part of the server, and the stability of the operation of the BIOS affects whether the server can operate normally. Usually, only one set of BIOS firmware is set in the server, so that if the BIOS firmware fails or has a problem, the server cannot be started up normally. With the continuous development and speed increase of the server, the BIOS firmware arranged in the server also needs to be continuously updated to meet the updating requirement of the server. Some servers are provided with two sets of BIOS firmware, so that the problem that the servers cannot be normally started and operated if the BIOS firmware fails or is in a problem can be avoided, but sometimes the servers cannot be normally started and operated if the BIOS firmware is not matched with the servers after being upgraded. In addition, after the server is upgraded, the BIOS firmware is not effectively upgraded, so that the server cannot be normally started and operated. How to ensure that the BIOS firmware version matches with the server is a technical problem to be solved.
Disclosure of Invention
In order to overcome the above-mentioned deficiencies in the prior art, the present invention provides a dual BIOS startup and BIOS version comparison processing system, comprising: a server, the server comprising: the starting processing module comprises a first storage area, a second storage area and a starting processing module;
storing a first BIOS firmware in a first storage area; storing a second BIOS firmware in a second storage area;
the startup processing module is used for reading the first BIOS firmware stored in the first storage area after being powered on, judging whether the startup is normal or not and starting up the computer;
when the server reads the first BIOS firmware stored in the first storage area and normally starts up, only the first BIOS firmware is read;
and when the first BIOS firmware stored in the first storage area is read and cannot be normally started, reading the second BIOS firmware stored in the second storage area to start and start the computer.
Preferably, the method further comprises the following steps: a version information processing client;
the version information processing client is used for acquiring version information of the first BIOS firmware and acquiring version information of the second BIOS firmware;
judging whether the version information of the first BIOS firmware and the version information of the second BIOS firmware are updated versions;
if the version information of the first BIOS firmware is the updated version, the version information of the second BIOS firmware is the non-updated version;
the startup processing module is also used for reading the first BIOS firmware stored in the first storage area after being electrified, judging whether the startup is normal or not and starting up the computer;
if the server is normally started and started, the version information of the first BIOS firmware is covered to the version information of the second BIOS firmware, and the version information of the first BIOS firmware is set to be in a preferred reading state;
if the server does not normally start the computer, reading a second BIOS firmware stored in a second storage area, and judging whether the computer is normally started and started;
if the server is normally started and started, the version information of the second BIOS firmware is covered to the version information of the first BIOS firmware, and the version information of the second BIOS firmware is set to be in a preferred reading state;
after the power is on, the server reads the first BIOS firmware and obtains the second BIOS firmware, and if the power is not normally started, the server prompts that the power-on BIOS firmware fails.
Preferably, the version information processing client is further configured to obtain version information of the first BIOS firmware and obtain version information of the second BIOS firmware; judging whether the version information of the first BIOS firmware and the version information of the second BIOS firmware are updated versions;
if the version information of the first BIOS firmware and the version information of the second BIOS firmware are the same version information, the versions are not upgraded;
upgrading the BIOS firmware stored in the current default reading storage area to the latest version;
the startup processing module is also used for reading the updated BIOS firmware stored in the default storage area after being electrified, judging whether the startup is normal or not and starting up the computer; if the server is started normally and started, the version information processing client side covers the updated BIOS firmware information to the version information of the non-updated BIOS firmware;
if the server is not normally started and started, the startup processing module reads the version information of the non-updated BIOS firmware to judge whether the server is normally started and started; if the server is started normally and started, prompting the updated BIOS firmware information fault; if the server does not normally start the boot, the boot BIOS firmware is prompted to fail.
Enabling a user to detect the version information of the first BIOS firmware and obtain the version information of the second BIOS firmware.
Preferably, the version information processing client is further configured to store the original BIOS firmware, the currently updated BIOS firmware, and all the inter-BIOS firmware versions between the original BIOS firmware and the currently updated BIOS firmware; coding all BIOS firmware, and acquiring first BIOS firmware test coding information and second BIOS firmware test coding information input by a user;
further comprising: the system comprises a first comparison client and a second comparison client;
the version information processing client configures test BIOS firmware corresponding to the first BIOS firmware test coding information to a first comparison client, the first comparison client is connected with a first storage area, and the first comparison client reads the version information of the first BIOS firmware stored in the first storage area;
the version information processing client configures second BIOS firmware test coding information to a second comparison client, the second comparison client is connected with a second storage area, and the second comparison client reads second BIOS firmware version information stored in the second storage area;
the first comparison client compares the test BIOS firmware corresponding to the first BIOS firmware test coding information with the first BIOS firmware version information, and feeds back a comparison result to the version information processing client;
and the second comparison client compares the test BIOS firmware corresponding to the second BIOS firmware test coding information with the second BIOS firmware version information, and feeds back a comparison result to the version information processing client.
Preferably, the version information processing client is further configured to obtain a comparison result of the first comparison client and a comparison result of the second comparison client, respectively; if the comparison result of the first comparison client side and the comparison result of the second comparison client side are consistent, outputting the comparison result, determining the version information of the first BIOS firmware and acquiring the version information of the second BIOS firmware;
and if the comparison result of the first comparison client is not consistent with the comparison result of the second comparison client, exchanging the test BIOS firmware of the first comparison client and the test BIOS firmware of the second comparison client, testing and judging whether the comparison results are consistent, and outputting the results.
Preferably, the version information processing client is further configured to continuously obtain first BIOS firmware test coding information and second BIOS firmware test coding information input by a user, respectively; arranging first BIOS firmware test coding information and second BIOS firmware test coding information which are continuously acquired and input by a user into a first test processing team and a second test processing team in a first-in first-out mode;
the version information processing client continuously configures the test BIOS firmware corresponding to the first BIOS firmware test coding information to the first comparison client, and the first comparison client continuously reads the version information of the first BIOS firmware stored in the first storage area;
the first comparison client compares the testing BIOS firmware corresponding to the first BIOS firmware testing coding information with the first BIOS firmware version information continuously, and feeds back the comparison result to the version information processing client continuously;
the version information processing client continuously configures the test BIOS firmware corresponding to the second BIOS firmware test coding information to the second comparison client, and the second comparison client continuously reads the version information of the second BIOS firmware stored in the second storage area;
the second comparison client compares the test BIOS firmware corresponding to the second BIOS firmware test coding information with the second BIOS firmware version information continuously, and feeds back the comparison result to the version information processing client continuously.
Preferably, the version information processing client is further configured to continuously receive comparison results fed back by the first comparison client and the second comparison client, respectively;
when the comparison result fed back by the first comparison client side is consistent, stopping the comparison of the first comparison client side, and outputting the version information of the BIOS firmware which is consistent in comparison, namely determining the version information of the first BIOS firmware stored in the first storage area;
and when the comparison result fed back by the second comparison client side is consistent, stopping the comparison of the second comparison client side, and outputting the version information of the BIOS firmware which is consistent in comparison, namely determining the version information of the second BIOS firmware stored in the second storage area.
Preferably, when the comparison results fed back by the first comparison client are all inconsistent in comparison, the version information of the first BIOS firmware stored in the first storage area is output and the version information of the BIOS firmware configured by the version information processing client is inconsistent;
or when the comparison results fed back by the second comparison client are all inconsistent in comparison, the version information of the second BIOS firmware stored in the second storage area is output and is inconsistent with the version information of the BIOS firmware configured by the version information processing client.
According to the technical scheme, the invention has the following advantages:
storing a first BIOS firmware in a first storage area; storing a second BIOS firmware in a second storage area; when the server reads the first BIOS firmware stored in the first storage area and normally starts up, only the first BIOS firmware is read; and when the first BIOS firmware stored in the first storage area is read and cannot be normally started, reading the second BIOS firmware stored in the second storage area to start and start the computer. And the problem that the server cannot normally work due to damage of the BIOS firmware is prevented. The first storage area and the second storage area are used for main and standby functions. And in the case of data damage, automatic conversion can be realized, and better user experience is provided for users.
Because the continuous input BIOS firmware test coding information is adopted, the continuous comparison test can be performed to find the BIOS firmware version information meeting the starting requirement. Therefore, the service efficiency of the server can be improved under the condition that the BIOS firmware version information is numerous.
Drawings
In order to more clearly illustrate the technical solution of the present invention, the drawings used in the description will be briefly introduced, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a dual BIOS boot and BIOS version comparison processing system;
FIG. 2 is a schematic diagram of an embodiment of a dual BIOS boot and BIOS version comparison processing system;
FIG. 3 is a schematic diagram of an embodiment of a dual BIOS boot and BIOS version comparison processing system.
Detailed Description
The invention provides a dual BIOS starting and BIOS version comparison processing system, as shown in FIG. 1, comprising: the server 1, the server 1 includes: a first storage area 2, a second storage area 3 and a startup processing module 6;
storing a first BIOS firmware 4 in the first storage area 2; storing a second BIOS firmware 5 in the second storage area 3; the startup processing module 6 is used for reading the first BIOS firmware 4 stored in the first storage area 2 after being powered on, and judging whether the startup is normal or not and starting up the computer; when the server 1 reads the first BIOS firmware 4 stored in the first storage area 2 and normally starts up, only the first BIOS firmware 4 is read; when the first BIOS firmware 4 stored in the first storage area 2 is read and cannot be normally started, the second BIOS firmware 5 stored in the second storage area 3 is read to be started and started.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," as well as any variations thereof, are intended to cover non-exclusive inclusions.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions of the present invention will be clearly and completely described below with reference to specific embodiments and drawings. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the scope of protection of this patent.
In the embodiment provided by the invention, the system further comprises: the version information processing client 7; as shown in fig. 2, the version information processing client 7 is configured to obtain version information of the first BIOS firmware 4 and obtain version information of the second BIOS firmware 5;
judging whether the version information of the first BIOS firmware 4 and the version information of the second BIOS firmware 5 are updated versions;
if the version information of the first BIOS firmware 4 is an updated version, the version information of the second BIOS firmware 5 is a non-updated version; the startup processing module 6 is also used for reading the first BIOS firmware 4 stored in the first storage area 2 after being powered on, and judging whether the startup is normal or not and starting up the computer; if the server 1 is normally started and started, the version information of the first BIOS firmware 4 is covered to the version information of the second BIOS firmware 5, and the version information of the first BIOS firmware 4 is set to be in a preferred reading state; if the server 1 is not started normally, reading the second BIOS firmware 5 stored in the second storage area 3, and judging whether the server is started normally and started; if the server 1 is normally started and started, the version information of the second BIOS firmware 5 is covered to the version information of the first BIOS firmware 4, and the version information of the second BIOS firmware 5 is set to be in a preferred reading state; after the power is on, the server 1 reads the first BIOS firmware 4 and obtains the second BIOS firmware 5, and the normal boot is not performed, which prompts the failure of the boot BIOS firmware. Enabling the user to detect the version information of the first BIOS firmware 4 and to obtain the version information of the second BIOS firmware 5.
The techniques described herein may be implemented in hardware, software, firmware, or any combination thereof. Various features are described as modules, units or components that may be implemented together in an integrated logic device or separately as discrete but interoperable logic devices or other hardware devices. In some cases, various features of an electronic circuit may be implemented as one or more integrated circuit devices, such as an integrated circuit chip or chipset.
In the embodiment provided by the present invention, the version information processing client 7 is further configured to obtain version information of the first BIOS firmware 4 and obtain version information of the second BIOS firmware 5; judging whether the version information of the first BIOS firmware 4 and the version information of the second BIOS firmware 5 are updated versions;
if the version information of the first BIOS firmware 4 and the version information of the second BIOS firmware 5 are the same version information, the versions are not upgraded; upgrading the BIOS firmware stored in the current default reading storage area to the latest version;
the startup processing module 6 is also used for reading the updated BIOS firmware stored in the default storage area after being powered on, and judging whether the BIOS is normally started and started; if the server 1 is started normally and started, the version information processing client 7 covers the updated BIOS firmware information to the version information of the non-updated BIOS firmware; if the server 1 is not normally started and started, the startup processing module 6 reads the version information of the non-updated BIOS firmware to judge whether the BIOS firmware is normally started and started; if the server 1 is started normally and started, prompting the updated BIOS firmware information fault; if the server 1 does not start up normally, the BIOS prompts the failure of the firmware of the boot BIOS. Enabling the user to detect the version information of the first BIOS firmware 4 and to obtain the version information of the second BIOS firmware 5.
If implemented in hardware, the invention relates to an apparatus, which may be, for example, a processor or an integrated circuit device, such as an integrated circuit chip or chipset. Alternatively or additionally, if implemented in software or firmware, the techniques may implement a data storage medium readable at least in part by a computer, comprising instructions that when executed cause a processor to perform one or more of the above-described methods. For example, a computer-readable data storage medium may store instructions that are executed, such as by a processor.
In the embodiment of the present invention, as shown in fig. 3, the version information processing client 7 is further configured to store the original BIOS firmware, the currently updated BIOS firmware, and all the BIOS firmware versions between the original BIOS firmware and the currently updated BIOS firmware; coding all BIOS firmware, and acquiring first BIOS firmware 4 test coding information and second BIOS firmware 5 test coding information input by a user;
the system further comprises: a first comparison client 8 and a second comparison client 9;
the version information processing client 7 configures the test BIOS firmware corresponding to the test coding information of the first BIOS firmware 4 to the first comparison client 8, the first comparison client 8 is connected with the first storage area 2, and the first comparison client 8 reads the version information of the first BIOS firmware 4 stored in the first storage area 2; the version information processing client 7 configures the second BIOS firmware 5 test coding information to the second comparison client 9, the second comparison client 9 is connected with the second storage area 3, and the second comparison client 9 reads the version information of the second BIOS firmware 5 stored in the second storage area 3;
the first comparison client 8 compares the test BIOS firmware corresponding to the test coding information of the first BIOS firmware 4 with the version information of the first BIOS firmware 4, and feeds back the comparison result to the version information processing client 7; the second comparison client 9 compares the version information of the second BIOS firmware 5 with the test BIOS firmware corresponding to the test encoding information of the second BIOS firmware 5, and feeds back the comparison result to the version information processing client 7.
The computer program product of the computer readable medium may form part of, which may include, packaging materials. The computer-readable medium of data may include computer storage media such as Random Access Memory (RAM), Read Only Memory (ROM), non-volatile random access memory (NVRAM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory, magnetic or optical data storage media, and the like. In some embodiments, an article of manufacture may comprise one or more computer-readable storage media.
The version information processing client 7 is further configured to obtain a comparison result of the first comparison client 8 and a comparison result of the second comparison client 9 respectively; if the comparison result of the first comparison client 8 is consistent with the comparison result of the second comparison client 9, outputting the comparison result, determining the version information of the first BIOS firmware 4 and acquiring the version information of the second BIOS firmware 5;
and if the comparison result of the first comparison client 8 is not consistent with the comparison result of the second comparison client 9, exchanging the test BIOS firmware of the first comparison client 8 with the test BIOS firmware of the second comparison client 9, testing to judge whether the two are consistent, and outputting the result.
The version information processing client 7 is further configured to continuously obtain the first BIOS firmware 4 test encoding information and the second BIOS firmware 5 test encoding information input by the user, respectively; arranging the continuously acquired first BIOS firmware 4 test coding information and second BIOS firmware 5 test coding information input by a user into a first test processing team and a second test processing team in a first-in first-out mode;
the version information processing client 7 continuously configures the test BIOS firmware corresponding to the test encoding information of the first BIOS firmware 4 to the first comparison client 8, and the first comparison client 8 continuously reads the version information of the first BIOS firmware 4 stored in the first storage area 2; the first comparison client 8 continuously compares the testing BIOS firmware corresponding to the testing coding information of the first BIOS firmware 4 with the version information of the first BIOS firmware 4, and continuously feeds back the comparison result to the version information processing client 7; the version information processing client 7 continuously configures the test BIOS firmware corresponding to the test encoding information of the second BIOS firmware 5 to the second comparison client 9, and the second comparison client 9 continuously reads the version information of the second BIOS firmware 5 stored in the second storage area 3; the second comparison client 9 continuously compares the test BIOS firmware corresponding to the test encoding information of the second BIOS firmware 5 with the version information of the second BIOS firmware 5, and continuously feeds back the comparison result to the version information processing client 7.
The version information processing client 7 is further configured to continuously receive comparison results fed back by the first comparison client 8 and the second comparison client 9, respectively;
when the comparison result fed back by the first comparison client 8 is consistent, stopping the comparison of the first comparison client 8, and outputting the version information of the BIOS firmware with the consistency, namely determining the version information of the first BIOS firmware 4 stored in the first storage area 2; when the comparison result fed back by the second comparison client 9 is consistent, the comparison of the second comparison client 9 is stopped, and the version information of the BIOS firmware with the consistency is output, that is, the version information of the second BIOS firmware 5 stored in the second storage area 3 is determined.
When the comparison results fed back by the first comparison client 8 are all inconsistent in comparison, the version information of the first BIOS firmware 4 stored in the first storage area 2 is output and the version information of the BIOS firmware configured by the version information processing client 7 is inconsistent; or, when the comparison results fed back by the second comparison client 9 are all inconsistent, the version information of the second BIOS firmware 5 stored in the output second storage area 3 is inconsistent with the version information of the BIOS firmware configured by the version information processing client 7.
The method and apparatus of the present invention may be implemented in a number of ways. For example, the methods and apparatus of the present invention may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustrative purposes only, and the steps of the method of the present invention are not limited to the order specifically described above unless specifically indicated otherwise. Furthermore, in some embodiments, the present invention may also be embodied as a program recorded in a recording medium, the program including machine-readable instructions for implementing a method according to the present invention. Thus, the present invention also covers a recording medium storing a program for executing the method according to the present invention.
In the embodiment of the present invention, the version information processing client 7 is further configured to continuously obtain the first BIOS firmware 4 test coding information and the second BIOS firmware 5 test coding information input by the user, respectively; arranging the continuously acquired first BIOS firmware 4 test coding information and second BIOS firmware 5 test coding information input by a user into a first test processing team and a second test processing team in a first-in first-out mode; the version information processing client 7 continuously configures the test BIOS firmware corresponding to the test encoding information of the first BIOS firmware 4 to the first comparison client 8, and the first comparison client 8 continuously reads the version information of the first BIOS firmware 4 stored in the first storage area 2;
the version information processing client 7 is further configured to continuously receive comparison results fed back by the first comparison client 8 and the second comparison client 9, respectively; determining version information of a first BIOS firmware 4 stored in the first storage area 2; the version information of the second BIOS firmware 5 stored in the second storage area 3 is determined.
Therefore, the user already obtains the version information of the first BIOS firmware 4 stored in the first storage area 2 and the version information of the second BIOS firmware 5 stored in the second storage area 3, the user configures the server 1 to start the default read version information of the BIOS firmware, and after the startup processing module 6 is powered on, the user reads the BIOS firmware stored in the default storage area to judge whether the startup is normal and starts the computer. If the computer is started normally, only the default BIOS firmware is read. And if the BIOS firmware cannot be normally started, reading the BIOS firmware stored in the other storage area to start and start the computer. And if the BIOS firmware version information can not be started normally, judging that the current BIOS firmware version information is not in accordance. Therefore, the BIOS firmware version information is acquired and then started, and whether the BIOS firmware version information meets the starting requirement or not is known.
If the version information of the BIOS firmware is not obtained in advance, the user needs to judge the version information of the BIOS firmware by himself, which brings inconvenience to the start-up and debugging of the server 1. If the BIOS firmware version information cannot be normally started, the BIOS firmware version information needs to be judged again and adjusted.
Because the continuous input BIOS firmware test coding information is adopted, the continuous comparison test can be performed to find the BIOS firmware version information meeting the starting requirement. Thus, efficiency can be improved under the condition that the BIOS firmware version information is numerous.
The invention prevents the server 1 from being incapable of normal operation when the BIOS firmware is damaged. The first storage area 2 and the second storage area 3 are used as main and standby. Under the condition of data damage, the data can be automatically repaired, and better user experience is provided for users.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (5)

1. A dual BIOS boot and BIOS version comparison processing system, comprising: a server, the server comprising: the starting processing module comprises a first storage area, a second storage area and a starting processing module;
storing a first BIOS firmware in a first storage area; storing a second BIOS firmware in a second storage area;
the startup processing module is used for reading the first BIOS firmware stored in the first storage area after being powered on, judging whether the startup is normal or not and starting up the computer;
when the server reads the first BIOS firmware stored in the first storage area and normally starts up, only the first BIOS firmware is read;
when the first BIOS firmware stored in the first storage area is read and cannot be normally started, reading the second BIOS firmware stored in the second storage area to start and start the computer;
the version information processing client is also used for storing original BIOS firmware, the current updated BIOS firmware and all the BIOS firmware versions between the original BIOS firmware and the current updated BIOS firmware; coding all BIOS firmware, and acquiring first BIOS firmware test coding information and second BIOS firmware test coding information input by a user;
further comprising: the system comprises a first comparison client and a second comparison client;
the version information processing client configures test BIOS firmware corresponding to the first BIOS firmware test coding information to a first comparison client, the first comparison client is connected with a first storage area, and the first comparison client reads the version information of the first BIOS firmware stored in the first storage area;
the version information processing client configures second BIOS firmware test coding information to a second comparison client, the second comparison client is connected with a second storage area, and the second comparison client reads second BIOS firmware version information stored in the second storage area;
the first comparison client compares the test BIOS firmware corresponding to the first BIOS firmware test coding information with the first BIOS firmware version information, and feeds back a comparison result to the version information processing client;
the second comparison client compares the test BIOS firmware corresponding to the second BIOS firmware test coding information with the second BIOS firmware version information, and feeds back a comparison result to the version information processing client;
the version information processing client is also used for respectively acquiring the comparison result of the first comparison client and the comparison result of the second comparison client; if the comparison result of the first comparison client side and the comparison result of the second comparison client side are consistent, outputting the comparison result, determining the version information of the first BIOS firmware and acquiring the version information of the second BIOS firmware;
if the comparison result of the first comparison client is not consistent with the comparison result of the second comparison client, exchanging the test BIOS firmware of the first comparison client with the test BIOS firmware of the second comparison client, testing and judging whether the comparison results are consistent, and outputting the results;
the version information processing client is also used for respectively and continuously acquiring the first BIOS firmware test coding information and the second BIOS firmware test coding information input by the user; arranging first BIOS firmware test coding information and second BIOS firmware test coding information which are continuously acquired and input by a user into a first test processing team and a second test processing team in a first-in first-out mode;
the version information processing client continuously configures the test BIOS firmware corresponding to the first BIOS firmware test coding information to the first comparison client, and the first comparison client continuously reads the version information of the first BIOS firmware stored in the first storage area;
the first comparison client compares the testing BIOS firmware corresponding to the first BIOS firmware testing coding information with the first BIOS firmware version information continuously, and feeds back the comparison result to the version information processing client continuously;
the version information processing client continuously configures the test BIOS firmware corresponding to the second BIOS firmware test coding information to the second comparison client, and the second comparison client continuously reads the version information of the second BIOS firmware stored in the second storage area;
the second comparison client compares the test BIOS firmware corresponding to the second BIOS firmware test coding information with the second BIOS firmware version information continuously, and feeds back the comparison result to the version information processing client continuously.
2. The dual BIOS start-up and BIOS version comparison processing system of claim 1 wherein,
further comprising: a version information processing client;
the version information processing client is used for acquiring version information of the first BIOS firmware and acquiring version information of the second BIOS firmware;
judging whether the version information of the first BIOS firmware and the version information of the second BIOS firmware are updated versions;
if the version information of the first BIOS firmware is the updated version, the version information of the second BIOS firmware is the non-updated version;
the startup processing module is also used for reading the first BIOS firmware stored in the first storage area after being electrified, judging whether the startup is normal or not and starting up the computer;
if the server is normally started and started, the version information of the first BIOS firmware is covered to the version information of the second BIOS firmware, and the version information of the first BIOS firmware is set to be in a preferred reading state;
if the server does not normally start the computer, reading a second BIOS firmware stored in a second storage area, and judging whether the computer is normally started and started;
if the server is normally started and started, the version information of the second BIOS firmware is covered to the version information of the first BIOS firmware, and the version information of the second BIOS firmware is set to be in a preferred reading state;
after the power is on, the server reads the first BIOS firmware and obtains the second BIOS firmware, and if the power is not normally started, the server prompts that the power-on BIOS firmware fails.
3. The dual BIOS start-up and BIOS version comparison processing system of claim 2 wherein,
the version information processing client is also used for acquiring the version information of the first BIOS firmware and acquiring the version information of the second BIOS firmware; judging whether the version information of the first BIOS firmware and the version information of the second BIOS firmware are updated versions;
if the version information of the first BIOS firmware and the version information of the second BIOS firmware are the same version information, the versions are not upgraded;
upgrading the BIOS firmware stored in the current default reading storage area to the latest version;
the startup processing module is also used for reading the updated BIOS firmware stored in the default storage area after being electrified, judging whether the startup is normal or not and starting up the computer; if the server is started normally and started, the version information processing client side covers the updated BIOS firmware information to the version information of the non-updated BIOS firmware;
if the server is not normally started and started, the startup processing module reads the version information of the non-updated BIOS firmware to judge whether the server is normally started and started; if the server is started normally and started, prompting the updated BIOS firmware information fault; if the server does not normally start the boot, prompting the boot BIOS firmware failure;
enabling a user to detect the version information of the first BIOS firmware and obtain the version information of the second BIOS firmware.
4. The dual BIOS start-up and BIOS version comparison processing system of claim 1 wherein,
the version information processing client is also used for continuously receiving comparison results fed back by the first comparison client and the second comparison client respectively;
when the comparison result fed back by the first comparison client side is consistent, stopping the comparison of the first comparison client side, and outputting the version information of the BIOS firmware which is consistent in comparison, namely determining the version information of the first BIOS firmware stored in the first storage area;
and when the comparison result fed back by the second comparison client side is consistent, stopping the comparison of the second comparison client side, and outputting the version information of the BIOS firmware which is consistent in comparison, namely determining the version information of the second BIOS firmware stored in the second storage area.
5. The dual BIOS start-up and BIOS version comparison processing system of claim 1 wherein,
when the comparison results fed back by the first comparison client are inconsistent, outputting that the version information of the first BIOS firmware stored in the first storage area is inconsistent with the version information of the BIOS firmware configured by the version information processing client;
or when the comparison results fed back by the second comparison client are all inconsistent in comparison, the version information of the second BIOS firmware stored in the second storage area is output and is inconsistent with the version information of the BIOS firmware configured by the version information processing client.
CN201810936367.2A 2018-08-16 2018-08-16 Dual-BIOS starting and BIOS version comparison processing system Active CN109117196B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810936367.2A CN109117196B (en) 2018-08-16 2018-08-16 Dual-BIOS starting and BIOS version comparison processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810936367.2A CN109117196B (en) 2018-08-16 2018-08-16 Dual-BIOS starting and BIOS version comparison processing system

Publications (2)

Publication Number Publication Date
CN109117196A CN109117196A (en) 2019-01-01
CN109117196B true CN109117196B (en) 2021-08-03

Family

ID=64852383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810936367.2A Active CN109117196B (en) 2018-08-16 2018-08-16 Dual-BIOS starting and BIOS version comparison processing system

Country Status (1)

Country Link
CN (1) CN109117196B (en)

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
CN102541593A (en) * 2011-12-20 2012-07-04 福建星网视易信息系统有限公司 Rapid comparison method of versions of remote files
CN104731675A (en) * 2015-03-24 2015-06-24 浪潮集团有限公司 Intelligent redundancy backup method for BIOS in server system
CN105975284A (en) * 2016-05-31 2016-09-28 京东方科技集团股份有限公司 Automatic software version checking device and method
CN108196858A (en) * 2017-12-22 2018-06-22 天津麒麟信息技术有限公司 A kind of double BIOS systems and its implementation based on platform of soaring

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080077784A1 (en) * 2006-09-21 2008-03-27 Gerri's Marketing & Advertising Concepts, Llc Electronic marketing on a computing device during select time windows
US8874892B1 (en) * 2011-05-26 2014-10-28 Phoenix Technologies Ltd. Assessing BIOS information prior to reversion
CN104007992A (en) * 2014-06-09 2014-08-27 广州华多网络科技有限公司 Methods and devices for program updating and starting
TWI541724B (en) * 2014-07-22 2016-07-11 技嘉科技股份有限公司 Circuit and method for writing bios code into bios
CN107506307A (en) * 2017-09-29 2017-12-22 郑州云海信息技术有限公司 DMI method for refreshing and system in a kind of storage product test

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
CN102541593A (en) * 2011-12-20 2012-07-04 福建星网视易信息系统有限公司 Rapid comparison method of versions of remote files
CN104731675A (en) * 2015-03-24 2015-06-24 浪潮集团有限公司 Intelligent redundancy backup method for BIOS in server system
CN105975284A (en) * 2016-05-31 2016-09-28 京东方科技集团股份有限公司 Automatic software version checking device and method
CN108196858A (en) * 2017-12-22 2018-06-22 天津麒麟信息技术有限公司 A kind of double BIOS systems and its implementation based on platform of soaring

Also Published As

Publication number Publication date
CN109117196A (en) 2019-01-01

Similar Documents

Publication Publication Date Title
CN101882085B (en) System starting method and embedded equipment
US9367446B2 (en) Computer system and data recovery method for a computer system having an embedded controller
CN109542744B (en) Method, device, storage medium and terminal for detecting abnormal starting problem of terminal
US8909952B2 (en) Power supply apparatus of computer system and method for controlling power sequence thereof
CN111143132B (en) BIOS recovery method, device, equipment and readable storage medium
CN105094927A (en) Equipment firmware updating method and device
CN103678053A (en) Computer self-check method and system
CN109614267A (en) A kind of method, apparatus, storage medium and terminal for repairing booting abnormal problem
CN104424047A (en) NVRAM data recovery method and NVRAM data recovery device
CN103514014A (en) Method for designing boot system of embedded terminal equipment
CN108897646B (en) Switching method of BIOS (basic input output System) chips and substrate management controller
CN101477484A (en) Method and equipment for recovering destroyed main bootstrap program
CN103995717A (en) Method for upgrading software in embedded device
CN102043634A (en) Embedded system and embedded software upgrading method
CN109117196B (en) Dual-BIOS starting and BIOS version comparison processing system
CN109634782B (en) Method and device for detecting system robustness, storage medium and terminal
CN117130672A (en) Server start flow control method, system, terminal and storage medium
CN102750212B (en) Embedded system method for diagnosing faults and the embedded system being provided with fault diagnosis
CN104461659A (en) High-reliability computer starting method
CN111158968A (en) BIOS configuration information self-checking method, device and storage medium
CN115951949A (en) Recovery method and device for configuration parameters of BIOS (basic input output System) and computing equipment
CN108052337A (en) A kind of firmware upgrade method and device of eMMC production tools
CN110673974A (en) System debugging method and device
CN113742737B (en) Computer main board chip safety management method and device and computer equipment
CN113220358B (en) Multi-platform BIOS information storage method, system and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant