Processing method, device, storage medium, program product, pin circuit and baseboard management controller of midplane controller

By collecting the voltage signal and pulse information of the midplane controller to determine the working status, the problem of high resource utilization of the midplane controller is solved, and more efficient information transmission and data processing are achieved.

CN120429203BActive Publication Date: 2025-09-19INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510935724.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-08
Publication Date
2025-09-19
Estimated Expiration
2045-07-08

AI Technical Summary

Technical Problem

The problem of increased resource usage of the midplane controller in multi-node servers leads to low information transmission efficiency.

Method used

By collecting the voltage signal output by the preset pin circuit of the midplane controller, the level information and/or pulse information is determined, thereby judging the working status of the midplane controller and executing the corresponding processing strategy according to the working status to avoid occupying multiple pins to obtain information.

Benefits of technology

The resource occupancy rate of the midplane controller is reduced, the information transmission efficiency and the robustness of data interaction are improved, and the storage of invalid data is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120429203B_ABST
    Figure CN120429203B_ABST
Patent Text Reader

Abstract

The present application discloses a processing method, device, storage medium, program product, pin circuit and baseboard management controller of a mid-backplane controller, which relates to the field of server technology. By collecting the voltage signal output by the pin circuit preset by the mid-backplane controller, level information and / or pulse information are determined from the voltage signal, the working state of the mid-backplane controller is determined according to the level information and / or pulse information, and the corresponding processing strategy is executed. Compared with related technologies, there is no need to occupy multiple pins to obtain information. Therefore, the technical problem of increased resource occupancy of the mid-backplane controller is solved, and the technical effect of reducing the resource occupancy of the mid-backplane controller is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of server technology, and in particular to a processing method, device, storage medium, program product, pin circuit, and baseboard management controller for a midplane controller. Background Art

[0002] With the development of edge computing services such as cloud computing, big data, and artificial intelligence, single-node servers are unable to meet the computing power, resource scalability, and fault tolerance requirements of edge computing services. Multi-node servers, as a new computing architecture, meet the needs of edge computing services by integrating multiple independent computing nodes and adopting a distributed resource management strategy.

[0003] In current technology, the midplane controller serves as the information hub for the entire system, providing information about external devices to each node within a multi-node server. Information transmission between the midplane controller and each node requires input and output pins. However, in related technology, when a multi-node server has too many nodes or too much information to retrieve, the number of occupied input and output pins increases, leading to increased resource utilization of the midplane controller. Summary of the Invention

[0004] The present application provides a processing method, device, storage medium, program product, pin circuit and baseboard management controller of a midplane controller to at least solve the problem of increased resource occupancy of the midplane controller in the related art.

[0005] This application provides a processing method for a midplane controller, including:

[0006] Collect the voltage signal output by the backplane controller to be monitored through a preset pin circuit;

[0007] Determining level information and / or pulse information from the voltage signal;

[0008] Determine the working state of the midplane controller according to the level information and / or pulse information;

[0009] Execute the corresponding processing strategy according to the working status of the midplane controller.

[0010] The present application also provides a processing device of a midplane controller, comprising:

[0011] An acquisition module is used to acquire the voltage signal output by the mid-backplane controller to be monitored through a preset pin circuit;

[0012] A first determining module, configured to determine level information and / or pulse information from a voltage signal;

[0013] A second determining module is used to determine the working state of the midplane controller according to the level information and / or the pulse information;

[0014] The execution module is used to execute the corresponding processing strategy according to the working status of the midplane controller.

[0015] The present application also provides a baseboard management controller, comprising: a memory for storing a computer program; and a processor for implementing the steps of any of the above-mentioned processing methods of the backplane controller when executing the computer program.

[0016] The present application also provides a pin circuit for connecting to a midplane controller of a processing method of a midplane controller, comprising: a pull-up circuit;

[0017] One end of the pull-up circuit is connected to a pin preset on the midplane controller, and the other end of the pull-up circuit is connected to a pin preset on the baseboard management controller.

[0018] The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned processing methods of the backplane controller are implemented.

[0019] The present application also provides a computer program product, including a computer program, which implements the steps of any of the above-mentioned processing methods of the backplane controller when the computer program is executed by a processor.

[0020] Through the present application, since the voltage signal output by the pin circuit preset by the mid-backplane controller is collected, the level information and / or pulse information is determined from the voltage signal, the working state of the mid-backplane controller is determined according to the level information and / or pulse information, and the corresponding processing strategy is executed, compared with the related technology, there is no need to occupy multiple pins to obtain information. Therefore, the technical problem of increased resource utilization of the mid-backplane controller can be solved, and the technical effect of reducing the resource utilization of the mid-backplane controller can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0022] Figure 1 A schematic diagram of an application scenario of the processing method of the midplane controller provided in an embodiment of the present application;

[0023] Figure 2 A flowchart of a processing method of a mid-backplane controller provided in an embodiment of the present application;

[0024] Figure 3 Schematic diagram of the pin coding of the midplane controller provided in the embodiment of the present application Figure 1 ;

[0025] Figure 4 Schematic diagram of the pin coding of the midplane controller provided in the embodiment of the present application Figure 2 ;

[0026] Figure 5 A schematic diagram of the structure of the pin circuit provided in an embodiment of the present application;

[0027] Figure 6 A schematic diagram of the structure of a processing device of a mid-backplane controller provided in an embodiment of the present application;

