Master-slave arbitration and heartbeat detection circuit

By adopting multiple line connections and protocols in the dual-control system, the system resource consumption and hidden dangers caused by traditional single Ethernet lines are solved, the reliability and stability of the system are improved, and data transmission in the event of failure is ensured.

CN221977377UActive Publication Date: 2024-11-08FUXI SEMICON (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420086921.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-01-12
Publication Date
2024-11-08
Estimated Expiration
2034-01-12

AI Technical Summary

Technical Problem

Traditional master-slave arbitration and heartbeat detection usually rely on a single Ethernet line in dual-control systems, resulting in large consumption of system resources and high potential risks, and network failures may lead to system paralysis.

Method used

Use GPIO port, I2C bus and Ethernet to connect multiple lines to increase redundant lines. Use the I2C bus to go through IPMB protocol and Ethernet protocol. The heartbeat packet is mainly transmitted through Ethernet, and switches to the I2C bus for data when Ethernet fails. transmission.

Benefits of technology

Without increasing hardware costs, the reliability and stability of the system are improved, ensuring data transmission through the I2C bus in the event of Ethernet failure, and ensuring the continuous operation of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221977377U_ABST
    Figure CN221977377U_ABST
Patent Text Reader

Abstract

The utility model discloses a master-slave arbitration and heartbeat detection circuit, which comprises a BMC (baseboard management controller) I and a BMC II, the BMC I and the BMC II are connected through a GPIO (General Purpose Input / Output) port, an I2C (Inter-Integrated Circuit) bus and an Ethernet, wherein the GPIO port and the I2C bus are connected by adopting Board to Board; a positioning GPIO (General Purpose Input / Output) I is also arranged on the BMC I and is used for connecting a low level; and a positioning GPIO (General Purpose Input / Output) II is also arranged on the BMC II, is used for connecting high level and is respectively connected with GPIO ports on the BMC I and the BMC II. According to the utility model, various lines such as GPIO, I2C, Ethernet and the like are adopted for connection, various redundant lines are added on the basis of a traditional scheme, and the reliability of the system is improved on the basis of not increasing hardware cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of BMC, in particular to a master-slave arbitration and heartbeat detection circuit. Background Art

[0002] Servers and storage have high requirements for system reliability. In some scenarios, dual-control systems (based on BMC) are even used so that when the main controller fails, the slave controller can quickly take over the control of the system to ensure uninterrupted business. For example, cabinet management or high-reliability storage systems. Dual-control systems usually work in master-slave mode, and master-slave arbitration and heartbeat detection are required between the dual-control systems to ensure that the system can detect failures and switch.

[0003] Traditional arbitration and heartbeat detection usually use a single Ethernet line for execution. However, Ethernet operation consumes a large amount of system resources and the hidden dangers brought by a single line are also relatively high. Once a network failure occurs, the dual-control system may become paralyzed. Utility Model Content

[0004] In view of the problems existing in the prior art, the utility model provides a master-slave arbitration and heartbeat detection circuit.

[0005] In order to achieve the above purpose, the technical solution of the utility model is as follows:

[0006] The utility model provides a master-slave arbitration and heartbeat detection circuit, comprising: BMC 1 and BMC 2; the BMC 1 and BMC 2 are connected through a GPIO port, an I2C bus, and Ethernet, wherein the GPIO port and the I2C bus are connected by Board to Board;

[0007] The BMC 1 is also provided with a positioning GPIO 1 for connecting a low level; the BMC 2 is also provided with a positioning GPIO 2 for connecting a high level and connected to the GPIO ports on the BMC 1 and BMC 2 respectively.

[0008] Preferably, the master-slave arbitration and heartbeat detection circuit further includes a switch, and the LAN Ethernet port on the BMC 1 is connected to the LAN Ethernet port on the BMC 2 via the switch.

[0009] Preferably, the I2C bus follows the IPMB protocol.

[0010] Preferably, the BMC 1 and BMC 2 are arranged side by side or up and down.

[0011] Preferably, the GPIO port on the BMC 2 is also connected to a 3.3V power supply.

[0012] Preferably, the GPIO port on the BMC 1 is grounded.

[0013] The technical solution of the utility model has the following beneficial effects:

[0014] The utility model adopts multiple line connections such as GPIO, I2C and Ethernet, and adds multiple redundant lines on the basis of traditional solutions, thereby improving the reliability of the system without increasing the hardware cost; there are also I2C and Ethernet connections between the two BMCs, the I2C bus follows the IPMB protocol, and the Ethernet follows the commonly used network protocol. I2C is a Board to Board connection with higher reliability. In this system, the heartbeat packet mainly goes through the Ethernet. After the Ethernet fails, the spare I2C bus can be used for detection and data transmission, thereby achieving the purpose of increasing reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 This is a control schematic diagram of the utility model. DETAILED DESCRIPTION

[0016] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0017] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0018] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present utility model, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0019] In the present invention, unless otherwise clearly specified and limited, the terms "install", "connect", "connect", "fix" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0020] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include the first and second features being in direct contact with each other.

