CN109002318A - A kind of firmware update of CPLD, device, equipment and medium - Google Patents

A kind of firmware update of CPLD, device, equipment and medium Download PDF

Info

Publication number
CN109002318A
CN109002318A CN201810825857.5A CN201810825857A CN109002318A CN 109002318 A CN109002318 A CN 109002318A CN 201810825857 A CN201810825857 A CN 201810825857A CN 109002318 A CN109002318 A CN 109002318A
Authority
CN
China
Prior art keywords
firmware
cpld
firmware update
stage
target
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
CN201810825857.5A
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810825857.5A priority Critical patent/CN109002318A/en
Publication of CN109002318A publication Critical patent/CN109002318A/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
    • G06F8/656Updates while running
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

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

Abstract

The invention discloses the firmware update of CPLD a kind of, device, equipment and medium, the step of this method includes: to receive when meeting preset firmware update condition and respond the firmware update instruction for target CPLD;Obtain the corresponding operation content array of target CPLD;Wherein, operation content array has each operational phase of firmware update according to preset order record in advance;Each object run stage in content array is successively obtained, according to the corresponding operation perform script of object run phase lookup, and executes operation perform script to realize the firmware update to target CPLD;Wherein, operation perform script contains object run stage corresponding operational order.Present approach reduces costs of labor, also ensure the whole updating efficiency of CPLD firmware.In addition, the present invention also provides the firmware updating device of CPLD a kind of, equipment and medium, beneficial effect is same as above.

Description