[0028] Figure 7 This is a schematic diagram of the structure of the baseboard management controller provided in this application. DETAILED DESCRIPTION

[0029] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0030] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.

[0031] First, let’s explain the terms involved in this application:

[0032] Midplane controller: The midplane controller is the information hub of the entire system. It can obtain information from external devices and provide device information of the entire system to each node.

[0033] In order to solve the problem of increased resource usage of the mid-backplane controller in the related art, the embodiments of the present application propose the following technical concept: the inventor takes into account the pin circuit of the preset mid-backplane controller, collects the voltage signal output by the pin circuit of the mid-backplane controller, determines the level information and / or pulse information from the voltage signal, determines the working status of the mid-backplane controller through the level information and / or pulse information, and executes the corresponding processing strategy according to the working status of the mid-backplane controller.

[0034] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0035] In conjunction with the specific application environment architecture or specific hardware architecture on which the execution of the processing method of the backplane controller depends, the specific application environment architecture or the specific hardware architecture is described herein.

[0036] refer to Figure 1 , Figure 1 A schematic diagram of an application scenario of the processing method of the midplane controller provided in an embodiment of the present application.

[0037] like Figure 1 As shown, the application scenario includes: a mid-backplane controller 101 and a baseboard management controller 102 of multiple nodes, wherein the preset pins of the mid-backplane controller 101 and the preset pins of the baseboard management controller 102 are connected through a pull-up circuit, and the pull-up circuit includes a pull-up resistor 201 and a pull-up power supply 202.

[0038] Specifically, the baseboard management controller 102 collects the voltage signal output by the preset pin of the baseboard management controller 102 through the pull-up circuit, determines the level information and / or pulse information of the baseboard management controller 102 from the voltage signal, determines the working status of the midplane controller 101 according to the level information and / or pulse information, and executes the corresponding processing strategy according to the working status of the midplane controller 101.

[0039] Figure 2 A flowchart of a processing method for a mid-plane controller provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, an embodiment of the present application provides a processing method for a mid-backplane controller, and the method is described in detail as follows:

[0040] S201: collecting a voltage signal output by a midplane controller to be monitored through a preset pin circuit.

[0041] In this embodiment, the midplane controller is a midplane CPLD (Complex Programmable Logic Device).

[0042] In this embodiment, the baseboard management controller of each server in the multi-node server is connected to the midplane controller.

[0043] An IO (Input / Output) pin of a mid-backplane controller is defined, and the defined IO pin is connected to a pin of a baseboard management controller of each server in a multi-node server.

[0044] S202: Determine level information and / or pulse information from the voltage signal.

[0045] In this embodiment, the level information includes a high level and a low level.

[0046] In this embodiment, the pulse information is a pulse signal composed of a high level and a low level.

[0047] S203: Determine the working state of the midplane controller according to the level information and / or pulse information.

[0048] In this embodiment, the working status of the midplane controller includes but is not limited to normal working status, abnormal working status and firmware upgrade.

[0049] S204: Execute a corresponding processing strategy according to the working status of the midplane controller.

[0050] Specifically, if the operating status of the midplane controller is normal, the baseboard management controller stores the device operation data of the external device obtained by the midplane controller.

[0051] Specifically, if the working state of the midplane controller is abnormal, the baseboard management controller discards the device operation data of the external device obtained by the midplane controller.

[0052] In this embodiment, the device operation data of the external device includes but is not limited to the power input and output power of the power supply unit, the fan speed, and the hard disk information.

[0053] In this embodiment, the midplane controller and the baseboard management controller transmit device operation data of external devices, shared information between nodes, and information of the midplane controller through a communication circuit.

[0054] The communication circuit is a circuit connected by an I2C (Inter-Integrated Circuit) bus.

[0055] In this embodiment, when the midplane controller works normally, the midplane controller can be regarded as a switch, and the control program inside the midplane controller controls the external power supply unit to supply power or cut off power to each node.

[0056] It can be seen from the above embodiments that by collecting the voltage signal output by the pin circuit preset by the mid-backplane controller, determining the level information and / or pulse information from the voltage signal, determining the working state of the mid-backplane controller according to the level information and / or pulse information, and executing the corresponding processing strategy, compared with the related technology, there is no need to occupy multiple pins to obtain information, thereby reducing the resource utilization rate of the mid-backplane controller.

[0057] In one embodiment of the present application, step S203 includes:

[0058] S2031: If the level information is continuously in the first level state, determine that the working state of the midplane controller is normal.

[0059] In this embodiment, the first level state is a low level.

[0060] In this embodiment, a pull-up circuit is provided between the pins of the mid-backplane controller and the baseboard management controller. The pull-up circuit can pull the pin level of the mid-backplane controller to a high level. A control program is provided in the mid-backplane controller. Through the control program, the output voltage absolute value is greater than the reverse voltage of the absolute value of the pull-up power supply voltage, so that the pin level of the mid-backplane is displayed as a low level.

[0061] Exemplarily, the pull-up circuit outputs a voltage of +5V, and the control program in the midplane controller controls the midplane controller to output a voltage of -13V. At this time, the pin of the midplane controller outputs a voltage of -8V, which is displayed as a low level.

[0062] S2032: If the level information is continuously in the second level state, determine that the working state of the midplane controller is abnormal.

[0063] In this embodiment, the second level state is a high level.

[0064] In this embodiment, when the midplane controller fails or undergoes a firmware upgrade, the control program inside the midplane controller fails and cannot keep the pin of the midplane controller continuously at a low level. At this time, the pull-up circuit pulls up the pin output level of the midplane controller, displaying it as a high level.

