Display control method and device based on server power supply state and server
Through complex programmable logic devices, control the server power supply according to the power state and send corresponding display information to the display module, the problem that users cannot know the status after the server is shut down is solved and the user experience is improved.
Patent Information
- Application Number
- CN202411486658.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-04-25
AI Technical Summary
After the server is shut down, the user cannot know the status of the server through the display module, resulting in a poor user experience.
The power state of each level of the power supply in the server is controlled according to the level state of the power supply on and off by a complex programmable logic device (CPLD), and the display information corresponding to the current power supply status is sent to the display module according to the correspondence between the power supply status and the display information of each level of the power supply.
It realizes that after the server is fully powered on and off, the display module displays the information corresponding to the server's power status, improving the user experience.
Smart Images

Figure CN119883155A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of servers, and in particular to a display control method, device and server based on the power status of a server. Background Art
[0002] In the related art, when the server is powered on, a display screen will appear after the BIOS completes the boot process, and the server will enter a black screen state after it is powered off. The display control of the server when displaying the screen is implemented by the baseboard management controller in the server. In the black screen state, users cannot know the status of the server, and the experience is poor. Summary of the invention
[0003] The present invention provides a display control method, device and server based on the power status of a server. The technical solution is as follows:
[0004] In one aspect, a display control device based on a server power status is provided, comprising: a complex programmable logic device and a display module;
[0005] The complex programmable logic device is used to control the power status of each level of power in the server according to the level status of the power on and off. In the stage when the display module is not controlled by the baseboard management controller in the server, the display information corresponding to the current power status is sent to the display module according to the correspondence between the power status of each level of power and the display information, and the display module displays the corresponding display information.
[0006] In one implementation, the power on / off level state includes a high level for indicating that the server is powered on and a low level for indicating that the server is powered off.
[0007] In one implementation, when the complex programmable logic device detects that the power switch state is a high level for indicating that the server is turned on, it is used to power on each level of the power supply step by step according to the set power-on sequence, and when each level of the power supply is powered on separately, the power-on process of the current level of the power supply is determined as a power state, and the display information corresponding to the power state is obtained from the pre-stored corresponding relationship, and the display information is sent to the display module.
[0008] In one implementation, the BIOS self-check process is located after the second-to-last power supply in the power-on sequence completes power-on and before the last power supply completes power-on;
[0009] The complex programmable logic device is also used to send display information corresponding to the BIOS self-check process to the display module, so that the display module displays the BIOS self-check process.
[0010] In one implementation, the complex programmable logic device is also used to, when it is detected that the level state of the power switch is a high level for indicating that the server is powered on, use the high level as a power state to send display information of the power state corresponding to the high level to the display module.
[0011] In one implementation, when the complex programmable logic device detects that the level state of the power switch is a low level used to indicate that the server is shut down, it is used to take over the display control of the display module by the baseboard management controller, and regard the low level as a power state to send display information of the power state corresponding to the low level to the display module.
[0012] In one implementation, after the complex programmable logic device determines that all power supplies in the server are powered off, it sends display information corresponding to the current power status to the display module.
[0013] In one implementation, it also includes: a storage module connected to the complex programmable logic device, used to store the corresponding relationship.
[0014] In one implementation, the complex programmable logic device (CPLD) may also be other components with the same functions as the firmware, which is mainly responsible for the power management of the server, including but not limited to a digital signal processor (DSP), a field programmable gate array (FPGA), or other dedicated power management devices.
[0015] In one implementation, the baseboard management controller (BMC) may also be other components with the same functions as the firmware. The firmware is mainly responsible for monitoring the status of the motherboard and is mostly suitable for large computers, such as servers, etc., including but not limited to the Intelligent Platform Management Interface (IPMI), or other dedicated motherboard status management devices.
[0016] On the other hand, a server is provided, comprising any of the above-mentioned display control devices based on the server power status.
[0017] On the other hand, a display control method based on the power state of a server is provided, which is implemented by using any of the above-mentioned display control devices based on the power state of a server.
[0018] The technical solution provided by the present invention can at least bring the following beneficial effects:
[0019] In the server, the complex programmable logic device is used to control the power state of each power supply in the server according to the level state of the power on / off machine, thereby realizing the startup and shutdown of the server. After the server is fully started, the display module is controlled by the baseboard management controller. In the stage when the display module is not controlled by the processor, the complex programmable logic device controls the display of the display module, so as to send the display information corresponding to the current power state to the display module according to the corresponding relationship between the power state of each power supply and the display information, and the display module displays the corresponding display information. It can be seen that in this solution, the server can realize the display of the display information corresponding to the server power state in the stage when the display module is not controlled by the baseboard management controller, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1 It is a schematic diagram of the structure of a display control device based on the power status of a server provided by an embodiment of the present invention;
[0022] Figure 2 This is a schematic diagram of a display screen of a power-on process provided by an embodiment of the present invention;
[0023] Figure 3 A schematic diagram of a display screen in a shutdown state provided by an embodiment of the present invention
[0024] Figure 4 It is a schematic diagram of the server structure provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0026] As mentioned above, the server has a display screen when it is powered on, and the display control when the screen is displayed is implemented by the baseboard management controller in the server. In the shutdown state, the baseboard management controller loses power and the display module enters a black screen state.
[0027] If it is necessary to use display information to display the server status in a black screen state, it is possible to consider controlling the display module when the display module is not controlled by the baseboard management controller. Furthermore, considering that the complex programmable logic device is used to control the power status of each level of power in the server according to the level status of the power on and off, it is possible to know the power status of each level of power in the server, and by presetting the corresponding relationship between the power status of each level of power and the display information, the display information of the corresponding power status is sent to the display module according to the current power status in the server to realize screen display.
[0028] The specific implementation of the above concept is described below.
[0029] Please refer to Figure 1 , an embodiment of the present invention provides a display control device based on the power status of a server, the device comprising: a complex programmable logic device (Complex Programmable Logic Device, CPLD) 10 and a display module 20;
[0030] The complex programmable logic device is used to control the power status of each level of power in the server according to the level status of the power on and off. In the stage when the display module is not controlled by the baseboard management controller (Baseboard Management Controller, BMC) in the server, the display information corresponding to the current power status is sent to the display module according to the correspondence between the power status of each level of power and the display information, and the display module displays the corresponding display information.
[0031] In an embodiment of the present invention, in a server, a complex programmable logic device is used to control the power state of each power supply in the server according to the level state of the power on / off machine, thereby realizing the startup and shutdown of the server. After the server is fully started, the display module is controlled by the baseboard management controller. In the stage when the display module is not controlled by the processor, the complex programmable logic device controls the display of the display module, so as to send the display information corresponding to the current power state to the display module according to the corresponding relationship between the power state of each power supply and the display information, and the display module displays the corresponding display information. It can be seen that in this solution, the server can realize the display of the display information corresponding to the power state of the server in the stage when the display module is not controlled by the baseboard management controller, thereby improving the user experience.
[0032] In one embodiment of the present invention, the level state of the power on / off includes a high level for indicating that the server is turned on and a low level for indicating that the server is turned off.
[0033] When the server is in the shutdown state, if the power button is pressed, the level state of the power switch is a high level for indicating that the server is turned on. At this time, after the complex programmable logic device detects the high level, it enters the power-on process. Among them, the power-on process is that the complex programmable logic device powers on each level of power supply step by step according to the set power-on sequence, and when each level of power supply is powered on, the power-on process of the current level of power supply is determined as a power state, and the display information corresponding to the power state is obtained from the pre-stored corresponding relationship, and the display information is sent to the display module.
[0034] In one embodiment of the present invention, the power-on timing of each power supply is as follows:
[0035] d1-VDD1V8;
[0036] d2 - VDD0V9;
[0037] d3 - VDD2V5;
[0038] d4 - VDD1V2;
[0039] d5-VTT0V6;
[0040] d6-VDD0V83;
[0041] d7 - VDD1V8_DLI;
[0042] d8-WAIT_CPU_DCOK;
[0043] d9-CPU_DCOK;
[0044] d10 - WAIT_SYS_PWROK;
[0045] d11 - SYS_PWROK.
[0046] The complex programmable logic device powers on each power supply level by level according to the above power-on sequence, and the next power supply level will be powered on only after the current power supply level is powered on. Each power supply level corresponds to a power supply state, and each power supply state has corresponding display information.
[0047] In the embodiment of the present invention, different power states correspond to different display information, which may include power state, server information, promotional slogans, thank you words, etc.
[0048] In one implementation, the display information of each power state during the power-on process can be used to indicate whether the corresponding level power supply in the power-on process can complete the power-on normally. For example, when the d1 level power supply is powered on according to the above power-on sequence, the display information corresponding to the power state at this time is "VDD1V8 power supply is powered on" When the d2 level power supply is powered on, the display information corresponding to the power state at this time is "VDD0V9 power supply is powered on" ... and so on. In this implementation, if there is a faulty power supply that cannot complete the power-on, the display module will continue to display the display information corresponding to the power state to prompt the user of the faulty power supply. For example, the screen displayed by the display module is stuck on the screen of the display information corresponding to the power state of the VTT0V6 power supply, and the display information is "VTT0V6 power supply is powered on". If the screen continues to be displayed for a period of time exceeding the normal power-on time of the power supply, it indicates that the power supply is faulty. At this time, the user can determine that the faulty power supply is the VTT0V6 power supply based on the display information.
[0049] In one embodiment of the present invention, the complex programmable logic device is also used to detect that the power switch level state is a high level for indicating that the server is turned on, and use the high level as a power state to send display information of the power state corresponding to the high level to the display module. That is to say, when the power button is pressed, the power switch level state is a high level for indicating that the server is turned on, which corresponds to a power state: d0-IDLE. In one implementation, the display information corresponding to the power state can be "power on", which is used to prompt the user that the power switch level state is a high level and is about to enter the power-on process.
[0050] It should be noted that during the power-on process of each level of power supply, the complex programmable logic device controls the display module to display the display information corresponding to that level of power supply, and the display duration can be continuous display until the display module receives the next display information, and the display module switches the display information on the screen.
[0051] After the last level of power is powered on, the baseboard management controller will take over the display control of the display module. When the last level of power is powered on, the complex programmable logic device sends corresponding display information to the display module. When the last level of power is powered on, the baseboard management controller takes over the display control of the display module. At this time, the display module receives the display information sent by the baseboard management controller (such as the boot screen), and the display module switches the display information in the screen.
[0052] In one embodiment of the present invention, the server startup process also includes a BIOS self-check process, which is used to detect whether all power supplies have completed power-on. The BIOS self-check process is located after the second-to-last power supply in the power-on sequence has completed power-on and before the last power supply has completed power-on, that is, after d10 has completed power-on and before d11 has completed power-on. Since corresponding display information is displayed when each power supply is powered on, it can prompt the user whether the power supply can be powered on normally. The BIOS self-check process is displayed, which can inform the user of the current status of the server and improve the user experience.
[0053] In one implementation, the complex programmable logic device can also be other components with the same function as the firmware, which is mainly responsible for the power management of the server, including but not limited to a digital signal processor (DSP), a field programmable gate array (FPGA), or other dedicated power management devices.
[0054] In one implementation, the baseboard management controller can also be other components with the same function as the firmware. The firmware is mainly responsible for monitoring the status of the motherboard and is mostly suitable for large computers, such as servers, etc., including but not limited to the Intelligent Platform Management Interface (IPMI), or other dedicated motherboard status management devices.
[0055] Please refer to Figure 2 , is a schematic diagram of a display screen during the power-on process. When powering on each power source according to the power-on sequence, Figure 2 The power status can display the name of the corresponding power supply, such as VDD1V8. The progress bar can be the power-on progress of the current power supply, or the total power-on progress of all power supplies in the power-on sequence.
[0056] In the related art, when the power button of the server is turned off, the power on / off level is high, and the screen is black during the server power-on process. The screen is not displayed until the last power supply in the power-on sequence is powered on and the baseboard management controller takes over the display control of the display module. It usually takes about 2 minutes for the server to display the screen after the power button is pressed, and the user cannot know the power-on process. In the embodiment of the present invention, the screen is displayed as soon as the power button is pressed, and the power-on process corresponding to the complete power-on sequence can be displayed, so that the user can know the entire power-on process and know the faulty power supply when a power-on failure occurs.
[0057] When the server is in the power-on state, if the power button is pressed, the power switch level state is a low level used to indicate that the server is shutting down. At this time, after the complex programmable logic device detects the low level, it enters the shutdown and power-off process. When the complex programmable logic device detects that the power switch level state is a low level used to indicate that the server is shutting down, it is used to take over the display control of the display module by the baseboard management controller, and regards the low level as a power state to send display information of the power state corresponding to the low level to the display module. Among them, the power state corresponding to the low level can be: d12-WAIT_POWER_DOWN. The display information corresponding to the power state can be used to indicate that the power is shutting down. For example, the display information on the screen is "Shutting down".
[0058] Furthermore, after the complex programmable logic device determines that all power supplies in the server are powered off, it sends display information corresponding to the current power state to the display module. The power state corresponding to the power supply being powered off may be: d13-VR_OFF. The display information corresponding to the power state may be used to indicate that the server has been shut down. For example, the display information may be "Thank you for using it", and the server information, such as the model number, may also be displayed. Please refer to Figure 3 , which is a schematic diagram of a display screen in a shutdown state.
[0059] In the related art, when the power button of the server is pressed while it is turned on, the power switch level is low, and the server enters a black screen state after power failure. In the embodiment of the present invention, the screen display can be realized in the power off state, thereby improving the user experience.
[0060] In one implementation, the display module may be a video graphics array (VGA) module. In this case, the HS, VS, and RGB signals of the VGA module may be directly connected to the CPLD. The VGA display occupies at least 5 IO pins of the CPLD and at most 26 IO pins of the CPLD).
[0061] Furthermore, the device also includes: a storage module connected to the complex programmable logic device, for storing the corresponding relationship. In one implementation, the storage module can be a Flash hanging under the CPLD. The corresponding relationship between the power state and the display information is stored in the Flash, thereby reducing the resource occupation of the CPLD.
[0062] An embodiment of the present invention further provides a server, comprising any of the above-mentioned display control devices based on the power status of the server.
[0063] Please refer to Figure 4, is a structural diagram of a server, which includes a power management module, a display module, a baseboard management controller and a storage module. The power management module and the baseboard management controller are respectively connected to the display module, and are used to control the display module in different server states. Among them, the baseboard management controller controls the display module in the power-on state (for example, after all power supplies are powered on until the power button is pressed to indicate shutdown), and the power management module controls the display module in other states.
[0064] The embodiment of the present invention also provides a display control method based on the power state of a server, which is implemented by using any of the above-mentioned display control devices based on the power state of a server. Specifically, a complex programmable logic device is used to control the power state of each level of power in the server according to the level state of the power on / off machine, and in the stage where the display module is not displayed by the baseboard management controller in the server, according to the corresponding relationship between the power state of each level of power and the display information, the display information corresponding to the current power state is sent to the display module, and the display module displays the corresponding display information.
[0065] In one embodiment of the present invention, the power on / off level state includes a high level for indicating that the server is turned on and a low level for indicating that the server is turned off.
[0066] In one embodiment of the present invention, when the complex programmable logic device detects that the level state of the power switch is a high level for indicating that the server is turned on, each level of the power supply is powered on step by step according to the set power-on sequence, and when each level of the power supply is powered on separately, the power-on process of the current level of the power supply is determined as a power state, and the display information corresponding to the power state is obtained from the pre-stored corresponding relationship, and the display information is sent to the display module.
[0067] In one embodiment of the present invention, the BIOS self-check process is located after the second-to-last power supply in the power-on sequence is powered on and before the last power supply is powered on;
[0068] The method further includes: using a complex programmable logic device to send display information corresponding to the BIOS self-check process to a display module, so that the display module displays the BIOS self-check process.
[0069] In one embodiment of the present invention, the method further includes: when a complex programmable logic device is used to detect that the level state of the power switch is a high level for indicating that the server is powered on, the high level is used as a power state to send display information of the power state corresponding to the high level to the display module.
[0070] In one embodiment of the present invention, the method further includes: when a complex programmable logic device is used to detect that the level state of the power switch is a low level for indicating that the server is shut down, taking over the display control of the display module by the baseboard management controller, and treating the low level as a power state to send display information of the power state corresponding to the low level to the display module.
[0071] In one embodiment of the present invention, the method further includes: after determining by using a complex programmable logic device that all power supplies in the server are powered off, sending display information corresponding to the current power status to the display module.
[0072] In one embodiment of the present invention, the corresponding relationship between the power supply state of each level of power supply and the display information is stored in a storage module.
[0073] It should be noted that, in this article, relational terms such as first, second, third and fourth are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0074] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A display control device based on server power status, characterized in that: include: Complex programmable logic devices and display modules; The complex programmable logic device is used to control the power status of each level of power in the server according to the level status of the power on and off. In the stage when the display module is not controlled by the baseboard management controller in the server, the display information corresponding to the current power status is sent to the display module according to the correspondence between the power status of each level of power and the display information, and the display module displays the corresponding display information.
2. The display control device based on the server power status according to claim 1, characterized in that: The power on / off level state includes a high level for indicating that the server is turned on and a low level for indicating that the server is turned off.
3. The display control device based on the server power status according to claim 2, characterized in that: When the complex programmable logic device detects that the level state of the power switch is a high level for indicating that the server is turned on, it is used to power on each level of the power supply step by step according to the set power-on sequence, and when each level of the power supply is powered on separately, the power-on process of the current level of the power supply is determined as a power state, and the display information corresponding to the power state is obtained from the pre-stored corresponding relationship, and the display information is sent to the display module.
4. The display control device based on the server power status according to claim 3, characterized in that: The BIOS self-check process is located after the second-to-last power supply in the power-on sequence is powered on and before the last power supply is powered on; The complex programmable logic device is also used to send display information corresponding to the BIOS self-check process to the display module, so that the display module displays the BIOS self-check process.
5. The display control device based on server power status according to claim 3, characterized in that: The complex programmable logic device is also used to detect that the level state of the power switch is a high level for indicating that the server is turned on, and use the high level as a power state to send display information of the power state corresponding to the high level to the display module.
6. The display control device based on server power status according to claim 2, characterized in that: When the complex programmable logic device detects that the level state of the power switch is a low level for indicating that the server is shut down, it is used to take over the display control of the display module by the baseboard management controller, and regard the low level as a power state to send display information of the power state corresponding to the low level to the display module.
7. The display control device based on the server power status according to claim 6, characterized in that: After the complex programmable logic device determines that all power supplies in the server are powered off, it sends display information corresponding to the current power supply status to the display module.
8. The display control device based on the server power status according to any one of claims 1 to 7, characterized in that: Also includes: The storage module connected to the complex programmable logic device is used to store the corresponding relationship.
9. A server, characterized in that: It comprises the display control device based on the server power status as described in any one of claims 1-8 above.
10. A display control method based on server power status, characterized in that: This is achieved by using the display control device based on the server power status as described in any one of claims 1-8.