CN110347414A - Firmware update, device, equipment and computer readable storage medium - Google Patents

Firmware update, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN110347414A
CN110347414A CN201910636188.1A CN201910636188A CN110347414A CN 110347414 A CN110347414 A CN 110347414A CN 201910636188 A CN201910636188 A CN 201910636188A CN 110347414 A CN110347414 A CN 110347414A
Authority
CN
China
Prior art keywords
firmware
target version
firmware update
server
chip
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
CN201910636188.1A
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.)
Xian Yep Telecommunication Technology Co Ltd
Original Assignee
Xian Yep Telecommunication 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 Xian Yep Telecommunication Technology Co Ltd filed Critical Xian Yep Telecommunication Technology Co Ltd
Priority to CN201910636188.1A priority Critical patent/CN110347414A/en
Publication of CN110347414A publication Critical patent/CN110347414A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

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

Abstract

The embodiment of the present invention provides a kind of firmware update, device, equipment and computer readable storage medium, this method comprises: the firmware update instruction that receiving control apparatus is sent, wherein, the mark and store path of the target version firmware of the firmware update instruction comprising chip to be updated, the store path are the store path of the target version firmware in the server;According to the mark of the target version firmware and the store path, the target version firmware is obtained from the server, wherein multiple target version firmwares are stored in the server;Firmware update is carried out to the chip to be updated according to the target version firmware.The step of embodiment of the present invention can be reduced during firmware update, improves the efficiency of firmware update.

Description

