CN117806671A - Power supply system upgrading method, device, equipment and storage medium - Google Patents

Power supply system upgrading method, device, equipment and storage medium Download PDF

Info

Publication number
CN117806671A
CN117806671A CN202311607273.8A CN202311607273A CN117806671A CN 117806671 A CN117806671 A CN 117806671A CN 202311607273 A CN202311607273 A CN 202311607273A CN 117806671 A CN117806671 A CN 117806671A
Authority
CN
China
Prior art keywords
upgraded
upgrade
power supply
supply system
voltage regulation
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
CN202311607273.8A
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.)
Suzhou Metabrain Intelligent Technology Co Ltd
Original Assignee
Suzhou Metabrain 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 Metabrain Intelligent Technology Co Ltd filed Critical Suzhou Metabrain Intelligent Technology Co Ltd
Priority to CN202311607273.8A priority Critical patent/CN117806671A/en
Publication of CN117806671A publication Critical patent/CN117806671A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a method, a device, equipment and a storage medium for upgrading a power supply system, which are used for developing a corresponding power supply system upgrading graphical interface aiming at equipment information of the power supply system; receiving equipment information of a power supply system selected by a user, and matching a corresponding power supply system upgrading graphical interface according to the equipment information of the power supply system; receiving a parameter file of a voltage regulation controller to be upgraded, a model number of the voltage regulation controller to be upgraded and a project number to be upgraded, which are selected by a user, through a corresponding power system upgrading graphical interface; generating an upgrade program file according to the parameter file of the voltage regulation controller to be upgraded, the model of the voltage regulation controller to be upgraded and the project number to be upgraded, so that equipment to be upgraded upgrades the power supply system according to the upgrade program file, the development cost of the upgrade file can be reduced, the quality problem of upgrade software caused by manually writing an upgrade script can be avoided, and the development efficiency of the upgrade software of the power supply system is improved.

Description

