CN108196858A - A kind of double BIOS systems and its implementation based on platform of soaring - Google Patents

A kind of double BIOS systems and its implementation based on platform of soaring Download PDF

Info

Publication number
CN108196858A
CN108196858A CN201711400666.6A CN201711400666A CN108196858A CN 108196858 A CN108196858 A CN 108196858A CN 201711400666 A CN201711400666 A CN 201711400666A CN 108196858 A CN108196858 A CN 108196858A
Authority
CN
China
Prior art keywords
bios
systems
platform
upgrading
failure
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
CN201711400666.6A
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.)
Tianjin Kylin Information Technology Co Ltd
Original Assignee
Tianjin Kylin 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 Tianjin Kylin Information Technology Co Ltd filed Critical Tianjin Kylin Information Technology Co Ltd
Priority to CN201711400666.6A priority Critical patent/CN108196858A/en
Publication of CN108196858A publication Critical patent/CN108196858A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • 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

Landscapes

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

Abstract

A kind of double BIOS systems based on platform of soaring, Feiteng processor, switching connection circuit, BIOS_1 systems and BIOS_2 systems;The Feiteng processor connects two BIOS systems described in circuit and chip selection signal control by the switching;Online upgrading and synchronizing process can be realized on the system, and the synchronizing process includes powering on synchronous synchronous with reset.The beneficial effects of the invention are as follows:The double BIOS system contents in platform that can solve the problems, such as to soar are that may be present inconsistent, and BIOS system online upgrading and double BIOS systems asynchronous problem that may be present after upgrading in the platform that solves the problems, such as to soar.

Description