[0065] From the above embodiment, it can be seen that by obtaining the level information of the midplane controller, judging whether the midplane controller is working normally according to the level status, and storing data according to the working status, the baseboard management controller is prevented from storing invalid data.

[0066] In one embodiment of the present application, step S204 includes:

[0067] S2041: In one polling cycle, the device operation data collected by the midplane controller is obtained through the data bus.

[0068] In this embodiment, the polling period is a period during which the baseboard management controller obtains data from the midplane controller.

[0069] In this embodiment, the device operation data collected by the baseboard management controller includes but is not limited to the power input and output power of the power supply unit, fan speed, and hard disk information.

[0070] S2042: If the working state of the corresponding midplane controller is abnormal during the polling period, the device operation data is determined to be invalid and the device operation data is discarded.

[0071] Specifically, if the baseboard management controller detects that the level information output by the midplane controller is a high level, the working state of the midplane controller is abnormal, and the baseboard management controller discards the device operation data.

[0072] S2043: If the working status of the corresponding midplane controller is normal within the polling period, the device operation data is determined to be valid, and the device operation data is applied.

[0073] Specifically, if the baseboard management controller detects that the level information output by the midplane controller is a low level, the midplane controller is operating normally, and the baseboard management controller stores the device operation data and applies the device operation data.

[0074] From the above embodiment, it can be seen that by determining whether the working status of the backplane controller is normal according to the level information of the baseboard management controller during the polling cycle, invalid data is discarded and valid data is used, thereby preventing the baseboard management controller from storing and using invalid data.

[0075] In one embodiment of the present application, step S204 includes:

[0076] S2044: In one polling cycle, the device operation data collected by the midplane controller is obtained through the data bus.

[0077] In this embodiment, the polling period is a period during which the baseboard management controller obtains data from the midplane controller.

[0078] In this embodiment, the device operation data collected by the baseboard management controller includes but is not limited to the power input and output power of the power supply unit, fan speed, and hard disk information.

[0079] S2045: If the working state of the corresponding midplane controller is abnormal during the polling period, the device operation data is determined to be invalid and the device operation data is discarded.

[0080] Specifically, if the baseboard management controller detects that the level information output by the midplane controller is a high level, the working state of the midplane controller is abnormal, and the baseboard management controller discards the device operation data.

[0081] S2046: If the working state of the corresponding midplane controller in the polling cycle is normal and the working state of the midplane controller in the previous polling cycle is abnormal, the device operation data is determined to be invalid and discarded.

[0082] Specifically, if the baseboard management controller detects that the level information output by the midplane controller is low, and the level output by the midplane controller obtained in the previous polling cycle is high, it determines that the working status of the midplane controller is abnormal, and the baseboard management controller discards the equipment operation data.

[0083] S2047: If the working status of the corresponding midplane controller in the polling cycle is normal and the working status of the midplane controller in the previous polling cycle is also normal, the device operation data is determined to be valid and the device operation data is applied.

[0084] Specifically, if the baseboard management controller detects that the level information output by the midplane controller is low in at least two consecutive polling cycles, it determines that the working state of the midplane controller is normal, and the baseboard management controller stores and applies the device operation data.

[0085] It can be seen from the above embodiment that by obtaining the level information of the midplane controller, if the baseboard management controller detects that the level information output by the midplane controller is a low level for two consecutive polling cycles, it is determined that the equipment operation data is valid. By detecting the working status of multiple polling cycles of the midplane controller, the validity of the operation data is judged, thereby reducing the probability of obtaining erroneous data.

[0086] In one embodiment of the present application, step S203 includes:

[0087] S301: If the level information is continuously in the first level state, and the pulse information is in the first level state for a first preset time period, it is determined that the working state of the midplane controller is in the upgrade completion stage.

[0088] Specifically, the pins of the baseboard management controller parse the pulses sent by the midplane controller. If the level information of the midplane controller is continuously in a low level state and the duration of the pulse information is greater than or equal to 2 seconds, it is determined that the midplane controller is in the upgrade completion stage.

[0089] In this embodiment, the first preset duration is set to 2 seconds.

[0090] In this embodiment, the first level state is a low level state.

[0091] S302: If the level information is continuously in the second level state, and the pulse information is in the second level state for a second preset time period, then determine that the working state of the midplane controller is an upgrade and refresh state.

[0092] In this embodiment, the second preset time length is 100 milliseconds.

[0093] In this embodiment, the second level state is a high level state.

[0094] Specifically, the pins of the baseboard management controller parse the pulses sent by the midplane controller. If the level information of the midplane controller is continuously in a high level state and the duration of the pulse information is greater than or equal to 100 milliseconds, it is determined that the midplane controller is in an upgrade and refresh state.

[0095] It can be seen from the above embodiments that by obtaining the level status of the midplane controller and judging whether the midplane controller is in the upgrade completion state or the upgrade refresh state according to the level status and the duration of the pulse, there is no need to occupy multiple pins of the midplane controller to obtain the status of the midplane controller, thereby reducing the resource occupancy rate of the midplane controller.

[0096] In one embodiment of the present application, step S203 further includes:

[0097] S303: If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for a third preset time period, then determining that the working state of the midplane controller is an upgrade success state.

[0098] In this embodiment, the third preset time length is 1 millisecond.