Power supply system upgrading method, device, equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a storage medium for upgrading a power supply system.
Background
Power supply systems are widely used in various central processing chips, such as Intel processors, AMD processors, and ARM processors, and include a voltage regulator controller (Voltage Regulator controller, VR controller), which is the main controller for the processor to control the voltage step-down circuit. When the processor is updated, the voltage regulation controller is indirectly updated, and at the moment, a system recall or a manual update of a staff is required, so that labor cost and time waste are caused. In the related art, a power supply system in a processor is remotely upgraded by writing an upgrade script. However, as the brands of the processors are more, the models of the voltage regulation controllers are numerous, and the requirements of different projects on the power supply system are different, when the upgrade script is compiled, the upgrade program needs to be adaptively modified according to the manufacturer of the processors, the models of the voltage regulation controllers and the project version, the development cost of the upgrade script is high, and the software quality risk is brought by manually compiling the upgrade script, so that the normal upgrade of the power supply system is influenced.
Disclosure of Invention
The invention provides a power supply system upgrading method, a device, equipment and a storage medium, which are used for solving the defects that the development cost of an upgrading script is high, the quality of upgrading software is easily caused by manually writing the upgrading script, and the normal upgrading of a power supply system is influenced when the traditional power supply system upgrading method for remotely upgrading the power supply system by writing the upgrading script.
The invention provides a power supply system upgrading method, which is applied to a remote control terminal and comprises the following steps:
developing a corresponding power supply system upgrading graphical interface aiming at equipment information of the power supply system;
receiving equipment information of a power supply system selected by a user, and matching a corresponding power supply system upgrading graphical interface according to the equipment information of the power supply system;
receiving a power system parameter to be upgraded selected by a user through the corresponding power system upgrading graphical interface, wherein the power system parameter to be upgraded comprises a voltage regulation controller parameter file, a voltage regulation controller model to be upgraded and a project number to be upgraded;
generating an upgrade program file according to the to-be-upgraded voltage regulation controller parameter file, the to-be-upgraded voltage regulation controller model and the to-be-upgraded project number, so that the to-be-upgraded equipment upgrades the power supply system according to the upgrade program file.
According to the power system upgrading method provided by the invention, the equipment information of the power system is the processor information of the power system, when the processor is a first processor, the power system parameters to be upgraded also comprise the firmware version identifier to be upgraded and the equipment identifier to be upgraded, and the power system upgrading method corresponding to the first processor also comprises the following steps:
Receiving a firmware version identifier to be upgraded and a device identifier to be upgraded, which are selected by a user, through a power system upgrading graphical interface corresponding to the first processor;
generating shell files according to the hex files corresponding to the voltage regulation controller parameter files to be upgraded, the voltage regulation controller types to be upgraded, the project numbers to be upgraded, the equipment identifiers to be upgraded and the firmware version identifiers to be upgraded;
transmitting the shell file to a device end to be upgraded so that the device end to be upgraded upgrades a power supply system according to the shell file;
when the processor is a second processor, the power system parameter to be upgraded further comprises a firmware version identifier to be upgraded, a device identifier to be upgraded, a voltage regulation controller name and a CPU name to be upgraded, and the power system upgrading method corresponding to the second processor further comprises:
receiving a hex file, a voltage regulation controller model, a project number, a device identifier, a firmware version identifier, a voltage regulation controller name and a CPU name, which are selected by a user, corresponding to the parameters of the voltage regulation controller to be upgraded, through a second processor corresponding to a power system upgrading graphical interface;
Displaying a firmware check code corresponding to the name of the voltage regulation controller to be upgraded selected by the user in a power system upgrading graphical interface corresponding to the second processor;
after the second processor corresponding to the power system upgrading graphical interface receives confirmation information of the firmware check code from a user, generating a shell file according to the hex file, the voltage regulation controller model to be upgraded, the project number to be upgraded, the equipment identifier to be upgraded, the firmware version identifier to be upgraded, the voltage regulation controller name to be upgraded and the CPU name to be upgraded, and transmitting the shell file to the equipment end to be upgraded, so that the equipment end to be upgraded upgrades the power system according to the shell file.
According to the power supply system upgrading method provided by the invention, the power supply system upgrading graphical interface comprises a message display frame and further comprises:
and after receiving the information selected by the user, displaying the operation content of the user and the information selected by the user through the message display frame.
The power supply system upgrading method provided by the invention further comprises the following steps:
receiving upgrade request information sent by equipment to be upgraded, and obtaining an identification of the equipment to be upgraded;
And sending the upgrade program file to the corresponding equipment to be upgraded according to the equipment identification to be upgraded, so that the equipment to be upgraded upgrades the power supply system according to the upgrade program file.
The invention provides a power supply system upgrading method, which is applied to equipment to be upgraded and comprises the following steps:
sending upgrading request information to a remote control end;
acquiring an upgrade program file according to the upgrade request information, wherein the upgrade program file is generated through a power system upgrade graphical interface in a remote control terminal;
and analyzing the upgrade program file to obtain an upgrade program code so as to upgrade the power supply system according to the upgrade program code.
According to the power system upgrading method provided by the invention, the power system is upgraded according to the upgrading program code, and the method comprises the following steps:
combining the upgrade program code with a baseboard management controller starting code of equipment to be upgraded, and writing the upgrade program code into a voltage regulation controller by executing an I2C read-write command through a hardware management interface in the starting process of the baseboard management controller;
the upgrade program code comprises a processor manufacturer code, a voltage regulation controller model code, an item version code and a supporting communication protocol.
The invention also provides a power supply system upgrading device, which is applied to a remote control end and comprises:
the development module is used for developing a corresponding power supply system upgrading graphical interface aiming at the equipment information of the power supply system;
the first receiving module is used for receiving equipment information of the power supply system selected by a user, and matching a corresponding power supply system upgrading graphical interface according to the equipment information of the power supply system;
the second receiving module is used for receiving the power system parameters to be upgraded selected by the user through the corresponding power system upgrading graphical interface, wherein the power system parameters to be upgraded comprise a voltage regulation controller parameter file, a voltage regulation controller model to be upgraded and a project number to be upgraded;
the generating module is used for generating an upgrade program file according to the to-be-upgraded voltage regulation controller parameter file, the to-be-upgraded voltage regulation controller model and the to-be-upgraded project number, so that the to-be-upgraded equipment upgrades the power supply system according to the upgrade program file.
The invention also provides a power supply system upgrading device which is applied to equipment to be upgraded and comprises:
the sending module is used for sending upgrading request information to the remote control end;
The acquisition module is used for acquiring an upgrade program file according to the upgrade request information, wherein the upgrade program file is generated through a power system upgrade graphical interface in a remote control terminal;
the analysis module is used for analyzing the upgrade program file to obtain an upgrade program code, combining the upgrade program code with a basic input/output system code of equipment to be upgraded, and writing the upgrade program code into the voltage regulation controller by executing an I2C read-write command through a hardware management interface in the starting process of the basic input/output system; the upgrade program code comprises a processor manufacturer code, a voltage regulation controller model code, an item version code and a supporting communication protocol.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the power supply system upgrading method according to any one of the above when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the power system upgrade method of any one of the above.
The power supply system upgrading method, the device, the equipment and the storage medium provided by the invention are used for developing a corresponding power supply system upgrading graphical interface aiming at equipment information of the power supply system; receiving equipment information of a power supply system selected by a user, and matching a corresponding power supply system upgrading graphical interface according to the equipment information of the power supply system; receiving a parameter file of a voltage regulation controller to be upgraded, a model number of the voltage regulation controller to be upgraded and a project number to be upgraded, which are selected by a user, through a corresponding power system upgrading graphical interface; generating an upgrade program file according to the parameter file of the voltage regulation controller to be upgraded, the model of the voltage regulation controller to be upgraded and the project number to be upgraded, so that equipment to be upgraded upgrades the power supply system according to the upgrade program file, the development cost of the upgrade file can be reduced, the quality problem of upgrade software caused by manually writing an upgrade script can be avoided, and the development efficiency of the upgrade software of the power supply system is improved.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a power system upgrade method according to the present invention;
FIG. 2 is a flow chart of a conventional power system upgrade;
FIG. 3 is a schematic diagram of an upgrade process of a power system provided by the present invention;
FIG. 4 is a schematic diagram of a graphical interface for upgrading a power supply system corresponding to an Intel processor provided by the invention;
FIG. 5 is a graphical interface diagram of an upgrade of a power system corresponding to an AMD processor provided by the present invention;
FIG. 6 is a second flowchart of a power system upgrade method according to the present invention;
FIG. 7 is a third flow chart of the power system upgrade method according to the present invention;
FIG. 8 is a schematic diagram of a power system upgrade apparatus according to the present invention;
FIG. 9 is a second schematic diagram of a power system upgrade apparatus according to the present invention;
fig. 10 is a schematic functional structure of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Fig. 1 is a flowchart of a power system upgrade method provided by an embodiment of the present invention, where, as shown in fig. 1, the power system upgrade method provided by the embodiment of the present invention is applied to a remote control end, and includes:
step 101, developing a corresponding power supply system upgrade graphical interface aiming at equipment information of a power supply system;
102, receiving equipment information of a power supply system selected by a user, and matching a corresponding power supply system upgrading graphical interface according to the equipment information of the power supply system;
step 103, receiving the power system parameters to be upgraded selected by a user through a corresponding power system upgrading graphical interface, wherein the power system parameters to be upgraded comprise a voltage regulation controller parameter file, a voltage regulation controller model to be upgraded and a project number to be upgraded;
in the embodiment of the invention, the voltage regulation controller parameter file to be upgraded is a hex file, and the inside of the hex file comprises voltage regulation controller parameter information, such as an output voltage value, a current overcurrent protection threshold value and the like; the voltage regulation controller to be upgraded is, for example, intel-EGS, intel-BHS, AMD-SP5, AMD-SP7 and the like; the project number to be upgraded can be a number set for each power source research and development project inside a power source research and development or use enterprise.
And 104, generating an upgrade program file according to the parameter file of the voltage regulation controller to be upgraded, the model number of the voltage regulation controller to be upgraded and the project number to be upgraded, so that the equipment to be upgraded upgrades the power supply system according to the upgrade program file.
In the embodiment of the invention, the power supply system upgrading graphical interface comprises a plurality of selection buttons, wherein the selection buttons comprise a voltage regulation controller parameter file selection button, a voltage regulation controller model selection button and a project number selection button; receiving a voltage regulation controller parameter file to be upgraded selected by a user through a voltage regulation controller parameter file selection button, and receiving a voltage regulation controller model to be upgraded selected by the user through a voltage regulation controller model selection button; receiving a project number to be upgraded selected by a user through a project number selection button; generating an upgrade program file according to the upgrade voltage regulation controller parameter file, the voltage regulation controller model to be upgraded and the project number to be upgraded, so that the equipment to be upgraded upgrades the power supply system according to the upgrade program file.
The remote upgrading province of the traditional power supply system is to remotely upgrade the power supply system in the processor by writing an upgrade script. However, because of the number of brands of the processor and the number of models of the voltage regulator controller, the requirements of different projects on the power supply system are different, as shown in fig. 2, there are many applications of the core power supply on the server, and these voltages are all matched with the voltage regulator controller to design the power supply to supply power to the CPU, because of many processor manufacturers, each manufacturer has different product specifications, taking Intel, AMD, ARM of the main manufacturer as an example, 3 processor manufacturers, 3 voltage regulator controller manufacturers and 3 development projects, and 27 upgrade scripts may need to be written in the 3x3x3 permutation and combination. Therefore, when the upgrade script is compiled, the upgrade program needs to be adaptively modified according to the manufacturer of the processor, the model of the voltage regulation controller and the project version, the development cost of the upgrade script is high, and the quality risk of software is brought by manually compiling the upgrade script, so that the normal upgrade of the power supply system is influenced.
As shown in FIG. 3, the invention integrates the processor manufacturer and the voltage regulation controller manufacturer by developing the graphical interface, so that a developer can be prevented from writing 27 upgrade scripts, but different processor manufacturers and voltage regulation controller manufacturers can select manufacturer names, equipment models and the like by using the graphical interface to automatically generate sh files, wherein the sh files are text files called Shell scripts, and the Shell scripts are commonly used for executing a series of system commands, program calls, file operations and the like. The sh file is favorable for transmitting the upgrade script to the equipment to be upgraded on the network so that the equipment to be upgraded can execute the power supply system updating operation.
According to the power supply system upgrading method provided by the embodiment of the invention, a corresponding power supply system upgrading graphical interface is developed aiming at equipment information of the power supply system; receiving equipment information of a power supply system selected by a user, and matching a corresponding power supply system upgrading graphical interface according to the equipment information of the power supply system; receiving a parameter file of a voltage regulation controller to be upgraded, a model number of the voltage regulation controller to be upgraded and a project number to be upgraded, which are selected by a user, through a corresponding power system upgrading graphical interface; generating an upgrade program file according to the parameter file of the voltage regulation controller to be upgraded, the model of the voltage regulation controller to be upgraded and the project number to be upgraded, so that equipment to be upgraded upgrades the power supply system according to the upgrade program file, the development cost of the upgrade file can be reduced, the quality problem of upgrade software caused by manually writing an upgrade script can be avoided, and the development efficiency of the upgrade software of the power supply system is improved.
Based on any of the above embodiments, as shown in fig. 4, the device information of the power supply system is processor information of the power supply system, and when the processor is a first processor (Intel processor), the power supply system parameters to be upgraded further include a firmware version identifier to be upgraded and a device identifier to be upgraded, and the power supply system upgrading method corresponding to the first processor further includes:
step 401, receiving a firmware version identifier to be upgraded and a device identifier to be upgraded, which are selected by a user, through a graphical interface corresponding to a power system upgrade by a first processor;
step 402, generating shell files according to the hex files corresponding to the voltage regulation controller parameter files to be upgraded, the voltage regulation controller types to be upgraded, the project numbers to be upgraded, the equipment identifiers to be upgraded and the firmware version identifiers to be upgraded;
and step 403, transmitting the shell file to a device end to be upgraded so that the device end to be upgraded upgrades the power supply system according to the shell file.
In the embodiment of the invention, the power supply system upgrade graphical interface is a power supply system upgrade graphical interface corresponding to the Intel processor, and the power supply system upgrade graphical interface also comprises a export button for exporting the configuration selected by the current user; an exit button for exiting the power system upgrade graphical interface; a clear button for clearing the configuration required by the user; the power supply system upgrade graphical interface also comprises a message display frame which is used for intuitively displaying all the configurations selected by the user to the user in the form of message sentences.
As shown in fig. 5, when the processor is a second processor (AMD processor), the power system parameters to be upgraded further include a voltage adjustment controller name and a CPU name to be upgraded, and the power system upgrading method corresponding to the second processor further includes:
step 501, receiving, through a second processor corresponding to a power system upgrade graphical interface, a hex file, a voltage regulation controller model, a project number, a device identifier, a firmware version identifier, a voltage regulation controller name and a CPU name, which are selected by a user and correspond to parameters of the voltage regulation controller to be upgraded;
step 502, displaying a firmware check code corresponding to the name of the voltage regulation controller to be upgraded selected by the user in a graphical interface corresponding to the power system upgrade of the second processor;
in the embodiment of the invention, as the version of the voltage regulation controller corresponding to the AMD processor is more, the firmware check code corresponding to the name of the voltage regulation controller is displayed to the user, so that the user can check the voltage regulation controller of the equipment to be upgraded, thereby avoiding upgrading errors and affecting the safety of the power supply system.
Step 503, after the second processor corresponding to the power system upgrade graphical interface receives the confirmation information of the user on the firmware check code, generating a shell file according to the hex file, the voltage adjustment controller model to be upgraded, the project number to be upgraded, the equipment identifier to be upgraded, the firmware version identifier to be upgraded, the voltage adjustment controller name to be upgraded and the CPU name to be upgraded, and transmitting the shell file to the equipment end to be upgraded, so that the equipment end to be upgraded upgrades the power system according to the shell file.
In the embodiment of the invention, the power supply system upgrading graphical interface comprises a message display frame, and the power supply system upgrading method further comprises the following steps:
after receiving the information selected by the user, the operation content of the user and the information selected by the user are displayed through the message display frame, so that the user can conveniently know and confirm whether the upgrade information is correct, and the upgrade safety is improved.
In some embodiments of the present invention, the power system upgrade method further includes:
receiving upgrade request information sent by equipment to be upgraded, and obtaining an identification of the equipment to be upgraded;
and sending the upgrade program file to the corresponding equipment to be upgraded according to the equipment to be upgraded so that the equipment to be upgraded upgrades the power supply system according to the upgrade program file.
According to the power supply system upgrading method provided by the embodiment of the invention, the upgrading program file is sent to the corresponding equipment to be upgraded according to the equipment to be upgraded, so that the equipment to be upgraded can upgrade the power supply system according to the upgrading program file, and the remote upgrading of the power supply system can be realized, and the method is convenient and quick.
Fig. 6 is a flowchart of a power system upgrade method provided by an embodiment of the present invention, where, as shown in fig. 6, the power system upgrade method provided by the embodiment of the present invention is applied to a device to be upgraded, and includes:
Step 601, sending upgrade request information to a remote control terminal;
step 602, obtaining an upgrade program file according to the upgrade request information, wherein the upgrade program file is generated through a power system upgrade graphical interface in a remote control terminal;
and step 603, analyzing the upgrade program file to obtain an upgrade program code, so as to upgrade the power supply system according to the upgrade program code.
In an embodiment of the present invention, upgrading the power supply system according to the upgrade program code includes:
combining the upgrade program code with a baseboard management controller starting code of equipment to be upgraded, and executing an I2C read-write command through a hardware management interface to write the upgrade program code into a voltage regulation controller in the process of starting the baseboard management controller;
the upgrade program code comprises a processor manufacturer code, a voltage regulation controller model code, an item version code and a supporting communication protocol.
According to the power supply system upgrading method provided by the embodiment of the invention, upgrading request information is sent to the remote control end; acquiring an upgrade program file according to the upgrade request information, wherein the upgrade program file is generated through a power system upgrade graphical interface in a remote control terminal; and analyzing the upgrade program file to obtain an upgrade program code so as to upgrade the power supply system according to the upgrade program code, thereby improving the upgrade efficiency and the safety of the power supply system.
Based on any of the above embodiments, as shown in fig. 7, the power supply system upgrading method provided in the embodiment of the present invention specifically includes:
701, developing a power supply system upgrading graphical interface by a remote control end, wherein the power supply system upgrading graphical interface comprises a plurality of selection buttons, and the selection buttons comprise a voltage regulation controller parameter file selection button, a voltage regulation controller model selection button and a project number selection button;
step 702, the device to be upgraded sends upgrade request information to the remote control terminal;
step 703, after receiving the upgrade request information, the remote control end receives the voltage adjustment controller parameter file to be upgraded selected by the user through the voltage adjustment controller parameter file selection button, and receives the voltage adjustment controller model to be upgraded selected by the user through the voltage adjustment controller model selection button; receiving a project number to be upgraded selected by a user through a project number selection button;
step 704, generating an upgrade program file according to the upgrade voltage adjustment controller parameter file, the model of the voltage adjustment controller to be upgraded and the project number to be upgraded;
step 705, the equipment to be upgraded acquires an upgrade program file according to the upgrade request information;
And 706, analyzing the upgrade program file by the equipment to be upgraded to obtain an upgrade program code, combining the upgrade program code with a starting code of a baseboard management controller of the equipment to be upgraded, and executing an I2C read-write command through a hardware management interface to write the upgrade program code into the voltage regulation controller in the starting process of the baseboard management controller.
According to the power supply system upgrading method provided by the embodiment of the invention, a power supply system upgrading graphical interface is developed through a remote control end, the power supply system upgrading graphical interface comprises a plurality of selection buttons, and the selection buttons comprise a voltage regulation controller parameter file selection button, a voltage regulation controller model selection button and a project number selection button; the equipment to be upgraded sends upgrading request information to a remote control end, the voltage regulation controller parameter file to be upgraded selected by a user is received through a voltage regulation controller parameter file selection button, and the remote control end receives the voltage regulation controller model to be upgraded selected by the user through a voltage regulation controller model selection button; receiving a project number to be upgraded selected by a user through a project number selection button; generating an upgrade program file according to the parameter file of the voltage regulation controller to be upgraded, the model of the voltage regulation controller to be upgraded and the project number to be upgraded, so that the power system is upgraded according to the upgrade program file, the development cost of the upgrade file can be reduced, the quality problem of upgrade software caused by manually writing an upgrade script can be avoided, and the development efficiency of the upgrade software of the power system is improved.
The power system upgrade apparatus provided by the present invention will be described below, and the power system upgrade apparatus described below and the power system upgrade method described above may be referred to correspondingly to each other.
Fig. 8 is a functional schematic diagram of a power system upgrade apparatus according to an embodiment of the present invention, where, as shown in fig. 8, the power system upgrade apparatus according to an embodiment of the present invention is applied to a remote control terminal, and includes:
a development module 801, configured to develop a corresponding power supply system upgrade graphical interface for information of a device where the power supply system is located;
the first receiving module 802 is configured to receive information of a device where a power supply system is selected by a user, and match a corresponding power supply system upgrade graphical interface according to the information of the device where the power supply system is located;
the second receiving module 803 is configured to receive, through the corresponding power system upgrade graphical interface, a power system parameter to be upgraded selected by a user, where the power system parameter to be upgraded includes a voltage adjustment controller parameter file, a voltage adjustment controller model to be upgraded, and a project number to be upgraded;
the generating module 804 is configured to generate an upgrade program file according to the to-be-upgraded voltage regulation controller parameter file, the to-be-upgraded voltage regulation controller model, and the to-be-upgraded project number, so that the to-be-upgraded device upgrades the power supply system according to the upgrade program file.
In an embodiment of the present invention, the power system upgrade graphical interface further includes: and the equipment identifier selection button is used for receiving the equipment identifier to be upgraded selected by the user, and generating an upgrade program file according to the parameter file of the voltage regulation controller to be upgraded, the model number of the voltage regulation controller to be upgraded, the project number to be upgraded and the equipment identifier to be upgraded.
The power system upgrade graphical interface further comprises: and the firmware version identification selection button is used for receiving a firmware version identification to be upgraded selected by a user, and generating an upgrade program file according to the voltage regulation controller parameter file to be upgraded, the voltage regulation controller model to be upgraded, the item number to be upgraded, the equipment identification to be upgraded and the firmware version identification to be upgraded.
In the embodiment of the invention, the power supply system upgrading graphical interface is a power supply system upgrading graphical interface corresponding to an AMD processor, and the power supply system upgrading graphical interface comprises a voltage regulation controller parameter file selection button, a voltage regulation controller model selection button, a project number selection button, a device identification selection button and a firmware version identification selection button, and also comprises a export button for exporting the configuration selected by the current user; an exit button for exiting the power system upgrade graphical interface; a clear button for clearing the configuration required by the user; the power supply system upgrade graphical interface also comprises a message display frame which is used for intuitively displaying all the configurations selected by the user to the user in the form of message sentences.
In the embodiment of the invention, the power system upgrade graphical interface is a power system upgrade graphical interface corresponding to the Intel processor, and the power system upgrade graphical interface comprises a voltage regulation controller parameter file selection button, a voltage regulation controller model selection button, a project number selection button, a device identification selection button and a firmware version identification selection button.
The power supply system upgrading device provided by the embodiment of the invention is characterized in that a power supply system upgrading graphical interface is developed, wherein the power supply system upgrading graphical interface comprises a plurality of selection buttons, and the selection buttons comprise a voltage regulation controller parameter file selection button, a voltage regulation controller model selection button and a project number selection button; receiving a voltage regulation controller parameter file to be upgraded selected by a user through a voltage regulation controller parameter file selection button, and receiving a voltage regulation controller model to be upgraded selected by the user through a voltage regulation controller model selection button; receiving a project number to be upgraded selected by a user through a project number selection button; generating an upgrade program file according to the parameter file of the voltage regulation controller to be upgraded, the model of the voltage regulation controller to be upgraded and the project number to be upgraded, so that the power system is upgraded according to the upgrade program file, the development cost of the upgrade file can be reduced, the quality problem of upgrade software caused by manually writing an upgrade script can be avoided, and the development efficiency of the upgrade software of the power system is improved.
Fig. 9 is a functional schematic diagram of a power system upgrade apparatus provided in an embodiment of the present invention, where, as shown in fig. 9, the power system upgrade apparatus provided in the embodiment of the present invention is applied to a device to be upgraded, and includes:
a sending module 901, configured to send upgrade request information to a remote control end;
an obtaining module 902, configured to obtain an upgrade program file according to the upgrade request information, where the upgrade program file is generated through a power system upgrade graphical interface in a remote control end;
the parsing module 903 is configured to parse the upgrade program file to obtain an upgrade program code, combine the upgrade program code with a basic input/output system code of a device to be upgraded, and write the upgrade program code into the voltage regulation controller by executing an I2C read/write command through a hardware management interface in a process of executing a start-up of the basic input/output system; the upgrade program code comprises a processor manufacturer code, a voltage regulation controller model code, an item version code and a supporting communication protocol.
In an embodiment of the present invention, the parsing module 903 is configured to:
combining the upgrade program code with a baseboard management controller starting code of equipment to be upgraded, and executing an I2C read-write command through a hardware management interface to write the upgrade program code into a voltage regulation controller in the process of starting the baseboard management controller; the upgrade program code comprises a processor manufacturer code, a voltage regulation controller model code, an item version code and a supporting communication protocol.
According to the power supply system upgrading device provided by the embodiment of the invention, the upgrading request information is sent to the remote control end; acquiring an upgrade program file according to the upgrade request information, wherein the upgrade program file is generated through a power system upgrade graphical interface in a remote control terminal; and analyzing the upgrade program file to obtain an upgrade program code so as to upgrade the power supply system according to the upgrade program code, thereby improving the upgrade efficiency and the safety of the power supply system.
The power supply system upgrading system provided by the embodiment of the invention comprises:
the remote control end and the equipment to be upgraded;
the remote control terminal comprises a power supply system upgrading device, wherein the power supply system upgrading device upgrades a graphical interface by developing a power supply system, the power supply system upgrading graphical interface comprises a plurality of selection buttons, and the selection buttons comprise a voltage regulation controller parameter file selection button, a voltage regulation controller model selection button and a project number selection button; receiving a voltage regulation controller parameter file to be upgraded selected by a user through a voltage regulation controller parameter file selection button, and receiving a voltage regulation controller model to be upgraded selected by the user through a voltage regulation controller model selection button; receiving a project number to be upgraded selected by a user through a project number selection button; generating an upgrade program file according to the parameter file of the voltage regulation controller to be upgraded, the model of the voltage regulation controller to be upgraded and the project number to be upgraded, so that the power system is upgraded according to the upgrade program file, the development cost of the upgrade file can be reduced, the quality problem of upgrade software caused by manually writing an upgrade script can be avoided, and the development efficiency of the upgrade software of the power system is improved.
The equipment to be upgraded comprises a power system upgrading device, wherein the power system upgrading device sends upgrading request information to a remote control end; acquiring an upgrade program file according to the upgrade request information, wherein the upgrade program file is generated through a power system upgrade graphical interface in a remote control terminal; and analyzing the upgrade program file to obtain an upgrade program code so as to upgrade the power supply system according to the upgrade program code, thereby improving the upgrade efficiency and the safety of the power supply system.
Fig. 10 illustrates a physical structure diagram of a switch, as shown in fig. 10, the electronic device may include: a processor 1010, a communication interface (Communications Interface) 1020, a memory 1030, and a communication bus 1040, wherein the processor 1010, the communication interface 1020, and the memory 1030 communicate with each other via the communication bus 1040. Processor 1010 may invoke logic instructions in memory 1030 to perform a power system upgrade method comprising: developing a corresponding power supply system upgrading graphical interface aiming at equipment information of the power supply system; receiving equipment information of a power supply system selected by a user, and matching a corresponding power supply system upgrading graphical interface according to the equipment information of the power supply system; receiving a parameter file of a voltage regulation controller to be upgraded, a model number of the voltage regulation controller to be upgraded and a project number to be upgraded, which are selected by a user, through a corresponding power system upgrading graphical interface; and generating an upgrade program file according to the parameter file of the voltage regulation controller to be upgraded, the model of the voltage regulation controller to be upgraded and the project number to be upgraded.
The embodiment of the invention also provides a server, which can comprise: the device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are in communication with each other through the communication bus. The processor may invoke logic instructions in the memory to perform a power system upgrade method comprising: sending upgrading request information to a remote control end; acquiring an upgrade program file according to the upgrade request information, wherein the upgrade program file is generated through a power system upgrade graphical interface in a remote control terminal; and analyzing the upgrade program file to obtain an upgrade program code so as to upgrade the power supply system according to the upgrade program code.
In another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the power system upgrade method provided by the above methods, the method comprising: developing a corresponding power supply system upgrading graphical interface aiming at equipment information of the power supply system; receiving equipment information of a power supply system selected by a user, and matching a corresponding power supply system upgrading graphical interface according to the equipment information of the power supply system; receiving a parameter file of a voltage regulation controller to be upgraded, a model number of the voltage regulation controller to be upgraded and a project number to be upgraded, which are selected by a user, through a corresponding power system upgrading graphical interface; generating an upgrade program file according to the parameter file of the voltage regulation controller to be upgraded, the model of the voltage regulation controller to be upgraded and the project number to be upgraded, and/or sending upgrade request information to a remote control terminal; acquiring an upgrade program file according to the upgrade request information, wherein the upgrade program file is generated through a power system upgrade graphical interface in a remote control terminal; and analyzing the upgrade program file to obtain an upgrade program code so as to upgrade the power supply system according to the upgrade program code.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (11)