A kind of double BIOS systems and its implementation based on platform of soaring
Technical field
The invention belongs to basic I/O system technology field, specifically, being related to a kind of double based on platform of soaring BIOS system and its implementation.
Background technology
BIOS:BIOS is the initialism of English " Basic Input Output System ", literally rear Chinese It is exactly " basic input output system ".It is one group of program being cured in computer on mainboard on a rom chip, it is preserved The most important basic input and output of computer program, booting after self-check program and system self-triggered program, it can be from CMOS The specifying information of middle read-write system setting.Its major function be for computer provide the bottom, most direct hardware setting and Control.In addition, BIOS also provides some systematic parameters to operating system.The variation of system hardware is hidden by BIOS, and program makes With BIOS functions rather than directly control hardware.
Existing Feiteng processor platform motherboard BIOS is only an executable file, not including any check information and BIOS Synchronization module;It stores also without reserved storage information in the medium of BIOS executable files, Feiteng processor is by wire jumper Mode determines chip selection signal, and then selects the single BIOS being connect with it, as shown in Figure 1.Existing Feiteng processor with BIOS chips connect, and are mainly made of Feiteng processor, BIOS chips and wire jumper circuit.Wherein, BIOS chips are one piece of storage The integrated circuit of single BIOS system, which is only an executable file, not including any check information and BIOS Synchronization module;Simultaneously also information is stored without reserved data block on BIOS chips;Feiteng processor sends piece on wire jumper circuit Signal is selected, realization communicates with the BIOS chips that it is connect.
If there is corrupted data situation, such as because the Flash chip of storage BIOS in the BIOS in platform motherboard that soars Position saltus step occur leads to BIOS corrupt datas, then only BIOS system error frequently can lead to the platform master that entirely soars Plate is all unable to normal use.In addition, in the case of other, if platform motherboard of soaring need to upgrade BIPS could solve the problems, such as it is certain Situation, then due to not supporting BIOS online upgrading functions, so can only be by the way that mainboard of soaring is returned factory replacement BIOS or is led to The replacement of professional technician scene is crossed, user can not settle a dispute by the parties concerned themselves.
Existing BIOS starts the methods and techniques of control, solves the more of BIOS upgradings, does not account for and is based on soaring The stationary problem after double BIOS system online upgrading problems and upgrading under processor platform.
Chinese invention patent (application number CN200410086696.0) proposes a kind of basic input output system and rises online The method of grade, the BIOS program for starting to guiding device operating system realize online upgrading, the method includes:It will be used for The BIOS program of upgrading is loaded into BIOS program power down keep medium;Setting BIOS upgrade status mark is simultaneously saved in mark guarantor It deposits in power down keep medium;After the equipment restarts, according to the operation of BIOS upgrade status mark for the BIOS of upgrading Program;If the BIOS program for upgrading runs failure, former BIOS program is run.The invention can upgrade to avoid BIOS loses The risk that equipment is caused not start normally is lost, ensures the normal startup of equipment, but was not considered based on processing of soaring The BIOS system online upgrading problem of device platform.
Chinese invention patent (application number CN00101113.8) proposes a kind of by system bios upgrading ROM New edition BIOS program is compressed into a upgrade file so that its data volume is greatly reduced, so by method in advance using the principle of compression Upgrade file can be greatly reduced as the time needed for storage media are packed into system storage, to save time and cost;Again The decompressing function code added in cooperation upgrading tool program, the upgrade file through overcompression is decompressed, and is restored New edition BIOS program is obtained to carry out the operation of subsequent programmable BIOS ROM.The invention did not considered to be based on The BIOS system online upgrading problem of Feiteng processor platform.
Chinese invention patent (application number CN200610058031.8) proposes system and the side of a kind of BIOS refreshing and upgradings Method, including remote control service device end and terminal computer, remote control service device end and terminal computer all include IPMI, BMC, with outer NIC, in the IPMI of terminal computer, update control module including BIOS, for reading refresh flags position, and determine Whether read BIOS update files and carry out BIOS update upgradings;The terminal computer further includes upgrade file memory module, For storing BIOS update upgrade files, and refresh flags position is set as needing to update BIOS file, and updated and controlled by BIOS Molding block is after the completion of BIOS updates by the mark bit clear;Remote control service device end further includes BIOS file transmission mould Block, for obtaining and BIOS update upgrade files being sent to terminal computer by network.The invention did not considered to fly Double BIOS system stationary problems after rising BIOS system online upgrading problem in platform and upgrading.
Chinese invention patent (application number CN201611126615.4) discloses a kind of method of remote automatic upgrading BIOS, Including:Step S100:When loading BIOS on the client device for needing to upgrade, user controls client device by HOTKEY To server send BIOS upgrade requests, and by client device information by the Internet transmission to server;Step S200:When Server receives client device BIOS upgrade requests, compares client device information and server prestored information, judges visitor Whether family end equipment, which needs, upgrades, and if necessary to upgrade, sends upgrade command and BIOS upgrade files to client device, enters Step S300, on the contrary not upgrade command is sent to client, enter step S400;Step S300:Client device will receive Upgrade command and upgrade file, client device update BIOS;Step S400:Client device loads BIOS, start-up operation System.Although the invention is controlled in BIOS load phases by user using hot key, using automatic networking between equipment and server Detection upgrading promotes BIOS upgrading efficiency, but after not considering online upgrading problem and upgrading based on platform of soaring Double BIOS system stationary problems.
Chinese invention patent (application number CN201610001571.6) discloses BIOS and BMC in ARM platforms and starts simultaneously When ensure the optimization algorithm of synchronizing information, the algorithm sets a FLAG when BMC start completions, starts the in BIOS It goes to read this FLAG by IPMI when primary access BMC, if FLAG is provided, then begin to read BMC, such as Fruit is not provided, then just goes to read the value of CPU Power Fail registers, if CPU Power Fail registers Value be 1, then delay the long period, then return again to read BMC FLAG, if the value of CPU Power Fail registers It is 0, then then the delay short period returns again to the FLAG for reading BMC, the value until reading correct FLAG.It although should Invention completes BIOS and BMC synchronizing informations by the software code by UEFI BIOS, but does not consider platform of soaring In double BIOS system stationary problems, be also not involved with BIOS system online upgrading problem.
Chinese invention patent (application number CN201710178532.8) discloses a kind of BIOS upgrade methods, and step includes: 1) USB flash disk is checked for;2) it such as checks there are USB flash disk, then continues checking for the presence or absence of BIOS upgrade files in USB flash disk, it is described BIOS upgrade files include the upgrade file of 64bit and the upgrade file of 32bit;3) it such as checks USB flash disk there are system bios liters Grade file, then the current system of system judgement is 32bit or 64bit;4) such as judge that current system is 32bit, then system The upgrade file of 32bit is run, it is 64bit such as to judge current system, then the upgrade file of system operation 64bit;5) system After entering corresponding upgrade file, read upgrade file contents and be written in memory;6) restart system.Although the invention Method is without using cd-rom recorder and does not depend on particular hardware and realizes BIOS upgrade methods, but in the platform that do not considered to soar Double BIOS system stationary problems after BIOS system online upgrading problem and upgrading.
Invention content
In view of this, the present invention provides a kind of flat based on soaring to solve defect and deficiency of the existing technology The double BIOS systems and its implementation of platform, double BIOS system contents are that may be present inconsistent in the platform that can solve to soar Problem, and double BIOS systems in the platform that solves the problems, such as to soar after BIOS system online upgrading and upgrading are that may be present asynchronous Problem.
In order to solve the above-mentioned technical problem, the invention discloses a kind of based on the double BIOS systems for platform of soaring and its realization Method, and realized using following technical scheme.
A kind of double BIOS systems based on platform of soaring, including Feiteng processor, switching connection circuit, BIOS_1 systems and BIOS_2 systems;The Feiteng processor is electrically connected with the switching connection circuit, and circuit is connected to BIOS by the switching System is into the read-write of row information;The switching connection circuit is electrically connected respectively with the BIOS_1 systems and the BIOS_2 systems It connects.
Further, the switching connection circuit is respectively by corresponding chip selection signal and the BIOS_1 and described BIOS_2 is electrically connected.
A kind of double BIOS system online upgrading methods based on platform of soaring, step include:
S11, the BIOS system information for reading upgraded version;
S12, the verification for calculating the BIOS system and, if verification error, exits the online upgrading flow;Otherwise, Into in next step;
S13, BIOS system to be upgraded is written in the BIOS system of the upgraded version;
S14, its storage location is written in upgrading mark.
Further, the S13 is specially upgrade procedure operation switching connection circuit, is directed toward its chip selection signal to be upgraded BIOS_1 systems either BIOS_2 systems the BIOS system of the upgraded version be written the BIOS_1 systems or In BIOS_2.
Further, the S14 is specially that the upgrading mark write-in is stored the BIOS system to be upgraded In Flash chip.
A kind of double BIOS system synchronous method based on platform of soaring, powering on synchronizing process and answering including Feiteng processor Bit synchronization process;Synchronization program switches the feature register of connection circuit by reading to determine the information of current BIOS system, Then the switching connection circuit is operated, the chip selection signal being connect with the Feiteng processor is controlled to select BIOS to be synchronized System simultaneously synchronizes.
Further, the synchronizing process specific steps that power on include:
S21, start BIOS_1 systems;
If S22, the BIOS_1 systems start successfully, S26 is entered step;If the BIOS_1 systems start failure, Start BIOS_2 systems;
If S23, the BIOS_2 systems start failure, synchronization failure;
If S24, the BIOS_2 systems start successfully but verification malfunctions, synchronization failure;
If S25, the BIOS_2 systems start successfully and verification and correct, described in the BIOS_2 system synchronizations BIOS_1 systems, and judge that the upgrading of the BIOS_2 systems identifies whether effectively, into S28;
S26, the verification BIOS_1 systems, start the BIOS_2 systems, and enter the S23 if error is verified;
If S27, BIOS_1 system checks success, judge that the upgrading of the BIOS_1 systems identifies whether effectively; If the upgrading mark of the BIOS_1 systems is invalid, reads and verify the BIOS_2 systems, institute is synchronized if error is verified State BIOS_2 systems;The synchronizing process that powers on is completed if verification is correct;If the upgrading mark of the BIOS_1 systems is effective, Into in next step;
If S28, the upgrading mark are effective, upgrade described in the BIOS_1 systems or the BIOS_2 systems and erasing Upgrading mark, it is described to power on synchronizing process completion.
Further, the specific steps for resetting synchronizing process include:
S31, judge whether current BIOS system can start, judge whether spare BIOS can start if failure is started;If The current BIOS system success, then into S35;
If S32, the spare BIOS start failure, synchronization failure;If the spare BIOS starts successfully, under entering One step;
S33, reading simultaneously verify the spare BIOS information;The synchronization failure if failure is verified;If verifying successfully, enter In next step;
S34, the current BIOS is synchronized by the spare BIOS;The reset synchronizing process is completed;
S35, the current BIOS information is read, and is verified;If verifying successfully, enter in next step;If verification is lost It loses, then read and verifies the spare BIOS, reset synchronization failure if the spare BIOS verifications failure;It is if described spare BIOS is verified successfully, then synchronizes the current BIOS, and the reset synchronizing process is completed;
S36, reading simultaneously verify the spare BIOS, and the reset synchronizing process is completed if verifying successfully;If verification is lost It loses, then the spare BIOS is synchronized by the current BIOS, the reset synchronizing process is completed.
A kind of computer readable storage medium, the computer-readable recording medium storage have computer program, the meter The step of online upgrading method described above and/or the synchronous method are realized when calculation machine program is executed by processor.
A kind of device including memory, processor and is stored in the memory and can transport on the processor Capable computer program, the processor realize online upgrading method described above and/or institute when performing the computer program State synchronous method the step of.
Compared with prior art, the present invention can be obtained including following technique effect:
1) two BIOS systems are not the main and standby relations on ordinary meaning, but the relationship of equity completely;Pass through special journey Sequence, can be with online upgrading BIOS system;
2) value of circuit feature register can be connected by switching to judge the BIOS system being currently up;
3) synchronization module as a part of compiling link of BIOS system executable file into BIOS system, at the beginning of BIOS It is performed automatically after beginningization minimum system, it is ensured that primary, spare BIOS system content is consistent.
Certainly, implementing any of the products of the present invention must be not necessarily required to reach all the above technique effect simultaneously.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and forms the part of the present invention, this hair Bright illustrative embodiments and their description do not constitute improper limitations of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is existing Feiteng processor and BIOS chip connection diagrams.
Fig. 2 is the BIOS and upgrading mark schematic diagram stored in the Flash chip of one embodiment of the invention.
Fig. 3 is the schematic diagram that the Feiteng processor of one embodiment of the invention is connect through switching connection circuit with double BIOS.
Fig. 4 is BIOS online upgradings schematic diagram provided by one embodiment of the present invention.
Fig. 5 is that Feiteng processor power up BIOS provided by one embodiment of the present invention synchronizes schematic diagram.
Fig. 6 is that Feiteng processor reseting procedure BIOS provided by one embodiment of the present invention synchronizes schematic diagram.
Specific embodiment
Carry out the embodiment that the present invention will be described in detail below in conjunction with accompanying drawings and embodiments, thereby how the present invention is applied Technological means can fully understand and implement according to this to solve technical problem and reach the realization process of technical effect.
A kind of double BIOS systems based on platform of soaring, design procedure include:
First, the chip selection signal of BIOS chips is accessed using Feiteng processor, circuit is connected by switching, realization is soared flat Double BIOS system mechanism of platform mainboard;
Secondly, by adding in CRC check information and BIOS system synchronization module in BIOS system executable file, upper When electricity or reset, BIOS synchronization modules are performed in BIOS, it can be ensured that primary, spare BIOS system is completely the same;When wherein one When corrupted data occurs in a BIOS system (but the chip of storage BIOS does not damage), BIOS system synchronization module actively uses another Good BIOS system synchronizes the BIOS system currently damaged, effectively improves the reliabilty and availability of Feiteng processor platform;
Finally, BIOS system upgrade procedure can first read upgraded version BIOS system, be then written to BIOS_ to be upgraded 1 system, while upgrading is set to identify;Next, after BIOS system synchronization module synchronizes upgrading by judgement upgrading mark BIOS system, it is ensured that the primary, spare BIOS system after upgrading is completely the same, promotes the maintainability of Feiteng processor platform.
BIOS and the structure diagram of upgrading mark are stored in Flash chip, as shown in Figure 2.Storage organization generation Step includes:First, after writable BIOS being generated in compiling, using the computational algorithm of crc value, the crc value of the BIOS is acquired; Secondly, analyze the link script of BIOS, find out the 4 of the continuous blank bytes not utilized in BIOS, this 4 bytes using as Simultaneously record the location address in the insertion position of crc value;Finally, the last one data in the Flash chip of storage BIOS are reserved 4 bytes of head of block are as upgrading flag.
The schematic diagram that Feiteng processor is connect by switching connection circuit with double BIOS, as shown in Figure 3.It is main to include soaring Processor, two BIOS_1 systems, BIOS_2 systems and switching connection circuit.Wherein, two BIOS systems include BIOS_1 master System and BIOS_2 back-up systems.The chip selection signal that switching connection circuit control Feiteng processor is connected with two BIOS, and Current chip selection signal is able to record when resetting.Upon power-up, Feiteng processor is attempted to start from BIOS_1 systems, if failure Then enter and reset flow.When set, switching connection circuit automatically switches chip selection signal to complete according to the chip selection signal of record The switching of two standby usage BIOS systems.Current chip selection signal recorded in switching connection circuit is stored in its feature register In, software reads this feature register and may determine that the BIOS system that should currently start.
Fig. 4 shows one embodiment of BIOS system online upgrading process according to the present invention.Specific embodiment step It is as follows:
Step S401:Start upgrade procedure, the BIOS system of upgraded version is read from system;
Step S402:Calculate upgraded version BIOS system verification and, if verification error, prompt the upgraded version BIOS verifications are wrong and exit entire online upgrading process;Otherwise, into next step;
Step S403:Upgrade procedure operation switching connection circuit, makes its chip selection signal be directed toward BIOS_1 systems to be upgraded (or BIOS_2 systems) upgraded version BIOS system is written in BIOS_1 systems to be upgraded;
Step S404:Upgrading is identified the last one memory block in the Flash chip of write-in storage BIOS_1 systems;
Step S405:Whole system is closed in power-off.
Feiteng processor BIOS synchronization module synchronizing processes provided in an embodiment of the present invention are broadly divided into, in Feiteng processor Electric process flow synchronous with the BIOS system of reseting procedure.Due to a part compiled chain of the synchronization module as bios code It is connected in executable BIOS system, so being performed before operating system is guided.Synchronization program can read switching connection circuit Feature register determines current BIOS system, and then operation switching connection circuit, controls the BIOS pieces being connect with Feiteng processor Signal is selected to synchronize BIOS system.
In Feiteng processor power up BIOS system synchronize flow diagram as shown in figure 5, specific embodiment step such as Under:
Step S501:Acquiescence starts from BIOS_1 when powering on;
Step S502:It attempts to start from BIOS_2 if failure is started;
Step S503:The buzzer alert if BIOS_2 starts failure prompts to need replacing BIOS;
Step S504:If BIOS_2 starts successfully but verification error, buzzer alert, prompting need replacing BIOS;
Step S505:BIOS_2 starts successfully and verification is with correctly, then synchronizes BIOS_1 with BIOS_2 and marked according to upgrading Whether knowledge effectively judges whether to need to wipe upgrading mark;
Step S506:BIOS_1 starts successfully, verifies BIOS_1, and BIOS_2 is read if verifying and malfunctioning, and then if BIOS_2 also verifies mistake and then enters step S503;Otherwise, S505 is entered step;
Step S507:BIOS_1 is verified successfully, judges that upgrading identifies whether effectively, to read if upgrading mark is invalid BIOS_2, and then BIOS_2 verifications are carried out, if verifying and malfunctioning BIOS_2 is synchronized with BIOS_1;
Step S508:If upgrading mark is effective, upgrading mark is simultaneously wiped in upgrading BIOS _ 2.
In Feiteng processor reseting procedure BIOS system synchronize flow diagram as shown in fig. 6, specific embodiment step such as Under:
Step S601:Current BIOS system starts failure, is switched to spare BIOS and starts;
Step S602:The buzzer alert if spare BIOS also starts failure prompts to need replacing BIOS;
Step S603:If spare BIOS starts successfully but verification error, buzzer alert, prompting need replacing BIOS;
Step S604:If spare BIOS starts successfully and verification is with correctly, current BIOS is synchronized with spare BIOS;
Step S605:If current BIOS starts successfully but verification error, read spare BIOS and judge its verify with such as The spare BIOS of fruit is verified and is correctly then entered step S604, otherwise enters step S602;
Step S606:If current BIOS starts successfully and verification and correct, read spare BIOS and judge its verify with, With current BIOS synchronized reserves BIOS if spare BIOS bad checksums.
The beneficial effects of the invention are as follows:
1) two BIOS systems are not the main and standby relations on ordinary meaning, but the relationship of equity completely;Pass through special journey Sequence, can be with online upgrading BIOS system;
2) value of circuit feature register can be connected by switching to judge the BIOS system being currently up;
3) synchronization module as a part of compiling link of BIOS system executable file into BIOS system, at the beginning of BIOS It is performed automatically after beginningization minimum system, it is ensured that primary, spare BIOS system content is consistent.
A kind of double BIOS systems and its implementation based on platform of soaring provided above the embodiment of the present invention, into It has gone and has been discussed in detail.The explanation of above example is only intended to facilitate the understanding of the method and its core concept of the invention;It is meanwhile right In those of ordinary skill in the art, thought according to the present invention has change in specific embodiments and applications Part, in conclusion the content of the present specification should not be construed as limiting the invention.
Some vocabulary has such as been used to censure specific components or module in specification and claim.Art technology Personnel are, it is to be appreciated that different institutions may call same component or module with different nouns.This specification and right will It asks not in a manner that the difference of title is used as and distinguishes component, but area is used as with the difference of component or module functionally The criterion divided.As being open language, therefore should solve in specification in the whole text and claim "comprising", " comprising " mentioned in It is interpreted into " including but not limited to "." substantially " refer in receivable error range, those skilled in the art can be certain The technical problem is solved in error range, basically reaches the technique effect.Specification subsequent descriptions are to implement the present invention's Better embodiment, so description is that the model of the present invention is not limited to for the purpose of illustrating the rule of the present invention It encloses.Protection scope of the present invention is when subject to appended claims institute defender.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to nonexcludability Comprising so that commodity or system including a series of elements not only include those elements, but also including without clear and definite It the other element listed or further includes as this commodity or the intrinsic element of system.In the feelings not limited more Under condition, the element that is limited by sentence "including a ...", it is not excluded that in the commodity including the element or system also There are other identical elements.
Several preferred embodiments of the present invention have shown and described in above description, but as previously described, it should be understood that the present invention Be not limited to form disclosed herein, be not to be taken as the exclusion to other embodiment, and available for various other combinations, Modification and environment, and can in innovation and creation contemplated scope described herein, by the technology of above-mentioned introduction or related field or Knowledge is modified.And changes and modifications made by those skilled in the art do not depart from the spirit and scope of the present invention, then it all should be In the protection domain of appended claims of the present invention.