[0021] It may also include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, the first feature being "above", "above" and "above" the second feature includes the first feature being directly above and obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. The first feature being "below", "below" and "below" the second feature includes the first feature being directly below and obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0022] Reference Figure 1 The utility model provides a master-slave arbitration and heartbeat detection circuit, including: BMC-200, BMC-100; the BMC-200 and BMC-100 are connected through GPIO port, I2C bus and Ethernet, wherein the GPIO port and I2C bus are connected by Board to Board; the BMC-200 is also provided with a positioning GPIO-201 for connecting a low level; the BMC-100 is also provided with a positioning GPIO-101 for connecting a high level, and is connected to the GPIO ports on the BMC-200 and the BMC-100 respectively.

[0023] Furthermore, the master-slave arbitration and heartbeat detection circuit also includes a switch 300, and the LAN Ethernet port on the BMC-200 is connected to the LAN Ethernet port on the BMC-2 100 through the switch. The I2C bus follows the IPMB protocol. The BMC-200 and the BMC-2 100 are arranged in a left-right arrangement or an up-and-down arrangement. The GPIO port on the BMC-2 is also connected to a 3.3V power supply. The GPIO port on the BMC-1 is grounded.

[0024] The arbitration of the main system of the utility model system mainly adopts positioning GPIO. There are two types of positioning GPIO. One type is used for positioning. Positioning GPIO 1 uses a constant level and is directly connected to a low level, while positioning GPIO 2 of BMC2 is directly connected to a high level, which is used for host confirmation. The Open Drain method is used to connect the GPIO ports of the two BMCs respectively. When the two BMCs are started, they can judge their location according to the level, and we can specify the controller on the low level side as the default host mode, which can reduce the complexity of arbitration when the system is initialized. When a controller is confirmed as the host mode, it needs to pull down the arbitration GPIO to notify the other controller that it has entered the master mode. These arbitration operations are based on GPIO, and the reliability and efficiency will be higher.

[0025] Secondly, there are I2C and Ethernet connections between the two BMCs. The I2C bus uses the IPMB protocol, and Ethernet uses the common network protocol. I2C is a Board to Board connection, which has higher reliability but slow speed. Ethernet has high overhead but high speed. Therefore, in this system, the heartbeat packet mainly uses Ethernet. After Ethernet fails, the spare I2C bus can be used for detection and data transmission, thereby achieving the purpose of increasing reliability.

[0026] The above description is only a preferred embodiment of the utility model, and does not limit the patent scope of the utility model. All equivalent structural changes made by using the contents of the utility model specification and drawings under the utility model concept, or directly / indirectly used in other related technical fields are included in the patent protection scope of the utility model.

Claims

1. A master-slave arbitration and heartbeat detection circuit, It is characterized in that include: BMC 1 and BMC 2; BMC 1 and BMC 2 are connected via GPIO port, I2C bus and Ethernet, wherein the GPIO port and I2C bus are connected using Board to Board; The BMC 1 is also provided with a positioning GPIO 1 for connecting to a low level; the BMC 2 is also provided with a positioning GPIO 2 for connecting to a high level and connected to the GPIO ports on the BMC 1 and BMC 2 respectively; The master-slave arbitration and heartbeat detection circuit also includes a switch, and the LAN Ethernet port on the BMC 1 is connected to the LAN Ethernet port on the BMC 2 via the switch; The I2C bus follows the IPMB protocol; The BMC 1 and BMC 2 are arranged in a left-right arrangement or a top-bottom arrangement. The GPIO port on the BMC 2 is also connected to a 3.3V power supply; The GPIO port on the BMC one is grounded.