CN113448417A - Dynamic setting method, system, terminal and storage medium for voltage regulator set value - Google Patents

Dynamic setting method, system, terminal and storage medium for voltage regulator set value Download PDF

Info

Publication number
CN113448417A
CN113448417A CN202110692801.9A CN202110692801A CN113448417A CN 113448417 A CN113448417 A CN 113448417A CN 202110692801 A CN202110692801 A CN 202110692801A CN 113448417 A CN113448417 A CN 113448417A
Authority
CN
China
Prior art keywords
voltage regulator
setting
cpld
bmc
set value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202110692801.9A
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 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 CN202110692801.9A priority Critical patent/CN113448417A/en
Publication of CN113448417A publication Critical patent/CN113448417A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Hardware Design (AREA)
  • Power Sources (AREA)

Abstract

The invention provides a method, a system, a terminal and a storage medium for dynamically setting a set value of a voltage regulator, wherein the method comprises the following steps: the CPLD receives voltage regulator setting parameters sent by the BMC, and stores the voltage regulator setting parameters to the local of the CPLD; and after the power supply is restarted, updating the set value of the voltage regulator through the set parameter. The invention utilizes the advantage of high power-on loading speed of the CPLD, stores the setting parameters of the voltage regulator sent by the BMC in advance through the CPLD, and sends the setting parameters to the target voltage regulator in time after the CPLD is powered on again, thereby quickly and dynamically setting the parameter values of the voltage regulator. The method can effectively avoid the situation that the voltage regulator cannot update the set value in time due to the fact that the BMC loads the program, avoids the limitation of erasing times of the voltage regulator, and can lead the VR set value into the power supply more quickly when the power supply is powered on, so that the stability of a server power supply system is enhanced.

Description

