CN109446012A - A kind of method for energizing and starting of target component, device and equipment - Google Patents
A kind of method for energizing and starting of target component, device and equipment Download PDFInfo
- Publication number
- CN109446012A CN109446012A CN201811296886.3A CN201811296886A CN109446012A CN 109446012 A CN109446012 A CN 109446012A CN 201811296886 A CN201811296886 A CN 201811296886A CN 109446012 A CN109446012 A CN 109446012A
- Authority
- CN
- China
- Prior art keywords
- target component
- firmware file
- backup
- default
- read
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000004590 computer program Methods 0.000 claims description 9
- 230000010076 replication Effects 0.000 claims description 3
- 230000003213 activating effect Effects 0.000 claims 1
- 230000001771 impaired effect Effects 0.000 abstract description 4
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 241000700605 Viruses Species 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2284—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
This application discloses a kind of method for energizing and starting of target component, are applied to target component, comprising: read the firmware file of pre-stored target component from default Flash after the power-up;Firmware file is run to carry out program load;If program load failure, reads the backup firmware file of pre-stored target component from default backup of memory;Operation backup firmware file loads to complete program.The application can read backup firmware file from default backup of memory after the firmware file in default Flash is impaired and carry out program load, to timely and effectively solve the failure problems of firmware file, it enables target component be restored from failure in time, ensures normal electrifying startup and the safe operation of target component.Disclosed herein as well is electrifying startup device, equipment and the computer readable storage mediums of a kind of target component, equally have above-mentioned beneficial effect.
Description
Technical field
This application involves computer memory technical field, in particular to a kind of method for energizing and starting of target component, device,
Equipment and computer readable storage medium.
Background technique
With the fast development of information technology and network technology, also growed in intensity for the attack of server in recent years,
And the attack to underlying component firmware gradually is extended to from the attack of upper layer software (applications).
There are many critical functions components such as BMC, hard disks on computer motherboard, the required operation of electrifying startup is consolidated
Part file is typically stored in corresponding Flash, as shown in Figure 1.And in the prior art used in Flash general security
It is lower, it is easy to by hacker attack, and then to be tampered data.It is disliked once third party's malice is implanted into the firmware of server component
Meaning code, virus, wooden horse etc., will bring great threat to the electrifying startup of component, so that the service of server refusal, interruption industry
Business, or even be also possible to that server can be enabled to be controlled by hacker from bottom, cause system to entirely collapse.
As it can be seen which kind of electrifying startup technology the target component to server uses, timely and effectively to solve firmware text
Part failure problems ensure the safe operation of target component, are those skilled in the art's technical problems urgently to be resolved.
Summary of the invention
A kind of method for energizing and starting for being designed to provide target component of the application, device, equipment and computer-readable
Storage medium ensures the normal electrifying startup and safety of target component timely and effectively to solve firmware file failure problems
Operation.
In order to solve the above technical problems, the application provides a kind of method for energizing and starting of target component, it is applied to the mesh
Mark component, comprising:
The firmware file of the pre-stored target component is read from default Flash after the power-up;
The firmware file is run to carry out program load;
If program load failure, reads the backup firmware of the pre-stored target component from default backup of memory
File;
The backup firmware file is run to complete program load.
Optionally, after described program load failure, further includes:
Information warning is generated to prompt default Flash described in user to break down.
Optionally, after the operation backup firmware file is to complete program load, further includes:
The backup firmware file is copied in the default Flash.
Optionally, the target component be it is following any one:
BMC, hard disk, network interface card, RAID card.
Optionally, the default backup of memory is CPLD or FPGA.
Optionally, the backup firmware file packet that the pre-stored target component is read from default backup of memory
It includes:
The backup firmware file of the pre-stored target component is read from the EPROM of the default backup of memory.
Present invention also provides a kind of electrifying startup devices of target component, are applied to the target component, comprising:
First read module, for reading the firmware of the pre-stored target component from default Flash after the power-up
File;
First operation module, carries out program load for running the firmware file;
Second read module, for being stored from default backup after the first operation module carries out program load failure
The backup firmware file of the pre-stored target component is read in device;
Second operation module completes program load for running the backup firmware file.
Optionally, further includes:
Replication module loads it for running the backup firmware file in the second operation module to complete program
Afterwards, the backup firmware file is copied in the default Flash.
Present invention also provides a kind of electrifying startup equipment of target component, comprising:
Memory: for storing computer program;
Processor: the electrifying startup of any target component as described above is realized for executing the computer program
The step of method.
Present invention also provides a kind of computer readable storage medium, meter is stored in the computer readable storage medium
Calculation machine program realizes the electrifying startup side of any target component as described above when the computer program is executed by processor
The step of method.
The method for energizing and starting of target component provided herein is applied to the target component, comprising: after the power-up
The firmware file of the pre-stored target component is read from default Flash;The firmware file is run to carry out program
Load;If the backup firmware text of the pre-stored target component is read in program load failure from default backup of memory
Part;The backup firmware file is run to complete program load.
As it can be seen that compared with the prior art, in the method for energizing and starting of target component provided herein, by existing in advance
The backup firmware file of target component is stored in default backup of memory, can after the firmware file in default Flash is impaired from
Backup firmware file is read in default backup of memory and carries out program load, to timely and effectively solve the failure of firmware file
Problem enables target component be restored from failure in time, ensures normal electrifying startup and the safe operation of target component.This Shen
Please provided by electrifying startup device, equipment and the computer readable storage medium of target component above-mentioned target component may be implemented
Method for energizing and starting, equally have above-mentioned beneficial effect.
Detailed description of the invention
In order to illustrate more clearly of the technical solution in the prior art and the embodiment of the present application, below will to the prior art and
Attached drawing to be used is needed to make brief introduction in the embodiment of the present application description.Certainly, in relation to the attached drawing of the embodiment of the present application below
A part of the embodiment in only the application of description is not paying creativeness to those skilled in the art
Under the premise of labour, other attached drawings can also be obtained according to the attached drawing of offer, other accompanying drawings obtained also belong to the application
Protection scope.
Fig. 1 is the storage mode schematic diagram of the firmware file of target component in the prior art;
Fig. 2 is the storage mode schematic diagram of the firmware file of target component provided herein;
Fig. 3 is a kind of flow chart of the method for energizing and starting of target component provided herein;
Fig. 4 is a kind of structural block diagram of the electrifying startup device of target component provided herein.
Specific embodiment
The core of the application is to provide a kind of method for energizing and starting of target component, device, equipment and computer-readable
Storage medium ensures the normal electrifying startup and safety of target component timely and effectively to solve firmware file failure problems
Operation.
In order to which technical solutions in the embodiments of the present application is more clearly and completely described, below in conjunction with this Shen
Please attached drawing in embodiment, technical solutions in the embodiments of the present application is introduced.Obviously, described embodiment is only
Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall in the protection scope of this application.
Referring to FIG. 2, Fig. 2 is the storage mode schematic diagram of the firmware file of target component provided herein.
As shown in Fig. 2, the application is on the basis of existing technology, it is additionally arranged for target component and is equally stored with firmware file
And the default backup of memory being connected with target component, to realize the disaster tolerance in firmware file loading procedure.Specifically, it presets
Backup of memory, which is stored with, presets backup when the firmware file in Flash is unavailable with firmware file identical in Flash
Firmware file in memory can be opened as the load operating in target component is backed up to complete powering on for target component
It is dynamic.
Referring to FIG. 3, Fig. 3 is a kind of flow chart of the method for energizing and starting of target component provided herein, application
In target component, mainly comprise the steps that
S1: the firmware file of pre-stored target component is read from default Flash after the power-up.
S2: firmware file is run to carry out program load.
In the method for energizing and starting of target component provided herein, targeted target component is specifically as follows following
Any one: BMC, hard disk, network interface card, RAID card.
Wherein, BMC (Baseboard Management Controller, baseboard management controller) is substantially one
Based on the embedded OS for the linux system kernel simplified, since BMC chip is volatibility device, i.e., after BMC power down its
The information such as program, variable that inside saves can lose, thus BMC need outside non-volatile device such as Flash etc. save
Program file, the i.e. firmware file of BMC.BMC needs to read and run the firmware file in Flash in each electrifying startup
To carry out the guidance and load of program, starting is completed.Also, considers in autonomous controllable, safe and reliable factor, recommend to use
Domestic BMC.
Certainly, those skilled in the art can also by the application be applied to other target components on, the application to this not
It is defined.
Specifically, after mainboard powers on, target component also carries out electrifying startup.Firstly, target component can be from default Flash
Middle reading firmware file is simultaneously run, to carry out the guidance and load of program.If the firmware file in default Flash is normal, do not have
Have by Tampering attack etc., then target component will successfully carry out program load and guidance, to complete electrifying startup.
S3: if program load failure, reads the backup firmware of pre-stored target component from default backup of memory
File.
S4: operation backup firmware file completes electrifying startup to carry out program load.
Specifically, the application is on the basis of the prior art (utilizing the firmware file of default Flash storage target component),
It is also additionally arranged the default backup of memory connecting with target component, is equally stored with consolidating for target component in default backup of memory
Part file might as well be known as backup firmware file, and under normal circumstances, backup firmware file is with the firmware file in default Flash
It is identical.
When target component is failed using the firmware file loading procedure in default Flash, illustrate consolidating in default Flash
Part file is damaged because of reasons such as hacker attacks, then at this point, target component can transfer from default backup of memory
Backup firmware file is read, to complete electrifying startup using backup firmware file.
Wherein it is preferred to which default backup of memory is CPLD or FPGA.
Specifically, CPLD (Complex Programmable Logic Device, Complex Programmable Logic Devices) or
FPGA (Field-Programmable Gate Array, field programmable gate array) is the higher device of safety, this
Body has anti-read-write protection mechanism, and the more difficult attack of hacker simultaneously distorts the file data wherein stored.
Also, specifically, backup firmware file can be stored in the EPROM of default backup of memory, target component is then
Pre-stored backup firmware file is specifically read from the EPROM of default backup of memory.
As it can be seen that in the method for energizing and starting of target component provided herein, by advance in default backup of memory
The backup firmware file of middle storage target component, can be after the firmware file in default Flash be impaired from default backup of memory
Middle reading backup firmware file carries out program load, to timely and effectively solve the failure problems of firmware file, enables target portion
Part is restored from failure in time, ensures normal electrifying startup and the safe operation of target component.
On the basis of the above, as a kind of preferred embodiment, powering on for target component provided herein is opened
In dynamic method, after program load failure, further includes: generate information warning to prompt user preset Flash to break down.
Specifically, when the firmware file in default Flash can not be normally carried out the guidance and load of program, target component
Corresponding information warning can be generated further to warn user.Described information warning specifically can be with warning lamp, image etc.
Mode shows that the application is not limited thereto.
On the basis of the above, as a kind of preferred embodiment, powering on for target component provided herein is opened
In dynamic method, after operation backup firmware file is to complete program load, further includes: copy to backup firmware file pre-
If in Flash.
It specifically, can also be into after completing electrifying startup using the backup firmware file in default backup of memory
One step copies to backup firmware file in default Flash, and then covers the firmware file being damaged in default Flash, so as to mesh
Mark component can get available firmware file in next electrifying startup from default Flash first.
The electrifying startup device of target component provided herein is introduced below.
Referring to Fig. 4, Fig. 4 is a kind of structural block diagram of the electrifying startup device of target component provided herein;Packet
Include the first read module 1, first operation module 2, the second read module 3 and the second operation module 4;
First read module 1 is used to read the firmware file of pre-stored target component from default Flash after the power-up;
First operation module 2 is for running firmware file to carry out program load;
Second read module 3 is used for after the first operation module 2 carries out program load failure, from default backup of memory
Read the backup firmware file of pre-stored target component;
Second operation module 4 completes program load for running backup firmware file.
Wherein, as a kind of specific embodiment, target component be it is following any one: BMC, hard disk, network interface card, RAID card.
Preferably, presetting backup of memory is CPLD or FPGA;Also, the second read module 3 is specifically used for from default
The backup firmware file of pre-stored target component is read in the EPROM of backup of memory.
On the basis of the above, as a kind of preferred embodiment, powering on for target component provided herein is opened
Dynamic device further includes alarm module, for generating information warning to prompt after the first operation module 1 carries out program load failure
User preset Flash breaks down.
On the basis of the above, as a kind of preferred embodiment, powering on for target component provided herein is opened
Dynamic device further includes replication module, for second operation module 4 run backup firmware file so as to complete program load after,
Backup firmware file is copied in default Flash.
As it can be seen that the electrifying startup device of target component provided herein, by advance in default backup of memory
The backup firmware file of target component is stored, it can be after the firmware file in default Flash be impaired from default backup of memory
It reads backup firmware file and carries out program load, to timely and effectively solve the failure problems of firmware file, enable target component
Restored from failure in time, ensures normal electrifying startup and the safe operation of target component.
Present invention also provides a kind of electrifying startup equipment of target component, comprising:
Memory: for storing computer program;
Processor: the electrifying startup of any target component as described above is realized for executing the computer program
The step of method.
Present invention also provides a kind of computer readable storage medium, meter is stored in the computer readable storage medium
Calculation machine program realizes the electrifying startup side of any target component as described above when the computer program is executed by processor
The step of method.
The specific reality of the electrifying startup device of target component provided herein, equipment and computer readable storage medium
Reference can be corresponded to each other with the method for energizing and starting of target component as described above by applying mode, just be repeated no more here.
Each embodiment is described in a progressive manner in the application, the highlights of each of the examples are with other realities
The difference of example is applied, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment
Speech, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part illustration
?.
It should be noted that in present specification, the relational terms of such as " first " and " second " etc are used merely to
One entity or operation and another entity or operate is distinguished, without necessarily requiring or implying these entities or
There are any actual relationship or orders between person's operation.In addition, the terms "include", "comprise" or its any other
Variant is intended to non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only
It including those elements, but also including other elements that are not explicitly listed, or further include for this process, method, object
Product or the intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...",
It is not precluded in the process, method, article or apparatus that includes the element that there is also other identical elements.
Technical solution provided herein is described in detail above.Specific case used herein is to this Shen
Principle and embodiment please is expounded, the present processes that the above embodiments are only used to help understand and its
Core concept.It should be pointed out that for those skilled in the art, in the premise for not departing from the application principle
Under, can also to the application, some improvement and modification can also be carried out, these improvement and modification also fall into the protection of the claim of this application
In range.
Claims (10)
1. a kind of method for energizing and starting of target component, which is characterized in that be applied to the target component, comprising:
The firmware file of the pre-stored target component is read from default Flash after the power-up;
The firmware file is run to carry out program load;
If the backup firmware text of the pre-stored target component is read in program load failure from default backup of memory
Part;
The backup firmware file is run to complete program load.
2. method for energizing and starting according to claim 1, which is characterized in that after described program load failure, further includes:
Information warning is generated to prompt default Flash described in user to break down.
3. method for energizing and starting according to claim 1, which is characterized in that the operation backup firmware file with
Just after the load of completion program, further includes:
The backup firmware file is copied in the default Flash.
4. method for energizing and starting according to claim 3, which is characterized in that the target component be it is following any one:
BMC, hard disk, network interface card, RAID card.
5. method for energizing and starting according to any one of claims 1 to 4, which is characterized in that the default backup of memory
For CPLD or FPGA.
6. method for energizing and starting according to claim 5, which is characterized in that described to be read in advance from default backup of memory
The backup firmware file of the target component of storage includes:
The backup firmware file of the pre-stored target component is read from the EPROM of the default backup of memory.
7. a kind of electrifying startup device of target component, which is characterized in that be applied to the target component, comprising:
First read module, for reading the firmware file of the pre-stored target component from default Flash after the power-up;
First operation module, carries out program load for running the firmware file;
Second read module is used for after the first operation module carries out program load failure, from default backup of memory
Read the backup firmware file of the pre-stored target component;
Second operation module completes program load for running the backup firmware file.
8. electrifying startup device as claimed in claim 7, which is characterized in that further include:
Replication module, for after the second operation module runs the backup firmware file to complete program load,
The backup firmware file is copied in the default Flash.
9. a kind of electrifying startup equipment of target component characterized by comprising
Memory: for storing computer program;
Processor: for executing the computer program to realize such as target component as claimed in any one of claims 1 to 6
The step of electrically activating method.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium
Program realizes powering on such as target component as claimed in any one of claims 1 to 6 when the computer program is executed by processor
The step of starting method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811296886.3A CN109446012A (en) | 2018-11-01 | 2018-11-01 | A kind of method for energizing and starting of target component, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811296886.3A CN109446012A (en) | 2018-11-01 | 2018-11-01 | A kind of method for energizing and starting of target component, device and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109446012A true CN109446012A (en) | 2019-03-08 |
Family
ID=65550258
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811296886.3A Withdrawn CN109446012A (en) | 2018-11-01 | 2018-11-01 | A kind of method for energizing and starting of target component, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109446012A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110096300A (en) * | 2019-04-08 | 2019-08-06 | 上海赛治信息技术有限公司 | A kind of fpga program file backup management system, operation method and upgrade method |
CN113064757A (en) * | 2021-03-26 | 2021-07-02 | 山东英信计算机技术有限公司 | Server firmware self-recovery system and server |
CN114430565A (en) * | 2020-10-15 | 2022-05-03 | 大唐移动通信设备有限公司 | Starting method and device of equipment and storage medium |
CN115113949A (en) * | 2022-06-29 | 2022-09-27 | 苏州忆联信息系统有限公司 | Method for improving chip starting reliability and solid state disk thereof |
CN117743201A (en) * | 2020-01-22 | 2024-03-22 | 赛普拉斯半导体公司 | Memory device recoverable from network attacks and faults |
-
2018
- 2018-11-01 CN CN201811296886.3A patent/CN109446012A/en not_active Withdrawn
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110096300A (en) * | 2019-04-08 | 2019-08-06 | 上海赛治信息技术有限公司 | A kind of fpga program file backup management system, operation method and upgrade method |
CN110096300B (en) * | 2019-04-08 | 2023-03-14 | 上海赛治信息技术有限公司 | FPGA program file backup management system, operation method and upgrading method |
CN117743201A (en) * | 2020-01-22 | 2024-03-22 | 赛普拉斯半导体公司 | Memory device recoverable from network attacks and faults |
CN114430565A (en) * | 2020-10-15 | 2022-05-03 | 大唐移动通信设备有限公司 | Starting method and device of equipment and storage medium |
CN114430565B (en) * | 2020-10-15 | 2023-10-17 | 大唐移动通信设备有限公司 | Method and device for starting equipment and storage medium |
CN113064757A (en) * | 2021-03-26 | 2021-07-02 | 山东英信计算机技术有限公司 | Server firmware self-recovery system and server |
CN115113949A (en) * | 2022-06-29 | 2022-09-27 | 苏州忆联信息系统有限公司 | Method for improving chip starting reliability and solid state disk thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109446012A (en) | A kind of method for energizing and starting of target component, device and equipment | |
EP3494471B1 (en) | Systems and methods for secure recovery of host system code | |
EP2989579B1 (en) | Redundant system boot code in a secondary non-volatile memory | |
US11036863B2 (en) | Validating an image using an embedded hash in an information handling system | |
US20190042754A1 (en) | Authenticating a boot path update | |
US10949539B2 (en) | Systems and methods for secure boot and runtime tamper detection | |
US10540501B2 (en) | Recovering an information handling system from a secure boot authentication failure | |
US9858421B2 (en) | Systems and methods for detecting hardware tampering of information handling system hardware | |
CN104572168A (en) | BIOS (Basic Input/Output System) self-updating protection system and BIOS self-updating protection method | |
TW201506788A (en) | Secure boot override in a computing device equipped with unified-extensible firmware interface (UEFI)-compliant firmware | |
CN105122258A (en) | Configuring a system | |
CN106716333B (en) | Method for completing secure erase operation | |
KR102195344B1 (en) | Security system and method for computer using usb storage medium | |
CN105683910A (en) | Systems and methods for updating system-level services within read-only system images | |
US9659171B2 (en) | Systems and methods for detecting tampering of an information handling system | |
US11422901B2 (en) | Operating system repairs via recovery agents | |
CN110069361A (en) | Method and device for TPM (trusted platform Module) failover | |
JP2016126746A (en) | System and method for erasing storage medium | |
CN102880828A (en) | Intrusion detection and recovery system aiming at virtualization support environment | |
TW202131170A (en) | Firmware corruption recovery | |
CN106843764B (en) | Method and system for creating soft independent redundant disk array | |
CN112955889A (en) | Safe starting device and method | |
CN113330436A (en) | Firmware subsystem recovery based on manufacturing state | |
CN105183508B (en) | The monitoring method and intelligent terminal of application program in containment system | |
CN104573511A (en) | Method and system for searching and killing Rootkit virus |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190308 |
|
WW01 | Invention patent application withdrawn after publication |