Device for automatically collecting BMC logs in shutdown state
By designing a device to automatically collect BMC logs when the server is powered off, and utilizing a signal switching chip and trigger module to achieve signal switching and hardware multiplexing, the problem of log collection when the server is powered off is solved, improving troubleshooting efficiency and system stability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- DONGGUAN RAMAXEL MEMORY TECH LTD
- Filing Date
- 2025-05-06
- Publication Date
- 2026-05-12
AI Technical Summary
When the server is shut down or the IP address is unreachable, traditional methods cannot easily and quickly collect BMC logs, resulting in extended fault handling time and affecting normal server operation and business continuity.
Design a device for automatically collecting BMC logs in the power-off state, including a CPU module, a BMC module, a signal switching chip, a USB connector, and a trigger module. The signal switching chip realizes signal switching and hardware multiplexing, and together with the UID button and signal recognition circuit of the trigger module, simple log collection is achieved.
It improved troubleshooting efficiency, simplified operating procedures, reduced costs, ensured stable server operation, and reduced downtime.
Smart Images

Figure CN224232173U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of server technology, and more specifically to a device for automatically collecting BMC logs when the computer is powered off. Background Technology
[0002] In the daily operation and maintenance of servers, BMC logs are crucial for troubleshooting and system optimization. However, when a server malfunctions, causing shutdown, crashes, or inability to log in to the BMC webpage due to IP address issues, traditional methods of collecting logs via IP login become unusable. This poses significant challenges for technicians in quickly locating and resolving problems, prolonging troubleshooting time and impacting normal server operation and business continuity. Existing log collection technologies are either complex to operate, requiring tedious tasks by specialized technicians, or require additional equipment or software support, increasing costs and system complexity. Therefore, developing a simple, efficient, and reliable device for automatically collecting BMC logs in a shutdown state is of significant practical importance. Utility Model Content
[0003] The purpose of this invention is to overcome the shortcomings of the prior art and provide a device for automatically collecting BMC logs in a powered-off state. The purpose is to solve the technical problem that it is not possible to conveniently and quickly collect BMC logs when the server is powered off or the IP is unreachable.
[0004] To achieve the above objectives, the present invention adopts the following technical solution:
[0005] An apparatus for automatically collecting BMC logs in a powered-off state, the apparatus comprising:
[0006] The CPU module, which is located on the server motherboard, is used to provide USB communication signals from the CPU module during operation.
[0007] The BMC module provides USB communication signals during operation; the BMC module also has a GPIO interface for sending switching signals.
[0008] A signal switching chip is connected to the signal terminal of the CPU module, the signal terminal of the BMC module, and the GPIO interface, and is used to receive the switching signal and perform signal switching.
[0009] The USB connector is connected to the output of the signal switching chip via a switching circuit;
[0010] The trigger module includes a UID button and a signal recognition circuit, used to send log transmission commands to the BMC module.
[0011] In one embodiment, the signal switching chip includes a first input channel and a second input channel, the first input channel being connected to the signal terminal of the CPU module, and the second input channel being connected to the signal terminal of the BMC module.
[0012] In one embodiment, the signal switching chip is further provided with a channel selection pin, which is connected to the GPIO interface.
[0013] In one embodiment, the channel selection pin is connected to the GPIO interface via a control line.
[0014] In one embodiment, a bias resistor is provided on the control line, the channel selection pin is connected to one end of the bias resistor, and the other end of the bias resistor is grounded.
[0015] In one embodiment, the device further includes a pull-down resistor, and the signal switching chip is provided with an enable pin, which is connected to one end of the pull-down resistor, and the other end of the pull-down resistor is grounded.
[0016] In one embodiment, the output of the signal switching chip is connected to the USB connector via a matching resistor, which is used to eliminate impedance mismatch in the signal transmission of the USB connector.
[0017] In one embodiment, the input terminal of the signal recognition circuit is connected to the UID button, and the output terminal of the signal recognition circuit is connected to the BMC module via a signal line.
[0018] In one embodiment, the signal switching chip has a power supply pin, which is connected to a power module located on the server motherboard.
[0019] In one embodiment, the CPU module, the BMC module, the signal switching chip, the USB connector, and the trigger module are all electrically connected via printed circuits on the server motherboard.
[0020] The advantages of this invention compared to existing technologies are as follows: By placing the CPU module on the server motherboard to provide runtime USB communication signals, the BMC module integrates fault detection and log packaging functions and uses the GPIO interface for real-time monitoring, the signal switching chip connects the signal terminals of the two to achieve signal switching, and the USB connector connects to the output terminal of the signal switching chip via a switching circuit to reuse hardware resources. Combined with the UID button of the trigger module and the signal recognition circuit, this invention achieves efficient reuse and integration of hardware, flexible signal switching, and simple and quick operation, greatly improving the efficiency of fault diagnosis and ensuring the stable operation of the server.
[0021] The above description is only an overview of the technical solution of this utility model. In order to better understand the technical means of this utility model, it can be implemented according to the contents of the specification. In order to make the above and other objects, features and advantages of this utility model more obvious and easy to understand, the following are preferred embodiments, which are described in detail below. Attached Figure Description
[0022] Figure 1 A schematic diagram of a module for an apparatus that automatically collects BMC logs in a powered-off state, provided by this utility model;
[0023] Figure 2 The circuit diagram for signal switching of a device that automatically collects BMC logs in the power-off state provided by this utility model;
[0024] Figure 3 The present invention provides a circuit schematic diagram of a trigger module for automatically collecting BMC logs in a powered-off state.
[0025] Figure Labels
[0026] 100. CPU module; 200. BMC module; 300. Signal switching chip; 400. USB connector; 500. Trigger module. Detailed Implementation
[0027] To make the objectives, technical solutions, and advantages of this utility model clearer, the present utility model will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0028] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of the present utility model.
[0029] It should be understood that, when used in this specification and the appended claims, the terms "comprising" and "including" indicate the presence of the described features, integrals, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or collections thereof.
[0030] It should also be understood that the terminology used in this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of the invention. As used in this specification and the appended claims, the singular forms “a,” “an,” and “the” are intended to include the plural forms unless the context clearly indicates otherwise.
[0031] It should also be further understood that the term "and / or" as used in this specification and the appended claims refers to any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0032] See Figures 1 to 3 As shown in the figure, this utility model embodiment discloses a device for automatically collecting BMC logs in a powered-off state, comprising:
[0033] CPU module 100, which is mounted on the server motherboard, is used to provide USB communication signals from the CPU module 100 during operation;
[0034] BMC module 200, which is used to provide USB communication signals during operation; BMC module 200 is provided with a GPIO interface, which is used to send switching signals;
[0035] A signal switching chip 300 is connected to the signal terminal of the CPU module 100, the signal terminal of the BMC module 200 and the GPIO interface respectively, and is used to receive the switching signal and perform signal switching.
[0036] USB connector 400, the USB connector 400 is connected to the output terminal of the signal switching chip 300 through a switching circuit;
[0037] Trigger module 500, which includes a UID button and a signal recognition circuit, is used to send log transmission instructions to BMC module 200.
[0038] Specifically, the device for automatically collecting BMC logs in the power-off state includes a CPU module 100, a BMC module 200, a signal switching chip 300, a USB connector 400, and a trigger module 500. By organically combining the CPU module 100, BMC module 200, signal switching chip 300, USB connector 400, and trigger module 500, and utilizing the functional characteristics of each module, a complete log collection system is constructed. The CPU module 100 and BMC module 200 respectively provide USB communication signals in the running state. The signal switching chip 300 switches between the two signals according to the switching signal sent by the GPIO interface of the BMC module 200, thereby realizing signal transmission in different operating states. The trigger module 500 provides users with a way to manually trigger log collection, making it convenient to obtain BMC logs when needed.
[0039] During normal server operation, CPU module 100 provides its own USB communication signals. The signal switching chip defaults to transmitting CPU module 100's signals to the USB connector, allowing USB connector 400 to connect to external USB devices and enable data transmission and interaction. During operation, BMC module 200 continuously monitors the server's status. When it detects abnormal conditions such as server shutdown or crash, BMC module 200's GPIO interface sends a switching signal to signal switching chip 300. Upon receiving the switching signal, signal switching chip 300 switches the signal source from CPU module 100 to BMC module 200, enabling USB communication signals from BMC module 200 to be transmitted to USB connector 400. When a user needs to collect BMC logs, pressing the UID button on trigger module 500 causes the signal recognition circuit to identify and process the button operation, sending a log transmission command to BMC module 200. Upon receiving the command, BMC module 200 transmits the packaged log data to USB connector 400 via USB communication signals. The user can then retrieve the BMC logs using a storage device (such as a USB flash drive) connected to the USB connector.
[0040] Furthermore, the signal switching chip 300 (i.e., the attached...) Figure 2The U33 chip in the signal switching chip 300 is connected to the signal terminals USB2_CPU_DN / USB2_CPU_DP of the CPU module 100 and USB2_BMC_DN / USB2_BMC_DP of the BMC module 200. Based on the switching characteristics of the signal switching chip 300, different signal input sources are selected according to the system status to switch signals. When the server is running normally, the signal switching chip 300 transmits the USB communication signal of the CPU module 100 to the USB connector 400; when the system malfunctions, it switches to the USB communication signal of the BMC module 200, thereby realizing intelligent signal switching and ensuring the normal use of the device and the switching of log collection functions. It is understood that in this embodiment, a two-to-one signal switching chip 300 conforming to the USB transmission protocol, i.e., an SW chip, is preferably selected; in other embodiments, other types of signal switching chips 300 with the same function and compatible with existing circuits can also be used. It is understandable that USB2_CPU_DN is the negative data signal line, transmitting the negative data signal in the USB 2.0 differential signal, while USB2_CPU_DP is the positive data signal line, transmitting the positive data signal. Together, they form a differential signal pair. USB2_BMC_DN represents the negative data signal, transmitting the negative component of the USB 2.0 differential signal, while USB2_BMC_DP represents the positive data signal, transmitting the positive component. Together, they form a differential signal pair.
[0041] The USB connector 400 is connected to the output of the signal switching chip 300 via a switching circuit to enable normal connection of the USB device and transmission of log data. Under different signal input conditions, the USB connector 400 enables communication with the external USB device and reception of log data from the BMC module 200, thereby reusing hardware resources and improving device utilization. It is understood that, in this embodiment, a standard USB connector 400 is preferably selected, and the switching circuit design is optimized.
[0042] The trigger module 500 includes a UID button and a signal recognition circuit, used to send the log transmission command UID_BUTTON_N to the BMC module 200. By having the user operate the UID button, the signal recognition circuit converts the operation into the command UID_BUTTON_N and sends it to the BMC module 200, thus providing a simple and convenient operation method for users to obtain logs. Furthermore, when the user presses the UID button, the signal recognition circuit identifies the number of button presses and the pattern. When a preset condition is met (e.g., pressed 3 times consecutively), it sends the log transmission command to the BMC module 200.
[0043] In one embodiment, the signal switching chip 300 includes a first input channel and a second input channel, the first input channel being connected to the signal terminal of the CPU module 100, and the second input channel being connected to the signal terminal of the BMC module 200.
[0044] Specifically, the signal switching chip 300 includes a first input channel and a second input channel. The first input channel is connected to the signal terminals USB2_CPU_DN / USB2_CPU_DP of the CPU module 100, and the second input channel is connected to the signal terminals USB2_BMC_DN / USB2_BMC_DP of the BMC module 200. In other words, the signal switching chip 300 provides two independent signal input paths to ensure access from different signal sources. During normal system operation, the first input channel transmits signals from the CPU module 100 to the signal switching chip 300; when the system malfunctions, the second input channel transmits signals from the BMC module 200 to the signal switching chip 300. This design clearly defines the signal input paths, facilitating the management and control of signal switching.
[0045] It is understood that the first input channel includes a USB_N pin and a USB_P pin, with the USB_N pin connected to USB2_CPU_DN and the USB_P pin connected to USB2_CPU_DP; the second input channel includes an MHL_N pin and an MHL_P pin, with the MHL_N pin connected to USB2_BMC_DN and the MHL_P pin connected to USB2_BMC_DP.
[0046] In one embodiment, the signal switching chip 300 is further provided with a channel selection pin, which is connected to the GPIO interface.
[0047] Specifically, the signal switching chip 300 also includes a channel selection pin SEL, which is connected to the GPIO interface. The channel selection of the signal switching chip 300 is controlled via the GPIO interface of the BMC module 200, thus automating signal switching. Furthermore, based on the system status, the BMC module 200 outputs a high-level or low-level signal to the channel selection pin SEL via the GPIO interface to select the corresponding input channel, thereby achieving precise control of signal switching and improving the system's intelligence. It can be understood that the channel selection pin SEL...
[0048] In one embodiment, the channel selection pin is connected to the GPIO interface via a control line.
[0049] Specifically, in order to ensure stable communication between the BMC module 200 and the signal switching chip 300 and to accurately transmit control signals, the switching signal USB_FPIO_MUX_SEL (i.e., the level signal) output by the GPIO interface of the BMC module 200 is transmitted to the channel selection pin SEL through the control line to realize channel switching, thereby ensuring reliable transmission of control signals and improving system stability.
[0050] In one embodiment, a bias resistor is provided on the control line, the channel selection pin is connected to one end of the bias resistor, and the other end of the bias resistor is grounded.
[0051] Specifically, the channel selection pin SEL is connected not only to the GPIO interface but also to one end of the bias resistor R653, with the other end of R653 grounded. This allows the bias resistor R653 to provide a default voltage level for the channel selection pin SEL, maintaining the initial state of the signal switching chip 300 in the absence of external control signals. Furthermore, when the system powers on or the BMC module 200 does not send a control signal, the bias resistor R653 pulls the channel selection pin SEL low, causing the signal switching chip 300 to default to selecting the first input channel (CPU module 100 signal). This enhances system stability and reliability, preventing signal switching errors caused by signal interference or misoperation.
[0052] In one embodiment, the device further includes a pull-down resistor, and the signal switching chip 300 is also provided with an enable pin OE*, which is connected to one end of the pull-down resistor, and the other end of the pull-down resistor is grounded.
[0053] Specifically, the signal switching chip 300 also includes an enable pin OE*, which is connected to one end of a pull-down resistor R604, with the other end of R604 grounded. The pull-down resistor R604 keeps the enable pin OE* low, ensuring that the signal switching chip 300 is enabled and can operate normally when the system is powered on. Furthermore, after the system powers on, the pull-down resistor R604 pulls the enable pin OE* low, activating the signal switching chip 300, thus ensuring its normal startup and improving system reliability. It is understood that grounding R604 pulls the channel selection pin SEL low by default.
[0054] In one embodiment, the output of the signal switching chip 300 is connected to the USB connector 400 through a matching resistor, which is used to eliminate impedance mismatch in signal transmission of the USB connector 400.
[0055] Specifically, based on signal transmission theory, the impedance of the signal transmission line is adjusted by matching resistors R657 / R658 to ensure signal integrity. When the signal is transmitted from the signal switching chip 300 to the USB connector 400, the matching resistors R657 / R658 perform impedance matching, reducing signal reflection and attenuation, thereby improving signal transmission quality and ensuring normal communication of the USB device and accurate transmission of log data. It is understood that the signal switching chip 300 also has D_N and D_P pins; R657 is connected to the D_N pin, and R658 is connected to the D_P pin.
[0056] In one embodiment, the input terminal of the signal recognition circuit is connected to the UID button, and the output terminal of the signal recognition circuit is connected to the BMC module 200 via a signal line.
[0057] Specifically, the input of the signal recognition circuit is connected to the UID button, and the output of the signal recognition circuit is connected to the BMC module 200 via a signal line. This enables information transmission between the user's operation and the BMC module 200, converting the user's operation on the UID button into instructions that the BMC module 200 can recognize. Furthermore, when the user presses the UID button, the signal recognition circuit detects the button's action, processes it, and sends the instruction UID_BUTTON_N to the BMC module 200 via the signal line, thus establishing an interaction channel between the user and the system, facilitating user control of log collection operations.
[0058] In one embodiment, the signal switching chip 300 has a power supply pin, which is connected to a power module located on a server motherboard.
[0059] Specifically, the signal switching chip 300 has a power supply pin VCC, which is connected to a power module P3V3_AUX located on the server motherboard. This provides a stable power supply to the signal switching chip 300, ensuring its normal operation. In other words, the power module P3V3_AUX on the server motherboard provides the necessary power to the signal switching chip 300 through the power supply pin VCC, ensuring the stable operation of the signal switching chip 300 and improving the reliability of the system.
[0060] In one embodiment, the CPU module 100, the BMC module 200, the signal switching chip 300, the USB connector 400, and the trigger module 500 are all electrically connected through printed circuits on the server motherboard.
[0061] Specifically, the printed circuit boards on the server motherboard are used to achieve efficient and stable communication between various components, reducing external wiring and improving system integration. The various modules on the device transmit various signals and data through the printed circuit boards, enabling collaborative work, reducing system complexity, and improving system reliability and anti-interference capabilities.
[0062] In summary, the device for automatically collecting BMC logs in the power-off state, as described in this embodiment, is easy to operate. Users only need to press the UID button to trigger log collection, without requiring complex operating procedures or professional knowledge. Simultaneously, it improves troubleshooting efficiency, enabling rapid acquisition of BMC logs to help technicians quickly locate and resolve problems, reducing server downtime. Secondly, it has strong hardware reusability, fully utilizing existing server hardware resources and reducing costs. Finally, the system has high stability; through reasonable circuit design and signal control, it ensures stable operation of the device under different working conditions.
[0063] The above examples are merely illustrative of the technical content of this utility model to facilitate reader understanding, but do not imply that the implementation of this utility model is limited to these embodiments. Any technical extensions or re-creations made based on this utility model are protected by this utility model. The scope of protection of this utility model is defined by the claims.
Claims
1. A device for automatically collecting BMC logs in a powered-off state, characterized in that, The device includes: The CPU module, located on the server motherboard, is used to provide USB communication signals from the CPU module during operation. The BMC module provides USB communication signals during operation; the BMC module also has a GPIO interface for sending switching signals. A signal switching chip is connected to the signal terminal of the CPU module, the signal terminal of the BMC module, and the GPIO interface, and is used to receive the switching signal and perform signal switching. The USB connector is connected to the output of the signal switching chip via a switching circuit; The trigger module includes a UID button and a signal recognition circuit, which is used to send log transmission instructions to the BMC module.
2. The device for automatically collecting BMC logs in the power-off state according to claim 1, characterized in that, The signal switching chip includes a first input channel and a second input channel. The first input channel is connected to the signal terminal of the CPU module, and the second input channel is connected to the signal terminal of the BMC module.
3. The device for automatically collecting BMC logs in the power-off state according to claim 2, characterized in that, The signal switching chip also includes a channel selection pin, which is connected to the GPIO interface.
4. The device for automatically collecting BMC logs in the power-off state according to claim 3, characterized in that, The channel selection pin is connected to the GPIO interface via a control line.
5. The device for automatically collecting BMC logs in the power-off state according to claim 4, characterized in that, The control line is provided with a bias resistor, the channel selection pin is connected to one end of the bias resistor, and the other end of the bias resistor is grounded.
6. The device for automatically collecting BMC logs in the power-off state according to claim 1, characterized in that, The device also includes a pull-down resistor, and the signal switching chip is provided with an enable pin, which is connected to one end of the pull-down resistor, and the other end of the pull-down resistor is grounded.
7. The device for automatically collecting BMC logs in the power-off state according to claim 1, characterized in that, The output of the signal switching chip is connected to the USB connector through a matching resistor, which is used to eliminate impedance mismatch in the signal transmission of the USB connector.
8. The device for automatically collecting BMC logs in the power-off state according to claim 1, characterized in that, The input terminal of the signal recognition circuit is connected to the UID button, and the output terminal of the signal recognition circuit is connected to the BMC module through a signal line.
9. The device for automatically collecting BMC logs in the power-off state according to claim 1, characterized in that, The signal switching chip has a power supply pin, which is connected to a power module located on the server motherboard.
10. The device for automatically collecting BMC logs in a powered-off state according to claim 1, characterized in that, The CPU module, the BMC module, the signal switching chip, the USB connector, and the trigger module are all electrically connected through printed circuits on the server motherboard.