Firmware update, device, equipment and computer readable storage medium
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of firmware update, device, equipment and meters Calculation machine readable storage medium storing program for executing.
Background technique
The firmware of chip refers to the driver that chip interior saves.It is quick with server system and semiconductor technology The firmware needs of development, some chips are continuously updated upgrading to meet the needs of users.
In the prior art, when carrying out firmware update to the chip in server, operator passes through controlling terminal to clothes The BMC (Baseboard Management Controller, baseboard management controller) being engaged in device sends new version firmware, BMC Firmware update is carried out to chip after receiving new version firmware.
However in the prior art, it needs to carry out firmware update or server in a large amount of servers there are a large amount of chip needs When carrying out firmware update, operator needs to operate controlling terminal and sends each new version firmware to BMC respectively, cumbersome, Update low efficiency.
Summary of the invention
The embodiment of the present invention provides a kind of firmware update, device, equipment and computer readable storage medium, to solve Firmware update updates the problem of low efficiency at present.
In a first aspect, the embodiment of the present invention provides a kind of firmware update, it is applied to baseboard management controller, comprising:
The firmware update instruction that receiving control apparatus is sent, wherein the firmware update instruction includes chip to be updated The mark and store path of target version firmware, the store path are the storage road of the target version firmware in the server Diameter;
According to the mark of the target version firmware and the store path, the target version is obtained from the server This firmware, wherein multiple target version firmwares are stored in the server;
Firmware update is carried out to the chip to be updated according to the target version firmware.
In a kind of possible embodiment, the firmware update instruction also includes the address of the server;
In the mark according to the target version firmware and the store path, from the server described in acquisition Before target version firmware, the method also includes:
According to the address of the server, communication link is established by Simple File Transfer Protocol TFTP and the server It connects.
It is described that the chip to be updated is consolidated according to the target version firmware in a kind of possible embodiment Part updates, comprising:
The chip to be updated is written into the target version firmware;
If being written successfully, it is determined that firmware update success;
If write-in failure, the number and write-in failure information of write-in failure are recorded, and be less than in the number of write-in failure When preset times threshold value, the chip to be updated is written into the target version firmware again;It is equal in the number of write-in failure When the preset times threshold value, determine that firmware update fails, and stop being written.
In a kind of possible embodiment, it is described by the target version firmware be written the chip to be updated it Before, the method also includes:
Original version firmware is read from the chip to be updated, and the original version firmware is backed up;
After the determining firmware update failure, the method also includes:
The chip to be updated is written into the original version firmware of backup.
In a kind of possible embodiment, after the determining firmware update success, the method also includes:
The successful information of firmware update is recorded in log, and deletes the original version firmware of backup.
Second aspect, the embodiment of the present invention provide a kind of firmware updating device, are applied to baseboard management controller, comprising:
Receiving module, the firmware update instruction sent for receiving control apparatus, wherein the firmware update, which instructs, includes The mark and store path of the target version firmware of chip to be updated, the store path are that the target version firmware is servicing Store path in device;
Obtain module, for according to the target version firmware mark and the store path, from the server Obtain the target version firmware, wherein multiple target version firmwares are stored in the server;
Update module, for carrying out firmware update to the chip to be updated according to the target version firmware.
In a kind of possible embodiment, the firmware update instruction also includes the address of the server, the dress Setting further includes communication module;The communication module, is used for:
According to the address of the server, communication link is established by Simple File Transfer Protocol TFTP and the server It connects.
In a kind of possible embodiment, the update module is used for:
The chip to be updated is written into the target version firmware;
If being written successfully, it is determined that firmware update success;
If write-in failure, the number and write-in failure information of write-in failure are recorded, and be less than in the number of write-in failure When preset times threshold value, the chip to be updated is written into the target version firmware again;It is equal in the number of write-in failure When the preset times threshold value, determine that firmware update fails, and stop being written.
In a kind of possible embodiment, the update module is also used to:
Before the chip to be updated is written in the target version firmware, read from the chip to be updated original Version firmware backs up the original version firmware;
After determining firmware update failure, the chip to be updated is written into the original version firmware of backup.
In a kind of possible embodiment, the update module is also used to:
After determining firmware update success, the successful information of firmware update is recorded in log, and delete backup Original version firmware.
The third aspect, the embodiment of the present invention provide a kind of firmware update equipment, comprising: at least one processor and storage Device;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of memory storage so that it is described at least one Processor executes firmware update described in the various possible embodiments of first aspect and first aspect as above.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, the computer-readable storage medium Computer executed instructions are stored in matter, when processor execute the computer executed instructions when, realize first aspect as above with And firmware update described in the various possible embodiments of first aspect.
Firmware update, device, equipment and computer readable storage medium provided in this embodiment are controlled by receiving Equipment send firmware update instruction, wherein firmware update instruction comprising chip to be updated target version firmware mark and Store path, store path are the store path of target version firmware in the server;According to the mark of the target version firmware Knowledge and store path, obtain the target version firmware from server, wherein it is solid that multiple target versions are stored in server Part;Firmware update is carried out to the chip to be updated according to the target version firmware, enables baseboard management controller according to firmware More new command obtains corresponding target version firmware from server automatically and is updated, and operator does not need through control eventually The step of holding to baseboard management controller and send firmware, capable of reducing during firmware update, improves the efficiency of firmware update.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow diagram for the firmware update that one embodiment of the invention provides;
Fig. 2 is the flow diagram for the firmware update that further embodiment of this invention provides;
Fig. 3 be another embodiment of the present invention provides firmware update flow diagram;
Fig. 4 is the structural schematic diagram for the firmware updating device that one embodiment of the invention provides;
Fig. 5 is the structural schematic diagram for the firmware updating device that further embodiment of this invention provides;
Fig. 6 is the hardware structural diagram for the firmware update equipment that one embodiment of the invention provides.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 is the flow diagram for the firmware update that one embodiment of the invention provides.As shown in Figure 1, this method packet It includes:
The firmware update instruction that S101, receiving control apparatus are sent, wherein the firmware update instruction includes core to be updated The mark and store path of the target version firmware of piece, the store path are the target version firmware depositing in the server Store up path.
In the present embodiment, chip to be updated is the chip for needing to carry out firmware update in equipment.Wherein, equipment can be Server, terminal device etc., are not limited thereto.For example, chip to be updated can be the CPLD (Complex in equipment Programmable Logic Device, Complex Programmable Logic Devices), PSoC (Programmable System on Chip, programmable systemonchip), BIOS (Basic Input Output System, basic input output system) etc., It is not limited thereto.
Carrying out firmware update to chip to be updated in the present embodiment is by the firmware of chip to be updated by current original version This firmware update is target version firmware.The target version firmware of chip to be updated can be saved in advance and be used to store firmware Server in, and record the store path of target version firmware in the server.
Program can be controlled according to the control instruction or preset update that user inputs by controlling equipment, and generation is carried to more The mark of the target version firmware of new chip and the instruction of the firmware update of store path, and by firmware update instruction be sent to The BMC of more new equipment.The BMC of equipment to be updated receives firmware update instruction.Wherein, control equipment can for can with to The terminal device that the BMC of more new equipment is communicated, is not limited thereto.
Optionally, when number of devices to be updated is larger, the BMC of all equipment to be updated can be identified and be led by user Enter to control equipment.Equipment batch scanning BMC mark is controlled, then corresponding BMC transmission firmware update is identified to each BMC and refers to It enables.
S102, the mark according to the target version firmware and the store path, from the server described in acquisition Target version firmware, wherein multiple target version firmwares are stored in the server.
In the present embodiment, multiple target version firmwares are stored in server.Wherein, multiple target version firmwares can be with Any situation in including but not limited to following: the firmware of the different editions of same chip to be updated, same equipment not same core The firmware of piece, the firmware etc. of the chip of distinct device, is not limited thereto.
BMC can be communicated with the server of storage firmware, by mark and store path comprising target version firmware Request be sent to the server, then server finds target version firmware according to the store path of target version firmware Storage location extracts the corresponding target version firmware of mark from the storage location according to the mark of target version firmware, and will The target version firmware returns to BMC.
S103, firmware update is carried out to the chip to be updated according to the target version firmware.
In the present embodiment, after BMC gets target version firmware, firmware update can be carried out to chip to be updated.
The embodiment of the present invention is instructed by the firmware update that receiving control apparatus is sent, wherein firmware update, which instructs, includes The mark and store path of the target version firmware of chip to be updated, store path be the target version firmware in the server Store path;According to the mark and store path of the target version firmware, the target version firmware is obtained from server, In, multiple target version firmwares are stored in server;Firmware is carried out more to the chip to be updated according to the target version firmware Newly, enable baseboard management controller according to firmware update instruction obtained from server automatically corresponding target version firmware into Row updates, and operator does not need to send firmware to baseboard management controller by controlling terminal, can reduce firmware update mistake Step in journey improves the efficiency of firmware update.
Optionally, the firmware update instruction also includes the address of the server;
In the mark according to the target version firmware and the store path, from the server described in acquisition Before target version firmware, the method also includes:
According to the address of the server, communication link is established by Simple File Transfer Protocol TFTP and the server It connects.
In the present embodiment, the mark of target version firmware of the firmware update instruction comprising chip to be updated and storage road The address of diameter and server.After BMC receives firmware update instruction, pass through TFTP (Trivial File Transfer Protocol, Simple File Transfer Protocol) corresponding with address server is communicatively coupled, target version is obtained from server This firmware.
For example, BMC can be with preset configuration TFTP client.The server for storing firmware is tftp server.BMC is being received To after firmware update instruction, TFTP client can be called to send to tftp server and requested, mesh is obtained from tftp server Mark version firmware.
Fig. 2 is the flow diagram for the firmware update that further embodiment of this invention provides.The present embodiment is to according to mesh The specific implementation process that mark version firmware carries out firmware update to chip to be updated is described in detail.As shown in Fig. 2, the party Method includes:
The firmware update instruction that S201, receiving control apparatus are sent, wherein the firmware update instruction includes core to be updated The mark and store path of the target version firmware of piece, the store path are the target version firmware depositing in the server Store up path.
S201 is similar with the S101 in Fig. 1 embodiment in the present embodiment, and details are not described herein again.
S202, the mark according to the target version firmware and the store path, from the server described in acquisition Target version firmware, wherein multiple target version firmwares are stored in the server.
S202 is similar with the S102 in Fig. 1 embodiment in the present embodiment, and details are not described herein again.
S203, the chip to be updated is written into the target version firmware.
If S204, being written successfully, it is determined that firmware update success.
In the present embodiment, target version firmware is written to chip to be updated in BMC, if being written successfully, it is determined that this time solid Part is updated successfully.Wherein, it may include the generation that target version firmware is saved in chip to be updated that successful decision condition, which is written, Code storage region, and chip to be updated is able to carry out the target version firmware and realizes corresponding function.
If S205, write-in failure, the number and write-in failure information of write-in failure are recorded, and in the number of write-in failure When less than preset times threshold value, the chip to be updated is written into the target version firmware again;In the number of write-in failure When equal to the preset times threshold value, determine that firmware update fails, and stop being written.
In the present embodiment, if write-in failure, the number of BMC record write-in failure, then by the number of write-in failure It is compared with preset times threshold value.If the number of write-in failure is less than preset times threshold value, again attempt to be written;If The number of write-in failure is equal to preset times threshold value, it is determined that firmware update failure, and be no longer attempt to be written.Wherein, write-in is lost The decision condition lost may include the code storage region that target version firmware is not saved in successfully chip to be updated, or After target version firmware is saved in the code storage region of chip to be updated, it is solid that chip to be updated can not execute the target version Part realizes corresponding function.When failure is written, other than the number of record write-in failure, write-in can also be recorded and unsuccessfully believed Breath, wherein write-in failure information can include but is not limited to time and the failure cause of this time write-in failure.By to write-in The record of failure information, can be convenient subsequent when positioning to firmware update failure, determine firmware according to write-in failure information The failure cause for updating failure, to be adjusted using strategy corresponding with failure cause to firmware update process or parameter etc. It is whole, to improve the success rate of subsequent firmware update.Specifically strategy corresponding with failure cause can determine according to actual needs, It is not limited thereto.
Preset times threshold value can be set according to actual needs, such as can be set to 3, and 5 etc., it is not limited thereto. By taking preset times threshold value is set as 3 as an example, if continually attempting to 3 write-ins, target version firmware is not all successfully written to be updated Chip is then no longer attempted, and is determined and is updated failure.
Optionally, if write-in failure, the number and write-in failure information of write-in failure are recorded, and failed regeneration prompt refers to It enables, the failure warning light of equipment is switched to illuminating state where controlling BMC by failure hint instructions.The present embodiment loses in write-in Corresponding failure warning light is lighted when losing by failure hint instructions, can prompt related personnel that failure is this time written.
In the present embodiment, preset times threshold value adjusts the number of attempt of BMC convenient for operator according to actual needs, thus Take into account the efficiency of firmware update and the stability of firmware update.
Fig. 3 be another embodiment of the present invention provides firmware update flow diagram.The present embodiment is to according to mesh The specific implementation process that mark version firmware carries out firmware update to chip to be updated is described in detail.As shown in figure 3, the party Method includes:
The firmware update instruction that S301, receiving control apparatus are sent, wherein the firmware update instruction includes core to be updated The mark and store path of the target version firmware of piece, the store path are the target version firmware depositing in the server Store up path.
S301 is similar with the S101 in Fig. 1 embodiment in the present embodiment, and details are not described herein again.
S302, the mark according to the target version firmware and the store path, from the server described in acquisition Target version firmware, wherein multiple target version firmwares are stored in the server.
S302 is similar with the S102 in Fig. 1 embodiment in the present embodiment, and details are not described herein again.
S303, original version firmware is read from the chip to be updated, the original version firmware is backed up.
In the present embodiment, BMC reads the original version firmware in chip to be updated first, and original version firmware is carried out Backup saves.Chip to be updated is written after saving to original version firmware, then by target version component.
S304, the chip to be updated is written into the target version firmware.
If S305, being written successfully, it is determined that firmware update success.
S305 is similar with the S204 in Fig. 2 embodiment in the present embodiment, and details are not described herein again.
Optionally, after the determining firmware update success, the method also includes:
The successful information of firmware update is recorded in log, and deletes the original version firmware of backup.
In the present embodiment, after determining firmware update success, day can be recorded in the successful information of firmware update by BMC In will, so that relevant information of the subsequent operation personnel to firmware update is inquired.Wherein, the successful information of firmware update can be with Including the successful version identifier of firmware update and firmware update successful time etc..Also, after determining firmware update success, The original version firmware of backup is deleted, to discharge the occupied memory space of original version firmware of backup.
Optionally, after determining firmware update success, the successful message of firmware update actively can be sent to control equipment, With prompt operator's firmware update success, or receive control equipment send inquiry request after, by firmware update at The message of function returns to control equipment.
If S306, write-in failure, the number and write-in failure information of write-in failure are recorded, and in the number of write-in failure When less than preset times threshold value, the chip to be updated is written into the target version firmware again;In the number of write-in failure When equal to the preset times threshold value, determine that firmware update fails, and stop being written.
S306 is similar with the S205 in Fig. 2 embodiment in the present embodiment, and details are not described herein again.
S307, after determining firmware update failure, the chip to be updated is written into the original version firmware of backup.
In the present embodiment, BMC can re-write the original version firmware of backup after determining firmware update failure Into chip to be updated, to guarantee that chip to be updated can operate normally.
Traditional firmware update mode cannot achieve its function since chip to be updated lacks firmware after updating failure, Will lead to equipment cannot be started up, and can not can only will be set by staff again by the way of remotely updating if updating failure Chip to be updated taking-up in standby is updated offline, complicated for operation, time-consuming and laborious, inefficiency.And the present embodiment by Original version firmware is backed up before firmware update, the firmware of chip is reverted back into original version if updating failure and is consolidated Part guarantees the normal operation of equipment, avoids the problem that equipment caused by due to updating failure cannot be started up, improves firmware update Stability.
Optionally, BMC can send the first instruction of equipment where instruction control is opened after determining firmware update success Lamp;BMC can send the second indicator light of equipment where instruction control is opened after determining firmware update failure.Pass through equipment The state of corresponding indicator light is gone up to show update result.
For the present embodiment using BMC as main control end, BMC goes server to grab phase automatically after receiving remote firmware more new command The target version firmware answered simultaneously updates, and ensures the stability of firmware update in renewal process by multiple design, to the maximum extent Prevent because update unsuccessfully cause equipment can not normal use, can be improved the efficiency of batch firmware update, improve firmware update Reliability and stability.
The embodiment of the present invention is instructed by the firmware update that receiving control apparatus is sent, wherein firmware update, which instructs, includes The mark and store path of the target version firmware of chip to be updated, store path be the target version firmware in the server Store path;According to the mark and store path of the target version firmware, the target version firmware is obtained from server, In, multiple target version firmwares are stored in server;Firmware is carried out more to the chip to be updated according to the target version firmware Newly, enable baseboard management controller according to firmware update instruction obtained from server automatically corresponding target version firmware into Row updates, and operator does not need to send firmware to baseboard management controller by controlling terminal, can reduce firmware update mistake Step in journey improves the efficiency of firmware update.
Fig. 4 is the structural schematic diagram for the firmware updating device that one embodiment of the invention provides.As shown in figure 4, the firmware is more New equipment 40 includes: receiving module 401, obtains module 402 and update module 403.
Receiving module 401, the firmware update instruction sent for receiving control apparatus, wherein the firmware update instruction The mark and store path of target version firmware comprising chip to be updated, the store path are that the target version firmware exists Store path in server.
Obtain module 402, for according to the target version firmware mark and the store path, from the server It is middle to obtain the target version firmware, wherein multiple target version firmwares are stored in the server.
Update module 403, for carrying out firmware update to the chip to be updated according to the target version firmware.
The embodiment of the present invention is instructed by the firmware update that receiving module receiving control apparatus is sent, wherein firmware update The mark and store path of target version firmware of the instruction comprising chip to be updated, store path are that the target version firmware is taking The store path being engaged in device;Module is obtained according to the mark and store path of the target version firmware, obtaining from server should Target version firmware, wherein multiple target version firmwares are stored in server;Update module is according to the target version firmware pair The chip to be updated carries out firmware update, and baseboard management controller is enable to be obtained from server automatically according to firmware update instruction Corresponding target version firmware is taken to be updated, operator does not need to send by controlling terminal to baseboard management controller solid Part improves the efficiency of firmware update the step of capable of reducing during firmware update.
Fig. 5 is the structural schematic diagram for the firmware updating device that further embodiment of this invention provides.As shown in figure 5, this implementation It can also include: logical on the basis of the firmware updating device that the embodiment shown in Fig. 4 of firmware updating device 40 that example provides provides Believe module 404.
Optionally, the firmware update instruction also includes the address of the server, and the communication module 404 is used for:
According to the address of the server, communication link is established by Simple File Transfer Protocol TFTP and the server It connects.
Optionally, the update module 403, is used for:
The chip to be updated is written into the target version firmware;
If being written successfully, it is determined that firmware update success;
If write-in failure, the number and write-in failure information of write-in failure are recorded, and be less than in the number of write-in failure When preset times threshold value, the chip to be updated is written into the target version firmware again;It is equal in the number of write-in failure When the preset times threshold value, determine that firmware update fails, and stop being written.
Optionally, the update module 403, is also used to:
Before the chip to be updated is written in the target version firmware, read from the chip to be updated original Version firmware backs up the original version firmware;
After determining firmware update failure, the chip to be updated is written into the original version firmware of backup.
Optionally, the update module 403, is also used to:
After determining firmware update success, the successful information of firmware update is recorded in log, and delete backup Original version firmware.
Firmware updating device provided in an embodiment of the present invention can be used for executing above-mentioned embodiment of the method, realization principle Similar with technical effect, details are not described herein again for the present embodiment.
Fig. 6 is the hardware structural diagram for the firmware update equipment that one embodiment of the invention provides.As shown in fig. 6, this reality The firmware update equipment 60 for applying example offer includes: at least one processor 601 and memory 602.The firmware update equipment 60 is also Including communication component 603.Wherein, processor 601, memory 602 and communication component 603 are connected by bus 604.
During specific implementation, at least one processor 601 executes the computer execution that the memory 602 stores and refers to It enables, so that at least one processor 601 executes firmware update as above.
The specific implementation process of processor 601 can be found in above method embodiment, and it is similar that the realization principle and technical effect are similar, Details are not described herein again for the present embodiment.
In above-mentioned embodiment shown in fig. 6, it should be appreciated that processor can be central processing unit (English: Central Processing Unit, referred to as: CPU), can also be other general processors, digital signal processor (English: Digital Signal Processor, referred to as: DSP), specific integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC) etc..General processor can be microprocessor or the processor is also possible to Any conventional processor etc..Hardware processor can be embodied directly in conjunction with the step of invention disclosed method to have executed At, or in processor hardware and software module combination execute completion.
Memory may include high speed RAM memory, it is also possible to and it further include non-volatile memories NVM, for example, at least one Magnetic disk storage.
Bus can be industry standard architecture (Industry Standard Architecture, ISA) bus, outer Portion's apparatus interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, EISA) bus etc..Bus can be divided into address bus, data/address bus, control Bus etc..For convenient for indicating, the bus in illustrations does not limit only a bus or a type of bus.
The application also provides a kind of computer readable storage medium, and calculating is stored in the computer readable storage medium Machine executes instruction, and when processor executes the computer executed instructions, realizes firmware update as above.
Above-mentioned computer readable storage medium, above-mentioned readable storage medium storing program for executing can be by any kind of volatibility or non- Volatile storage devices or their combination realize that, such as static random access memory (SRAM), electrically erasable is only It reads memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM) is read-only to deposit Reservoir (ROM), magnetic memory, flash memory, disk or CD.Readable storage medium storing program for executing can be general or specialized computer capacity Any usable medium enough accessed.
A kind of illustrative readable storage medium storing program for executing is coupled to processor, to enable a processor to from the readable storage medium storing program for executing Information is read, and information can be written to the readable storage medium storing program for executing.Certainly, readable storage medium storing program for executing is also possible to the composition portion of processor Point.Processor and readable storage medium storing program for executing can be located at specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC) in.Certainly, processor and readable storage medium storing program for executing can also be used as discrete assembly and be present in equipment In.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of firmware update, which is characterized in that be applied to baseboard management controller, comprising:
The firmware update instruction that receiving control apparatus is sent, wherein the firmware update instruction includes the target of chip to be updated The mark and store path of version firmware, the store path are the store path of the target version firmware in the server;
According to the mark of the target version firmware and the store path, it is solid that the target version is obtained from the server Part, wherein multiple target version firmwares are stored in the server;
Firmware update is carried out to the chip to be updated according to the target version firmware.
2. the method according to claim 1, wherein firmware update instruction also includes the ground of the server Location;
In the mark according to the target version firmware and the store path, the target is obtained from the server Before version firmware, the method also includes:
According to the address of the server, is established and communicated to connect by Simple File Transfer Protocol TFTP and the server.
3. method according to claim 1 or 2, which is characterized in that it is described according to the target version firmware to it is described to More new chip carries out firmware update, comprising:
The chip to be updated is written into the target version firmware;
If being written successfully, it is determined that firmware update success;
If write-in failure, the number and write-in failure information of write-in failure are recorded, and is less than in the number of write-in failure and presets When frequency threshold value, the chip to be updated is written into the target version firmware again;It is equal in the number of write-in failure described When preset times threshold value, determine that firmware update fails, and stop being written.
4. according to the method described in claim 3, it is characterized in that, described that target version firmware write-in is described to more Before new chip, the method also includes:
Original version firmware is read from the chip to be updated, and the original version firmware is backed up;
After the determining firmware update failure, the method also includes:
The chip to be updated is written into the original version firmware of backup.
5. according to the method described in claim 3, it is characterized in that, after the determining firmware update success, the method Further include:
The successful information of firmware update is recorded in log, and deletes the original version firmware of backup.
6. a kind of firmware updating device, which is characterized in that be applied to baseboard management controller, comprising:
Receiving module, the firmware update instruction sent for receiving control apparatus, wherein the firmware update instruction is comprising to more The mark and store path of the target version firmware of new chip, the store path be the target version firmware in the server Store path;
Obtain module, for according to the target version firmware mark and the store path, obtained from the server The target version firmware, wherein multiple target version firmwares are stored in the server;
Update module, for carrying out firmware update to the chip to be updated according to the target version firmware.
7. device according to claim 6, which is characterized in that the firmware update instruction also includes the ground of the server Location, described device further include communication module;The communication module, is used for:
According to the address of the server, is established and communicated to connect by Simple File Transfer Protocol TFTP and the server.
8. device according to claim 6 or 7, which is characterized in that the update module is used for:
The chip to be updated is written into the target version firmware;
If being written successfully, it is determined that firmware update success;
If write-in failure, the number and write-in failure information of write-in failure are recorded, and is less than in the number of write-in failure and presets When frequency threshold value, the chip to be updated is written into the target version firmware again;It is equal in the number of write-in failure described When preset times threshold value, determine that firmware update fails, and stop being written.
9. a kind of firmware update equipment characterized by comprising at least one processor and memory;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of the memory storage, so that at least one described processing Device executes such as firmware update described in any one of claim 1 to 5.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium It executes instruction, when processor executes the computer executed instructions, realizes such as firmware described in any one of claim 1 to 5 Update method.
CN201910636188.1A 2019-07-15 2019-07-15 Firmware update, device, equipment and computer readable storage medium Pending CN110347414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910636188.1A CN110347414A (en) 2019-07-15 2019-07-15 Firmware update, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910636188.1A CN110347414A (en) 2019-07-15 2019-07-15 Firmware update, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN110347414A true CN110347414A (en) 2019-10-18