Claims (10)

1. a kind of double BIOS systems based on platform of soaring, including Feiteng processor, switching connection circuit, BIOS_1 systems and BIOS_2 systems;The Feiteng processor is electrically connected with the switching connection circuit, and circuit is connected to BIOS by the switching System is into the read-write of row information;The switching connection circuit is electrically connected respectively with the BIOS_1 systems and the BIOS_2 systems It connects.
2. double BIOS systems based on platform of soaring according to claim 1, it is characterised in that:
The switching connection circuit is electrically connected respectively by corresponding chip selection signal with the BIOS_1 and the BIOS_2.
3. a kind of double BIOS system online upgrading methods based on platform of soaring, step include:
S11, the BIOS system information for reading upgraded version;
S12, the verification for calculating the BIOS system and, if verification error, exits the online upgrading flow;Otherwise, enter In next step;
S13, BIOS system to be upgraded is written in the BIOS system of the upgraded version;
S14, its storage location is written in upgrading mark.
4. double BIOS system online upgrading methods based on platform of soaring according to claim 3, it is characterised in that:It is described S13 is specially upgrade procedure operation switching connection circuit, its chip selection signal is made to be directed toward BIOS_1 systems to be upgraded or BIOS_ 2 systems the BIOS system of the upgraded version are written in the BIOS_1 systems or BIOS_2.
5. double BIOS system online upgrading methods based on platform of soaring according to claim 3 or 4, it is characterised in that:Institute It is specially that the upgrading mark write-in is stored in the Flash chip of the BIOS system to be upgraded to state S14.
6. a kind of double BIOS system synchronous method based on platform of soaring, it is characterised in that:Powering on including Feiteng processor is same Step process and reset synchronizing process;Synchronization program switches the feature register of connection circuit by reading to determine current BIOS systems Then the information of system operates the switching connection circuit, the chip selection signal being connect with the Feiteng processor is controlled to select to treat Synchronous BIOS system simultaneously synchronizes.
7. double BIOS system synchronous method based on platform of soaring according to claim 6, it is characterised in that:It is described to power on together Step process specific steps include:
S21, start BIOS_1 systems;
If S22, the BIOS_1 systems start successfully, S26 is entered step;If the BIOS_1 systems start failure, start BIOS_2 systems;
If S23, the BIOS_2 systems start failure, synchronization failure;
If S24, the BIOS_2 systems start successfully but verification malfunctions, synchronization failure;
If S25, the BIOS_2 systems start successfully and verification and correct, the BIOS_1 described in the BIOS_2 system synchronizations System, and judge that the upgrading of the BIOS_2 systems identifies whether effectively, into S28;
S26, the verification BIOS_1 systems, start the BIOS_2 systems, and enter the S23 if error is verified;
If S27, BIOS_1 system checks success, judge that the upgrading of the BIOS_1 systems identifies whether effectively;If institute The upgrading mark for stating BIOS_1 systems is invalid, then reads and verify the BIOS_2 systems, is synchronized if error is verified described BIOS_2 systems;The synchronizing process that powers on is completed if verification is correct;If the upgrading mark of the BIOS_1 systems is effective, into Enter in next step;
If S28, the upgrading mark are effective, upgrade the BIOS_1 systems or the BIOS_2 systems and wipe the upgrading Mark, it is described to power on synchronizing process completion.
8. double BIOS system synchronous method based on platform of soaring described according to claim 6 or 7, it is characterised in that:It is described multiple The specific steps of bit synchronization process include:
S31, judge whether current BIOS system can start, judge whether spare BIOS can start if failure is started;It is if described Current BIOS system success, then into S35;
If S32, the spare BIOS start failure, synchronization failure;If the spare BIOS starts successfully, into next Step;
S33, reading simultaneously verify the spare BIOS information;The synchronization failure if failure is verified;If it verifies successfully, into next Step;
S34, the current BIOS is synchronized by the spare BIOS;The reset synchronizing process is completed;
S35, the current BIOS information is read, and is verified;If verifying successfully, enter in next step;If verification failure, It reads and verifies the spare BIOS, reset synchronization failure if the spare BIOS verifications failure;If the spare BIOS schools Success is tested, then synchronizes the current BIOS, the reset synchronizing process is completed;
S36, reading simultaneously verify the spare BIOS, and the reset synchronizing process is completed if verifying successfully;If verification failure, The spare BIOS is synchronized by the current BIOS, the reset synchronizing process is completed.
9. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In:The step of the method as any such as claim 3-4,6-7 is realized when the computer program is executed by processor.
10. a kind of device of double BIOS systems based on platform of soaring, including memory, processor and is stored in the storage In device and the computer program that can run on the processor, it is characterised in that:The processor performs the computer journey The step of the method as any such as claim 3-4,6-7 is realized during sequence.
CN201711400666.6A 2017-12-22 2017-12-22 A kind of double BIOS systems and its implementation based on platform of soaring Pending CN108196858A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711400666.6A CN108196858A (en) 2017-12-22 2017-12-22 A kind of double BIOS systems and its implementation based on platform of soaring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711400666.6A CN108196858A (en) 2017-12-22 2017-12-22 A kind of double BIOS systems and its implementation based on platform of soaring