[0099] In this embodiment, the first level state is a low level state, and the second level state is a high level state.

[0100] Specifically, the pin of the baseboard management controller analyzes the pulse sent by the midplane controller. If the level information of the midplane controller is high for 1 millisecond and then changes to low, it is determined that the working state of the midplane controller is the upgrade success state.

[0101] S304: If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for a fourth preset time period or a fifth preset time period, then the working state of the midplane controller is determined to be an upgrade failure state.

[0102] In this embodiment, the fourth preset time length is 3 milliseconds.

[0103] In this embodiment, the fifth preset time length is 5 milliseconds.

[0104] In this embodiment, the first level state is a low level state, and the second level state is a high level state.

[0105] Specifically, the pins of the baseboard management controller parse the pulses sent by the midplane controller. If the level information of the midplane controller is a high level that lasts for 3 milliseconds and then changes to a low level, or a high level that lasts for 5 milliseconds and then changes to a low level, it is determined that the working status of the midplane controller is an upgrade failure status.

[0106] It can be seen from the above embodiments that by obtaining the duration of the high level of the midplane controller, parsing the upgrade status of the midplane controller according to different high level durations, and encoding the upgrade status of the midplane controller into the pulse, the robustness of the data interaction between the baseboard management controller and the midplane controller is improved.

[0107] In one embodiment of the present application, step S304 includes:

[0108] S3041: If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for a fourth preset time period, it is determined that the working state of the midplane controller is an upgrade failure state caused by firmware reasons.

[0109] In this embodiment, the fourth preset time length is 3 milliseconds.

[0110] In this embodiment, the first level state is a low level state, and the second level state is a high level state.

[0111] Specifically, the baseboard management controller pin analyzes the pulse sent by the midplane controller. If the level information of the midplane controller is high for 3 milliseconds and then changes to low, it is determined that the working state of the midplane controller is an upgrade failure state caused by firmware reasons.

[0112] Exemplary firmware reasons include, but are not limited to, firmware not updated, firmware version conflict, and firmware file corruption.

[0113] S3042: If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for a fifth preset time period, it is determined that the working state of the midplane controller is an upgrade failure state caused by a hardware compatibility issue.

[0114] In this embodiment, the fifth preset time length is 5 milliseconds.

[0115] In this embodiment, the first level state is a low level state, and the second level state is a high level state.

[0116] Specifically, the pins of the baseboard management controller parse the pulses sent by the midplane controller. If the level information of the midplane controller is high for 5 milliseconds and then changes to low, it is determined that the working state of the midplane controller is an upgrade failure state caused by hardware compatibility issues.

[0117] Exemplarily, hardware compatibility issues include, but are not limited to, incompatibility between programming tools and hardware, incompatibility between server firmware and hardware environment dependencies, and interface signal anomalies.

[0118] It can be seen from the above embodiments that by obtaining the duration of the high level of the midplane controller and analyzing the reasons for the failure of the midplane controller firmware upgrade according to different high level durations, the midplane controller generates different pulses according to the reasons for different firmware upgrade failure codes, thereby improving the robustness of the data interaction between the baseboard management controller and the midplane controller.

[0119] In one embodiment of the present application, step S203 further includes:

[0120] S305: If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for a sixth preset time period, the version information of the midplane controller is determined based on the number of conversions from the second level state to the first level state.

[0121] In this embodiment, the sixth preset time length is 1 millisecond.

[0122] In this embodiment, the first level state is a low level state, and the second level state is a high level state.

[0123] Specifically, the baseboard management controller pins parse the pulses sent by the midplane controller. If the level information of the midplane controller is high for 1 millisecond and then changes to low, the baseboard management controller determines the version information of the midplane controller based on the number of times the high level is converted to the low level.

[0124] Figure 3 Schematic diagram of the pin coding of the midplane controller provided in the embodiment of the present application Figure 1 .

[0125] like Figure 3 As shown, the baseboard management controller parses the pin code sent by the preset pin of the midplane controller. Data segment 1 is a continuous high level, indicating that the midplane controller is in an abnormal state due to firmware upgrade; data segment 2 is a continuous low level, indicating that the midplane controller upgrade is completed; data segment 3 is a high level converted to a low level, and according to different high level durations, it indicates that the midplane controller upgrade is successful or failed; data segment 4 indicates the firmware version of the midplane controller. Figure 3If three high levels appear in data segment 4, it means that the firmware version of the backplane controller is V3.

[0126] From the above embodiments, it can be seen that by obtaining the number of times the mid-backplane controller converts high level to low level, determining the version information of the mid-backplane controller according to the number of high-low level conversions, and recording the version information of the mid-backplane controller in the coded pulse, the diversity of the pulse recording information is improved.

[0127] In one embodiment of the present application, step S203 includes:

[0128] S401: If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for a seventh preset time period, then determining that the working state of the midplane controller is to instruct the baseboard management controller to start reading subsequent data.

[0129] In this embodiment, the first level state is a low level state, and the second level state is a high level state.

[0130] In this embodiment, the seventh preset duration is a duration manually set by a developer.

[0131] Specifically, after the midplane controller is upgraded, the control program in the midplane controller takes effect, and the pins of the baseboard management controller analyze the pulses sent by the midplane controller. If it is detected that the level information of the midplane controller is high for the seventh preset period and then changes to a low level, the working status of the midplane controller is determined to be instructing the baseboard management controller to start reading subsequent data.