1. The power supply system upgrading method is characterized by being applied to a remote control end and comprising the following steps of:
developing a corresponding power supply system upgrading graphical interface aiming at equipment information of the power supply system;
receiving equipment information of a power supply system selected by a user, and matching a corresponding power supply system upgrading graphical interface according to the equipment information of the power supply system;
receiving a power system parameter to be upgraded selected by a user through the corresponding power system upgrading graphical interface, wherein the power system parameter to be upgraded comprises a voltage regulation controller parameter file, a voltage regulation controller model to be upgraded and a project number to be upgraded;
generating an upgrade program file according to the to-be-upgraded voltage regulation controller parameter file, the to-be-upgraded voltage regulation controller model and the to-be-upgraded project number, so that the to-be-upgraded equipment upgrades the power supply system according to the upgrade program file.
2. The power supply system upgrading method according to claim 1, wherein the power supply system equipment information is power supply system processor information, and when the processor is a first processor, the power supply system parameters to be upgraded further include a firmware version identifier to be upgraded and a device identifier to be upgraded, and the power supply system upgrading method corresponding to the first processor further includes:
receiving a firmware version identifier to be upgraded and a device identifier to be upgraded, which are selected by a user, through a power system upgrading graphical interface corresponding to the first processor;
generating shell files according to the hex files corresponding to the voltage regulation controller parameter files to be upgraded, the voltage regulation controller types to be upgraded, the project numbers to be upgraded, the equipment identifiers to be upgraded and the firmware version identifiers to be upgraded;
transmitting the shell file to a device end to be upgraded so that the device end to be upgraded upgrades a power supply system according to the shell file;
when the processor is a second processor, the power system parameter to be upgraded further comprises a voltage regulation controller name and a CPU name to be upgraded, and the power system upgrading method corresponding to the second processor further comprises the following steps:
Receiving a hex file, a voltage regulation controller model, a project number, a device identifier, a firmware version identifier, a voltage regulation controller name and a CPU name, which are selected by a user, corresponding to the parameters of the voltage regulation controller to be upgraded, through a second processor corresponding to a power system upgrading graphical interface;
displaying a firmware check code corresponding to the name of the voltage regulation controller to be upgraded selected by the user in a power system upgrading graphical interface corresponding to the second processor;
after the second processor corresponding to the power system upgrading graphical interface receives confirmation information of the firmware check code from a user, generating a shell file according to the hex file, the voltage regulation controller model to be upgraded, the project number to be upgraded, the equipment identifier to be upgraded, the firmware version identifier to be upgraded, the voltage regulation controller name to be upgraded and the CPU name to be upgraded, and transmitting the shell file to the equipment end to be upgraded, so that the equipment end to be upgraded upgrades the power system according to the shell file.
3. The power system upgrade method according to claim 1, wherein the power system upgrade graphical interface comprises a message display box, further comprising:
And after receiving the information selected by the user, displaying the operation content of the user and the information selected by the user through the message display frame.
4. The power system upgrade method according to claim 1, further comprising:
receiving upgrade request information sent by equipment to be upgraded, and obtaining an identification of the equipment to be upgraded;
and sending the upgrade program file to the corresponding equipment to be upgraded according to the equipment identification to be upgraded, so that the equipment to be upgraded upgrades the power supply system according to the upgrade program file.
5. A power system upgrade method, applied to a device to be upgraded, comprising:
sending upgrading request information to a remote control end;
acquiring an upgrade program file according to the upgrade request information, wherein the upgrade program file is generated through a power system upgrade graphical interface in a remote control terminal;
and analyzing the upgrade program file to obtain an upgrade program code so as to upgrade the power supply system according to the upgrade program code.
6. The power system upgrade method according to claim 5, wherein the upgrading the power system according to the upgrade program code comprises:
combining the upgrade program code with a baseboard management controller starting code of equipment to be upgraded, and writing the upgrade program code into a voltage regulation controller by executing an I2C read-write command through a hardware management interface in the starting process of the baseboard management controller;
The upgrade program code comprises a processor manufacturer code, a voltage regulation controller model code, an item version code and a supporting communication protocol.
7. The utility model provides a power supply system upgrading device which is characterized in that is applied to the remote control end, includes:
the development module is used for developing a corresponding power supply system upgrading graphical interface aiming at the equipment information of the power supply system;
the first receiving module is used for receiving equipment information of the power supply system selected by a user, and matching a corresponding power supply system upgrading graphical interface according to the equipment information of the power supply system;
the second receiving module is used for receiving the power system parameters to be upgraded selected by the user through the corresponding power system upgrading graphical interface, wherein the power system parameters to be upgraded comprise a voltage regulation controller parameter file, a voltage regulation controller model to be upgraded and a project number to be upgraded;
the generating module is used for generating an upgrade program file according to the to-be-upgraded voltage regulation controller parameter file, the to-be-upgraded voltage regulation controller model and the to-be-upgraded project number, so that the to-be-upgraded equipment upgrades the power supply system according to the upgrade program file.
8. A power system upgrade apparatus, applied to a device to be upgraded, comprising:
the sending module is used for sending upgrading request information to the remote control end;
the acquisition module is used for acquiring an upgrade program file according to the upgrade request information, wherein the upgrade program file is generated through a power system upgrade graphical interface in a remote control terminal;
the analysis module is used for analyzing the upgrade program file to obtain an upgrade program code, combining the upgrade program code with a basic input/output system code of equipment to be upgraded, and writing the upgrade program code into the voltage regulation controller by executing an I2C read-write command through a hardware management interface in the starting process of the basic input/output system; the upgrade program code comprises a processor manufacturer code, a voltage regulation controller model code, an item version code and a supporting communication protocol.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the power system upgrade method of any one of claims 1 to 4 when the program is executed by the processor.
10. A server comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the power system upgrade method of any one of claims 5 or 6 when the program is executed by the processor.
11. A non-transitory readable storage medium having stored thereon a computer program, which when executed by a processor implements the power supply system upgrade method according to any one of claims 1 to 6.
CN202311607273.8A 2023-11-28 2023-11-28 Power supply system upgrading method, device, equipment and storage medium Pending CN117806671A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311607273.8A CN117806671A (en) 2023-11-28 2023-11-28 Power supply system upgrading method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311607273.8A CN117806671A (en) 2023-11-28 2023-11-28 Power supply system upgrading method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117806671A true CN117806671A (en) 2024-04-02