A kind of firmware update of CPLD, device, equipment and medium
Technical field
The present invention relates to firmware upgrade fields, more particularly to the firmware update of CPLD a kind of, device, equipment and Jie Matter.
Background technique
CPLD (Complex Programmable Logic Device, Complex Programmable Logic Devices), is a kind of user The voluntarily digital integrated electronic circuit of constitutive logic function according to respective need.Its major function is responsible for the upper and lower of hardware circuit board Electricity and the control of LED etc..Since CPLD has, flexible in programming, integrated level are high, design and develop that the period is short, design and manufacture cost is low The features such as, it can be achieved that fairly large circuit design, is therefore widely used in the prototype and production of product.
Under actual usage scenario, often operation has corresponding firmware in CPLD, and firmware is that CPLD normal work must The software of palpus, is that by the logical foundations of correlation function, therefore firmware also determines the function and performance of CPLD, in order to true The stability and reliability of CPLD at work are protected, technical staff needs constantly to carry out the excellent of function to firmware according to demand Change, and by the firmware update after optimization into CPLD.The current method for updating firmware in CPLD is chosen by artificial mode Firmware is updated, and inputs dependent instruction according to certain operation order, is transmitted in CPLD with controlling cd-rom recorder for firmware is updated, And it triggers CPLD and reads and run the update firmware, the final firmware update realized to CPLD.But it updates in a manual manner CPLD firmware, can be more due to the operation content of renewal process, and leads to larger workload, finally generate it is higher manually at This, and the whole updating efficiency of CPLD firmware can be also difficult to ensure because of the subjective factor of operator.
It can be seen that the firmware update of CPLD a kind of is provided, while reducing cost of labor, to guarantee that CPLD is solid The whole updating efficiency of part is those skilled in the art's problem to be solved.
Summary of the invention
The object of the present invention is to provide the firmware update of CPLD a kind of, device, equipment and media, to reduce manually While cost, guarantee the whole updating efficiency of CPLD firmware.
In order to solve the above technical problems, the present invention provides the firmware update of CPLD a kind of, comprising:
When meeting preset firmware update condition, receives and respond the firmware update instruction for target CPLD;
Obtain the corresponding operation content array of target CPLD;Wherein, operation content array is recorded according to preset order in advance There is each operational phase of firmware update;
Each object run stage in content array is successively obtained, is executed according to the corresponding operation of object run phase lookup Script, and operation perform script is executed to realize the firmware update to target CPLD;Wherein, operation perform script contains target behaviour Make stage corresponding operational order.
Preferably, the operational phase specifically includes acquisition stage, new in the version detection stage of original firmware, new version firmware The load operating stage of version firmware and update checking stage.
Preferably, the operation content in the version detection stage of original firmware specifically:
It obtains the original version information of original firmware and judges the new version information of original version information Yu new version firmware It is whether consistent;
If it is, the information of prompt firmware update exception, and block the progress of subsequent each operational phase;
Wherein, the operation content in the acquisition stage of new version firmware specifically:
It obtains by presetting the incoming new version firmware of equipment, and new version firmware is stored to the behaviour run to target CPLD Make under the default subregion of system;
Correspondingly, the operation content in the load operating stage of new version firmware specifically:
New version firmware is simultaneously issued to the read-only memory of target CPLD to cover original firmware by reboot operation system;
Correspondingly, updating the operation content of checking stage specifically:
Judge whether the firmware version information of current CPLD is consistent with new version information;
If it is not, then continuing to execute the load operating stage of new version firmware.
Preferably, the operational phase further includes timing loitering phase.
Preferably, firmware update condition is specially the PSU power supply state letter without exception of server apparatus where target CPLD Breath.
In addition, the present invention also provides the firmware updating devices of CPLD a kind of, comprising:
Command reception module, for when meeting preset firmware update condition, receiving and responding for target CPLD's Firmware update instruction;
Array obtains module, for obtaining the corresponding operation content array of target CPLD;Wherein, operation content array is preparatory There is each operational phase of firmware update according to preset order record;
Script execution module, for successively obtaining each object run stage in content array, according to the object run stage Corresponding operation perform script is searched, and executes operation perform script to realize the firmware update to target CPLD;Wherein, it operates Perform script contains object run stage corresponding operational order.
In addition, the present invention also provides the firmware update equipment of CPLD a kind of, comprising:
Memory, for storing computer program;
Processor, when for executing computer program the step of the realization such as firmware update of above-mentioned CPLD.
In addition, being stored with meter on computer readable storage medium the present invention also provides a kind of computer readable storage medium Calculation machine program, when computer program is executed by processor the step of the realization such as firmware update of above-mentioned CPLD.
The firmware update of CPLD provided by the present invention is received and is rung when meeting preset firmware update condition The instruction for carrying out firmware update to target CPLD should be characterized, and then obtains the corresponding operation content array of target CPLD, wherein Operation content array has each operational phase involved in firmware update in advance with preset order record, and then this method is according to default Sequence successively obtains each object run stage in content array, and searches object run stage corresponding operation perform script, Finally each operation perform script realization is executed to the firmware update of target CPLD according to preset order.It is right due in this method Each operational phase that CPLD firmware is updated is corresponding with preset operation perform script, and then can be according to operation content Each operational phase in array obtains and executes corresponding operation perform script, due to including in each operation perform script The firmware update of CPLD is instructed under its respective operations stage, and operates the execution of perform script by the system of computer equipment It realizes, therefore needs the case where carrying out a series of complex operation this method avoids the firmware of artificial regeneration CPLD, reduce Artificial workload, thereby reduces cost of labor, and this method also avoids reducing CPLD because of the subjective factor of operator The case where whole updating efficiency of firmware, ensure that the whole updating efficiency of CPLD firmware.In addition, the present invention also provides one kind Firmware updating device, equipment and the medium of CPLD, beneficial effect are same as above.
Detailed description of the invention
In order to illustrate the embodiments of the present invention more clearly, attached drawing needed in the embodiment will be done simply below It introduces, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ordinary skill people For member, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of the firmware update of CPLD provided in an embodiment of the present invention;
Fig. 2 is a kind of structure chart of the firmware updating device of CPLD provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole embodiments.Based on this Embodiment in invention, those of ordinary skill in the art are without making creative work, obtained every other Embodiment belongs to the scope of the present invention.
Core of the invention is to provide the firmware update of CPLD a kind of, to guarantee while reducing cost of labor The whole updating efficiency of CPLD firmware.Another core of the invention is to provide the firmware updating device, equipment and Jie of a kind of CPLD Matter.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description The present invention is described in further detail.
Embodiment one
Fig. 1 is a kind of flow chart of the firmware update of CPLD provided in an embodiment of the present invention.Referring to FIG. 1, CPLD The specific steps of firmware update include:
Step S10: it when meeting preset firmware update condition, receives and responds the firmware update of target CPLD is referred to It enables.
It should be noted that firmware update condition in this step should depending on use environment locating for target CPLD, Such as whether target CPLD is in the work shape of server apparatus locating for the working condition that can carry out data interaction or target CPLD Whether state is normal etc., and the firmware update to target CPLD is carried out after meeting preset firmware update condition, is in order to ensure mesh Mark the reliability of the firmware update of CPLD.This step receives and responds the executing subject of the firmware update instruction for target CPLD It can be the underlying operating system (OSES) run in target CPLD, the firmware of target CPLD is carried on underlying operating system In, which can persistently be run based on target CPLD, and carry out direct interactive controlling to target CPLD.In addition, needing It is noted that the firmware update of this method meaning, however it is not limited to which upgrading of the lowest version firmware to highest version firmware is also possible to Degradation of the highest version firmware to lowest version firmware.
Step S11: the corresponding operation content array of target CPLD is obtained.
Wherein, operation content array has each operational phase of firmware update according to preset order record in advance.
The execution content of this step be after the firmware update instruction of response target CPLD, needed for obtaining with target CPLD into It is solid according to preset order record to carry out this in advance in the operation content array for the operation content array that capable firmware update is consistent Part updates each operational phase needed to be implemented, and the signified operational phase is it can be appreciated that consolidated to target CPLD herein Each operating procedure that part updates such as downloads new version firmware, load new version firmware and the bottom operation system for restarting CPLD System etc., to the operational phase it is specific division should according to the actual demand of user and update firmware needed for practical operation content and It is fixed.In addition, the type of operation content array signified in this step can be one-dimension array, or two-dimensional Matrix number Group.When operation content array is Matrix array, it can store in each column of Matrix array and firmware carried out to CPLD The operational phase of the complete set of update gathers, can be according to the actual conditions of CPLD or server apparatus and in Matrix with this More compatible operational phase set is chosen in array, and then being capable of the opposite reliability for improving CPLD firmware update.
Step S12: successively obtaining each object run stage in content array, corresponding according to object run phase lookup Perform script is operated, and executes operation perform script to realize the firmware update to target CPLD.
Wherein, operation perform script contains object run stage corresponding operational order.
It should be noted that each object run stage successively obtained in content array referred in this step, specifically Refer to each operational phase successively obtained in content array according to preset order, more carefully needs to follow due to carrying out firmware to CPLD Preset order executes corresponding each operating procedure, i.e. operational phase, thus this step according to preset order in content array The corresponding object run stage is found, and its corresponding operation perform script is found according to the object run stage and is executed, it can With understanding, the operational order for recording in perform script and having the corresponding object run stage to operate CPLD is operated, in turn This step is equivalent to by way of system perform script, is successively executed according to preset order and is carried out each of firmware update to CPLD Operational phase corresponding operational order, in such a way that this is instead of the firmware update that operational order is manually entered.It is each in this step The unique name or unique identification that existence form of the operational phase in operation content array can be specially each operational phase are (such as Operate the title of perform script), the content that can be characterized in this step according to each operational phase with this clearly correspondence is learned Corresponding operation content.
The firmware update of CPLD provided by the present invention is received and is rung when meeting preset firmware update condition The instruction for carrying out firmware update to target CPLD should be characterized, and then obtains the corresponding operation content array of target CPLD, wherein Operation content array has each operational phase involved in firmware update in advance with preset order record, and then this method is according to default Sequence successively obtains each object run stage in content array, and searches object run stage corresponding operation perform script, Finally each operation perform script realization is executed to the firmware update of target CPLD according to preset order.It is right due in this method Each operational phase that CPLD firmware is updated is corresponding with preset operation perform script, and then can be according to operation content Each operational phase in array obtains and executes corresponding operation perform script, due to including in each operation perform script The firmware update of CPLD is instructed under its respective operations stage, and operates the execution of perform script by the system of computer equipment It realizes, therefore needs the case where carrying out a series of complex operation this method avoids the firmware of artificial regeneration CPLD, reduce Artificial workload, thereby reduces cost of labor, and this method also avoids reducing CPLD because of the subjective factor of operator The case where whole updating efficiency of firmware, ensure that the whole updating efficiency of CPLD firmware.
Embodiment two
On the basis of the above embodiments, the present invention also provides a series of preferred embodiments.
As a preferred embodiment, the operational phase specifically includes the version detection stage of original firmware, new version Firmware obtains stage, the load operating stage of new version firmware and update checking stage.
It is understood that due to the global reliability and reasonability of the firmware update process for being necessary to ensure that CPLD, because The operational phase for carrying out firmware update to CPLD is divided into the version detection stage of original firmware, new version by this present embodiment Firmware obtains stage, the load operating stage of new version firmware and update checking stage.The version detection rank of original firmware Section is to guarantee that CPLD is updated with practical meaning in order to ensure the version between original firmware and new version firmware has differences with this Justice;The acquisition stage of new version firmware is that the new version firmware to be updated to CPLD is got by preset mode;New version The load operating stage of firmware is the new version firmware loads that will acquire and runs into CPLD, completes to consolidate CPLD with this Part updates operation.In addition, in the present embodiment, the preset order of operational phase be original firmware the version detection stage, New version firmware obtains stage, the load operating stage of new version firmware and update checking stage.
On the basis of the above embodiment, as a preferred embodiment, the version detection stage of original firmware Operation content specifically:
It obtains the original version information of original firmware and judges the new version information of original version information Yu new version firmware It is whether consistent;
If it is, the information of prompt firmware update exception, and block the progress of subsequent each operational phase;
Wherein, the operation content in the acquisition stage of new version firmware specifically:
It obtains by presetting the incoming new version firmware of equipment, and new version firmware is stored to the behaviour run to target CPLD Make under the default subregion of system;
Correspondingly, the operation content in the load operating stage of new version firmware specifically:
New version firmware is simultaneously issued to the read-only memory of target CPLD to cover original firmware by reboot operation system;
Correspondingly, updating the operation content of checking stage specifically:
Judge whether the firmware version information of current CPLD is consistent with new version information;
If it is not, then continuing to execute the load operating stage of new version firmware.
It should be noted that in the operation content in the version detection stage of original firmware, when original version information and newly When the new version information of version firmware is inconsistent, the information alert of firmware update exception is carried out, can be specially to be carried out to user Prompt, or carry out corresponding signal prompt to system, corresponding counter-measure is taken with informing system.In addition, by new It is those skilled in the art that version firmware, which is issued to the read-only memory of target CPLD to cover the concrete operations details of original firmware, Operation content known to member, this will not be repeated here.In addition, in the operation content for updating checking stage, if current CPLD's consolidates Part version information and new version information are inconsistent, then illustrate that the firmware update of CPLD is failed, therefore it is solid to continue to execute new version The load operating stage of part, on this basis, user can preset again according to demand to carry out firmware update to CPLD again The maximum times for executing the load operating stage of new version firmware, when the number for re-executing new version firmware loads is more than maximum It after number, then does not continue to execute the load to new version firmware, the available resources for continuing to occupy CPLD is avoided with this.
On the basis of the above embodiment, as a preferred embodiment, the operational phase further includes that timing waits Stage.
It should be noted that due to consideration that acquisition stage, new in the version detection stage of original firmware, new version firmware Load operating stage of version firmware and checking stage is updated, requiring to generate the regular hour during execution opens Pin, in order to ensure above-mentioned each operational phase corresponding operation perform script can be executed completely, in this embodiment party In formula, the operational phase further includes timing loitering phase, and user can be set in advance in waiting time when timing loitering phase, into And when in the operational phase for needing certain time expense, the waiting of preset duration can be carried out by timing loitering phase, Ensure to carry out CPLD the global reliability of firmware update process with this.
In addition, as a preferred embodiment, firmware update condition is specially server apparatus where target CPLD PSU power supply status information without exception.
It is understood that in view of CPLD is often carried in server apparatus, and by the PSU of server apparatus Power supply power supply work, and therefore in order to avoid occur during carrying out firmware update to CPLD server apparatus power-off cause it is solid The case where part updates failure or damages to CPLD, can be before carrying out to the firmware update of target CPLD, first to mesh The PSU power supply status of server apparatus is analyzed where mark CPLD, and then the PSU of server apparatus where target CPLD is electric When the status information without exception of source, the firmware update instruction for target CPLD is responded to realize that the firmware to target CPLD carries out more Newly, it ensure that the global reliability that firmware update process is carried out to CPLD with this.
Embodiment three
Hereinbefore the embodiment of the firmware update of CPLD is described in detail, the present invention also provides one The firmware updating device of kind CPLD corresponding with this method, since the embodiment of device part and the embodiment of method part are mutual It is corresponding, therefore the embodiment of device part refers to the description of the embodiment of method part, wouldn't repeat here.
Fig. 2 is a kind of structure chart of the firmware updating device of CPLD provided in an embodiment of the present invention.The embodiment of the present invention mentions The firmware updating device of the CPLD of confession, comprising:
Command reception module 10, for when meeting preset firmware update condition, receiving and responding for target CPLD Firmware update instruction.
Array obtains module 11, for obtaining the corresponding operation content array of target CPLD;Wherein, operation content array is pre- First there is each operational phase of firmware update according to preset order record.
Script execution module 12, for successively obtaining each object run stage in content array, according to object run rank The corresponding operation perform script of segment search, and operation perform script is executed to realize the firmware update to target CPLD;Wherein, it grasps Contain object run stage corresponding operational order as perform script.
The firmware updating device of CPLD provided by the present invention is received and is rung when meeting preset firmware update condition The instruction for carrying out firmware update to target CPLD should be characterized, and then obtains the corresponding operation content array of target CPLD, wherein Operation content array has each operational phase involved in firmware update in advance with preset order record, and then the present apparatus is according to default Sequence successively obtains each object run stage in content array, and searches object run stage corresponding operation perform script, Finally each operation perform script realization is executed to the firmware update of target CPLD according to preset order.It is right due in the present apparatus Each operational phase that CPLD firmware is updated is corresponding with preset operation perform script, and then can be according to operation content Each operational phase in array obtains and executes corresponding operation perform script, due to including in each operation perform script The firmware update of CPLD is instructed under its respective operations stage, and operates the execution of perform script by the system of computer equipment It realizes, therefore needs the case where carrying out a series of complex operation present arrangement avoids the firmware of artificial regeneration CPLD, reduce Artificial workload, thereby reduces cost of labor, and the present apparatus also avoids reducing CPLD because of the subjective factor of operator The case where whole updating efficiency of firmware, ensure that the whole updating efficiency of CPLD firmware.
Example IV
The present invention also provides the firmware update equipment of CPLD a kind of, comprising:
Memory, for storing computer program;
Processor, when for executing computer program the step of the realization such as firmware update of above-mentioned CPLD.
The firmware update equipment of CPLD provided by the present invention is received and is rung when meeting preset firmware update condition The instruction for carrying out firmware update to target CPLD should be characterized, and then obtains the corresponding operation content array of target CPLD, wherein Operation content array has each operational phase involved in firmware update in advance with preset order record, and then this equipment is according to default Sequence successively obtains each object run stage in content array, and searches object run stage corresponding operation perform script, Finally each operation perform script realization is executed to the firmware update of target CPLD according to preset order.It is right due in this equipment Each operational phase that CPLD firmware is updated is corresponding with preset operation perform script, and then can be according to operation content Each operational phase in array obtains and executes corresponding operation perform script, due to including in each operation perform script The firmware update of CPLD is instructed under its respective operations stage, and operates the execution of perform script by the system of computer equipment It realizes, therefore this equipment avoids the firmware of artificial regeneration CPLD and needs the case where carrying out a series of complex operation, reduces Artificial workload, thereby reduces cost of labor, this equipment also avoids reducing CPLD because of the subjective factor of operator The case where whole updating efficiency of firmware, ensure that the whole updating efficiency of CPLD firmware.
In addition, being stored with meter on computer readable storage medium the present invention also provides a kind of computer readable storage medium Calculation machine program, when computer program is executed by processor the step of the realization such as firmware update of above-mentioned CPLD.
Computer readable storage medium provided by the present invention is received and is rung when meeting preset firmware update condition The instruction for carrying out firmware update to target CPLD should be characterized, and then obtains the corresponding operation content array of target CPLD, wherein Operation content array has each operational phase involved in firmware update in advance with preset order record, and then this computer-readable is deposited Storage media successively obtains each object run stage in content array according to preset order, and it is corresponding to search the object run stage Perform script is operated, finally executes each operation perform script realization to the firmware update of target CPLD according to preset order.Due to In this computer readable storage medium, preset operation is corresponding with to each operational phase that CPLD firmware is updated and is executed Script, and then corresponding operation perform script can be obtained and executed according to each operational phase in operation content array, by It include to be instructed under its respective operations stage to the firmware update of CPLD, and operate execution foot in each operation perform script This execution is realized by the system of computer equipment, therefore this computer readable storage medium avoids consolidating for artificial regeneration CPLD Part and need the case where carrying out a series of complex operation, reduce artificial workload, thereby reduce cost of labor, this calculating Machine readable storage medium storing program for executing also avoids the case where reducing the whole updating efficiency of CPLD firmware because of the subjective factor of operator, It ensure that the whole updating efficiency of CPLD firmware.
A kind of firmware update of CPLD provided by the present invention, device, equipment and medium have been carried out in detail above It introduces.Each embodiment is described in a progressive manner in specification, and the highlights of each of the examples are implement with other The difference of example, the same or similar parts in each embodiment may refer to each other.For the device disclosed in the embodiment, 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 can.It should be pointed out that for those skilled in the art, without departing from the principle of the present invention, may be used also With several improvements and modifications are made to the present invention, these improvements and modifications also fall within the scope of protection of the claims of the present invention.
It should also be noted that, in the present specification, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.