Dynamic setting method, system, terminal and storage medium for voltage regulator set value
Technical Field
The invention relates to the technical field of servers, in particular to a method, a system, a terminal and a storage medium for dynamically setting a set value of a voltage regulator.
Background
In the existing server, there are some VR (voltage regulator) devices on each motherboard to automatically maintain a constant voltage and ensure the range and stability of voltage operation. The voltage regulator compares the measured value of the production process parameter with a set value, and after obtaining deviation, the voltage regulator generates an output signal according to a certain regulation rule to push the actuator to eliminate the deviation value, so that the parameter is kept near the set value or is changed according to a preset rule. However, during the development and system operation, it may be necessary to change the setting value, such as OCP, etc., and the protection setting value of the voltage regulator VR is fixed after the VR firmware is burned, and the VR firmware is usually burned again or the setting value is dynamically reset through the BMC.
The method for burning the VR Firmware again includes remotely logging in a machine to be refreshed through an IP address of a BMC management network port, and executing a compiled driving program under a system to achieve remote refreshing and upgrading of a CPU or a memory VR Firmware on a fault server mainboard in a machine room. Because the VR can be erased only a few times, usually about 30 times, the method has the disadvantage that if the VR is changed for a plurality of times, the VR cannot be burned, and the function is invalid.
The BMC dynamically resets the setting value, but when the BMC is restarted (for about at least 30 seconds) or the power supply is powered up again, the BMC cannot operate due to the reloading of the program, and cannot provide a prompt change.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, the present invention provides a method, a system, a terminal and a storage medium for dynamically setting a voltage regulator setting value, so as to solve the above-mentioned technical problems.
In a first aspect, the present invention provides a method for dynamically setting a set value of a voltage regulator, including:
the CPLD receives voltage regulator setting parameters sent by the BMC, and stores the voltage regulator setting parameters to the local of the CPLD;
and after the power supply is restarted, updating the set value of the voltage regulator through the set parameter.
Further, the step of receiving, by the CPLD, the voltage regulator setting parameter sent by the BMC, and storing the voltage regulator setting parameter to the CPLD locally includes:
and receiving voltage regulator setting parameters written into the BMC by a user through an IPMI (intelligent platform management interface) interface command through an integrated circuit bus, wherein the setting parameters comprise an integrated circuit bus address of the voltage regulator, an integrated circuit bus channel, a register command position, a command length and a setting value.
Further, after monitoring that the server is restarted, the setting parameters of the voltage regulator are sent to the voltage regulator, and the setting values of the voltage regulator are updated through the setting parameters, wherein the method comprises the following steps:
powering on again after the server operating system is powered off, and sending a set value to a target voltage regulator according to an integrated circuit bus address and an integrated circuit bus channel of the voltage regulator in the set parameters;
and calling a setting command of the voltage regulator according to the command position and the command length of the register, and executing the setting command to set the set value as the actual set value of the voltage regulator.
Further, the method further comprises:
and monitoring the on-site state of the CPLD in real time by mutually losing the dog feeding signal with the BMC.
In a second aspect, the present invention provides a system for dynamically setting a set value of a voltage regulator, including:
the parameter receiving unit is used for receiving the voltage regulator setting parameters sent by the BMC by the CPLD and storing the voltage regulator setting parameters to the local CPLD;
and the parameter setting unit is used for updating the set value of the voltage regulator through the set parameter after the power-off restart.
Further, the parameter receiving unit includes:
the parameter receiving module is used for receiving voltage regulator setting parameters written into the BMC by a user through an IPMI interface command through an integrated circuit bus, and the setting parameters comprise an integrated circuit bus address of the voltage regulator, an integrated circuit bus channel, a register command position, a command length and a setting value.
Further, the parameter setting unit includes:
the data sending module is used for powering up the server operating system again after powering down, and sending a set value to the target voltage regulator according to the integrated circuit bus address and the integrated circuit bus channel of the voltage regulator in the set parameters;
and the data updating module is used for calling a setting command of the voltage regulator according to the register command position and the command length, executing the setting command and setting the setting value as the actual setting value of the voltage regulator.
Further, the system further comprises:
and monitoring the on-site state of the CPLD in real time by mutually losing the dog feeding signal with the BMC.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program which,
the processor is used for calling and running the computer program from the memory so as to make the terminal execute the method of the terminal.
In a fourth aspect, a computer storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
The beneficial effect of the invention is that,
the method for dynamically setting the set value of the voltage regulator provided by the invention utilizes the advantage of high power-on loading speed of the CPLD, stores the set parameter of the voltage regulator sent by the BMC in advance through the CPLD, and timely sends the set parameter to the target voltage regulator after being powered on again, thereby quickly and dynamically setting the parameter value of the voltage regulator. The method can effectively avoid the situation that the voltage regulator cannot update the set value in time due to the fact that the BMC loads the program, avoids the limitation of erasing times of the voltage regulator, and can lead the VR set value into the power supply more quickly when the power supply is powered on, so that the stability of a server power supply system is enhanced.
The voltage regulator setting value dynamic setting system provided by the invention utilizes the advantage of high power-on loading speed of the CPLD, the parameter receiving unit stores the voltage regulator setting parameters sent by the BMC in advance through the CPLD, and the parameter setting unit timely sends the setting parameters to the target voltage regulator after being powered on again, so that the voltage regulator is quickly and dynamically set the parameter values. The method can effectively avoid the situation that the voltage regulator cannot update the set value in time due to the fact that the BMC loads the program, avoids the limitation of erasing times of the voltage regulator, and can lead the VR set value into the power supply more quickly when the power supply is powered on, so that the stability of a server power supply system is enhanced.
The terminal provided by the invention can execute the dynamic setting method of the set value of the voltage regulator provided by the invention, and by utilizing the advantage of high power-on loading speed of the CPLD, the set parameter of the voltage regulator sent by the BMC is stored in advance through the CPLD, and the set parameter is sent to the target voltage regulator in time after being powered on again, so that the parameter value of the voltage regulator is set dynamically. The method can effectively avoid the situation that the voltage regulator cannot update the set value in time due to the fact that the BMC loads the program, avoids the limitation of erasing times of the voltage regulator, and can lead the VR set value into the power supply more quickly when the power supply is powered on, so that the stability of a server power supply system is enhanced.
The storage medium provided by the invention stores a program for executing the method for dynamically setting the set value of the voltage regulator, and by utilizing the advantage of high power-on loading speed of the CPLD, the set parameter of the voltage regulator sent by the BMC is stored in advance through the CPLD, and the set parameter is sent to the target voltage regulator in time after being powered on again, so that the parameter value of the voltage regulator is dynamically set quickly. The method can effectively avoid the situation that the voltage regulator cannot update the set value in time due to the fact that the BMC loads the program, avoids the limitation of erasing times of the voltage regulator, and can lead the VR set value into the power supply more quickly when the power supply is powered on, so that the stability of a server power supply system is enhanced.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention.
FIG. 2 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following explains key terms appearing in the present invention.
A BMC substrate management Controller (BMC for short) is an independent system, and does not depend on other hardware (such as CPU, memory, etc.) on the system, nor on BIOS, OS, etc. (however, BMC may interact with BIOS and OS, which may play a better role in platform management, and system management software under OS may cooperate with BMC to achieve a better management effect).
IPMI is known as Intelligent Platform Management Interface. IPMI is a specific specification definition of the concept of "platform management", which defines the software and hardware architecture, interaction instructions, event formats, data records, capability sets, etc. of "platform management".
The CPLD adopts programming technologies such as CMOS EPROM, EEPROM, flash memory, SRAM and the like, thereby forming a programmable logic device with high density, high speed and low power consumption. The CPLD is mainly composed of a logic block, a programmable interconnection channel and an I/O block.
The I2C bus is a simple, bi-directional two-wire synchronous serial bus developed by Philips. It requires only two wires to transfer information between devices connected to the bus. The master device is used to initiate the bus to transfer data and to generate a clock to open up the devices that are transferring, when any addressed device is considered a slave device. If the host wants to send data to the slave device, the host addresses the slave device first, then actively sends the data to the slave device, and finally the host terminates the data transmission; the master device addresses the slave device first if the master device is to receive data from the slave device. The host is responsible for generating the timing clock and terminating the data transfer.
OCP overcurrent Protection (Over Current Protection) is a Protection method for operating a Protection device when a Current exceeds a predetermined maximum value. When the current flowing through the protected original exceeds a preset value, the protection device is started, and the selectivity of action is ensured by time limit, so that the circuit breaker trips or gives an alarm signal.
SDR, Sensor Data Record, Sensor Data recorder.
GPIO General-purpose input/output, General-purpose input/output.
AC, Alternating Current.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention. The execution body in fig. 1 may be a dynamic setting system for setting values of a voltage regulator.
As shown in fig. 1, the method includes:
step 110, receiving a voltage regulator setting parameter sent by the BMC by the CPLD, and storing the voltage regulator setting parameter to the local of the CPLD;
and step 120, updating the set value of the voltage regulator through the set parameter after the power-off restart.
In order to facilitate understanding of the present invention, the dynamic setting method of the voltage regulator setting value according to the principles of the dynamic setting method of the voltage regulator setting value of the present invention is further described below with reference to the dynamic setting process of the voltage regulator setting value in the embodiment.
Example 2
In this embodiment, the server BMC is connected to the CPLD via an I2C bus, and the CPLD is connected to the voltage regulator via an I2C bus. In the customer project, the VR configuration of each machine is fixed after the firmware is burned, and a fixed set value is loaded. In this embodiment, an interface through which a user can change a VR set value is provided through the interface of the BMC IPMI, and then the set value is provided to the CPLD, so that the CPLD can be quickly booted to operate when being powered on again, thereby avoiding a situation that the set value cannot be changed because the BMC is already in a power-on state when the BMC cannot operate or the program loading time is too long.
Specifically, the method for dynamically setting the set value of the voltage regulator includes:
and S1, the CPLD receives the voltage regulator setting parameters sent by the BMC and stores the voltage regulator setting parameters to the local CPLD.
And receiving voltage regulator setting parameters written into the BMC by a user through an IPMI (intelligent platform management interface) interface command through an integrated circuit bus, wherein the setting parameters comprise an integrated circuit bus address of the voltage regulator, an integrated circuit bus channel, a register command position, a command length and a setting value.
The BMC receives the customized IPMI interface command according to the IPMI defined specification, and generates setting parameters, such as target setting value, channel value, register command position, command length, setting value/n value according to length.
After acquiring the set parameters, the BMC transmits the set parameters to the CPLD. And after receiving the setting parameters, the CPLD stores the setting parameters to the local.
And S2, updating the set value of the voltage regulator through the set parameter after the power-off restart.
And the BMC receives the dog feeding signal periodically sent by the CPLD, judges the CPLD fault if the dog feeding signal of the CPLD is not received for a long time, and generates fault alarm information of the CPLD.
And after the BMC issues the set parameters to the CPLD, the server is controlled to be powered off and restarted. The data stored by the CPLD after power-off cannot be lost, and after power-on again, the CPLD sends the set value to the target voltage regulator according to the integrated circuit bus address and the integrated circuit bus channel of the voltage regulator in the set parameters; and calling a setting command of the voltage regulator according to the command position and the command length of the register, and executing the setting command to set the set value as the actual set value of the voltage regulator.
According to the dynamic setting method for the set value of the voltage regulator, provided by the embodiment, by utilizing the advantage of high power-on loading speed of the CPLD, the set parameter of the voltage regulator sent by the BMC is stored in advance through the CPLD, and the set parameter is sent to the target voltage regulator in time after being powered on again, so that the parameter value of the voltage regulator is set dynamically. The method can effectively avoid the situation that the voltage regulator cannot update the set value in time due to the fact that the BMC loads the program, avoids the limitation of erasing times of the voltage regulator, and can lead the VR set value into the power supply more quickly when the power supply is powered on, so that the stability of a server power supply system is enhanced.
Example 2
In this embodiment, the server BMC is connected to the CPLD via an I2C bus, and the CPLD is connected to the voltage regulator via an I2C bus. In the customer project, the VR configuration of each machine is fixed after the firmware is burned, and a fixed set value is loaded. In this embodiment, an interface through which a user can change a VR set value is provided through the interface of the BMC IPMI, and then the set value is provided to the CPLD, so that the CPLD can be quickly booted to operate when being powered on again, thereby avoiding a situation that the set value cannot be changed because the BMC is already in a power-on state when the BMC cannot operate or the program loading time is too long.
Specifically, the method for dynamically setting the set value of the voltage regulator includes:
and S1, the CPLD receives the voltage regulator setting parameters sent by the BMC and stores the voltage regulator setting parameters to the local CPLD.
And receiving voltage regulator setting parameters written into the BMC by a user through an IPMI (intelligent platform management interface) interface command through an integrated circuit bus, wherein the setting parameters comprise an integrated circuit bus address of the voltage regulator, an integrated circuit bus channel, a register command position, a command length and a setting value.
The BMC receives the customized IPMI interface command according to the IPMI defined specification, and generates setting parameters, such as target setting value, channel value, register command position, command length, setting value/n value according to length.
After acquiring the set parameters, the BMC transmits the set parameters to the CPLD. And after receiving the setting parameters, the CPLD stores the setting parameters to the local.
And S2, updating the set value of the voltage regulator through the set parameter after the power-off restart.
And after the BMC issues the set parameters to the CPLD, the server is controlled to be powered off and restarted. The data stored by the CPLD after power-off cannot be lost, and after power-on again, the CPLD sends the set value to the target voltage regulator according to the integrated circuit bus address and the integrated circuit bus channel of the voltage regulator in the set parameters; and calling a setting command of the voltage regulator according to the command position and the command length of the register, and executing the setting command to set the set value as the actual set value of the voltage regulator.
According to the dynamic setting method for the set value of the voltage regulator, provided by the embodiment, by utilizing the advantage of high power-on loading speed of the CPLD, the set parameter of the voltage regulator sent by the BMC is stored in advance through the CPLD, and the set parameter is sent to the target voltage regulator in time after being powered on again, so that the parameter value of the voltage regulator is set dynamically. The method can effectively avoid the situation that the voltage regulator cannot update the set value in time due to the fact that the BMC loads the program, avoids the limitation of erasing times of the voltage regulator, and can lead the VR set value into the power supply more quickly when the power supply is powered on, so that the stability of a server power supply system is enhanced.
Specifically, the present embodiment has the following advantages:
1. VR firmware update can be reduced, and the limitation of erasing times is avoided.
2. VR setting value can be set dynamically, and the flexibility of maintaining the server by the manager is improved.
3. The CPLD is only required to be modified by hardware to be connected with the VR through an I2C interface to complete the function, namely the function can be realized at low cost.
4. The set value can be quickly imported when the AC is electrified.
Example 3
In this embodiment, the server BMC is connected to the CPLD via an I2C bus, and the CPLD is connected to the voltage regulator via an I2C bus. In the customer project, the VR configuration of each machine is fixed after the firmware is burned, and a fixed set value is loaded. In this embodiment, an interface through which a user can change a VR set value is provided through the interface of the BMC IPMI, and then the set value is provided to the CPLD, so that the CPLD can be quickly booted to operate when being powered on again, thereby avoiding a situation that the set value cannot be changed because the BMC is already in a power-on state when the BMC cannot operate or the program loading time is too long.
Specifically, the method for dynamically setting the set value of the voltage regulator includes:
and S1, the CPLD receives the voltage regulator setting parameters sent by the BMC and stores the voltage regulator setting parameters to the local CPLD.
And receiving voltage regulator setting parameters written into the BMC by a user through an IPMI (intelligent platform management interface) interface command through an integrated circuit bus, wherein the setting parameters comprise an integrated circuit bus address of the voltage regulator, an integrated circuit bus channel, a register command position, a command length and a setting value.
The BMC receives the customized IPMI interface command according to the IPMI defined specification, and generates setting parameters, such as target setting value, channel value, register command position, command length, setting value/n value according to length.
After acquiring the set parameters, the BMC transmits the set parameters to the CPLD. And after receiving the setting parameters, the CPLD stores the setting parameters to the local.
And S2, updating the set value of the voltage regulator through the set parameter after the power-off restart.
And after the BMC issues the set parameters to the CPLD, the server is controlled to be powered off and restarted. The data stored by the CPLD after power-off cannot be lost, after power-on is carried out again, the CPLD reads the local storage medium, and if the set parameters exist in the local storage medium, the CPLD sends the set values to the target voltage regulator according to the integrated circuit bus address and the integrated circuit bus channel of the voltage regulator in the set parameters; and calling a setting command of the voltage regulator according to the command position and the command length of the register, and executing the setting command to set the set value as the actual set value of the voltage regulator. The CPLD clears the updated setting parameters from the local storage medium.
According to the dynamic setting method for the set value of the voltage regulator, provided by the embodiment, by utilizing the advantage of high power-on loading speed of the CPLD, the set parameter of the voltage regulator sent by the BMC is stored in advance through the CPLD, and the set parameter is sent to the target voltage regulator in time after being powered on again, so that the parameter value of the voltage regulator is set dynamically. The method can effectively avoid the situation that the voltage regulator cannot update the set value in time due to the fact that the BMC loads the program, avoids the limitation of erasing times of the voltage regulator, and can lead the VR set value into the power supply more quickly when the power supply is powered on, so that the stability of a server power supply system is enhanced.
As shown in fig. 2, the system 200 includes:
the parameter receiving unit 210 is configured to receive, by the CPLD, the voltage regulator setting parameter sent by the BMC, and store the voltage regulator setting parameter to the CPLD locally;
and the parameter setting unit 220 is used for updating the set value of the voltage regulator through the set parameter after the power-off restart.
Optionally, as an embodiment of the present invention, the parameter receiving unit includes:
the parameter receiving module is used for receiving voltage regulator setting parameters written into the BMC by a user through an IPMI interface command through an integrated circuit bus, and the setting parameters comprise an integrated circuit bus address of the voltage regulator, an integrated circuit bus channel, a register command position, a command length and a setting value.
Optionally, as an embodiment of the present invention, the parameter setting unit is configured to:
the data sending module is used for powering up the server operating system again after powering down, and sending a set value to the target voltage regulator according to the integrated circuit bus address and the integrated circuit bus channel of the voltage regulator in the set parameters;
and the data updating module is used for calling a setting command of the voltage regulator according to the register command position and the command length, executing the setting command and setting the setting value as the actual setting value of the voltage regulator.
Optionally, as an embodiment of the present invention, the system further includes:
and monitoring the on-site state of the CPLD in real time by mutually losing the dog feeding signal with the BMC.
The voltage regulator setting value dynamic setting system provided by this embodiment utilizes the advantage of the CPLD that the power-on loading speed is fast, the parameter receiving unit stores the voltage regulator setting parameter sent by the BMC in advance through the CPLD, and the parameter setting unit sends the setting parameter to the target voltage regulator in time after being powered on again, thereby fast and dynamically setting the parameter value for the voltage regulator. The method can effectively avoid the situation that the voltage regulator cannot update the set value in time due to the fact that the BMC loads the program, avoids the limitation of erasing times of the voltage regulator, and can lead the VR set value into the power supply more quickly when the power supply is powered on, so that the stability of a server power supply system is enhanced.
Fig. 3 is a schematic structural diagram of a terminal 300 according to an embodiment of the present invention, where the terminal 300 may be used to execute the method for dynamically setting the setting value of the voltage regulator according to the embodiment of the present invention.
Among them, the terminal 300 may include: a processor 310, a memory 320, and a communication unit 330. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 320 may be used for storing instructions executed by the processor 310, and the memory 320 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 320, when executed by processor 310, enable terminal 300 to perform some or all of the steps in the method embodiments described below.
The processor 310 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory. The processor may be composed of an Integrated Circuit (IC), for example, a single packaged IC, or a plurality of packaged ICs connected with the same or different functions. For example, the processor 310 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 330, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Therefore, the invention utilizes the advantage of high power-on loading speed of the CPLD, the parameter receiving unit stores the setting parameters of the voltage regulator sent by the BMC in advance through the CPLD, and the parameter setting unit sends the setting parameters to the target voltage regulator in time after being powered on again, thereby quickly and dynamically setting the parameter values of the voltage regulator. The invention can effectively avoid that the voltage regulator cannot update the set value in time due to loading a program by the BMC, avoid the limitation of erasing times of the voltage regulator, and lead the VR set value in the power supply more quickly, thereby enhancing the stability of the power supply system of the server.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and the storage medium can store program codes, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for dynamically setting a set value of a voltage regulator is characterized by comprising the following steps:
the CPLD receives voltage regulator setting parameters sent by the BMC, and stores the voltage regulator setting parameters to the local of the CPLD;
and after the power supply is restarted, updating the set value of the voltage regulator through the set parameter.
2. The method of claim 1, wherein the CPLD receiving voltage regulator setting parameters from the BMC and saving the voltage regulator setting parameters locally to the CPLD comprises:
and receiving voltage regulator setting parameters written into the BMC by a user through an IPMI (intelligent platform management interface) interface command through an integrated circuit bus, wherein the setting parameters comprise an integrated circuit bus address of the voltage regulator, an integrated circuit bus channel, a register command position, a command length and a setting value.
3. The method of claim 2, wherein sending voltage regulator setting parameters to the voltage regulator after monitoring the server restart, and updating the voltage regulator setting values with the setting parameters comprises:
powering on again after the server operating system is powered off, and sending a set value to a target voltage regulator according to an integrated circuit bus address and an integrated circuit bus channel of the voltage regulator in the set parameters;
and calling a setting command of the voltage regulator according to the command position and the command length of the register, and executing the setting command to set the set value as the actual set value of the voltage regulator.
4. The method of claim 1, further comprising:
and monitoring the on-site state of the CPLD in real time by mutually losing the dog feeding signal with the BMC.
5. A system for dynamically setting a voltage regulator setpoint, comprising:
the parameter receiving unit is used for receiving the voltage regulator setting parameters sent by the BMC by the CPLD and storing the voltage regulator setting parameters to the local CPLD;
and the parameter setting unit is used for updating the set value of the voltage regulator through the set parameter after the power-off restart.
6. The system of claim 5, wherein the parameter receiving unit comprises:
the parameter receiving module is used for receiving voltage regulator setting parameters written into the BMC by a user through an IPMI interface command through an integrated circuit bus, and the setting parameters comprise an integrated circuit bus address of the voltage regulator, an integrated circuit bus channel, a register command position, a command length and a setting value.
7. The system according to claim 6, wherein the parameter setting unit comprises:
the data sending module is used for powering up the server operating system again after powering down, and sending a set value to the target voltage regulator according to the integrated circuit bus address and the integrated circuit bus channel of the voltage regulator in the set parameters;
and the data updating module is used for calling a setting command of the voltage regulator according to the register command position and the command length, executing the setting command and setting the setting value as the actual setting value of the voltage regulator.
8. The system of claim 5, further comprising:
and monitoring the on-site state of the CPLD in real time by mutually losing the dog feeding signal with the BMC.
9. A terminal, comprising:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the method of any one of claims 1-4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN202110692801.9A 2021-06-22 2021-06-22 Dynamic setting method, system, terminal and storage medium for voltage regulator set value Withdrawn CN113448417A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110692801.9A CN113448417A (en) 2021-06-22 2021-06-22 Dynamic setting method, system, terminal and storage medium for voltage regulator set value

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110692801.9A CN113448417A (en) 2021-06-22 2021-06-22 Dynamic setting method, system, terminal and storage medium for voltage regulator set value