Publications (1)

Publication Number Publication Date
CN108196858A true CN108196858A (en) 2018-06-22

Family

ID=62583524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711400666.6A Pending CN108196858A (en) 2017-12-22 2017-12-22 A kind of double BIOS systems and its implementation based on platform of soaring

Country Status (1)

Country Link
CN (1) CN108196858A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117196A (en) * 2018-08-16 2019-01-01 郑州云海信息技术有限公司 A kind of double BIOS starting and bios version compare processing system
CN111984296A (en) * 2020-08-27 2020-11-24 苏州浪潮智能科技有限公司 Dual BIOS monitoring system of COMe board card
CN112073790A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Display device and method for synchronizing starting state between two systems
CN113741921A (en) * 2021-06-11 2021-12-03 深圳市同泰怡信息技术有限公司 Method and device for automatically upgrading double BIOS firmware
CN113849215A (en) * 2021-12-01 2021-12-28 武汉天喻信息产业股份有限公司 Wireless firmware upgrading method and device
CN114253576A (en) * 2021-12-13 2022-03-29 苏州浪潮智能科技有限公司 Method, device, storage medium and equipment for double BIOS mirror image refreshing verification

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030005277A1 (en) * 2001-06-29 2003-01-02 Harding Matthew C. Automatic replacement of corrupted BIOS image
CN1786909A (en) * 2004-12-10 2006-06-14 华为技术有限公司 Method for on-line upgrade of based input and output system
CN101017441A (en) * 2007-02-27 2007-08-15 华为技术有限公司 Electric device, start method of electric and update method of BIOS
JP2011204267A (en) * 2011-06-10 2011-10-13 Fujitsu Ltd Method of synchronizing basic input/output program between data processing devices, and computer program
CN103365696A (en) * 2013-08-01 2013-10-23 华为技术有限公司 BIOS (Basic Input Output System) image file obtaining method and device
CN104731675A (en) * 2015-03-24 2015-06-24 浪潮集团有限公司 Intelligent redundancy backup method for BIOS in server system
CN106528097A (en) * 2016-10-21 2017-03-22 浙江大华技术股份有限公司 Version synchronization method for two pieces of BIOS (Basic Input/ Output System) firmware, and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030005277A1 (en) * 2001-06-29 2003-01-02 Harding Matthew C. Automatic replacement of corrupted BIOS image
CN1786909A (en) * 2004-12-10 2006-06-14 华为技术有限公司 Method for on-line upgrade of based input and output system
CN101017441A (en) * 2007-02-27 2007-08-15 华为技术有限公司 Electric device, start method of electric and update method of BIOS
JP2011204267A (en) * 2011-06-10 2011-10-13 Fujitsu Ltd Method of synchronizing basic input/output program between data processing devices, and computer program
CN103365696A (en) * 2013-08-01 2013-10-23 华为技术有限公司 BIOS (Basic Input Output System) image file obtaining method and device
CN104731675A (en) * 2015-03-24 2015-06-24 浪潮集团有限公司 Intelligent redundancy backup method for BIOS in server system
CN106528097A (en) * 2016-10-21 2017-03-22 浙江大华技术股份有限公司 Version synchronization method for two pieces of BIOS (Basic Input/ Output System) firmware, and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
OFFICIAL GIGABYTE FORUM: ""BIOS Synchronisation"", 《HTTPS://FORUM.GIGA-BYTE.CO.UK/INDEX.PHP?TOPIC=10304.0》 *
刘后铭,洪福明: "计算机通信网", 《西安电子科技大学出版社》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109117196A (en) * 2018-08-16 2019-01-01 郑州云海信息技术有限公司 A kind of double BIOS starting and bios version compare processing system
CN109117196B (en) * 2018-08-16 2021-08-03 郑州云海信息技术有限公司 Dual-BIOS starting and BIOS version comparison processing system
CN112073790A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 Display device and method for synchronizing starting state between two systems
CN111984296A (en) * 2020-08-27 2020-11-24 苏州浪潮智能科技有限公司 Dual BIOS monitoring system of COMe board card
CN113741921A (en) * 2021-06-11 2021-12-03 深圳市同泰怡信息技术有限公司 Method and device for automatically upgrading double BIOS firmware
CN113849215A (en) * 2021-12-01 2021-12-28 武汉天喻信息产业股份有限公司 Wireless firmware upgrading method and device
CN114253576A (en) * 2021-12-13 2022-03-29 苏州浪潮智能科技有限公司 Method, device, storage medium and equipment for double BIOS mirror image refreshing verification
CN114253576B (en) * 2021-12-13 2024-01-09 苏州浪潮智能科技有限公司 Method, device, storage medium and equipment for dual BIOS mirror image refreshing verification