Claims (8)

1. a kind of firmware update of CPLD characterized by comprising
When meeting preset firmware update condition, receives and respond the firmware update instruction for target CPLD;
Obtain the corresponding operation content array of the target CPLD;Wherein, the operation content array is in advance according to preset order Record has each operational phase of firmware update;
Each object run stage in the content array is successively obtained, according to the corresponding operation of the object run phase lookup Perform script, and the operation perform script is executed to realize the firmware update to the target CPLD;Wherein, the operation is held Traveling far and wide, this contains the object run stage corresponding operational order.
2. the method according to claim 1, wherein the operational phase specifically includes the version inspection of original firmware Survey stage, the acquisition stage of new version firmware, the load operating stage of the new version firmware and update checking stage.
3. according to the method described in claim 2, it is characterized in that, the operation content in the version detection stage of the original firmware Specifically:
It obtains the original version information of the original firmware and judges the new of the original version information and the new version firmware Whether version information is consistent;
If it is, the information of prompt firmware update exception, and block the progress of subsequent each operational phase;
Wherein, the operation content in the acquisition stage of the new version firmware specifically:
It obtains by presetting the incoming new version firmware of equipment, and the new version firmware is stored to the target CPLD institute Under the default subregion of the operating system of operation;
Correspondingly, the operation content in the load operating stage of the new version firmware specifically:
Restart the operating system and the new version firmware is issued to the read-only memory of the target CPLD to cover State original firmware;
Correspondingly, the operation content for updating checking stage specifically:
Judge whether the firmware version information of presently described CPLD is consistent with the new version information;
If it is not, then continuing to execute the load operating stage of the new version firmware.
4. according to method described in right 2, which is characterized in that the operational phase further includes timing loitering phase.
5. method according to any of claims 1-4, which is characterized in that the firmware update condition is specially described The PSU power supply status information without exception of server apparatus where target CPLD.
6. a kind of firmware updating device of CPLD characterized by comprising
Command reception module, for when meeting preset firmware update condition, receiving and responding the firmware for target CPLD More new command;
Array obtains module, for obtaining the corresponding operation content array of the target CPLD;Wherein, the operation content array There is each operational phase of firmware update according to preset order record in advance;
Script execution module, for successively obtaining each object run stage in the content array, according to the object run The corresponding operation perform script of phase lookup, and the operation perform script is executed to realize to the firmware of the target CPLD more Newly;Wherein, the operation perform script contains the object run stage corresponding operational order.
7. the firmware update equipment of CPLD a kind of characterized by comprising
Memory, for storing computer program;
Processor realizes the firmware of such as CPLD described in any one of claim 1 to 5 more when for executing the computer program The step of new method.
8. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the firmware update such as CPLD described in any one of claim 1 to 5 when the computer program is executed by processor The step of method.
CN201810825857.5A 2018-07-25 2018-07-25 A kind of firmware update of CPLD, device, equipment and medium Pending CN109002318A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810825857.5A CN109002318A (en) 2018-07-25 2018-07-25 A kind of firmware update of CPLD, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810825857.5A CN109002318A (en) 2018-07-25 2018-07-25 A kind of firmware update of CPLD, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN109002318A true CN109002318A (en) 2018-12-14