[0132] S402: If the level information is converted from the second level state to the first level state, and the pulse information is the second level state that lasts for the eighth preset time length or the ninth preset time length, then the working state of the backplane controller is determined to be the output node control instruction, wherein the backplane controller in the node control instruction controls the corresponding node to perform the corresponding operation.

[0133] In this embodiment, the first level state is a low level state, and the second level state is a high level state.

[0134] In this embodiment, the eighth preset time length is 1 millisecond.

[0135] In this embodiment, the ninth preset time length is 3 milliseconds.

[0136] Specifically, the pins of the baseboard management controller parse the pulses sent by the midplane controller. If the level information of the midplane controller is a high level that lasts for 1 millisecond and then changes to a low level, or a high level that lasts for 3 milliseconds and then changes to a low level, it is determined that the midplane controller controls the corresponding node to perform the corresponding operation.

[0137] It can be seen from the above embodiments that by obtaining the level status of the midplane controller, executing corresponding operations according to the level status and the duration of the pulse, and transmitting the operations to be executed by the midplane controller to the baseboard management controller through encoded pulses, the robustness of the data interaction between the baseboard management controller and the midplane controller is improved.

[0138] In one embodiment of the present application, step S402 includes:

[0139] S4021: If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for an eighth preset time period, then determining that the working state of the midplane controller is a control instruction to power off the output node.

[0140] In this embodiment, the eighth preset time length is 1 millisecond.

[0141] In this embodiment, the first level state is a low level state, and the second level state is a high level state.

[0142] Specifically, the pin of the baseboard management controller analyzes the pulse sent by the midplane controller. If the level information of the midplane controller is high for 1 millisecond and then changes to low, it is determined that the working state of the midplane controller is a control instruction to power off the output node.

[0143] S4022: If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for a ninth preset time period, then determining that the working state of the midplane controller is to output an instruction to restart the node baseboard management controller.

[0144] In this embodiment, the ninth preset time length is 3 milliseconds.

[0145] In this embodiment, the first level state is a low level state, and the second level state is a high level state.

[0146] Specifically, the pin of the baseboard management controller analyzes the pulse sent by the midplane controller. If the level information of the midplane controller is high for 3 milliseconds and then changes to low, it is determined that the working state of the midplane controller is to output an instruction to restart the node baseboard management controller.

[0147] It can be seen from the above embodiments that by obtaining the duration of the high level of the midplane controller and parsing the operation instructions output by the midplane controller according to different high level durations, the midplane controller generates different pulses according to different operation instructions, thereby improving the robustness of data interaction between the baseboard management controller and the midplane controller.

[0148] In one embodiment of the present application, step S402 further includes:

[0149] S4023: If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for the tenth preset time period, then the fault information of the control instruction for powering off the output node of the mid-backplane controller is determined based on the number of conversion times from the second level state to the first level state.

[0150] In this embodiment, the tenth preset time length is 1 millisecond.

[0151] In this embodiment, the first level state is a low level state, and the second level state is a high level state.

[0152] Specifically, the pins of the baseboard management controller parse the pulses sent by the midplane controller. If the level information of the midplane controller is high for 1 millisecond and then changes to low, the baseboard management controller determines the fault information of the control instruction of the output node power failure based on the number of times the high level is converted to the low level.

[0153] For example, if the baseboard management controller detects that the number of times the high level is converted to the low level is 1 and the duration of the high level is 1 millisecond, it is determined that the fault information of the control instruction of the output node power failure is caused by leakage of the liquid cooling device.

[0154] For example, if the baseboard management controller detects that the number of high level conversions to low level is 2 and the duration of the high level is 1 millisecond, it is determined that the fault information of the control instruction for powering off the output node is a power outage caused by the system power consumption exceeding the power consumption limit.

[0155] Figure 4 Schematic diagram of the pin coding of the midplane controller provided in the embodiment of the present application Figure 2 .

[0156] like Figure 4 As shown, after the mid-backplane controller upgrade is completed, the mid-backplane controller enters the normal operation stage, and the baseboard management controller parses the pin code sent by the preset pin of the mid-backplane controller. Data segment 5 is a high level converted to a low level. If the duration of the high level meets the preset duration, the baseboard management controller starts to read the data sent by the mid-backplane controller; data segment 6 is a high level converted to a low level. According to different high level durations, it indicates that the instruction output by the mid-backplane controller is a node power-off control instruction or an instruction to restart the node baseboard management controller; data segment 7 indicates the fault cause of the mid-backplane controller executing the node power-off control instruction.

[0157] It can be seen from the above embodiments that by obtaining the number of times the high level of the midplane controller is converted to a low level, the fault information of the control instruction of the power failure of the output node of the midplane controller is determined according to the number of high and low level conversions, and the fault information of the midplane controller is recorded in the coded pulse, the diversity of the pulse recording information is improved.

[0158] Figure 5 A schematic diagram of the structure of a pin circuit provided in an embodiment of the present application. In one embodiment of the present application, the pin circuit is used to connect to a mid-backplane controller of a processing method of a mid-backplane controller, including: a pull-up circuit;

[0159] One end of the pull-up circuit is connected to a pin preset on the midplane controller, and the other end of the pull-up circuit is connected to a pin preset on the baseboard management controller.

[0160] In this embodiment, when the midplane controller is operating normally, a control program is provided in the midplane controller. Through the control program, a reverse voltage whose absolute value of the output voltage is greater than the absolute value of the pull-up power supply voltage is output, so that the pin level of the midplane is displayed as a low level. When the midplane controller is undergoing a firmware upgrade, the control program becomes invalid, and the pull-up circuit can pull the pin level of the midplane controller to a high level.

