CN110502296B - Method, equipment and storage medium for displaying firmware upgrading command - Google Patents

Method, equipment and storage medium for displaying firmware upgrading command Download PDF

Info

Publication number
CN110502296B
CN110502296B CN201910736426.6A CN201910736426A CN110502296B CN 110502296 B CN110502296 B CN 110502296B CN 201910736426 A CN201910736426 A CN 201910736426A CN 110502296 B CN110502296 B CN 110502296B
Authority
CN
China
Prior art keywords
thread
upgrading
firmware
task
upgrade
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910736426.6A
Other languages
Chinese (zh)
Other versions
CN110502296A (en
Inventor
杨虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201910736426.6A priority Critical patent/CN110502296B/en
Publication of CN110502296A publication Critical patent/CN110502296A/en
Application granted granted Critical
Publication of CN110502296B publication Critical patent/CN110502296B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5011Pool
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5018Thread allocation

Abstract

The invention discloses a method for displaying a firmware upgrading command, which comprises the following steps: receiving an upgrading instruction; responding to the upgrading instruction as a mainboard upgrading instruction, and acquiring the task of each firmware to be upgraded; creating a corresponding thread for each task; and binding and executing the tasks corresponding to the threads and the text boxes in sequence, so that the text boxes display the upgrading commands corresponding to the threads when the threads are executed. The invention also discloses a computer device and a readable storage medium. The method disclosed by the invention can output the upgrading command and result of each firmware in the upgrading process in the graphical interface.

Description

Method, equipment and storage medium for displaying firmware upgrading command
Technical Field
The invention relates to the field of servers, in particular to a method, equipment and a storage medium for displaying a firmware upgrading command.
Background
With the development of modern science and technology and the popularization of the internet, application scenes of the server are more and more. The operation and maintenance of the server are also increasingly important. The upgrading of the version of each firmware in operation and maintenance is more and more important, and the upgrading of the version is sometimes needed to support the updating function; sometimes a problem with the firmware requires a re-refresh to resolve the problem. Among these firmware, BMC, BIOS, FRU are particularly prominent.
In the prior art, upgrading of the BMC, the BIOS, the FRU and the mainboard can be controlled through a graphical interface, and due to the fact that the BMC, the BIOS and the FRU need to be upgraded in a certain sequence after the mainboard is replaced, upgrading commands when each firmware is upgraded cannot be displayed. And after the mainboard is replaced, the BMC, BIOS and FRU firmware on the mainboard needs to be refreshed and sometimes needs to be refreshed separately. This results in a project that needs to maintain 2 copies of logically identical code at the same time when being maintained, resulting in high maintenance costs.
Therefore, a method compatible with BMC, BIOS, FRU, and motherboard upgrade is urgently needed, and commands and results in the upgrade process are output in a graphical interface.
Disclosure of Invention
In view of the above, in order to overcome at least one aspect of the above problems, an embodiment of the present invention provides a method for displaying a firmware upgrade command, including:
receiving an upgrading instruction;
responding to the upgrading instruction as a mainboard upgrading instruction, and acquiring the task of each firmware to be upgraded;
creating a corresponding thread for each task;
and binding and executing the tasks corresponding to the threads and the text boxes in sequence, so that the text boxes display the upgrading commands corresponding to the threads when the threads are executed.
In some embodiments, creating a corresponding thread for each of the tasks further comprises:
creating a thread pool;
and establishing threads in the thread pool according to each task in sequence.
In some embodiments, sequentially binding and executing the tasks corresponding to the threads with the text boxes, further comprising:
binding the task corresponding to the thread in the thread pool with the text box;
executing the thread;
and responding to the completion of the thread execution, binding the task corresponding to the next thread in the thread pool with the text box, and executing the next thread.
In some embodiments, executing the thread further comprises:
acquiring an upgrading parameter generated in the process of executing the thread;
and judging whether the thread is executed completely according to the upgrading parameters.
In some embodiments, further comprising:
further judging whether the firmware is successfully upgraded according to the upgrade parameters;
in response to the upgrade parameter indicating that the firmware upgrade was successful, changing a color of an identification corresponding to the firmware from a default color to a first color.
In some embodiments, further comprising:
changing a color of an identification corresponding to the firmware from the default color to a second color in response to the upgrade parameter indicating that the firmware upgrade failed.
In some embodiments, in response to the upgrade instruction being a motherboard upgrade instruction, acquiring a task of each firmware to be upgraded, further including:
respectively pre-establishing the tasks by utilizing upgrading logics of BMC, BIOS and FUR;
and responding to the upgrading instruction as a mainboard upgrading instruction, and acquiring the tasks corresponding to the BMC, the BIOS and the FUR.
In some embodiments, further comprising:
respectively pre-establishing the tasks by utilizing upgrading logics of BMC, BIOS and FUR;
responding to the upgrading instruction which is any one of the upgrading instructions of the BMC, the BIOS or the FUR, and acquiring the corresponding task;
creating a thread by using the task;
binding the task with the text box;
and executing the thread and displaying an upgrading command in the text box.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer apparatus, including:
at least one processor; and
a memory storing a computer program operable on the processor, wherein the processor executes the program to perform any of the method steps of displaying a firmware upgrade order as described above.
Based on the same inventive concept, according to another aspect of the present invention, an embodiment of the present invention further provides a computer-readable storage medium storing a computer program which, when executed by a processor, performs the steps of any one of the methods for displaying a firmware upgrade command as described above.
The invention has one of the following beneficial technical effects: the method disclosed by the invention puts the upgrading logic of at least one firmware to be upgraded into a separate TASK (TASK) in advance, and binds the corresponding TASK through the textProperty.bind function in a textbox (TextArea) in JAVAFX before executing the thread each time, so that the upgrading command and the result in the upgrading process can be output in a graphical interface no matter whether one firmware is upgraded independently or a plurality of firmware is required to be upgraded.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for displaying a firmware upgrade command according to an embodiment of the present invention;
FIG. 2 is a block flow diagram of a method for displaying a firmware upgrade command according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a computer device provided in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
According to an aspect of the present invention, an embodiment of the present invention provides a method for displaying a firmware upgrade command, which may include the steps of, as shown in fig. 1: s1, receiving an upgrading instruction; s2, responding to the upgrading instruction as a mainboard upgrading instruction, and acquiring the task of each firmware to be upgraded; s3, creating a corresponding thread for each task; and S4, binding and executing the tasks corresponding to the threads and the textboxes in sequence, and displaying the upgrading commands corresponding to the threads by the textboxes when the threads are executed.
The method disclosed by the invention puts the upgrading logic of at least one firmware to be upgraded into a separate TASK (TASK) in advance, and binds the corresponding TASK through the textProperty. bind function in a text box (TextArea) in JAVAFX before executing threads each time, so that the upgrading command and the result in the upgrading process can be output in a graphical interface no matter one firmware is upgraded or a plurality of firmware needs to be upgraded.
The following is a detailed description with reference to the flowchart of the method for displaying a firmware upgrade command shown in fig. 2.
First, an upgrade instruction is received.
In some embodiments, in the graphical operation interface, it may be selected whether to upgrade BMC, BIOS or FRU firmware separately or to upgrade a motherboard, and upgrading the motherboard requires upgrading the BMC, BIOS and FRU firmware all according to a certain upgrade sequence. No matter the user selects to upgrade BMC, BIOS or FRU firmware independently or selects to upgrade the mainboard, the user can directly click the corresponding icon, and an upgrade instruction can be sent to the background.
And then, responding to the upgrading instruction as a mainboard upgrading instruction, and acquiring the task of each firmware to be upgraded.
In some embodiments, after the background receives the upgrade instruction, at least one TASK corresponding to the to-be-upgraded is called.
Specifically, when the upgrade instruction is a motherboard upgrade instruction, in order to upgrade the BMC, the BIOS, and the FRU firmware according to a certain upgrade order, the TASK corresponding to the BMC, the BIOS, and the FRU needs to be acquired at the same time.
Then, a corresponding thread is created by each task.
In some embodiments, since upgrading the motherboard requires upgrading the BMC, the BIOS, and the FRU in a certain order, it is necessary to sequentially execute threads corresponding to the TASK of the BMC, the BIOS, and the FRU.
Specifically, a thread pool singleThreadExecutor can be created, and then the TASK of the BMC, the BIOS, and the FRU are sequentially put into the thread pool. Since this is a thread pool with thread number 1, only one thread is executed at a time, which enables sequential execution of threads in order.
And finally, binding and executing the tasks corresponding to the threads and the text boxes in sequence, so that the text boxes display the upgrading commands corresponding to the threads when the threads are executed.
In some embodiments, sequentially binding and executing the task corresponding to the thread with the text box may specifically include: binding the task corresponding to the thread in the thread pool with the text box; executing the thread; and responding to the completion of the thread execution, binding the task corresponding to the next thread in the thread pool with the text box, and executing the next thread.
Specifically, since the TextArea can only bind to one TASK, the TextArea needs to be bound to the next TASK through a callback method after a process is executed. For example, firstly, the TASK corresponding to the first thread in the thread pool is bound with the TextArea, and then the first process is executed, since the TASK corresponding to the first firmware is already bound with the TextArea, when the first process is executed, the upgrade command in the first firmware upgrade process can be output in the graphical interface. And after the first process is executed, binding the TASK corresponding to the next process with the TextArea, covering the TASK corresponding to the previous process, and then starting to execute the next process.
In this way, by sequentially executing each process and binding the TASK corresponding to the process to be executed to the TextArea before executing the process, the upgrading command and result in each firmware upgrading process can be sequentially output in the graphical interface.
In some embodiments, in response to the upgrade instruction being an upgrade instruction of any one of the BMC, the BIOS, or the FUR, obtaining the corresponding task; creating a thread by using the task; binding the task with the textbox; and executing the thread and displaying an upgrading command in the text box.
Specifically, when the upgrade instruction is to upgrade one of the firmware individually, for example, upgrade the BMC, the BIOS, or the FRU individually, only the TASK corresponding to the BMC, the BIOS, or the FRU needs to be acquired. A Thread (Thread) is then created from the returned TASK, which is then bound by the textproperty bind function in TextArea in JAVAFX. In this way, the display of the upgrade commands of a single firmware in the graphical interface can be achieved.
It should be noted that the TASKs corresponding to the BMC, the BIOS, and the FRU are generated according to respective upgrade logic, and each TASK exists independently. By independently generating one TASK for the upgrading logic of each firmware, the same TASK is utilized no matter the mainboard is upgraded by calling the TASK of the three, or the corresponding TASK is called when one firmware is independently upgraded, so that only one time of modification is needed, 2 codes with the same logic do not need to be maintained simultaneously, and the problem of code redundancy in the prior art is solved.
In some embodiments, when the thread is executed, it is necessary to call back to obtain an upgrade parameter generated during the execution of the thread; and judging whether the thread is executed completely according to the upgrading parameters.
It should be noted that, when the upgrade instruction is a motherboard upgrade instruction, the next process is executed only after the previous process is judged to be executed, but after the previous process is executed, the next process is executed due to the independence of the processes regardless of whether the corresponding firmware is upgraded successfully.
In some embodiments, it may further include: further judging whether the firmware is successfully upgraded according to the upgrade parameters; in response to the upgrade parameter indicating that the firmware upgrade was successful, changing a color of an identifier corresponding to the firmware from a default color to a first color; in response to the upgrade parameter indicating that the firmware upgrade failed, changing a color of an identification corresponding to the firmware from the default color to a second color.
On the graphical interface, each firmware has a corresponding identifier and the upgrading result is displayed through the color of the identifier, for example, the default color of the identifier is gray, when the firmware is upgraded successfully, the color of the identifier is changed into green, and if the firmware is upgraded unsuccessfully, the color of the identifier is changed into red.
The method provided by the embodiment of the invention can be compatible with the upgrading methods of BMC, BIOS, FRU and mainboard, and the command and result in the upgrading process are output in the graphical interface.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 3, an embodiment of the present invention further provides a computer apparatus 501, comprising:
at least one processor 520; and
a memory 510, the memory 510 storing a computer program 511 executable on the processor, the processor 520 when executing the program performing the steps of any of the methods of displaying a firmware upgrade command as described above.
Based on the same inventive concept, according to another aspect of the present invention, as shown in fig. 4, an embodiment of the present invention further provides a computer-readable storage medium 601, where the computer-readable storage medium 601 stores computer program instructions 610, and the computer program instructions 610, when executed by a processor, perform the steps of any one of the above methods for displaying a firmware upgrade command.
Finally, it should be noted that, as will be understood by those skilled in the art, all or part of the processes of the methods of the above embodiments may be implemented by a computer program to instruct related hardware to implement the methods. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
In addition, the apparatuses, devices, and the like disclosed in the embodiments of the present invention may be various electronic terminal devices, such as a mobile phone, a Personal Digital Assistant (PDA), a tablet computer (PAD), a smart television, and the like, or may be a large terminal device, such as a server, and the like, and therefore the scope of protection disclosed in the embodiments of the present invention should not be limited to a specific type of apparatus, device. The client disclosed by the embodiment of the invention can be applied to any one of the electronic terminal devices in the form of electronic hardware, computer software or a combination of the electronic hardware and the computer software.
Furthermore, the method disclosed according to an embodiment of the present invention may also be implemented as a computer program executed by a CPU, and the computer program may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the above-described functions defined in the method disclosed in the embodiments of the present invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the above embodiments of the present invention are merely for description, and do not represent the advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, where the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (6)

1. A method of displaying a firmware upgrade command, comprising the steps of:
receiving an upgrading instruction;
responding to the upgrading instruction as a mainboard upgrading instruction, and acquiring the task of each firmware to be upgraded, wherein the upgrading method further comprises the following steps: respectively pre-establishing the tasks by utilizing upgrading logics of BMC, BIOS and FUR; responding to the upgrading instruction as a mainboard upgrading instruction, and acquiring the tasks corresponding to the BMC, the BIOS and the FUR;
creating a corresponding thread for each of the tasks, further comprising: creating a thread pool, and sequentially creating threads in the thread pool according to each task;
binding and executing the tasks corresponding to the threads and the text boxes in sequence, and further comprising: binding the task corresponding to the thread in the thread pool with the text box; executing the thread; responding to the completion of the thread execution, binding the task corresponding to the next thread in the thread pool with the textbox, and executing the next thread so as to display an upgrading command corresponding to the thread by the textbox when the thread is executed;
respectively pre-establishing the tasks by utilizing upgrading logics of BMC, BIOS and FUR;
responding to the upgrading instruction which is any one of the BMC, the BIOS or the FUR, and acquiring the task corresponding to any one of the BMC, the BIOS or the FUR;
creating a thread by using the task;
binding the task with the text box;
and executing the thread and displaying an upgrading command in the text box.
2. The method of claim 1, wherein executing the thread further comprises:
acquiring an upgrading parameter generated in the process of executing the thread;
and judging whether the thread is executed completely according to the upgrading parameters.
3. The method of claim 2, further comprising:
further judging whether the firmware is successfully upgraded according to the upgrading parameters;
in response to the upgrade parameter indicating that the firmware upgrade was successful, changing a color of an identification corresponding to the firmware from a default color to a first color.
4. The method of claim 3, further comprising:
changing a color of an identification corresponding to the firmware from the default color to a second color in response to the upgrade parameter indicating that the firmware upgrade failed.
5. A computer device, comprising:
at least one processor; and
memory storing a computer program operable on the processor, characterized in that the processor executes the program to perform the steps of the method according to any of claims 1-4.
6. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, is adapted to carry out the steps of the method of any one of claims 1 to 4.
CN201910736426.6A 2019-08-09 2019-08-09 Method, equipment and storage medium for displaying firmware upgrading command Active CN110502296B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910736426.6A CN110502296B (en) 2019-08-09 2019-08-09 Method, equipment and storage medium for displaying firmware upgrading command

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910736426.6A CN110502296B (en) 2019-08-09 2019-08-09 Method, equipment and storage medium for displaying firmware upgrading command

Publications (2)

Publication Number Publication Date
CN110502296A CN110502296A (en) 2019-11-26
CN110502296B true CN110502296B (en) 2022-06-24

Family

ID=68586418

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910736426.6A Active CN110502296B (en) 2019-08-09 2019-08-09 Method, equipment and storage medium for displaying firmware upgrading command

Country Status (1)

Country Link
CN (1) CN110502296B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112230962B (en) * 2020-10-28 2023-12-22 超越科技股份有限公司 BIOS configuration storage method and system for processor platform

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108270626A (en) * 2018-02-01 2018-07-10 郑州云海信息技术有限公司 A kind of method, apparatus, equipment and the readable storage medium storing program for executing of upgrade server firmware
CN109088783A (en) * 2018-11-01 2018-12-25 郑州云海信息技术有限公司 Refresh progress acquisition methods, device and equipment between whole machine cabinet server multistage
CN109634686A (en) * 2018-12-17 2019-04-16 郑州云海信息技术有限公司 A kind of method and system by BMC remote configuration server state

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108270626A (en) * 2018-02-01 2018-07-10 郑州云海信息技术有限公司 A kind of method, apparatus, equipment and the readable storage medium storing program for executing of upgrade server firmware
CN109088783A (en) * 2018-11-01 2018-12-25 郑州云海信息技术有限公司 Refresh progress acquisition methods, device and equipment between whole machine cabinet server multistage
CN109634686A (en) * 2018-12-17 2019-04-16 郑州云海信息技术有限公司 A kind of method and system by BMC remote configuration server state

Also Published As

Publication number Publication date
CN110502296A (en) 2019-11-26

Similar Documents

Publication Publication Date Title
WO2020006910A1 (en) Business componentization development method and apparatus, computer device, and storage medium
US9262237B2 (en) Automating software availability management based on API versioning
US11375002B2 (en) Application version switching method and apparatus, electronic device and storage medium
CN111324378B (en) Configuration method, device and equipment for video monitoring application software
CN110929883A (en) Method and device for supporting FPGA (field programmable gate array) training in TensorFlow
WO2017166448A1 (en) Kernel vulnerability repair method and device
CN110599341A (en) Transaction calling method and system
CN110825428A (en) State machine configuration method, device, equipment and readable storage medium
CN110502296B (en) Method, equipment and storage medium for displaying firmware upgrading command
CN111367560A (en) Method, system, equipment and medium for expanding server function
CN107391178B (en) Terminal installation package deployment and implementation method and device
CN105577828A (en) Remote redirection method and device
CN110968339B (en) Method and device for front-end building tool and electronic equipment
CN110727534A (en) Method, equipment and storage medium for repairing file system
CN116048609A (en) Configuration file updating method, device, computer equipment and storage medium
CN115827049A (en) Configuration-based cache switching method, electronic equipment and storage medium
CN112068895B (en) Code configuration method, device, video playing equipment and storage medium
CN110427199B (en) Method, equipment and readable medium for upgrading BMC and BIOS in matching manner
CN108804221B (en) Embedded system based on XIP mode and resource optimization method thereof
CN114936152A (en) Application testing method and device
CN109634653B (en) Resource allocation method and device based on componentized architecture
CN112286894A (en) Log generation method and device and readable storage medium
CN111857744A (en) Installation method, system, equipment and medium of super-fusion system
CN115237458A (en) Method for calling inference hardware to execute AI application and related product
CN110633146A (en) Method, equipment and readable medium for multithread operation of IPMI command

Legal Events

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