Family

ID=64597134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810825857.5A Pending CN109002318A (en) 2018-07-25 2018-07-25 A kind of firmware update of CPLD, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN109002318A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124095A (en) * 2019-12-25 2020-05-08 浪潮商用机器有限公司 Power supply running state detection method and related device during upgrading of power supply firmware
CN111309355A (en) * 2020-02-17 2020-06-19 深圳前海达闼云端智能科技有限公司 Robot controller firmware updating method and device, controller and robot

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120102478A1 (en) * 2010-10-25 2012-04-26 Electronics And Telecommunications Research Institute Apparatus and method for cooperatively updating firmware on wireless mesh network
CN103164237A (en) * 2011-12-16 2013-06-19 深圳瓶子科技有限公司 Firmware upgrade method and system
CN103984581A (en) * 2014-05-30 2014-08-13 乐视致新电子科技(天津)有限公司 Firmware upgrading method and device of chip
CN107656776A (en) * 2017-10-31 2018-02-02 郑州云海信息技术有限公司 A kind of firmware update, device and the medium of FPGA accelerator cards
CN107943496A (en) * 2017-11-17 2018-04-20 郑州云海信息技术有限公司 A kind of device and method of whole machine cabinet server batch updating firmware
CN108306959A (en) * 2018-01-29 2018-07-20 郑州云海信息技术有限公司 A kind of method, apparatus and storage medium of remote upgrade CPLD firmwares

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120102478A1 (en) * 2010-10-25 2012-04-26 Electronics And Telecommunications Research Institute Apparatus and method for cooperatively updating firmware on wireless mesh network
CN103164237A (en) * 2011-12-16 2013-06-19 深圳瓶子科技有限公司 Firmware upgrade method and system
CN103984581A (en) * 2014-05-30 2014-08-13 乐视致新电子科技(天津)有限公司 Firmware upgrading method and device of chip
CN107656776A (en) * 2017-10-31 2018-02-02 郑州云海信息技术有限公司 A kind of firmware update, device and the medium of FPGA accelerator cards
CN107943496A (en) * 2017-11-17 2018-04-20 郑州云海信息技术有限公司 A kind of device and method of whole machine cabinet server batch updating firmware
CN108306959A (en) * 2018-01-29 2018-07-20 郑州云海信息技术有限公司 A kind of method, apparatus and storage medium of remote upgrade CPLD firmwares

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124095A (en) * 2019-12-25 2020-05-08 浪潮商用机器有限公司 Power supply running state detection method and related device during upgrading of power supply firmware
CN111309355A (en) * 2020-02-17 2020-06-19 深圳前海达闼云端智能科技有限公司 Robot controller firmware updating method and device, controller and robot