[0161] For example, the pull-up circuit outputs a +5V voltage, and the control program in the midplane controller controls the midplane controller to output a -13V voltage. At this time, the pin of the midplane controller outputs a -8V voltage, which is displayed as a low level. When the midplane controller performs a firmware upgrade, causing the control program to fail, the pull-up circuit outputs a +5V voltage, and the pin of the midplane controller is displayed as a high level.

[0162] In one embodiment of the present application, a pull-up circuit includes: a pull-up resistor and a pull-up power supply;

[0163] One end of the pull-up resistor is connected to a pull-up power supply, and the other end of the pull-up resistor is connected to a preset pin of the midplane controller.

[0164] In this embodiment, the voltage output by the pull-up power supply is a forward voltage.

[0165] Exemplarily, the voltage output by the pull-up power supply is +5V.

[0166] In one embodiment of the present application, the pull-up resistor is an adjustable resistor.

[0167] In one embodiment of the present application, the pin circuit further includes: a filter circuit;

[0168] One end of the pull-up circuit is connected to a pin preset by the baseboard management controller through a filter circuit.

[0169] In this embodiment, the filter circuit filters out interference signals from the level signals output by the pins of the midplane controller.

[0170] In one embodiment of the present application, the pin circuit further includes: a communication circuit;

[0171] The communication pin of the midplane controller and the communication pin of the baseboard management controller are connected through a communication circuit.

[0172] In this embodiment, the communication circuit is a circuit connected by an I2C (Inter-Integrated Circuit) bus.

[0173] In this embodiment, the device operation data of the external device collected by the midplane controller is transmitted to the baseboard management controller of each node through the communication circuit.

[0174] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method.

[0175] Figure 6 This is a schematic diagram of the structure of the processing device of the mid-backplane controller provided in the embodiment of the present application. Figure 6 As shown, an embodiment of the present application further provides a processing device 60 of a midplane controller, comprising: a collection module 601 , a first determination module 602 , a second determination module 603 and an execution module 604 .

[0176] The acquisition module 601 is used to acquire the voltage signal output by the midplane controller to be monitored through a preset pin circuit.

[0177] The first determining module 602 is configured to determine level information and / or pulse information from the voltage signal.

[0178] The second determining module 603 is configured to determine the working state of the midplane controller according to the level information and / or the pulse information.

[0179] The execution module 604 is used to execute a corresponding processing strategy according to the working status of the midplane controller.

[0180] In one embodiment of the present application, the second determining module 603 includes:

[0181] The first determining unit is configured to determine that the working state of the midplane controller is normal if the level information is continuously in the first level state.

[0182] The second determining unit is configured to determine that the working state of the midplane controller is abnormal if the level information is continuously in the second level state.

[0183] In one embodiment of the present application, the execution module 604 includes:

[0184] The first acquisition unit is configured to acquire the device operation data collected by the midplane controller via the data bus within a polling cycle.

[0185] The third determining unit is configured to determine that the device operation data is invalid and discard the device operation data if the working state of the corresponding midplane controller is abnormal within the polling period.

[0186] The fourth determining unit is configured to determine that the device operation data is valid and apply the device operation data if the working state of the corresponding midplane controller is normal within the polling period.

[0187] In one embodiment of the present application, the execution module 604 includes:

[0188] The second acquisition unit is used to acquire the device operation data collected by the midplane controller through the data bus within a polling cycle.

[0189] The fifth determining unit is configured to determine that the device operation data is invalid and discard the device operation data if the working state of the corresponding midplane controller is abnormal within the polling period.

[0190] The sixth determining unit is configured to determine that the device operation data is invalid and discard the device operation data if the working state of the corresponding midplane controller in the polling cycle is normal and the working state of the midplane controller in the previous polling cycle is abnormal.

[0191] The seventh determining unit is configured to determine that the device operation data is valid and apply the device operation data if the working state of the corresponding midplane controller in the polling cycle is normal and the working state of the midplane controller in the previous polling cycle is also normal.

[0192] In one embodiment of the present application, the second determining module 603 includes:

[0193] The eighth determining unit is configured to determine that the working state of the midplane controller is in the upgrade completion stage if the level information is continuously in the first level state and the pulse information is in the first level state for a first preset time period.

[0194] The ninth determining unit is configured to determine that the working state of the midplane controller is the upgrade and refresh state if the level information is continuously in the second level state and the pulse information is in the second level state for a second preset time period.

[0195] In one embodiment of the present application, the second determining module 603 further includes:

[0196] The tenth determining unit is configured to determine that the working state of the midplane controller is an upgraded success state if the level information indicates that the second level state is converted to the first level state and the pulse information indicates that the second level state is sustained for a third preset time period.

[0197] The eleventh determining unit is used to determine that the working state of the midplane controller is an upgrade failure state if the level information is converted from the second level state to the first level state, and the pulse information is the second level state that lasts for a fourth preset time length or a fifth preset time length.

[0198] In one embodiment of the present application, the eleventh determining unit includes:

[0199] The first determining subunit is used to determine that the working state of the midplane controller is an upgrade failure state caused by firmware if the level information is converted from the second level state to the first level state and the pulse information is the second level state that lasts for a fourth preset time period.