Similar Documents

Publication Publication Date Title
CN108196858A (en) A kind of double BIOS systems and its implementation based on platform of soaring
CN109510742B (en) Server network card remote test method, device, terminal and storage medium
CN102662701A (en) Online CPLD (Complex Programmable Logic Devices) upgrading method, device and business veneer
CN102855146A (en) Firmware updating system and method
CN111274077A (en) Disk array reliability testing method, system, terminal and storage medium
CN104461402B (en) A kind of method for adjusting disk order under Linux system between multi-controller
CN111176897A (en) Closed BIOS self-repairing method, system, terminal and storage medium
US20150100299A1 (en) Techniques for programming and verifying backplane controller chip firmware
CN100530146C (en) BIOS on-line rewriting method
CN109408088A (en) CPLD upgrade method, device, system and computer readable storage medium
CN117130672A (en) Server start flow control method, system, terminal and storage medium
CN115221015A (en) Hard disk fault early warning method, system, terminal and storage medium
CN118349264A (en) FPGA board card firmware updating method, device, equipment and medium
CN113315675B (en) White box switch U-Boot automatic testing method, system and storage medium
US11586504B2 (en) Electronic apparatus and boot method thereof
CN109933374A (en) A kind of computer starting method
CN108418707A (en) Double mutual online backup upgrade methods of CPLD and service board in communication system
CN109614279B (en) Industrial personal computer self-checking system and control method thereof and related equipment
CN113377425A (en) BMC firmware generation method and device, BMC starting method and device and storage medium
CN108073427B (en) FPGA mirror image loading method and system
CN112463508A (en) Server dormancy state testing method, system, terminal and storage medium
CN111176902A (en) Device and method for backing up Controller Device firmware by using BMC Flash
CN110308939A (en) Information processing method and electronic equipment
CN114816023B (en) Method, system, terminal and storage medium for optimizing standby power function of server
CN109783031A (en) Drive and slot method of calibration, device, terminal and storage medium for RAID card

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
CB03 Change of inventor or designer information

Inventor after: Wang Yongjun

Inventor after: Zhang Duo

Inventor after: Zhang Dongsong

Inventor after: Sun Liming

Inventor after: Zhou Lei

Inventor after: Liu Yihu

Inventor after: Liu Yun

Inventor after: Wei Lifeng

Inventor after: Kong Jinzhu

Inventor before: Wang Yongjun

Inventor before: Wu Qingbo

Inventor before: Zhang Duo

Inventor before: Zhang Dongsong

Inventor before: Sun Liming

Inventor before: Zhou Lei

Inventor before: Liu Yihu

Inventor before: Liu Yun

Inventor before: Wei Lifeng

Inventor before: Kong Jinzhu

CB03 Change of inventor or designer information