Similar Documents

Publication Publication Date Title
CN106201552A (en) A kind of method for upgrading software, client, server and system
CN104252481B (en) The dynamic check method and apparatus of master-slave database consistency
US11599435B2 (en) Failure analysis system for a distributed storage system
CN103064712B (en) A kind of method of Reconfigurations parameter, device and terminal device
CN106055361B (en) Integrated firmware implementation method and system for multiple different types based on BMC (baseboard management controller)
CN109002295B (en) Static code scanning method, system, server and storage medium
CN103970579B (en) Application version deploying method and application version deploying device
CN108196877B (en) The method and apparatus and calculating equipment of component release management
US20090006493A1 (en) Method For Enabling Traceability And Recovery From Errors During Migration Of Software Applications
CN109063295A (en) Nodal information optimized treatment method and device based on CAE model
CN109144701A (en) A kind of task flow management method, device, equipment and system
CN109002318A (en) A kind of firmware update of CPLD, device, equipment and medium
CN104899116A (en) Data backup method, source server, target server and system
CN105159718A (en) Firmware updating method and device
CN102222001A (en) Environment deployment device and method
CN106484312B (en) A kind of magnetic disk of virtual machine data migration method and device
JP2013210756A (en) Information processing method and program
US20150355997A1 (en) Server-Platform Simulation Service
CN114448788B (en) Method, system, equipment and medium for installing switch system
CN109814911A (en) Method, apparatus, computer equipment and storage medium for Manage Scripts program
CN111046003B (en) Soil erosion factor data updating method and device and electronic equipment
CN110879871B (en) Page menu configuration method and device
CN109032765A (en) A kind of virtual machine two-node cluster hot backup dispositions method, device and equipment
CN103488503B (en) Oftware updating method and device
CN114721686A (en) Configuration data updating method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181214

RJ01 Rejection of invention patent application after publication