[0200] The second determination subunit is used to determine that the working state of the midplane controller is an upgrade failure state caused by hardware compatibility issues if the level information is converted from the second level state to the first level state, and the pulse information is the second level state that lasts for a fifth preset time period.

[0201] In one embodiment of the present application, the second determining module 603 includes:

[0202] The twelfth determination unit is used to determine the version information of the midplane controller based on the number of conversions from the second level state to the first level state if the level information is converted from the second level state to the first level state, and the pulse information is that the second level state meets the sixth preset time length.

[0203] In one embodiment of the present application, the second determining module 603 includes:

[0204] The thirteenth determining unit is used to determine that the working state of the midplane controller is to instruct the baseboard management controller to start reading subsequent data if the level information is converted from the second level state to the first level state and the pulse information is the second level state that lasts for a seventh preset time length.

[0205] The fourteenth determination unit is used to determine that the working state of the backplane controller is an output node control instruction if the level information is converted from the second level state to the first level state, and the pulse information is the second level state that lasts for the eighth preset time length or the ninth preset time length, wherein the backplane controller in the node control instruction controls the corresponding node to perform the corresponding operation.

[0206] In one embodiment of the present application, the fourteenth determining unit includes:

[0207] The third determining subunit is used to determine that the working state of the midplane controller is a control instruction to power off the output node if the level information is converted from the second level state to the first level state and the pulse information is the second level state that lasts for an eighth preset time length.

[0208] The fourth determining subunit is used to determine that the working state of the midplane controller is to output an instruction to restart the node baseboard management controller if the level information is converted from the second level state to the first level state, and the pulse information is the second level state that lasts for a ninth preset time period.

[0209] In one embodiment of the present application, the fourteenth determining unit further includes:

[0210] The fifth determination sub-unit is used to determine the fault information of the control instruction of the power-off of the output node of the mid-backplane controller according to the conversion number information of the second level state to the first level state if the level information is converted from the second level state to the first level state, and the pulse information is that the second level state meets the tenth preset time length.

[0211] For the description of the features in the embodiment corresponding to the processing device of the midplane controller, reference can be made to the relevant description of the embodiment corresponding to the processing method of the midplane controller, which will not be repeated here.

[0212] Figure 7 This is a schematic diagram of the structure of the baseboard management controller provided in this application. Figure 7 As shown, the baseboard management controller 102 provided in this embodiment includes: at least one processor 1021 and a memory 1022. Optionally, the baseboard management controller 102 further includes a communication component 1023. The processor 1021, the memory 1022 and the communication component 1023 are connected via a bus.

[0213] In a specific implementation process, at least one processor 1021 executes the computer-executable instructions stored in the memory 1022 , so that the at least one processor 1021 executes the above-mentioned processing method embodiment of the midplane controller.

[0214] The specific implementation process of the processor 1021 can be found in the above method embodiment. Its implementation principle and technical effects are similar and will not be repeated here in this embodiment.

[0215] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the application may be directly executed by a hardware processor or by a combination of hardware and software modules within the processor.

[0216] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage.

[0217] A bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Buses can be categorized as address buses, data buses, and control buses. For ease of illustration, the buses in the drawings of this application are not limited to just one bus or just one type of bus.

[0218] An embodiment of the present application further provides a computer-readable storage medium storing a computer program, wherein the computer program is configured to execute the steps of any of the above-mentioned processing method embodiments of the backplane controller when running.

[0219] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0220] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any of the above-mentioned processing method embodiments of the backplane controller are implemented.

[0221] An embodiment of the present application also provides another computer program product, including a non-volatile computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the steps in any of the above-mentioned backplane controller processing method embodiments.

[0222] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0223] The above is a detailed introduction to the processing method, device, storage medium, program product, pin circuit and baseboard management controller of a mid-backplane controller provided by the present application. This article uses specific examples to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

Claims

1. A processing method for a mid-backplane controller, characterized in that: include: Collecting a voltage signal output by a midplane controller to be monitored through a preset pin circuit, wherein the preset pin circuit includes a pull-up circuit, one end of the pull-up circuit is connected to a preset pin of the midplane controller, and the other end is connected to a preset pin of a baseboard management controller; determining level information and / or pulse information from the voltage signal; Determine the working state of the midplane controller according to the level information and / or pulse information, wherein if the level information is continuously in a first level state, and the pulse information indicates that the first level state meets the requirements of a first preset time duration, then determine that the working state of the midplane controller is in an upgrade completion stage; if the level information is continuously in a second level state, and the pulse information indicates that the second level state meets the requirements of a second preset time duration, then determine that the working state of the midplane controller is an upgrade refresh state; Executing a corresponding processing strategy according to the working status of the midplane controller includes: In a polling cycle, the device operation data collected by the midplane controller is obtained through the data bus; If the working state of the corresponding mid-backplane controller in the polling period is abnormal, determining that the device operation data is invalid and discarding the device operation data; If the working state of the corresponding midplane controller in the polling cycle is normal and the working state of the midplane controller in the previous polling cycle is abnormal, determining that the device operation data is invalid and discarding the device operation data; If the working state of the corresponding midplane controller in the polling cycle is normal and the working state of the midplane controller in the previous polling cycle is also normal, the device operation data is determined to be valid and applied.

2. The processing method of the midplane controller according to claim 1, characterized in that: The determining the working state of the midplane controller according to the level information and / or pulse information further includes: If the level information is continuously in the first level state, determining that the working state of the midplane controller is normal; If the level information is continuously in the second level state, it is determined that the working state of the midplane controller is abnormal.

