A server IPMI interface and serial port automatic switching device
By using a relay matrix to switch the RJ45 interface signal lines in the server, the automatic switching between the Ethernet port and the debugging serial port is realized, which solves the problems of complex IPMI network port configuration and wasted space, improves the server maintenance efficiency and reduces costs.
Patent Information
- Application Number
- CN202511548118.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-28
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2045-10-28
AI Technical Summary
The IPMI network interface configuration in existing servers is complex and wastes space, making it difficult to efficiently shorten fault repair time and improve the machine's fault-free uptime.
A relay matrix is used to switch the RJ45 interface signal lines. The monitoring device automatically switches between the Ethernet port and the debugging serial port, sharing a single RJ45 interface. The switching is performed by monitoring the signal level through a voltage comparator.
It enables automatic switching between Ethernet and serial ports, saving server space, reducing costs, and improving fault repair efficiency.
Smart Images

Figure CN121037216B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application relates to the technical field of servers, in particular to a server IPMI interface and serial port automatic switching device. BACKGROUND
[0002] With the development of new technologies such as cloud computing and big data, people have higher and higher requirements for the stable and reliable work of servers and the mean time between failures (MTBF), and how to effectively shorten the server fault repair time and improve the machine failure-free operation time is a difficult problem for each maintenance personnel. Since the IPMI network port is an interface that must be used for server production line testing, maintenance personnel information collection, customer device management and other operations, the current IPMI network port configuration mode is complex and inflexible.
[0003] The current general server BMC panel interface has an IPMI interface and a debugging serial port, which causes great waste of the server space.
[0004] Therefore, the application provides a simple, efficient, cost-reducing and design-difficulty-reducing server IPMI interface and serial port automatic switching device. SUMMARY
[0005] The application aims to provide a server IPMI interface and serial port automatic switching device, which comprises a monitoring device, a relay switching matrix, an RJ45 interface, a transformer, a BMC and an RS232 level conversion, the output of the BMC and the RS232 level conversion is connected, the input of the RS232 level conversion is connected with the relay switching matrix, the relay switching matrix is connected with the monitoring device and the RJ323 interface respectively, and the transformer is connected with the relay switching matrix and the BMC respectively.
[0006] Further, the monitoring device comprises monitoring the signal level of the 6-pin through the monitoring device, the monitoring device comprises a voltage comparator and an absolute value conversion circuit, the absolute value conversion circuit converts the voltage signal into a positive voltage signal, and then the signal is connected to the voltage comparator for voltage comparison, and the final comparison signal is output to control the relay switching matrix to switch.
[0007] Further, the relay switching matrix comprises a hardware solid-state BYPASS relay.
[0008] Further, the RS232 level conversion comprises S232 converting the UART 3.3V_LVTTL level signal into an RS232 level signal.
[0009] Further, the RJ45 interface includes 8 signal lines, the RJ45 interface uses 12th, 36th, 45th and 78th as differential pair transmission Ethernet data message at 1000M rate of the Ethernet interface, and the RJ45 interface uses 3rd as TXD of RS232 and 6th as RXD of RS232 as a debugging serial interface.
[0010] Further, the transformer includes a gigabit network transformer.
[0011] Further, the BMC includes a BMC chip AST2600.
[0012] The application has the following advantages: the application switches the 8 signal lines of the RJ45 by adopting the relay matrix, and detects the signal lines of the RJ45 interface by the monitoring device, and automatically switches the debugging serial port and the Ethernet port.
[0013] The application shares one RJ45 interface by the Ethernet port and the serial port, avoids the waste of the BMC interface board of the back panel of the server in space, reduces one RJ45 interface in cost, and reduces the cost of the whole server. BRIEF DESCRIPTION OF DRAWINGS
[0014] Figure 1 It is a functional block diagram of the application;
[0015] Figure 2 It is an absolute value conversion circuit diagram of the application;
[0016] Figure 3 It is a voltage comparator circuit diagram of the application;
[0017] Figure 4 It is a relay switching matrix circuit diagram of the application;
[0018] Figure 5 It is a transformer circuit diagram of the application;
[0019] Figure 6 It is an RS232 conversion circuit diagram of the application;
[0020] Figure 7 It is an RJ45 interface circuit diagram of the application. DETAILED DESCRIPTION
[0021] The application provides a server IPMI interface and serial port automatic switching device, which comprises a monitoring device, a relay switching matrix, an RJ45 interface, a transformer, a BMC and an RS232 level conversion, wherein the output of the BMC and the RS232 level conversion is connected, the input of the RS232 level conversion is connected with the relay switching matrix, the relay switching matrix is connected with the monitoring device and the RJ323 interface respectively, and the transformer is connected with the relay switching matrix and the BMC respectively.
[0022] Embodiment 1
[0023] The RJ45 interface has 8 signal lines, in the interface signal definition, the 12th, 36th, 45th and 78th pins are used as differential pairs to transmit Ethernet data messages when the Ethernet interface is at a speed of 1000M, in the debugging serial port interface, the 3rd pin is used as the TXD of RS232 and the 6th pin is used as the RXD of RS232.
[0024] For the signal amplitude comparison of the two interfaces, the differential pairs are used for signal transmission in the physical layer of the Ethernet interface, and the signal amplitude of single lane is several hundred mv, while for the RS232 level of the debugging serial port, the logic 0 corresponds to +5V~+15V and the logic 1 corresponds to -5V~-15V.
[0025] The signal level of the 6th pin is monitored by the monitoring device, when the serial port data is transmitted, the signal level will jump between +5V~+15V and -5V~-15V, and in the electrical idle state, the level is in the range of -5V~-15V, a voltage comparator is designed in the monitoring device, when it is detected that the signal is in the range of -5V~-15V, the OE signal is pulled high, the relay switching matrix is switched to the input side of the rear RS232 level conversion, at this time, the UART data from the debugging interface can be received by the BMC, if it is detected that the signal is not in the range of -5V~-15V, that is, the RJ45 interface is not inserted with a medium or the RJ45 input type is Ethernet data at this time, the relay switching matrix is switched to the side of the Ethernet transformer by default, so that the BMC can receive the data messages from the Ethernet port at this time.
[0026] Embodiment 2
[0027] When the server is running normally, the IPMI management interface is connected to the management switch of the machine room, at this time the PIN6 pin of the connector has a voltage amplitude of about-1V~1V, at this time the monitoring device outputs a low level signal, so that the NC and COM pins of the relay are connected, and the RJ45 is the IPMI interface by default; when the server is running failure or needs to be debugged by using the UART, the operation and maintenance personnel connect the serial port to the RJ45 network port, at this time the monitoring device outputs a high level signal, so that the N0 and COM pins of the relay are connected, and the RJ45 is the serial port by default, so that the self-switching function of the IPMI and the serial port is realized.
[0028] Although the specific embodiments of the present application are described in detail with reference to the accompanying drawings, it should not be understood as limiting the scope of protection of the present application. Various modifications and variations made by those skilled in the art within the scope described in the claims are still within the scope of protection of the present application.
Claims
1. A server IPMI interface and serial port automatic switching device, comprising a monitoring device, a relay switching matrix, an RJ45 interface, a transformer, a BMC, and an RS232 level converter, characterized in that: The BMC is connected to the output of the RS232 level converter, the input of the RS232 level converter is connected to the relay switching matrix, the relay switching matrix is connected to the monitoring device and the RJ323 interface respectively, and the transformer is connected to the relay switching matrix and the BMC respectively. The monitoring device includes monitoring the signal level of pin 6. The monitoring device includes a voltage comparator and an absolute value conversion circuit. The absolute value conversion circuit converts the ± voltage signal into a positive voltage signal, and then connects the signal to the voltage comparator for voltage comparison. The final comparison signal is output to control the relay switching matrix to switch. The RJ45 interface includes 8 signal lines. When the Ethernet interface is at a speed of 1000M, the RJ45 interface uses pins 12, 36, 45, and 78 as differential pairs to transmit Ethernet data packets. When the RJ45 interface is used as a debugging serial port interface, pin 3 is used as the TXD of RS232 and pin 6 is used as the RXD of RS232.
2. The automatic switching device between server IPMI interface and serial port as described in claim 1, characterized in that: The relay switching matrix includes hardware solid-state BYPASS relays.
3. The automatic switching device between server IPMI interface and serial port as described in claim 1, characterized in that: The RS232 level conversion includes an RS232MAX232 chip, which converts the UART 3.3V_LVTTL level signal into an RS232 level signal.
4. The server IPMI interface and serial port automatic switching device as described in claim 1, characterized in that: The transformer includes a gigabit network transformer.
5. The server IPMI interface and serial port automatic switching device as described in claim 1, characterized in that: The BMC includes the BMC chip AST2600.
Citation Information
Patent Citations
Server serial port switching apparatus and method, and server
CN105786742A