Family

ID=68176231

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910636188.1A Pending CN110347414A (en) 2019-07-15 2019-07-15 Firmware update, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110347414A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955446A (en) * 2019-11-08 2020-04-03 苏州浪潮智能科技有限公司 CPLD firmware updating method, system and device
CN111381850A (en) * 2020-02-21 2020-07-07 苏州浪潮智能科技有限公司 BIOS firmware upgrading method, device, equipment and medium
CN111399871A (en) * 2020-02-28 2020-07-10 苏州浪潮智能科技有限公司 System updating method, device, equipment and medium for HBA card
CN111399888A (en) * 2020-03-11 2020-07-10 北京百度网讯科技有限公司 Processing method and device of audio processing chip and electronic equipment
CN111522570A (en) * 2020-06-19 2020-08-11 杭州海康威视数字技术股份有限公司 Target library updating method and device, electronic equipment and machine-readable storage medium
CN111666091A (en) * 2020-06-12 2020-09-15 成都极米科技股份有限公司 System updating method, device, electronic equipment and computer readable storage medium
CN111913731A (en) * 2020-07-27 2020-11-10 长沙景嘉微电子股份有限公司 VBios firmware updating method, device, terminal and medium
CN112199107A (en) * 2020-11-04 2021-01-08 北京声智科技有限公司 OTA (over the air) upgrading method and related equipment
CN112269584A (en) * 2020-10-19 2021-01-26 苏州浪潮智能科技有限公司 PCIe Switch firmware updating method, device, electronic equipment and medium
CN112328288A (en) * 2020-11-26 2021-02-05 新华三技术有限公司成都分公司 Method, system, equipment and storage medium for updating server component
CN112527343A (en) * 2020-11-09 2021-03-19 西安广和通无线软件有限公司 Firmware updating method and device, computer equipment and storage medium
CN112527652A (en) * 2020-12-16 2021-03-19 深圳市广和通无线股份有限公司 Test information updating method and device, computer equipment and storage medium
CN113127029A (en) * 2021-03-05 2021-07-16 深兰科技(上海)有限公司 Firmware updating method and device, electronic equipment and storage medium
CN113157304A (en) * 2021-03-12 2021-07-23 山东英信计算机技术有限公司 Server firmware updating device and method based on USB storage equipment
CN114020306A (en) * 2021-09-28 2022-02-08 苏州浪潮智能科技有限公司 Method and device for updating hard disk firmware, electronic equipment and storage medium
CN115469910A (en) * 2022-11-15 2022-12-13 浙江日风电气股份有限公司 Photovoltaic inverter firmware updating method, device, system and storage medium
US12118345B2 (en) 2020-08-11 2024-10-15 Hewlett-Packard Development Company, L.P. Application status reporting via platform binary tables

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930372A (en) * 2009-06-24 2010-12-29 英业达股份有限公司 System and method for updating programs
CN104503789A (en) * 2014-12-17 2015-04-08 华为技术有限公司 Version updating control method and ICT (information and communication technology) equipment
CN107066300A (en) * 2017-04-21 2017-08-18 杭州宏杉科技股份有限公司 The firmware upgrade method and storage device of a kind of storage device
CN109814908A (en) * 2019-01-17 2019-05-28 深圳忆联信息系统有限公司 Firmware stablizes method, apparatus, computer equipment and the storage medium of upgrading

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101930372A (en) * 2009-06-24 2010-12-29 英业达股份有限公司 System and method for updating programs
CN104503789A (en) * 2014-12-17 2015-04-08 华为技术有限公司 Version updating control method and ICT (information and communication technology) equipment
CN107066300A (en) * 2017-04-21 2017-08-18 杭州宏杉科技股份有限公司 The firmware upgrade method and storage device of a kind of storage device
CN109814908A (en) * 2019-01-17 2019-05-28 深圳忆联信息系统有限公司 Firmware stablizes method, apparatus, computer equipment and the storage medium of upgrading

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110955446A (en) * 2019-11-08 2020-04-03 苏州浪潮智能科技有限公司 CPLD firmware updating method, system and device
CN111381850A (en) * 2020-02-21 2020-07-07 苏州浪潮智能科技有限公司 BIOS firmware upgrading method, device, equipment and medium
CN111381850B (en) * 2020-02-21 2023-11-14 苏州浪潮智能科技有限公司 BIOS firmware upgrading method, device, equipment and medium
CN111399871A (en) * 2020-02-28 2020-07-10 苏州浪潮智能科技有限公司 System updating method, device, equipment and medium for HBA card
CN111399871B (en) * 2020-02-28 2024-02-09 苏州浪潮智能科技有限公司 System updating method, device, equipment and medium of HBA card
CN111399888A (en) * 2020-03-11 2020-07-10 北京百度网讯科技有限公司 Processing method and device of audio processing chip and electronic equipment
WO2021249266A1 (en) * 2020-06-12 2021-12-16 成都极米科技股份有限公司 System updating method and apparatus, electronic device, and computer readable storage medium
CN111666091A (en) * 2020-06-12 2020-09-15 成都极米科技股份有限公司 System updating method, device, electronic equipment and computer readable storage medium
CN111666091B (en) * 2020-06-12 2023-08-29 成都极米科技股份有限公司 System updating method, device, electronic equipment and computer readable storage medium
CN111522570A (en) * 2020-06-19 2020-08-11 杭州海康威视数字技术股份有限公司 Target library updating method and device, electronic equipment and machine-readable storage medium
CN111522570B (en) * 2020-06-19 2023-09-05 杭州海康威视数字技术股份有限公司 Target library updating method and device, electronic equipment and machine-readable storage medium
CN111913731A (en) * 2020-07-27 2020-11-10 长沙景嘉微电子股份有限公司 VBios firmware updating method, device, terminal and medium
US12118345B2 (en) 2020-08-11 2024-10-15 Hewlett-Packard Development Company, L.P. Application status reporting via platform binary tables
CN112269584A (en) * 2020-10-19 2021-01-26 苏州浪潮智能科技有限公司 PCIe Switch firmware updating method, device, electronic equipment and medium
CN112199107A (en) * 2020-11-04 2021-01-08 北京声智科技有限公司 OTA (over the air) upgrading method and related equipment
CN112527343A (en) * 2020-11-09 2021-03-19 西安广和通无线软件有限公司 Firmware updating method and device, computer equipment and storage medium
CN112328288A (en) * 2020-11-26 2021-02-05 新华三技术有限公司成都分公司 Method, system, equipment and storage medium for updating server component
CN112527652A (en) * 2020-12-16 2021-03-19 深圳市广和通无线股份有限公司 Test information updating method and device, computer equipment and storage medium
CN112527652B (en) * 2020-12-16 2024-07-19 深圳市广和通无线股份有限公司 Test information updating method, device, computer equipment and storage medium
CN113127029A (en) * 2021-03-05 2021-07-16 深兰科技(上海)有限公司 Firmware updating method and device, electronic equipment and storage medium
CN113157304A (en) * 2021-03-12 2021-07-23 山东英信计算机技术有限公司 Server firmware updating device and method based on USB storage equipment
CN113157304B (en) * 2021-03-12 2024-02-06 山东英信计算机技术有限公司 Device and method for updating server firmware based on USB storage device
CN114020306A (en) * 2021-09-28 2022-02-08 苏州浪潮智能科技有限公司 Method and device for updating hard disk firmware, electronic equipment and storage medium
CN115469910A (en) * 2022-11-15 2022-12-13 浙江日风电气股份有限公司 Photovoltaic inverter firmware updating method, device, system and storage medium