3. The processing method of the midplane controller according to claim 1, characterized in that: Also includes: If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for a third preset time period, determining that the working state of the midplane controller is an upgrade success state; If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for a fourth preset time period or a fifth preset time period, it is determined that the working state of the midplane controller is an upgrade failure state.

4. The processing method of the midplane controller according to claim 3, characterized in that: If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for a fourth preset time period or a fifth preset time period, determining that the working state of the midplane controller is an upgrade failure state includes: If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for a fourth preset time period, it is determined that the working state of the midplane controller is an upgrade failure state caused by firmware reasons; If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for a fifth preset time period, it is determined that the working state of the midplane controller is an upgrade failure state caused by a hardware compatibility problem.

5. The processing method of the midplane controller according to claim 1, characterized in that: Also includes: If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for a sixth preset time period, the version information of the midplane controller is determined based on the number of conversions from the second level state to the first level state.

6. The processing method of the midplane controller according to claim 1, characterized in that: The determining the working state of the midplane controller according to the level information and / or pulse information further includes: If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for a seventh preset time period, determining that the working state of the midplane controller is to instruct the baseboard management controller to start reading subsequent data; If the level information is that the second level state is converted to the first level state, and the pulse information is that the second level state meets the eighth preset time length or the ninth preset time length, then the working state of the mid-backplane controller is determined to be the output node control instruction, wherein the node control instruction controls the corresponding node to perform the corresponding operation.

7. The processing method of the midplane controller according to claim 6, characterized in that: If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for an eighth preset time length or a ninth preset time length, determining that the working state of the midplane controller is an output node control instruction includes: If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for an eighth preset time period, determining that the working state of the midplane controller is a control instruction for powering off the output node; If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for a ninth preset time period, it is determined that the working state of the midplane controller is to output an instruction to restart the node baseboard management controller.

8. The processing method of the midplane controller according to claim 7, characterized in that: Also includes: If the level information indicates that the second level state is converted to the first level state, and the pulse information indicates that the second level state lasts for the tenth preset time period, then the fault information of the control instruction for powering off the output node of the backplane controller is determined based on the number of conversions from the second level state to the first level state.

9. A baseboard management controller, characterized in that: include: Memory for storing computer programs; A processor, configured to implement the steps of the processing method of the midplane controller according to any one of claims 1 to 8 when executing the computer program.

10. A pin circuit for connecting to a midplane controller according to the processing method of the midplane controller as claimed in any one of claims 1 to 8, characterized in that: include: Pull-up circuit; One end of the pull-up circuit is connected to a pin preset in the midplane controller, and the other end of the pull-up circuit is connected to a pin preset in the baseboard management controller.

11. The pin circuit according to claim 10, wherein: The pull-up circuit includes: a pull-up resistor and a pull-up power supply; One end of the pull-up resistor is connected to the pull-up power supply, and the other end of the pull-up resistor is connected to a preset pin of the mid-backplane controller.

12. The pin circuit according to claim 11, wherein: The pull-up resistor is an adjustable resistor.

13. The pin circuit according to claim 10, wherein: Also includes: filter circuit; One end of the pull-up circuit is connected to a preset pin of the baseboard management controller through a filter circuit.

14. The pin circuit according to claim 10, wherein: Also includes: Communication circuits; The communication pin of the midplane controller and the communication pin of the baseboard management controller are connected through the communication circuit.

15. A processing device for a mid-backplane controller, characterized in that: include: an acquisition module, configured to acquire a voltage signal output by a midplane controller to be monitored through a preset pin circuit, wherein the preset pin circuit includes a pull-up circuit, one end of the pull-up circuit being connected to a preset pin of the midplane controller and the other end being connected to a preset pin of a baseboard management controller; A first determining module, configured to determine level information and / or pulse information from the voltage signal; A second determination module is configured to determine the working state of the midplane controller according to the level information and / or pulse information, wherein if the level information indicates that the midplane controller is continuously in a first level state and the pulse information indicates that the first level state is continuously maintained for a first preset time period, then the working state of the midplane controller is determined to be in an upgrade completion stage; if the level information indicates that the midplane controller is continuously in a second level state and the pulse information indicates that the second level state is continuously maintained for a second preset time period, then the working state of the midplane controller is determined to be an upgrade refresh state; An execution module, configured to execute a corresponding processing strategy according to the working state of the midplane controller, the execution module comprising a second acquisition unit, a fifth determination unit, a sixth determination unit, and a seventh determination unit; The second acquisition unit is used to acquire the device operation data collected by the midplane controller through the data bus within a polling cycle; The fifth determining unit is configured to determine that the device operation data is invalid and discard the device operation data if the working state of the corresponding midplane controller is abnormal within the polling period; The sixth determining unit is configured to determine that the device operation data is invalid and discard the device operation data if the working state of the corresponding midplane controller in the polling cycle is normal and the working state of the midplane controller in the previous polling cycle is abnormal; The seventh determination unit is used to determine that the device operation data is valid and apply the device operation data if the working status of the corresponding midplane controller in the polling cycle is normal and the working status of the midplane controller in the previous polling cycle is also normal.

16. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the steps of the processing method of the midplane controller according to any one of claims 1 to 8 are implemented.

17. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the processing method of the midplane controller according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Hot plug control method, hot plug system, medium and program product

    CN119718996A

  • Server cooperative control method, storage medium and electronic equipment

    CN119917350A