CN111475356A - A system startup test information display method and related device - Google Patents
A system startup test information display method and related device Download PDFInfo
- Publication number
- CN111475356A CN111475356A CN202010244726.5A CN202010244726A CN111475356A CN 111475356 A CN111475356 A CN 111475356A CN 202010244726 A CN202010244726 A CN 202010244726A CN 111475356 A CN111475356 A CN 111475356A
- Authority
- CN
- China
- Prior art keywords
- test
- pch
- external
- visualization
- test code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2268—Logging of test results
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2284—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by power-on test, e.g. power-on self test [POST]
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本申请涉及计算机技术领域,特别涉及一种系统开机测试信息显示方法、系统开机测试信息显示装置、服务器以及计算机可读存储介质。The present application relates to the field of computer technology, and in particular, to a method for displaying system startup test information, a system startup test information display device, a server, and a computer-readable storage medium.
背景技术Background technique
随着信息技术的不断发展,服务器中的硬件基础和软件系统的功能越来越多,同时也会应对着结构越来越复杂。复杂的硬件基础和软件系统在运行过程中就面对着更大的风险。因此,启动运行的过程就需要对硬件以及软件进行开机测试,以便保证服务器的正常运行。其中,开机测试主要是对服务器中的硬件和软件进行逐一检查,当检查错误的内容即发送出该错误内容对应的测试代码。With the continuous development of information technology, the hardware foundation and software system in the server have more and more functions, and at the same time, the structure will become more and more complex. Complex hardware foundations and software systems face greater risks during operation. Therefore, in the process of starting the operation, it is necessary to perform a boot test on the hardware and software, so as to ensure the normal operation of the server. Among them, the power-on test mainly checks the hardware and software in the server one by one, and when the content of the error is checked, the test code corresponding to the content of the error is sent out.
现有技术中,通常在开机测试期间,BIOS会将程序代码(开机测试代码)传给I/O端口80h。如果开机测试(POST)失败,最后一个开机测试(POST)代码会留在端口80h。使用此代码来找出错误发生的原因。会从BIOS检测开机POST代码后,将数据Pass到PCH,PCH再发送给CPLD后,CPLD通过GPIO pin在PCB板上的七段显示器或是LED灯来显示,以便工程师获取错误状态。虽然此方法是很方便不过需要在PCB板上占一部分的空间,且需要额外的器件。可见,这种显示方式效率不高,需要一定硬件成本,同还会占用服务器的硬件空间。In the prior art, usually during the power-on test, the BIOS transmits the program code (power-on test code) to the I/O port 80h. If the power-on test (POST) fails, the last power-on test (POST) code is left on port 80h. Use this code to find out why the error occurred. After the boot POST code is detected from the BIOS, the data is passed to the PCH, and after the PCH is sent to the CPLD, the CPLD displays the seven-segment display or LED light on the PCB board through the GPIO pin, so that the engineer can obtain the error status. Although this method is very convenient, it requires some space on the PCB board and requires additional components. It can be seen that this display method is not efficient, requires a certain hardware cost, and also occupies the hardware space of the server.
因此,如何将服务器内部空间的占用提高空间利用率是本领域技术人员关注的重点问题。Therefore, how to improve the space utilization rate of the space occupied by the server is a key issue concerned by those skilled in the art.
发明内容SUMMARY OF THE INVENTION
本申请的目的是提供一种系统开机测试信息显示方法、系统开机测试信息显示装置、服务器以及计算机可读存储介质,通过当连接有外部可视化设备时,直接通过该外部可视化设备进行显示,而不是采用增加的显示灯进行展示,提高开机测试信息显示的效率,降低成本及占用的空间。The purpose of this application is to provide a system startup test information display method, a system startup test information display device, a server, and a computer-readable storage medium. The increased display lights are used for display, which improves the efficiency of display of startup test information and reduces the cost and space occupied.
为解决上述技术问题,本申请提供一种系统开机测试信息显示方法,包括:In order to solve the above-mentioned technical problems, the present application provides a method for displaying system startup test information, including:
当系统进行开机测试时,BIOS通过SPI将获取到的开机测试代码发送至PCH;When the system performs a boot test, the BIOS sends the obtained boot test code to the PCH through SPI;
判断所述PCH是否连接外部可视化设备;Determine whether the PCH is connected to an external visualization device;
若是,通过所述PCH将所述开机测试代码发送至所述外部可视化设备,以便通过所述外部可视化设备根据可视化路径将所述开机测试代码进行显示。If yes, send the power-on test code to the external visualization device through the PCH, so that the power-on test code is displayed according to a visualization path through the external visualization device.
可选的,当系统进行开机测试时,BIOS通过SPI将获取到的开机测试代码发送至PCH,包括:Optionally, when the system performs a power-on test, the BIOS sends the obtained power-on test code to the PCH through SPI, including:
当所述X86系统进行开机测试时,所述BIOS对所述开机测试的进行信息获取,得到所述开机测试代码;When the X86 system performs a boot test, the BIOS acquires information about the boot test to obtain the boot test code;
通过所述SPI将所述开机测试代码发送至所述PCH。The power-on test code is sent to the PCH through the SPI.
可选的,判断所述PCH是否连接外部可视化设备,包括:Optionally, judging whether the PCH is connected to an external visualization device, including:
根据从主板获取的硬件在位信号判断所述PCH是否连接外部可视化设备。Whether the PCH is connected to an external visualization device is determined according to the hardware presence signal obtained from the motherboard.
可选的,通过所述外部可视化设备根据可视化路径将所述开机测试代码进行显示,包括:Optionally, the startup test code is displayed according to the visualization path by the external visualization device, including:
根据所述外部可视化设备的类型选择对应的可视化路径;Select a corresponding visualization path according to the type of the external visualization device;
所述外部可视化设备根据所述可视化路径将所述开机测试代码进行显示。The external visualization device displays the startup test code according to the visualization path.
可选的,通过所述外部可视化设备根据可视化路径将所述开机测试代码进行显示,包括:Optionally, the startup test code is displayed according to the visualization path by the external visualization device, including:
当所述外部可视化设备接收到所述开机测试代码时,所述外部可视化设备对所述开机测试代码进行解析,得到测试结果信息;When the external visualization device receives the startup test code, the external visualization device parses the startup test code to obtain test result information;
根据所述可视化路径将所述测试结果信息进行可视化处理,以便进行显示。The test result information is visualized according to the visualization path so as to be displayed.
可选的,根据所述可视化路径将所述测试结果信息进行可视化处理,以便进行显示,包括:Optionally, visualizing the test result information according to the visualization path for display, including:
根据所述可视化路径将所述测试结果信息构建为可视化网页;constructing the test result information into a visualized web page according to the visualization path;
当接收到网页请求时,发送所述可视化网页以便将所述测试结果信息进行显示。When a web page request is received, the visualized web page is sent to display the test result information.
可选的,还包括:Optionally, also include:
当所述PCH未连接外部可视化设备,通过所述PCH将所述开机测试代码发送至CPLD,以便所述CPLD根据所述开机测试代码对显示设备进行驱动显示。When the PCH is not connected to an external visualization device, the power-on test code is sent to the CPLD through the PCH, so that the CPLD drives and displays the display device according to the power-on test code.
本申请还提供一种系统开机测试信息显示装置,包括:The present application also provides a system power-on test information display device, including:
测试代码发送模块,用于当系统进行开机测试时,通过SPI将获取到的开机测试代码发送至PCH;The test code sending module is used to send the obtained power-on test code to the PCH through SPI when the system performs the power-on test;
设备连接判断模块,用于判断所述PCH是否连接外部可视化设备;a device connection judgment module for judging whether the PCH is connected to an external visualization device;
可视化显示模块,用于当所述PCH连接所述外部可视化设备时,通过所述PCH将所述开机测试代码发送至所述外部可视化设备,以便通过所述外部可视化设备根据可视化路径将所述开机测试代码进行显示。A visual display module, configured to send the power-on test code to the external visualization device through the PCH when the PCH is connected to the external visualization device, so that the power-on test code can be powered on according to a visualization path through the external visualization device The test code is displayed.
本申请还提供一种服务器,包括:The application also provides a server, including:
存储器,用于存储计算机程序;memory for storing computer programs;
处理器,用于执行所述计算机程序时实现如上所述的系统开机测试信息显示方法的步骤。The processor is configured to implement the steps of the above-mentioned method for displaying system startup test information when executing the computer program.
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上所述的系统开机测试信息显示方法的步骤。The present application also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-described system startup test information display method are implemented.
本申请所提供的一种系统开机测试信息显示方法,包括:当系统进行开机测试时,BIOS通过SPI将获取到的开机测试代码发送至PCH;判断所述PCH是否连接外部可视化设备;若是,通过所述PCH将所述开机测试代码发送至所述外部可视化设备,以便通过所述外部可视化设备根据可视化路径将所述开机测试代码进行显示。A system startup test information display method provided by the present application includes: when the system performs the startup test, the BIOS sends the obtained startup test code to the PCH through the SPI; judges whether the PCH is connected to an external visualization device; The PCH sends the power-on test code to the external visualization device, so as to display the power-on test code according to a visualization path through the external visualization device.
首先当系统开机测试时,BIOS将获取到的开机测试代码发送至PCH,然后判断是否存在外部可视化设备,当连接有外部可视化设备时,则直接通过该外部可视化设备将该开机测试代码进行显示,而不是采用在服务器中再状态其他的LED或数码管进行显示,显著降低了占用的空间大小,提高了空间利用率,同时也降低了服务器硬件的成本,提高了开机测试代码的显示效率。First, when the system is powered on and tested, the BIOS sends the obtained boot test code to the PCH, and then determines whether there is an external visualization device. When an external visualization device is connected, the boot test code is displayed directly through the external visualization device. Instead of using other LEDs or digital tubes in the server for display, the occupied space is significantly reduced, the space utilization rate is improved, the cost of server hardware is also reduced, and the display efficiency of the boot test code is improved.
本申请还提供一种系统开机测试信息显示装置、服务器以及计算机可读存储介质,具有以上有益效果,在此不做赘述。The present application also provides a system power-on test information display device, a server and a computer-readable storage medium, which have the above beneficial effects, and are not repeated here.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only It is an embodiment of the present application. For those of ordinary skill in the art, other drawings can also be obtained according to the provided drawings without any creative effort.
图1为本申请实施例所提供的一种系统开机测试信息显示方法的流程图;1 is a flowchart of a method for displaying system startup test information provided by an embodiment of the present application;
图2为本申请实施例所提供的一种系统开机测试信息显示装置的结构示意图。FIG. 2 is a schematic structural diagram of a system power-on test information display device according to an embodiment of the present application.
具体实施方式Detailed ways
本申请的核心是提供一种系统开机测试信息显示方法、系统开机测试信息显示装置、服务器以及计算机可读存储介质,通过当连接有外部可视化设备时,直接通过该外部可视化设备进行显示,而不是采用增加的显示灯进行展示,提高开机测试信息显示的效率,降低成本及占用的空间。The core of the present application is to provide a system power-on test information display method, a system power-on test information display device, a server, and a computer-readable storage medium. The increased display lights are used for display, which improves the efficiency of display of startup test information and reduces the cost and space occupied.
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
现有技术中,通常在开机测试期间,BIOS会将程序代码(开机测试代码)传给I/O端口80h。如果开机测试(POST)失败,最后一个开机测试(POST)代码会留在端口80h。使用此代码来找出错误发生的原因。会从BIOS检测开机POST代码后,将数据Pass到PCH,PCH再发送给CPLD后,CPLD通过GPIO pin在PCB板上的七段显示器或是LED灯来显示,以便工程师获取错误状态。虽然此方法是很方便不过需要在PCB板上占一部分的空间,且需要额外的器件。可见,这种显示方式效率不高,需要一定硬件成本,同还会占用服务器的硬件空间。In the prior art, usually during the power-on test, the BIOS transmits the program code (power-on test code) to the I/O port 80h. If the power-on test (POST) fails, the last power-on test (POST) code is left on port 80h. Use this code to find out why the error occurred. After the boot POST code is detected from the BIOS, the data is passed to the PCH, and after the PCH is sent to the CPLD, the CPLD displays the seven-segment display or LED light on the PCB board through the GPIO pin, so that the engineer can obtain the error status. Although this method is very convenient, it requires some space on the PCB board and requires additional components. It can be seen that this display method is not efficient, requires a certain hardware cost, and also occupies the hardware space of the server.
因此,本申请提供了一种系统开机测试信息显示方法,首先当系统开机测试时,BIOS将获取到的开机测试代码发送至PCH,然后判断是否存在外部可视化设备,当连接有外部可视化设备时,则直接通过该外部可视化设备将该开机测试代码进行显示,而不是采用在服务器中再状态其他的LED或数码管进行显示,显著降低了占用的空间大小,提高了空间利用率,同时也降低了服务器硬件的成本,提高了开机测试代码的显示效率。Therefore, the present application provides a method for displaying system boot test information. First, when the system is powered on and tested, the BIOS sends the obtained boot test code to the PCH, and then judges whether there is an external visualization device. When an external visualization device is connected, Then directly display the boot test code through the external visualization device, instead of using other LEDs or digital tubes in the server to display, which significantly reduces the size of the occupied space, improves the space utilization rate, and reduces the The cost of server hardware improves the display efficiency of the startup test code.
请参考图1,图1为本申请实施例所提供的一种系统开机测试信息显示方法的流程图。Please refer to FIG. 1 , which is a flowchart of a method for displaying system startup test information provided by an embodiment of the present application.
本实施例中,该方法可以包括:In this embodiment, the method may include:
S101,当系统进行开机测试时,BIOS通过SPI将获取到的开机测试代码发送至PCH;S101, when the system performs a boot test, the BIOS sends the obtained boot test code to the PCH through the SPI;
可见,本步骤旨在当系统进行开机测试时,BIOS通过SPI将获取到的开机测试代码发送至PCH。It can be seen that in this step, when the system performs a boot test, the BIOS sends the obtained boot test code to the PCH through the SPI.
其中,BIOS(Basic Input Output System)是一组固化到计算机内主板上一个ROM芯片上的程序,它保存着计算机最重要的基本输入输出的程序、开机后自检程序和系统自启动程序,它可从CMOS中读写系统设置的具体信息。其主要功能是为计算机提供最底层的、最直接的硬件设置和控制。Among them, BIOS (Basic Input Output System) is a set of programs that are solidified on a ROM chip on the motherboard of the computer. It saves the most important basic input and output programs of the computer, the self-checking program after power-on and the system self-starting program. Specific information about system settings can be read and written from the CMOS. Its main function is to provide the lowest-level and most direct hardware setup and control for the computer.
其中,SPI(Serial Peripheral Interface)是一种高速的,全双工,同步的通信总线,并且在芯片的管脚上只占用四根线,节约了芯片的管脚,同时为PCB的布局上节省空间,提供方便。Among them, SPI (Serial Peripheral Interface) is a high-speed, full-duplex, synchronous communication bus, and only occupies four lines on the pins of the chip, saving the pins of the chip and saving the layout of the PCB. space for convenience.
其中,PCH(Platform Controller Hub)是集成南桥。Among them, PCH (Platform Controller Hub) is an integrated south bridge.
可选的,本步骤可以包括:Optionally, this step may include:
当系统进行开机测试时,BIOS对开机测试的进行信息获取,得到开机测试代码;When the system performs the boot test, the BIOS obtains the information of the boot test, and obtains the boot test code;
通过SPI将开机测试代码发送至PCH。Send power-on test code to PCH via SPI.
可见,通过本可选方案在当系统进行开机测试时,使用BIOS主动获取到开机测试代码,然后通过该SPI将开机测试代码发送至PCH。其中,BIOS对开机测试进行信息获取的方式,可以采用现有技术提供的任意一种获取方式,具体的是读取预设端口的信号,将信号直接作为开机测试代码。It can be seen that, with this optional solution, when the system performs a boot test, the BIOS is used to actively obtain the boot test code, and then the boot test code is sent to the PCH through the SPI. The BIOS may use any of the acquisition methods provided in the prior art to obtain information for the boot test, specifically, reading the signal of the preset port, and using the signal directly as the boot test code.
S102,判断PCH是否连接外部可视化设备;若是,则执行S103;若否,则执行S104;S102, determine whether the PCH is connected to an external visualization device; if so, execute S103; if not, execute S104;
在S101的基础上,本步骤旨在判断该PCH是否连接有外部可视化设备。其中,外部可视化设备指的是连接于服务器的用于显示信息的可视化设备,该设备当接收到的开机测试代码可以通过一定的可视化方式将该开机测试代码进行显示。一般的,该外部可视化设备可以是计算机设备,还可以是移动终端,也可以是BMC。其中,BMC(Baseboard ManagementController基板管理控制器)用于在机器未开机的状态下,对机器进行固件升级、查看机器设备、等一些操作。On the basis of S101, this step aims to determine whether the PCH is connected with an external visualization device. Wherein, the external visualization device refers to a visualization device connected to the server for displaying information. When the device receives the power-on test code, it can display the power-on test code in a certain visual manner. Generally, the external visualization device may be a computer device, a mobile terminal, or a BMC. Among them, the BMC (Baseboard Management Controller) is used to upgrade the firmware of the machine, view the machine equipment, and other operations when the machine is not turned on.
现有技术中,一般是将开机测试代码直接发送至CPLD,以便通过CPLD对LED进行驱动,再进行显示。但是,现有技术中必须要在服务器中设置该CPLD,因此会占用一定的服务器空间,降低空间利用率。In the prior art, the power-on test code is generally sent directly to the CPLD, so that the LED can be driven by the CPLD and then displayed. However, in the prior art, the CPLD must be set in the server, thus occupying a certain server space and reducing the space utilization rate.
因此,本实施例中使用外部可视化设备进行显示,进而在本步骤中判断是否存在该外部可视化设备。Therefore, in this embodiment, an external visualization device is used for display, and then it is determined in this step whether the external visualization device exists.
可选的,本步骤可以包括:Optionally, this step may include:
根据从主板获取的硬件在位信号判断PCH是否连接外部可视化设备。Determine whether the PCH is connected to an external visualization device according to the hardware presence signal obtained from the motherboard.
可见,本可选方案中主要是通过从主板中获取到的硬件在位信号判断PCH是否连接有对应的外部可视化设备。It can be seen that, in this optional solution, whether the PCH is connected to a corresponding external visualization device is mainly determined by the hardware in-position signal obtained from the motherboard.
S103,通过PCH将开机测试代码发送至外部可视化设备,以便通过外部可视化设备根据可视化路径将开机测试代码进行显示。S103 , the startup test code is sent to the external visualization device through the PCH, so that the startup test code is displayed according to the visualization path through the external visualization device.
在S102中判断PCH连接有外部可视化设备时,将该开机测试代码发送至外部可视化设备,以便通过该外部可视化设备对开机测试代码进行显示。具体的显示过程可以是根据预设的可视化路径将该开机测试代码进行显示。其中,预设的可视化路径可以是通过网页进行显示,也可以是直接采用显示屏进行显示,还可以是通过外部可视化设备将开机测试代码发送至移动终端,以便进行显示。When it is determined in S102 that the PCH is connected to an external visualization device, the power-on test code is sent to the external visualization device, so that the power-on test code can be displayed through the external visualization device. A specific display process may be to display the startup test code according to a preset visualization path. The preset visualization path may be displayed through a web page, or directly displayed on a display screen, or may be sent to a mobile terminal through an external visualization device to send the startup test code for display.
可选的,本步骤可以包括:Optionally, this step may include:
根据外部可视化设备的类型选择对应的可视化路径;Select the corresponding visualization path according to the type of external visualization equipment;
外部可视化设备根据可视化路径将开机测试代码进行显示。The external visualization device displays the startup test code according to the visualization path.
可见,本可选方案中存在不同的可视化设备,同时不同的可视化设备对应了不同的可视化路径。例如,计算机设备对应采用显示屏进行显示,BMC对应了采用网页进行显示,移动终端对应了采用APP显示。It can be seen that there are different visualization devices in this optional solution, and different visualization devices correspond to different visualization paths. For example, a computer device corresponds to a display screen for display, a BMC corresponds to a web page for display, and a mobile terminal corresponds to an APP for display.
可选的,本步骤可以包括:Optionally, this step may include:
当外部可视化设备接收到开机测试代码时,外部可视化设备对开机测试代码进行解析,得到测试结果信息;When the external visualization device receives the startup test code, the external visualization device parses the startup test code to obtain the test result information;
根据可视化路径将测试结果信息进行可视化处理,以便进行显示。Visualize the test result information according to the visualization path for display.
可见,本可选方案中当外部可视化设备接收到开机测试代码时,将该开机测试代码进行解析,得到而测试结果信息。进而直接对该测试结果信息进行可视化处理。It can be seen that, in this optional solution, when the external visualization device receives the start-up test code, it parses the start-up test code to obtain the test result information. Then, the test result information can be directly visualized.
可选的,本步骤可以包括:Optionally, this step may include:
根据可视化路径将测试结果信息构建为可视化网页;Build the test result information into a visual web page according to the visual path;
当接收到网页请求时,发送可视化网页以便将测试结果信息进行显示。When a web page request is received, a visual web page is sent to display the test result information.
可见,本可选方案中主要是通过网页的方式将测试结果信息进行显示。It can be seen that, in this optional solution, the test result information is mainly displayed by means of a web page.
S104,通过PCH将开机测试代码发送至CPLD,以便CPLD根据开机测试代码对显示设备进行驱动显示。S104, send the power-on test code to the CPLD through the PCH, so that the CPLD can drive and display the display device according to the power-on test code.
在S103的基础上,本步骤通过CPLD进行显示。On the basis of S103, display is performed by CPLD in this step.
综上,本实施例首先当系统开机测试时,BIOS将获取到的开机测试代码发送至PCH,然后判断是否存在外部可视化设备,当连接有外部可视化设备时,则直接通过该外部可视化设备将该开机测试代码进行显示,而不是采用在服务器中再状态其他的LED或数码管进行显示,显著降低了占用的空间大小,提高了空间利用率,同时也降低了服务器硬件的成本,提高了开机测试代码的显示效率。To sum up, in this embodiment, when the system is powered on and tested, the BIOS sends the obtained boot test code to the PCH, and then judges whether there is an external visualization device. The power-on test code is displayed instead of other LEDs or digital tubes in the server, which significantly reduces the space occupied, improves the space utilization rate, reduces the cost of server hardware, and improves the power-on test. Code display efficiency.
以下通过一个具体的实施例,对本申请提供的一种系统开机测试信息显示方法做进一步说明。A method for displaying system startup test information provided by the present application will be further described below through a specific embodiment.
本实施例中,该方法可以包括:In this embodiment, the method may include:
通过PCH上的SPI直接将Port 80的讯号转化为直观的错误信息在个人的计算机上,代替在PCB板上放LED的方式,能够省下电子器件与LED的装置。Through the SPI on the PCH, the Port 80 signal is directly converted into an intuitive error message on the personal computer, instead of placing LEDs on the PCB board, which can save electronic components and LED devices.
或是由LPC接口将PCH的Port 80的讯号pass到BMC后,让工程师直接用Lan port联机直接在BMC web上得知现在主板的Port 80状态来取代LED debug的部份。Or pass the PCH's Port 80 signal to the BMC through the LPC interface, and let the engineer directly use the Lan port connection to directly know the current motherboard's Port 80 status on the BMC web to replace the LED debug part.
可见,本实施例首先当系统开机测试时,BIOS将获取到的开机测试代码发送至PCH,然后判断是否存在外部可视化设备,当连接有外部可视化设备时,则直接通过该外部可视化设备将该开机测试代码进行显示,而不是采用在服务器中再状态其他的LED或数码管进行显示,显著降低了占用的空间大小,提高了空间利用率,同时也降低了服务器硬件的成本,提高了开机测试代码的显示效率。It can be seen that in this embodiment, when the system is powered on and tested, the BIOS sends the obtained boot test code to the PCH, and then determines whether there is an external visualization device. When an external visualization device is connected, the external visualization device is directly used to power on The test code is displayed instead of other LEDs or digital tubes in the server, which significantly reduces the space occupied, improves the space utilization, reduces the cost of server hardware, and improves the power-on test code. display efficiency.
下面对本申请实施例提供的一种系统开机测试信息显示装置进行介绍,下文描述的一种系统开机测试信息显示装置与上文描述的一种系统开机测试信息显示方法可相互对应参照。The following describes a system startup test information display device provided by an embodiment of the present application. The system startup test information display device described below and the system startup test information display method described above may refer to each other correspondingly.
请参考图2,图2为本申请实施例所提供的一种系统开机测试信息显示装置的结构示意图。Please refer to FIG. 2 , which is a schematic structural diagram of a system power-on test information display device according to an embodiment of the present application.
本实施例中,该装置可以包括:In this embodiment, the device may include:
测试代码发送模块100,用于当系统进行开机测试时,通过SPI将获取到的开机测试代码发送至PCH;The test
设备连接判断模块200,用于判断PCH是否连接外部可视化设备;The device
可视化显示模块300,用于当PCH连接外部可视化设备时,通过PCH将开机测试代码发送至外部可视化设备,以便通过外部可视化设备根据可视化路径将开机测试代码进行显示。The
本申请实施例还提供一种服务器,包括:The embodiment of the present application also provides a server, including:
存储器,用于存储计算机程序;memory for storing computer programs;
处理器,用于执行所述计算机程序时实现如以上实施例所述的系统开机测试信息显示方法的步骤。The processor is configured to implement the steps of the system boot test information display method described in the above embodiments when executing the computer program.
本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如以上实施例所述的系统开机测试信息显示方法的步骤。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for displaying system startup test information as described in the above embodiments is implemented. A step of.
说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments can be referred to each other. As for the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method.
专业人员还可以进一步意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Professionals may further realize 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 possibilities of hardware and software. Interchangeability, the above description has generally described the components and steps of each example in terms of functionality. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of a method or algorithm described in conjunction with the embodiments disclosed herein may be directly implemented in hardware, a software module executed by a processor, or a combination of the two. A software module can be placed in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other in the technical field. in any other known form of storage medium.
以上对本申请所提供的一种系统开机测试信息显示方法、系统开机测试信息显示装置、服务器以及计算机可读存储介质进行了详细介绍。本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的保护范围内。A method for displaying system startup test information, a system startup test information display device, a server, and a computer-readable storage medium provided by the present application have been described above in detail. Specific examples are used herein to illustrate the principles and implementations of the present application, and the descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application. It should be pointed out that for those of ordinary skill in the art, without departing from the principles of the present application, several improvements and modifications can also be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010244726.5A CN111475356A (en) | 2020-03-31 | 2020-03-31 | A system startup test information display method and related device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010244726.5A CN111475356A (en) | 2020-03-31 | 2020-03-31 | A system startup test information display method and related device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111475356A true CN111475356A (en) | 2020-07-31 |
Family
ID=71749531
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010244726.5A Withdrawn CN111475356A (en) | 2020-03-31 | 2020-03-31 | A system startup test information display method and related device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111475356A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112380076A (en) * | 2020-11-11 | 2021-02-19 | 深圳信息通信研究院 | Mobile terminal performance testing method and device based on photoinduction |
| CN113419926A (en) * | 2021-08-25 | 2021-09-21 | 苏州浪潮智能科技有限公司 | Method, system and device for monitoring server BIOS starting process |
-
2020
- 2020-03-31 CN CN202010244726.5A patent/CN111475356A/en not_active Withdrawn
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112380076A (en) * | 2020-11-11 | 2021-02-19 | 深圳信息通信研究院 | Mobile terminal performance testing method and device based on photoinduction |
| CN112380076B (en) * | 2020-11-11 | 2023-08-15 | 深圳信息通信研究院 | Mobile terminal performance test method and device based on photoinduction |
| CN113419926A (en) * | 2021-08-25 | 2021-09-21 | 苏州浪潮智能科技有限公司 | Method, system and device for monitoring server BIOS starting process |
| CN113419926B (en) * | 2021-08-25 | 2021-11-19 | 苏州浪潮智能科技有限公司 | Method, system and device for monitoring server BIOS startup process |
| US11880690B1 (en) | 2021-08-25 | 2024-01-23 | Inspur Suzhou Intelligent Technology Co., Ltd. | Method, system and apparatus for monitoring bios booting process of server |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114138644B (en) | BMC debugging method and monitoring method, system, device, equipment, and medium | |
| CN108304282A (en) | A kind of control method and relevant apparatus of double BIOS | |
| CN114253375B (en) | Server cooling mode control method, system, terminal and storage medium | |
| CN114461286B (en) | Server starting method and device, electronic equipment and readable storage medium | |
| CN115934447A (en) | Display information acquisition method, device, electronic device and storage medium | |
| CN118643000A (en) | Generating method, sending method and device of configuration information table of server PCIe port | |
| CN119201522A (en) | A method, system, device and medium for indicating abnormal power supply timing during server startup | |
| CN115658321A (en) | Method and device for acquiring fault information of automobile instrument, electronic equipment and storage medium | |
| CN111475356A (en) | A system startup test information display method and related device | |
| CN104679626A (en) | System and method for debugging and detecting BIOS (Basic Input / Output System) | |
| CN116467124A (en) | A RMT option configuration method, device, equipment and storage medium | |
| CN1244864C (en) | Information processing system with power-on debugging function and method for power-on debugging | |
| CN108984216B (en) | A method and device for automatically entering and configuring BIOS | |
| CN113190491B (en) | Serial port information display method, system and medium | |
| CN118689660A (en) | Method, device, medium and computer program product for dynamically displaying management information | |
| CN102053888A (en) | Self-testing method and system for computing device | |
| CN118626110A (en) | A firmware upgrade system, method and related equipment | |
| CN108681497B (en) | CPCI bus testing device and method | |
| CN116627729A (en) | External cable, external cable presence detection device, power-on self-inspection method and system | |
| CN101408860A (en) | Monitoring device and monitoring method thereof | |
| CN117176606A (en) | Initialization anomaly detection method, system, server and media of smart network card | |
| CN116701285A (en) | Remote access control apparatus, remote access control method, remote access control device, and computer readable medium | |
| CN116149941A (en) | Monitoring method, device, server and storage medium of server components | |
| CN115129529A (en) | Method, device and medium for detecting server startup fault | |
| CN116185450A (en) | A method, system, device and storage medium for updating CPLD firmware |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WW01 | Invention patent application withdrawn after publication |
Application publication date: 20200731 |
|
| WW01 | Invention patent application withdrawn after publication |