Similar Documents

Publication Publication Date Title
CN110347414A (en) Firmware update, device, equipment and computer readable storage medium
US10860425B2 (en) Method for recovering basic input/output system image file of a computer system and the computer system
EP2375323A1 (en) Firmware image update and management
CN113282434B (en) Memory repair method based on post-package repair technology and related components
CN110209405B (en) Automatic upgrading method and device for distributed system
WO2011088701A1 (en) Method and device for online upgrading cross-platform version
CN112825011A (en) Power-on and power-off control method and system of PCIe device
CN107566169A (en) A kind of firmware upgrade method and router based on openwrt
CN111049913B (en) Data file transmission method and device, storage medium and electronic equipment
CN101667133B (en) Method for updating firmware and chip updating firmware by using same
CN109375953B (en) Operating system starting method and device
CN111124294B (en) Sector mapping information management method and device, storage medium and equipment
JPH11265282A (en) Controller for automatic vending machine
WO2024124912A1 (en) Data synchronization method and apparatus for redundant firmware, and non-volatile readable storage medium
CN106708569B (en) Hot loading method and device for VOBC configuration file in over-the-line train
CN105391755A (en) Method and device for processing data in distributed system, and system
CN109597639B (en) Software upgrading method, device, equipment and medium
CN116795423A (en) Firmware version compatibility management method and device, computer equipment and storage medium
CN107908418B (en) Method for upgrading logic program of fiber channel node card and fiber channel bus equipment
KR100516551B1 (en) Remote software upgrade method and system in optical network
CN108268285A (en) Method, apparatus, equipment and the readable storage medium storing program for executing of bios version upgrading
JP2010079837A (en) Program update method and program update device
CN109976775A (en) Management method, device and the equipment of network storage equipment BIOS program
JPH1027097A (en) Method and device for rewriting data of flash rom
CN105282614B (en) A kind of upgrade method of module TV, module TV and upgrade-system

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

Application publication date: 20191018