Family

ID=90425949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311607273.8A Pending CN117806671A (en) 2023-11-28 2023-11-28 Power supply system upgrading method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117806671A (en)

Similar Documents

Publication Publication Date Title
CN112910714B (en) Remote firmware upgrading method for Internet of things terminal equipment with master-slave machine structure
US20120117557A1 (en) Method and system for upgrading wireless data card
CN105072398B (en) A kind of device updating method and device
CN113064619A (en) Firmware upgrading method, device, system, equipment and storage medium
CN113360144B (en) Auxiliary processing method, device, storage medium and program product for software development
CN110908702A (en) Version switching method, version switching device, computer equipment and storage medium
TWI665553B (en) Adapter with instrument control function, instrument control system and instrument control method applied thereto
CN108958786B (en) Matching and updating processing method and device for refrigerator software
CN110515635A (en) Mainboard VR firmware upgrade method, device, server and readable storage medium storing program for executing
CN117806671A (en) Power supply system upgrading method, device, equipment and storage medium
CN115334358B (en) Fusion gateway automation software remanufacturing method and storage medium
CN112306534A (en) Firmware upgrading method and device, electronic equipment and storage medium
CN115794182A (en) Firmware out-of-band upgrading method and device, electronic equipment and storage medium
CN111580857B (en) Equipment firmware online configuration method, device and system
CN109002309A (en) A kind of HardwareUpgring method and relevant apparatus
CN111552498B (en) Method and system for realizing screen parameter upgrading of display screen
CN114217831A (en) Multifunctional software upgrading method and system for embedded system
CN108833128A (en) A kind of method that equipment updates
CN113608752A (en) Method, system and device for installing intelligent network card system and readable storage medium
CN112166411A (en) Equipment control method, system and control terminal
CN115454465B (en) Automatic updating method of CPLD firmware
CN112732291B (en) Product function development method and device, storage medium and electronic device
CN117032753A (en) Unmanned equipment and remote upgrading method, device, system, medium and equipment thereof
KR100677932B1 (en) Upgrade system of electronic equipment and control method thereof
CN118069245A (en) Server installation method, device, equipment and 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