Publications (1)

Publication Number Publication Date
CN113448417A true CN113448417A (en) 2021-09-28

Family

ID=77812194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110692801.9A Withdrawn CN113448417A (en) 2021-06-22 2021-06-22 Dynamic setting method, system, terminal and storage medium for voltage regulator set value

Country Status (1)

Country Link
CN (1) CN113448417A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116203400A (en) * 2023-04-27 2023-06-02 湖南大学 Test method and system based on chip initialization

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116203400A (en) * 2023-04-27 2023-06-02 湖南大学 Test method and system based on chip initialization
CN116203400B (en) * 2023-04-27 2023-07-28 湖南大学 Test method and system based on chip initialization

Similar Documents

Publication Publication Date Title
CN103207797B (en) Capsule type custom-made updating method based on unified extensible firmware interface firmware system
CN110594180A (en) Control method and system of server heat dissipation controller
CN103823769A (en) Computer system and data recovery method
CN112463239A (en) BIOS and BMC interaction option default value modification method, system, terminal and storage medium
WO2022105595A1 (en) Method and apparatus for upgrading system of embedded device, and embedded device
CN111475215A (en) Server starting method, device and related equipment
CN112506576A (en) Operation state switching method and device, electronic equipment and storage medium
CN113448417A (en) Dynamic setting method, system, terminal and storage medium for voltage regulator set value
US20190004948A1 (en) Systems and methods for prognosticating likelihood of successful save operation in persistent memory
CN105892350A (en) Electronic Device For Communicating Between A Microcontroller Unit (Mcu) And A Host Processor And Related Methods
CN114461286B (en) Server starting method and device, electronic equipment and readable storage medium
CN116701285A (en) Remote access control apparatus, remote access control method, remote access control device, and computer readable medium
CN109062618B (en) Development method, system and medium for server single-node power consumption capping firmware
CN115421750A (en) Method, device, terminal and storage medium for noninductive upgrading of server firmware
CN101727333A (en) Method for updating firmware in microprocessor and firmware updating system
CN108287670B (en) Method for protecting data during system shutdown and BMC
CN113900718A (en) Method, system and device for decoupling asset information of BMC (baseboard management controller) and BIOS (basic input/output system)
CN108182157B (en) Method, BMC, device and storage medium for realizing heterogeneous hybrid memory
CN112260967A (en) Switch voltage adjusting method, system, terminal and storage medium
CN111966199A (en) CPLD online upgrading slow-starting method, device, equipment and storage medium
CN105068835A (en) Mobile terminal and debugging information display method thereof
CN110647435A (en) Server, hard disk remote control method and control assembly
CN114443150B (en) Method, system, terminal and storage medium for synchronizing factory information of switch
CN104142832A (en) Computer and rebooting method thereof
CN110471704B (en) Server and server startup initialization method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20210928

WW01 Invention patent application withdrawn after publication