CN112231145B - CPLD (Complex programmable logic device) -based switching structure and method for controlling BMC (baseboard management controller) restart - Google Patents
CPLD (Complex programmable logic device) -based switching structure and method for controlling BMC (baseboard management controller) restart Download PDFInfo
- Publication number
- CN112231145B CN112231145B CN202011080121.3A CN202011080121A CN112231145B CN 112231145 B CN112231145 B CN 112231145B CN 202011080121 A CN202011080121 A CN 202011080121A CN 112231145 B CN112231145 B CN 112231145B
- Authority
- CN
- China
- Prior art keywords
- cpld
- bmc
- control
- switching
- circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000002159 abnormal effect Effects 0.000 claims abstract description 8
- 238000010586 diagram Methods 0.000 description 3
- 238000006467 substitution reaction Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 244000025254 Cannabis sativa Species 0.000 description 1
- 235000012766 Cannabis sativa ssp. sativa var. sativa Nutrition 0.000 description 1
- 235000012765 Cannabis sativa ssp. sativa var. spontanea Nutrition 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 235000009120 camo Nutrition 0.000 description 1
- 235000005607 chanvre indien Nutrition 0.000 description 1
- 239000011487 hemp Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1438—Restarting or rejuvenating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0751—Error or fault detection not based on redundancy
- G06F11/0754—Error or fault detection not based on redundancy by exceeding limits
- G06F11/0757—Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Hardware Redundancy (AREA)
Abstract
The invention provides a switching structure and a method for controlling BMC restart based on CPLD, wherein the structure comprises: CPLD, control switching circuit and BMC; the output end of the control switching circuit is connected with a start-stop signal interface of the BMC; the input end of the control switching circuit is respectively connected with the hardware control circuit and the start-stop control interface of the CPLD; the control switching circuit is used for switching a control mode of the BMC, and the control mode of the BMC comprises control through a CPLD and hardware control; after an external hardware switching circuit (Mux1/Mux2) is added, the start-stop signal of the BMC can be controlled by the CPLD or the PLC switching circuit, so that the condition that the BMC is abnormal after the CPLD is burned out in the upgrading process can be avoided, and the application safety of the server is improved.
Description
Technical Field
The invention belongs to the technical field of server design, and particularly relates to a switching structure and method for controlling BMC restart based on a CPLD.
Background
In the current backplane design of the server, a CPLD chip is generally designed on the backplane to control the power-on timing sequence of the power regulator on the whole backplane, and the CPLD is a logic programmable IC, so that the power-on timing sequences of different power regulators can be changed at any time to stabilize the whole system. In the process of updating the CPLD solid, the BMC is often interrupted for unknown reasons, so that the CPLD update fails or is abnormal, and the entire server is powered off by a serious person.
As shown in fig. 1, the CPLD firmware on the backplane is generally updated by the current server through the BMC, as shown in fig. 2, the program in the CPLD of the current server also includes a signal for controlling the BMC, and the CPLD controls the stop signal in addition to the start-up and stop timing, so that the BMC reloads its own solid and restarts the server. The function can prevent the BMC from being saved through the CPLD after the BMC is abnormally halted, so that the whole server system can normally operate again.
In the application of the current server, if the CPLD update abnormality problem occurs, an engineer or an operator is often only required to go to a production line or a workbench, the enclosure of the whole server is firstly detached and installed back, and the cable needs to be detached and reconnected back because dense and hemp cables exist in the system, and a cable configuration error may occur in the operation process or other problems may occur in the server due to mistaken touching of other elements, so that certain potential safety hazards exist.
Disclosure of Invention
In view of the above disadvantages in the prior art, the present invention provides a switching structure and method for controlling the BMC restart based on a CPLD, so as to solve the above technical problems.
In a first aspect, the present invention provides a switching structure for controlling a BMC restart based on a CPLD, including: the system comprises a CPLD, a control switching circuit, a hardware control circuit and a BMC; the output end of the control switching circuit is connected with a start-stop signal interface of the BMC; the input end of the control switching circuit is respectively connected with the hardware control circuit and the start-stop control interface of the CPLD; the control switching circuit is used for switching a control mode of the BMC, and the control mode of the BMC comprises control through a CPLD and hardware control.
Furthermore, two channels '0' and '1' are arranged in the control switching circuit, the channel '0' is connected with the CPLD start-stop control interface, and the channel '1' is externally connected with a hardware control circuit; the hardware control circuit is used for controlling the start and stop of the BMC through hardware.
Further, the output end of the watchdog circuit inside the CPLD is connected with the control switching circuit; the control switching circuit is also used for controlling the power-on time sequence of the CPLD.
Furthermore, the control switching circuit includes two control switching circuits, including a MUX1 and a MUX2, the MUX1 is correspondingly connected to the start control interface of the CPLD and the start signal interface of the BMC, and the MUX2 is correspondingly connected to the stop control interface of the CPLD and the stop signal interface of the BMC.
Further, the hardware control circuit is a PLC control circuit.
In a second aspect, the present invention provides a switching method for controlling a BMC restart based on a CPLD, including:
switching and controlling an internal channel of the switching circuit according to the working state;
when the BMC fails, controlling a BMC restarting mode according to the selection of the channel;
and controlling the BMC to restart by using the start-stop signal.
Further, the method further comprises:
when the CPLD is normal, the switching circuit is controlled to be at the position of a channel '0', and when the BMC has a fault, the CPLD controls the BMC to restart;
when the CPLD is abnormal, the switching circuit channel is controlled to be at the position of '1', and when the BMC has a fault, the hardware control circuit controls the BMC to restart.
Further, the method further comprises:
judging whether the CPLD is normal or not through the clock signal of the CPLD;
the watchdog circuit monitors the clock signal and sends a signal to control the channel switching of the switching circuit.
The beneficial effect of the invention is that,
according to the switching structure and method for controlling the restarting of the BMC based on the CPLD, provided by the invention, after an external hardware switching circuit (Mux1/Mux2) is added, the starting and stopping signals of the BMC can be controlled by the CPLD or the PLC switching circuit, so that the condition that the BMC is abnormal after the CPLD is burned out in the upgrading process can be avoided, and the application safety of a server is improved.
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 diagram illustrating the connection of a BMC to update CPLD firmware according to the prior art.
FIG. 2 is a schematic diagram of the control connection between the CPLD and the BMC in the prior art.
Fig. 3 is a schematic structural diagram of 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.
In the description of the present invention, it should be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art through specific situations.
In a first aspect, this embodiment provides a switching structure for controlling a BMC restart based on a CPLD, including: the CPLD, the control switching circuit, the hardware control circuit and the BMC are arranged on the PCB; the output end of the control switching circuit is connected with a start-stop signal interface of the BMC; the input end of the control switching circuit is respectively connected with the hardware control circuit and the start-stop control interface of the CPLD; the control switching circuit is used for switching a control mode of the BMC, and the control mode of the BMC comprises control through a CPLD and hardware control.
Optionally, as an embodiment of the present application, two channels "0" and "1" are arranged in the control switching circuit, the channel "0" is connected to the CPLD start-stop control interface, and the channel "1" is externally connected to the hardware control circuit; the hardware control circuit is used for controlling the start and stop of the BMC through hardware.
Optionally, as an embodiment of the present application, an output end of a watchdog circuit inside the CPLD is connected to the control switching circuit; the control switching circuit is also used for controlling the power-on time sequence of the CPLD.
Optionally, as an embodiment of the present application, the two control switching circuits include a MUX1 and a MUX2, the MUX1 is correspondingly connected to the start control interface of the CPLD and the start signal interface of the BMC, and the MUX2 is correspondingly connected to the stop control interface of the CPLD and the stop signal interface of the BMC.
Optionally, as an embodiment of the present application, the hardware control circuit is a PLC control circuit.
In a second aspect, the present embodiment provides a method for controlling a BMC restart based on a CPLD, including:
switching and controlling an internal channel of the switching circuit according to the working state;
when the BMC fails, controlling a BMC restarting mode according to the selection of the channel;
and controlling the BMC to restart by using the start-stop signal.
Optionally, as an embodiment of the present application, the method further includes:
when the CPLD is normal, the switching circuit is controlled to be at the position of a channel '0', and when the BMC has a fault, the CPLD controls the BMC to restart;
when the CPLD is abnormal, the switching circuit channel is controlled to be at the position of '1', and when the BMC has a fault, the hardware control circuit controls the BMC to restart.
Optionally, as an embodiment of the present application, the method further includes:
judging whether the CPLD is normal or not through the clock signal of the CPLD;
the watchdog circuit monitors the clock signal and sends a signal to control the channel switching of the switching circuit.
Example 1
As shown in fig. 3, the present embodiment provides a switching structure for controlling the BMC restart based on the CPLD, including: the system comprises a CPLD, a control switching circuit, a hardware control circuit and a BMC; the control switching circuits are two, including MUX1 and MUX 2; the output end of the MUX1 is respectively connected with the opening control interface of the CPLD; the output end of the MUX2 is respectively connected with the shutdown control interface of the CPLD; two channels '0' and '1' are arranged in the control switching circuit, the channel '0' is connected with a CPLD start-stop control interface, the channel '1' is externally connected with a PLC control circuit, and the output end of a watchdog circuit in the CPLD is connected with the control switching circuit; the control switching circuit is also used for controlling the power-on time sequence of the CPLD.
The control switching circuit is used for switching a control mode of the BMC, and the control mode of the BMC comprises control through a CPLD and hardware control; the hardware control circuit is used for controlling the start and stop of the BMC through hardware.
Example 2
The embodiment provides a method for controlling BMC restart based on CPLD, and an execution subject of the method may be a switching structure for controlling BMC restart based on CPLD.
The method comprises the following steps:
judging whether the CPLD is normal or not through the clock signal of the CPLD; the watchdog circuit monitors the clock signal and sends a signal to control the channel switching of the switching circuit; when the CPLD is normal, the switching circuit is controlled to be at the position of a channel '0', and when the BMC has a fault, the CPLD controls the BMC to restart; when the CPLD is abnormal, the switching circuit channel is controlled to be at the position of '1', and when the BMC has a fault, the hardware control circuit controls the BMC to restart. The invention can be used in occasions such as CPLD firmware upgrade.
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 (6)
1. A switching structure for controlling BMC restart based on CPLD is characterized by comprising: the CPLD, the control switching circuit, the hardware control circuit and the BMC are arranged on the PCB; the output end of the control switching circuit is connected with a start-stop signal interface of the BMC; the input end of the control switching circuit is respectively connected with the hardware control circuit and the start-stop control interface of the CPLD; the control switching circuit is used for switching a control mode of the BMC, and the control mode of the BMC comprises control through a CPLD and hardware control;
two channels '0' and '1' are arranged in the control switching circuit, the channel '0' is connected with the CPLD start-stop control interface, and the channel '1' is externally connected with a hardware control circuit; the hardware control circuit is used for controlling the start and stop of the BMC through hardware;
when the CPLD is normal, the switching circuit is controlled to be at the position of a channel '0', and when the BMC has a fault, the CPLD controls the BMC to restart;
when the CPLD is abnormal, the switching circuit channel is controlled to be at the position of '1', and when the BMC has a fault, the hardware control circuit controls the BMC to restart.
2. The switching structure for controlling the BMC restart based on CPLD according to claim 1, wherein an output terminal of the watchdog circuit inside the CPLD is connected to the control switching circuit; the control switching circuit is also used for controlling the power-on time sequence of the CPLD.
3. The switching structure according to claim 1, wherein the two control switching circuits include a MUX1 and a MUX2, the MUX1 is correspondingly connected to the CPLD startup control interface and the BMC startup signal interface, and the MUX2 is correspondingly connected to the CPLD shutdown control interface and the BMC shutdown signal interface.
4. The switching structure for controlling the BMC restart based on CPLD according to claim 1, wherein the hardware control circuit is a PLC control circuit.
5. A switching method for controlling BMC restart based on CPLD is characterized by comprising the following steps:
the CPLD automatically judges the working state in the firmware updating process;
switching and controlling an internal channel of the switching circuit according to the working state;
when the BMC fails, controlling a BMC restarting mode according to the selection of the channel;
controlling the BMC to restart by using the start-stop signal;
the method further comprises the following steps:
when the CPLD is normal, the switching circuit is controlled to be at the position of a channel '0', and when the BMC has a fault, the CPLD controls the BMC to restart;
when the CPLD is abnormal, the switching circuit channel is controlled to be at the position of '1', and when the BMC has a fault, the hardware control circuit controls the BMC to restart.
6. The CPLD-based BMC restart switching method of claim 5, wherein the method further comprises:
judging whether the CPLD is normal or not through the clock signal of the CPLD;
the watchdog circuit monitors the clock signal and sends a signal to control the channel switching of the switching circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011080121.3A CN112231145B (en) | 2020-10-10 | 2020-10-10 | CPLD (Complex programmable logic device) -based switching structure and method for controlling BMC (baseboard management controller) restart |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011080121.3A CN112231145B (en) | 2020-10-10 | 2020-10-10 | CPLD (Complex programmable logic device) -based switching structure and method for controlling BMC (baseboard management controller) restart |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112231145A CN112231145A (en) | 2021-01-15 |
CN112231145B true CN112231145B (en) | 2022-05-31 |
Family
ID=74113217
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011080121.3A Active CN112231145B (en) | 2020-10-10 | 2020-10-10 | CPLD (Complex programmable logic device) -based switching structure and method for controlling BMC (baseboard management controller) restart |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112231145B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113131613B (en) * | 2021-04-07 | 2023-04-07 | 山东英信计算机技术有限公司 | Power supply management device |
CN114528028B (en) * | 2022-01-29 | 2023-08-08 | 苏州浪潮智能科技有限公司 | Video display device and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109976926A (en) * | 2019-03-27 | 2019-07-05 | 苏州浪潮智能科技有限公司 | Method, circuit, terminal and the storage medium of protection BMC renewal process are restarted in a kind of shielding |
CN110109715A (en) * | 2019-05-08 | 2019-08-09 | 苏州浪潮智能科技有限公司 | A kind of system and method for server security starting |
CN111309509A (en) * | 2020-02-23 | 2020-06-19 | 苏州浪潮智能科技有限公司 | Method and system for solving channel switching failure based on server BMC |
CN211427190U (en) * | 2019-10-14 | 2020-09-04 | 苏州浪潮智能科技有限公司 | Server circuit and mainboard based on Feiteng treater 2000+ |
-
2020
- 2020-10-10 CN CN202011080121.3A patent/CN112231145B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109976926A (en) * | 2019-03-27 | 2019-07-05 | 苏州浪潮智能科技有限公司 | Method, circuit, terminal and the storage medium of protection BMC renewal process are restarted in a kind of shielding |
CN110109715A (en) * | 2019-05-08 | 2019-08-09 | 苏州浪潮智能科技有限公司 | A kind of system and method for server security starting |
CN211427190U (en) * | 2019-10-14 | 2020-09-04 | 苏州浪潮智能科技有限公司 | Server circuit and mainboard based on Feiteng treater 2000+ |
CN111309509A (en) * | 2020-02-23 | 2020-06-19 | 苏州浪潮智能科技有限公司 | Method and system for solving channel switching failure based on server BMC |
Also Published As
Publication number | Publication date |
---|---|
CN112231145A (en) | 2021-01-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112231145B (en) | CPLD (Complex programmable logic device) -based switching structure and method for controlling BMC (baseboard management controller) restart | |
CN101071392B (en) | Method and system for maintaining backup copies of firmware | |
CN106055440A (en) | Testing method and system for realizing abnormal power failure of server through BMC | |
CN103970118A (en) | BMC (baseboard management controller) running status display system and method | |
CN112860298A (en) | Remote BIOS (basic input output System) upgrading implementation method and system | |
CN110850325A (en) | Power supply monitoring device and power supply monitoring method | |
CN111367743A (en) | Method and system for diagnosing power failure of server in cycle restart test process | |
WO2016110000A1 (en) | Adjustment method, device and system for power-down reboot of single plate | |
US20100058088A1 (en) | Computer System and Method for Energy-Saving Operation of a Computer System | |
CN110462970B (en) | Method for operating an electrical installation with a plurality of electrical loads, power supply unit and electrical operating installation | |
CN111984471B (en) | Cabinet power BMC redundancy management system and method | |
CN110389643B (en) | Server and remote control method thereof | |
CN103135728B (en) | Power supply start-up control method and system thereof | |
US11093014B2 (en) | Method for monitoring, control and graceful shutdown of control and/or computer units | |
CN111208891B (en) | CPLD updating system and method | |
US20150229129A1 (en) | Power relay device, and power consumption reduction method | |
CN115407861A (en) | Target equipment power supply method, system and device and computer readable storage medium | |
US10921875B2 (en) | Computer system, operational method for a microcontroller, and computer program product | |
CN113721744A (en) | Mainboard and signal connection system thereof | |
CN109298892B (en) | Device and method for controlling startup and shutdown of server | |
JP5422426B2 (en) | Information processing device | |
CN110719236A (en) | Single board, back board type exchanger and method for connecting power supply | |
CN117971026A (en) | Remote shutdown method and device for server | |
CN104461818A (en) | Mainboard management system and method | |
CN111857312A (en) | Multi-device resetting method and device based on X86 platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |