技术领域technical field
本发明涉及服务器故障诊断技术领域,特别是涉及一种服务器启动过程故障检测方法、装置及受控终端。The invention relates to the technical field of server fault diagnosis, in particular to a fault detection method, device and controlled terminal in the server startup process.
背景技术Background technique
随着IT领域技术不断的发展,服务器的安全性,可靠谱和可用性的也越来越重要。当服务器出现启动故障时,基本要求就是可以快速定位和快速解决。服务器的启动主要依靠服务器上的BIOS(Basic Input/ouput system)芯片里的驱动程序,它保存着计算机最重要的基本输入输出的程序、开机后自检程序和系统自启动程序,为计算机提供最底层的、最直接的硬件设置和控制。也就是说实现了对BIOS程序启动过程的监控,就实现了对服务器启动的监控。With the continuous development of technology in the IT field, the security, reliability and availability of servers are becoming more and more important. When a server fails to start, the basic requirement is to quickly locate and resolve it. The startup of the server mainly depends on the driver program in the BIOS (Basic Input/ouput system) chip on the server, which stores the most important basic input and output programs of the computer, the self-test program after power-on and the system self-starting program, providing the computer with the most Low-level, most direct hardware setup and control. That is to say, the monitoring of the startup process of the BIOS program is realized, and the monitoring of the server startup is realized.
当对服务器进行更改配置后,如换CPU、内存,更新BIOS,更新PCIe设备等操作后,系统会出现重启异常的现象。为了确认更改配置后的服务器启动过程中是否产生故障,用户需要在服务器上接上显示器,在服务器前时刻观察服务器开机进展,最终确认服务器是否产生了故障。在工厂生产或在客户机房中,有成百上千台机器,通过在每台服务器上连接显示器,然后再人工监控服务器开机进展,确认机器是否正常启动,需要消耗大量的物力和人力成本。After changing the configuration of the server, such as changing the CPU and memory, updating the BIOS, and updating the PCIe device, the system may restart abnormally. In order to confirm whether there is a failure during the startup process of the server after changing the configuration, the user needs to connect a monitor to the server, observe the server startup progress in front of the server, and finally confirm whether the server has a failure. In factory production or in the client computer room, there are hundreds or thousands of machines. By connecting a monitor to each server, and then manually monitoring the server startup progress to confirm whether the machine starts normally, it takes a lot of material and labor costs.
因此,在服务器更改配置后,如何快速自动检测服务器启动过程中是否发生了故障,减少物力和人力成本,是目前亟待解决的问题。Therefore, after the configuration of the server is changed, how to quickly and automatically detect whether a fault occurs during the startup process of the server and reduce material and labor costs is an urgent problem to be solved at present.
发明内容Contents of the invention
针对现有技术的不足,本发明提供了一种服务器启动过程故障检测方法、装置及受控终端,能够在服务器更改配置后,快速自动检测服务器启动过程中是否发生了故障,减少物力和人力成本。Aiming at the deficiencies of the prior art, the present invention provides a fault detection method, device and controlled terminal in the server startup process, which can quickly and automatically detect whether a fault occurs in the server startup process after the configuration of the server is changed, reducing material and labor costs .
第一方面,提供一种服务器启动过程故障检测方法,所述方法包括:In a first aspect, a method for detecting a fault in a server startup process is provided, the method comprising:
确定BMC在服务器启动后第一设定时间内是否检测到BIOS发送的开机启动信号,若第一设定时间内未检测到BIOS发送的开始启动信号,则BMC发送故障信号;Determine whether the BMC detects the boot signal sent by the BIOS within the first set time after the server starts, if the start signal sent by the BIOS is not detected within the first set time, then the BMC sends a fault signal;
若第一设定时间内检测到BIOS发送的开始启动信号,确定BMC在第二设定时间内是否检测到BIOS发送的启动完成信号,若第二设定时间内未检测到BIOS发送的启动完成信号,则BMC发送故障信号。If the start signal sent by the BIOS is detected within the first set time, determine whether the BMC detects the start complete signal sent by the BIOS within the second set time, if the start complete signal sent by the BIOS is not detected within the second set time signal, the BMC sends a fault signal.
结合第一方面,在第一方面的第一种可能的实现方式中,所述确定BMC在服务器启动后第一设定时间内是否检测到BIOS发送的开始启动信号,若第一设定时间内未检测到BIOS发送的开机启动信号,则BMC发送故障信号,包括:In conjunction with the first aspect, in the first possible implementation of the first aspect, the determination of whether the BMC detects the start signal sent by the BIOS within the first set time after the server is started, if within the first set time If the boot signal sent by the BIOS is not detected, the BMC sends a fault signal, including:
确定BMC在服务器启动5s内是否检测到BIOS发送的开始启动信号,若开机启动5s内未检测到BIOS发送的开始启动信号,则BMC发送故障信号。Determine whether the BMC detects the start signal sent by the BIOS within 5 seconds of starting the server. If the start signal sent by the BIOS is not detected within 5 seconds of starting the server, the BMC sends a fault signal.
结合第一方面及其上述实现方式,在第一方面的第二种可能的实现方式中,所述若第一设定时间内检测到BIOS发送的开始启动信号,确定BMC在第二设定时间内是否检测到BIOS发送的启动完成信号,若第二设定时间内未检测到BIOS发送的启动完成信号,则BMC发送故障信号,包括:In conjunction with the first aspect and its above-mentioned implementation, in the second possible implementation of the first aspect, if the start signal sent by the BIOS is detected within the first set time, it is determined that the BMC is within the second set time Whether the boot completion signal sent by the BIOS is detected within the second set time, if the boot completion signal sent by the BIOS is not detected within the second set time, the BMC sends a fault signal, including:
BMC服务器开机启动5s内检测到BIOS发送的开始启动信号,BMC重新计时,确定BMC在10min内是否检测到BIOS发送的启动完成信号,若10min内未检测到BIOS发送的启动完成信号,则BMC发送故障信号。The BMC server detects the start-up signal sent by the BIOS within 5 seconds after starting up, and the BMC restarts the timer to determine whether the BMC detects the start-up completion signal sent by the BIOS within 10 minutes. If the start-up completion signal sent by the BIOS is not detected within 10 minutes, the BMC sends failure signal.
结合第一方面及其上述实现方式,在第一方面的第三种可能的实现方式中,In combination with the first aspect and the foregoing implementation manners, in a third possible implementation manner of the first aspect,
所述BIOS与BMC沟通的信号可以通过GPIO的状态变化或发送日志到BMC。The signal communicated between the BIOS and the BMC can be through the state change of the GPIO or send a log to the BMC.
结合第一方面及其上述实现方式,在第一方面的第四种可能的实现方式中,In combination with the first aspect and the foregoing implementation manners, in a fourth possible implementation manner of the first aspect,
所述BMC显示故障信号的方法,包括:The method for displaying a fault signal by the BMC includes:
在服务器上设置由BMC控制的LED灯,作为启动故障灯。Set the LED light controlled by the BMC on the server as a startup fault light.
第二方面,提供一种用于一种服务器启动过程故障检测的装置,包括:In a second aspect, a device for detecting a fault in a server startup process is provided, including:
第一确定单元,所述第一确定单元用于确定BMC在服务器启动后第一设定时间内是否检测到BIOS发送的开机启动信号,若第一设定时间内未检测到BIOS发送的开始启动信号,则BMC发送故障信号;The first determination unit, the first determination unit is used to determine whether the BMC detects the boot signal sent by the BIOS within the first set time after the server starts, if the start start signal sent by the BIOS is not detected within the first set time signal, the BMC sends a fault signal;
第二确定单元,所述第二确定单元用于若第一设定时间内检测到BIOS发送的开始启动信号,确定BMC在第二设定时间内是否检测到BIOS发送的启动完成信号,若第二设定时间内未检测到BIOS发送的启动完成信号,则BMC发送故障信号。The second determination unit, the second determination unit is used to determine whether the BMC detects the start-up signal sent by the BIOS within the second set time if the start signal sent by the BIOS is detected within the first set time, if the first set time 2. If the boot completion signal sent by the BIOS is not detected within the set time, the BMC sends a fault signal.
结合第二方面,在第二方面的第一种可能的实现方式中,所述第一确定单元具体用于:With reference to the second aspect, in a first possible implementation manner of the second aspect, the first determining unit is specifically configured to:
确定BMC在服务器启动5s内是否检测到BIOS发送的开始启动信号,若开机启动5s内未检测到BIOS发送的开始启动信号,则BMC发送故障信号。Determine whether the BMC detects the start signal sent by the BIOS within 5 seconds of starting the server. If the start signal sent by the BIOS is not detected within 5 seconds of starting the server, the BMC sends a fault signal.
结合第二方面及其上述实现方式,在第二方面的第二种可能的实现方式中,所述第二确定单元具体用于:With reference to the second aspect and the foregoing implementation manners thereof, in a second possible implementation manner of the second aspect, the second determining unit is specifically configured to:
BMC服务器开机启动5s内检测到BIOS发送的开始启动信号,BMC重新计时,确定BMC在10min内是否检测到BIOS发送的启动完成信号,若10min内未检测到BIOS发送的启动完成信号,则BMC发送故障信号。The BMC server detects the start-up signal sent by the BIOS within 5 seconds after starting up, and the BMC restarts the timer to determine whether the BMC detects the start-up completion signal sent by the BIOS within 10 minutes. If the start-up completion signal sent by the BIOS is not detected within 10 minutes, the BMC sends failure signal.
结合第二方面及其上述实现方式,在第二方面的第三种可能的实现方式中,所述装置还包括报警单元:With reference to the second aspect and the foregoing implementation manners thereof, in a third possible implementation manner of the second aspect, the device further includes an alarm unit:
所述报警单元为设置在服务器上由BMC控制的LED灯,作为启动故障灯。The alarm unit is an LED light set on the server and controlled by the BMC as a startup fault light.
第三方面,提供一种受控终端,包括:In a third aspect, a controlled terminal is provided, including:
处理器、存储器,其中,processor, memory, where,
该存储器用于存储计算机程序,该处理器用于从存储器中调用并运行该计算机程序,使得终端设备执行上述的终端设备的方法。The memory is used to store a computer program, and the processor is used to call and run the computer program from the memory, so that the terminal device executes the above method of the terminal device.
第四方面,提供了一种计算机存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。In a fourth aspect, a computer storage medium is provided, and instructions are stored in the computer-readable storage medium, and when run on a computer, the computer is made to execute the methods described in the above aspects.
第五方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面所述的方法。In a fifth aspect, a computer program product containing instructions is provided, and when it is run on a computer, it causes the computer to execute the methods described in the above aspects.
因此,本申请通过BMC对BIOS设置两个监控点:开始启动和启动完成两个监控点的监控,实现自动检测BIOS主芯片是否可以正常开机,当系统产生故障时可以自动报警,快速定位发生故障的机台,有效节省物力及人力成本。Therefore, this application sets two monitoring points for the BIOS through the BMC: the monitoring of the two monitoring points of start-up and start-up, to realize automatic detection of whether the BIOS main chip can be started normally, and when the system fails, it can automatically alarm and quickly locate the failure. The machine can effectively save material and labor costs.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, In other words, other drawings can also be obtained from these drawings on the premise of not paying creative work.
图1是本申请一个实施例的方法的示意性流程图。Fig. 1 is a schematic flowchart of a method according to an embodiment of the present application.
图2是本申请另一个实施例的方法的示意性流程图。Fig. 2 is a schematic flowchart of a method according to another embodiment of the present application.
图3是本申请一个实施例的装置的示意性框图。Fig. 3 is a schematic block diagram of a device according to an embodiment of the present application.
图4为本发明实施例提供的一种受控终端的结构示意图。FIG. 4 is a schematic structural diagram of a controlled terminal provided by an embodiment of the present invention.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本发明中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。为了使本技术领域的人员更好地理解本发明中的技术方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the technical solutions in the present invention, 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 The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention. In order to enable those skilled in the art to better understand the technical solutions in the present invention, 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 The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.
下面对本申请中出现的关键术语进行解释。Key terms appearing in this application are explained below.
BIOS(Basic Input/ouput system):表示基本输入输出系统,是一组固化到计算机内主板上一个ROM芯片上的程序,它保存着计算机最重要的基本输入输出的程序、开机后自检程序和系统自启动程序,它可从CMOS中读写系统设置的具体信息,其主要功能是为计算机提供最底层的、最直接的硬件设置和控制。BIOS (Basic Input/ouput system): Represents the basic input and output system. It is a set of programs solidified on a ROM chip on the motherboard of the computer. It stores the most important basic input and output programs of the computer, self-test programs and The system self-starting program, which can read and write the specific information of the system settings from the CMOS, its main function is to provide the computer with the lowest and most direct hardware settings and control.
BMC(Baseboard Management Controller):表示基板管理控制器,是电脑进行数模信号转换的设备,承担输出显示图形的任务。显卡接在电脑主板上,它将电脑的数字信号转换成模拟信号让显示器显示出来。BMC (Baseboard Management Controller): Indicates the baseboard management controller, which is a device for digital-to-analog signal conversion by the computer, and undertakes the task of outputting display graphics. The graphics card is connected to the computer motherboard, and it converts the digital signal of the computer into an analog signal for display on the monitor.
GPIO(General Purpose Input Output):表示通用输入/输出或总线扩展器,当微控制器或芯片组没有足够的I/O端口,或当系统需要采用远端串行通信或控制时,GPIO产品能够提供额外的控制和监视功能。GPIO (General Purpose Input Output): Indicates general-purpose input/output or bus expander. When the microcontroller or chipset does not have enough I/O ports, or when the system needs to use remote serial communication or control, GPIO products can Provides additional control and monitoring functions.
应理解,文中描述的第一、第二只是为了指代和区别不同的信号、指令等,其中,第一、第二不具有先后顺序的限定。It should be understood that the first and the second described herein are only for referring to and distinguishing different signals, instructions, etc., wherein the first and the second do not have a sequence limitation.
图1是本申请一个实施例的方法的示意性流程图。其中,图1执行主体可以为一种用于服务器启动过程故障检测的装置。Fig. 1 is a schematic flowchart of a method according to an embodiment of the present application. Wherein, the execution subject in FIG. 1 may be a device for fault detection in the server startup process.
如图1所示,该方法100包括:As shown in Figure 1, the method 100 includes:
步骤110,确定BMC在服务器启动后第一设定时间内是否检测到BIOS发送的开机启动信号,若第一设定时间内未检测到BIOS发送的开始启动信号,则BMC发送故障信号;Step 110, determine whether BMC detects the start-up signal that BIOS sends within the first set time after server starts, if do not detect the start-up signal that BIOS sends within the first set time, then BMC sends failure signal;
步骤120,若第一设定时间内检测到BIOS发送的开始启动信号,确定BMC在第二设定时间内是否检测到BIOS发送的启动完成信号,若第二设定时间内未检测到BIOS发送的启动完成信号,则BMC发送故障信号。Step 120, if the start signal sent by the BIOS is detected within the first set time, determine whether the BMC detects the start complete signal sent by the BIOS within the second set time, if the BIOS does not detect the start signal sent within the second set time The start-up completion signal of the BMC sends a fault signal.
可选地,作为本申请一个实施例,所述确定BMC在服务器启动后第一设定时间内是否检测到BIOS发送的开始启动信号,若第一设定时间内未检测到BIOS发送的开机启动信号,则BMC发送故障信号,包括:Optionally, as an embodiment of the present application, the determination of whether the BMC detects the start signal sent by the BIOS within the first set time after the server is started, if the start signal sent by the BIOS is not detected within the first set time signal, the BMC sends fault signals, including:
确定BMC在服务器启动5s内是否检测到BIOS发送的开始启动信号,若开机启动5s内未检测到BIOS发送的开始启动信号,则BMC发送故障信号。Determine whether the BMC detects the start signal sent by the BIOS within 5 seconds of starting the server. If the start signal sent by the BIOS is not detected within 5 seconds of starting the server, the BMC sends a fault signal.
可选地,作为本申请一个实施例,所述若第一设定时间内检测到BIOS发送的开始启动信号,确定BMC在第二设定时间内是否检测到BIOS发送的启动完成信号,若第二设定时间内未检测到BIOS发送的启动完成信号,则BMC发送故障信号,包括:Optionally, as an embodiment of the present application, if the start signal sent by the BIOS is detected within the first set time, it is determined whether the BMC detects the start complete signal sent by the BIOS within the second set time. 2. If the boot completion signal sent by the BIOS is not detected within the set time, the BMC will send a fault signal, including:
BMC服务器开机启动5s内检测到BIOS发送的开始启动信号,BMC重新计时,确定BMC在10min内是否检测到BIOS发送的启动完成信号,若10min内未检测到BIOS发送的启动完成信号,则BMC发送故障信号。The BMC server detects the start-up signal sent by the BIOS within 5 seconds after starting up, and the BMC restarts the timer to determine whether the BMC detects the start-up completion signal sent by the BIOS within 10 minutes. If the start-up completion signal sent by the BIOS is not detected within 10 minutes, the BMC sends failure signal.
可选地,作为本申请一个实施例,BIOS与BMC沟通的信号可以通过GPIO的状态变化或发送日志到BMC。Optionally, as an embodiment of the present application, the signal communicated between the BIOS and the BMC may be sent to the BMC through a state change of a GPIO or a log.
可选地,作为本申请一个实施例,所述BMC显示故障信号的方法,包括:Optionally, as an embodiment of the present application, the method for displaying a fault signal by the BMC includes:
在服务器上设置由BMC控制的LED灯,作为启动故障灯。Set the LED light controlled by the BMC on the server as a startup fault light.
具体的,图2示出了本申请一个实施例的方法的示意图。Specifically, FIG. 2 shows a schematic diagram of a method according to an embodiment of the present application.
在服务器上增加一个LED灯,为启动故障灯,由BMC控制。当BMC与BIOS沟通过程中,检测到了服务器启动异常,可以点亮此LED灯。Add an LED light on the server to start the fault light, which is controlled by BMC. When the BMC communicates with the BIOS and detects that the server is abnormally started, this LED can be turned on.
在BIOS开机过程中,按服务器开机键,BIOS开始启动,BMC对BIOS启动过程设置两个监控点,第一个监控点是BIOS启动前期,BMC在检测到了系统开机信号后开始计时,在一定时间内,例如大约5秒内如果没有收到BIOS发送的开始启动,那么BMC就认定这个开机BIOS无法正常启动系统,从而自动点亮启动故障灯。第二个监控点是系统开机后期,在接收收到了第一个监控点信号后,BMC重新计时,经过一段时间内,例如BMC在接收到了第一个信号后的10分钟内都接收不到BIOS启动完成的信号,那么BMC就认定此BIOS无法正常启动系统,会自动点亮启动故障灯。BIOS与BMC沟通的信号可以通过GPIO的状态变化或发送日志到BMC等一系列方式。用户可以根据点亮的故障灯,快速的确认哪台服务器发生了故障。During the BIOS startup process, press the power button of the server, and the BIOS starts to start. The BMC sets two monitoring points for the BIOS startup process. The first monitoring point is the early stage of the BIOS startup. The BMC starts timing after detecting the system startup signal. If, for example, within about 5 seconds, the BIOS does not receive a start-up request, then the BMC will determine that the boot-up BIOS cannot start the system normally, and automatically turn on the startup fault indicator. The second monitoring point is at the later stage of system startup. After receiving the signal from the first monitoring point, the BMC restarts the timing. After a period of time, for example, the BMC cannot receive the BIOS within 10 minutes after receiving the first signal. If there is a signal indicating that the boot is complete, the BMC will determine that the BIOS cannot start the system normally, and will automatically turn on the boot fault indicator. The signal that BIOS communicates with BMC can be through a series of ways such as GPIO status changes or sending logs to BMC. Users can quickly confirm which server has failed according to the fault light that is lit.
因此,本申请实施例可通过BMC监控BIOS开机信号的方法,BIOS无法正常启动时,可以自动快速的点亮启动故障灯,减少了物力和人力成本,实现了自动且快速的去定位故障服务器。Therefore, the embodiment of the present application can monitor the BIOS boot signal through the BMC. When the BIOS fails to start normally, the startup fault light can be automatically and quickly lit, reducing material and labor costs, and realizing automatic and fast location of the faulty server.
图3示出了本申请一个实施例的装置的示意性框图。Fig. 3 shows a schematic block diagram of an apparatus according to an embodiment of the present application.
如图3所示,该装置300包括:As shown in Figure 3, the device 300 includes:
第一确定单元310,所述第一确定单元用于确定BMC在服务器启动后第一设定时间内是否检测到BIOS发送的开机启动信号,若第一设定时间内未检测到BIOS发送的开始启动信号,则BMC发送故障信号;The first determination unit 310, the first determination unit is used to determine whether the BMC detects the boot signal sent by the BIOS within the first set time after the server starts, if the start of the BIOS transmission is not detected within the first set time start signal, BMC sends fault signal;
第二确定单元320,所述第二确定单元用于若第一设定时间内检测到BIOS发送的开始启动信号,确定BMC在第二设定时间内是否检测到BIOS发送的启动完成信号,若第二设定时间内未检测到BIOS发送的启动完成信号,则BMC发送故障信号。The second determination unit 320, the second determination unit is used to determine whether the BMC detects the start-up signal sent by the BIOS within the second set time if the start signal sent by the BIOS is detected within the first set time, if If the boot completion signal sent by the BIOS is not detected within the second set time, the BMC sends a fault signal.
可选地,作为本申请一个实施例,所述第一确定单元310具体用于:Optionally, as an embodiment of the present application, the first determining unit 310 is specifically configured to:
确定BMC在服务器启动5s内是否检测到BIOS发送的开始启动信号,若开机启动5s内未检测到BIOS发送的开始启动信号,则BMC发送故障信号。Determine whether the BMC detects the start signal sent by the BIOS within 5 seconds of starting the server. If the start signal sent by the BIOS is not detected within 5 seconds of starting the server, the BMC sends a fault signal.
可选地,作为本申请一个实施例,所述第二确定单元320具体用于:Optionally, as an embodiment of the present application, the second determining unit 320 is specifically configured to:
BMC服务器开机启动5s内检测到BIOS发送的开始启动信号,BMC重新计时,确定BMC在10min内是否检测到BIOS发送的启动完成信号,若10min内未检测到BIOS发送的启动完成信号,则BMC发送故障信号。The BMC server detects the start-up signal sent by the BIOS within 5 seconds after starting up, and the BMC restarts the timer to determine whether the BMC detects the start-up completion signal sent by the BIOS within 10 minutes. If the start-up completion signal sent by the BIOS is not detected within 10 minutes, the BMC sends failure signal.
可选地,作为本申请一个实施例,所述装置还包括报警单元330(图中未显示):Optionally, as an embodiment of the present application, the device further includes an alarm unit 330 (not shown in the figure):
所述报警单元330为设置在服务器上由BMC控制的LED灯,作为启动故障灯。The alarm unit 330 is an LED light set on the server and controlled by the BMC as a startup fault light.
图4为本发明实施例提供的一种受控终端400的结构示意图,该受控终端400可以用于执行本申请实施例提供的服务器启动过程故障检测示出的方法。FIG. 4 is a schematic structural diagram of a controlled terminal 400 provided by an embodiment of the present invention. The controlled terminal 400 can be used to execute the method shown in the fault detection of the server startup process provided by the embodiment of the present application.
其中,该受控终端400可以包括:处理器410、存储器420及通信单元430。这些组件通过一条或多条总线进行通信,本领域技术人员可以理解,图中示出的服务器的结构并不构成对本申请的限定,它既可以是总线形结构,也可以是星型结构,还可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Wherein, the controlled terminal 400 may include: a processor 410 , a memory 420 and a communication unit 430 . These components communicate through one or more buses. Those skilled in the art can understand that the structure of the server shown in the figure does not constitute a limitation to the present application. It can be a bus structure, a star structure, or a More or fewer components than shown, or combinations of certain components, or different arrangements of components may be included.
其中,该存储器420可以用于存储处理器410的执行指令,存储器420可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。当存储器420中的执行指令由处理器410执行时,使得终端400能够执行以下上述方法实施例中的部分或全部步骤。Wherein, the memory 420 can be used to store the execution instructions of the processor 410, and the memory 420 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electronic Erasable Programmable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic Disk or Optical Disk . When the execution instructions in the memory 420 are executed by the processor 410, the terminal 400 is enabled to perform some or all of the steps in the following above-mentioned method embodiments.
处理器410为存储设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器420内的软件程序和/或模块,以及调用存储在存储器内的数据,以执行电子设备的各种功能和/或处理数据。所述处理器可以由集成电路(Integrated Circuit,简称IC)组成,例如可以由单颗封装的IC所组成,也可以由连接多颗相同功能或不同功能的封装IC而组成。举例来说,处理器410可以仅包括中央处理器(Central Processing Unit,简称CPU)。在本申请实施方式中,CPU可以是单运算核心,也可以包括多运算核心。The processor 410 is the control center of the storage device, using various interfaces and lines to connect various parts of the entire electronic device, by running or executing software programs and/or modules stored in the memory 420, and calling data stored in the memory, To perform various functions of the electronic device and/or process data. The processor may be composed of an integrated circuit (Integrated Circuit, IC for short), for example, may be composed of a single packaged IC, or may be composed of multiple packaged ICs connected with the same function or different functions. For example, the processor 410 may only include a central processing unit (Central Processing Unit, CPU for short). In the embodiments of the present application, the CPU may be a single computing core, or may include multiple computing cores.
通信单元430,用于建立通信信道,从而使所述存储设备可以与其它设备进行通信。接收其他设备发送的用户数据或者向其他设备发送用户数据。The communication unit 430 is configured to establish a communication channel, so that the storage device can communicate with other devices. Receive user data sent by other devices or send user data to other devices.
本申请还提供一种计算机存储介质,The present application also provides a computer storage medium,
其中,该计算机存储介质可存储有程序,该程序执行时可包括本申请提供的各实施例中的部分或全部步骤。所述的存储介质可为磁碟、光盘、只读存储记忆体(英文:read-only memory,简称:ROM)或随机存储记忆体(英文:random access memory,简称:RAM)等。Wherein, the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided in this application when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (English: read-only memory, ROM for short), or a random access memory (English: random access memory, RAM for short), and the like.
因此,本申请实施例通过BMC对BIOS设置两个监控点:开始启动和启动完成两个监控点的监控,实现自动检测BIOS主芯片是否可以正常开机,当系统产生故障时可以自动报警,快速定位发生故障的机台,有效节省物力及人力成本,本实施例所能达到的技术效果可以参见上文中的描述,此处不再赘述。Therefore, the embodiment of the present application sets two monitoring points for the BIOS through the BMC: the monitoring of the two monitoring points of start-up and start-up, to realize automatic detection of whether the BIOS main chip can be turned on normally, and to automatically alarm when the system fails, and quickly locate The faulty machine can effectively save material resources and labor costs. The technical effects achieved by this embodiment can be referred to the description above, and will not be repeated here.
本领域的技术人员可以清楚地了解到本申请实施例中的技术可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本申请实施例中的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中如U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者第二设备、网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。Those skilled in the art can clearly understand that the technologies in the embodiments of the present application can be implemented by means of software plus a necessary general-purpose hardware platform. Based on such an understanding, the technical solution in the embodiment of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product is stored in a storage medium such as a USB flash drive, mobile Various media that can store program codes, such as hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, including several instructions to make a computer device (It may be a personal computer, a server, or a second device, a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present invention.
本说明书中各个实施例之间相同相似的部分互相参见即可。尤其,对于终端实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例中的说明即可。For the same and similar parts among the various embodiments in this specification, refer to each other. In particular, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant details, refer to the description in the method embodiment.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
尽管通过参考附图并结合优选实施例的方式对本发明进行了详细描述,但本发明并不限于此。在不脱离本发明的精神和实质的前提下,本领域普通技术人员可以对本发明的实施例进行各种等效的修改或替换,而这些修改或替换都应在本发明的涵盖范围内/任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。Although the present invention has been described in detail in conjunction with preferred embodiments with reference to the accompanying drawings, the present invention is not limited thereto. Without departing from the spirit and essence of the present invention, those skilled in the art can make various equivalent modifications or replacements to the embodiments of the present invention, and these modifications or replacements should be within the scope of the present invention/any Those skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention, and all should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810684786.1ACN109032888A (en) | 2018-06-28 | 2018-06-28 | A kind of server start-up course fault detection method, device and controlled terminal |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810684786.1ACN109032888A (en) | 2018-06-28 | 2018-06-28 | A kind of server start-up course fault detection method, device and controlled terminal |
| Publication Number | Publication Date |
|---|---|
| CN109032888Atrue CN109032888A (en) | 2018-12-18 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810684786.1APendingCN109032888A (en) | 2018-06-28 | 2018-06-28 | A kind of server start-up course fault detection method, device and controlled terminal |
| Country | Link |
|---|---|
| CN (1) | CN109032888A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110646699A (en)* | 2019-10-10 | 2020-01-03 | 北京嘀嘀无限科技发展有限公司 | Charging pile fault identification method, storage medium, charging pile and electronic equipment |
| CN111124833A (en)* | 2019-12-25 | 2020-05-08 | 浪潮商用机器有限公司 | A gpio port control method, device, device and storage medium |
| CN111521961A (en)* | 2020-06-09 | 2020-08-11 | 中北大学 | Single-channel three-axis magnetic information detection method and system based on diamond NV color center |
| CN111708652A (en)* | 2020-05-20 | 2020-09-25 | 新华三技术有限公司 | Fault repairing method and device |
| CN111966548A (en)* | 2020-08-18 | 2020-11-20 | 苏州浪潮智能科技有限公司 | Fault detection method and system for slow startup of server |
| CN113806167A (en)* | 2021-09-01 | 2021-12-17 | 超越科技股份有限公司 | A running monitoring method of Feiteng platform server operating system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1752942A (en)* | 2004-09-23 | 2006-03-29 | 联想(北京)有限公司 | Monitoring diagnosis device of computer main board failure |
| CN101364193A (en)* | 2007-08-06 | 2009-02-11 | 英业达股份有限公司 | Method for automatically recovering BIOS and computer and system using the same |
| CN102221864A (en)* | 2010-04-15 | 2011-10-19 | 研祥智能科技股份有限公司 | Computer, and computer startup management system and method thereof |
| CN102591728A (en)* | 2011-01-11 | 2012-07-18 | 研祥智能科技股份有限公司 | Method for starting up computer and basic input output system (BIOS) automatic restoring circuit |
| CN103178977A (en)* | 2011-12-22 | 2013-06-26 | 英业达股份有限公司 | Computer system and boot management method of computer system |
| CN104317685A (en)* | 2014-10-14 | 2015-01-28 | 英业达科技有限公司 | Starting method of calculator system |
| CN104572143A (en)* | 2013-10-15 | 2015-04-29 | 鸿富锦精密工业(武汉)有限公司 | Startup detection system and method for computer |
| CN105786462A (en)* | 2014-12-24 | 2016-07-20 | 昆达电脑科技(昆山)有限公司 | Boot method |
| CN106776241A (en)* | 2016-12-02 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of method for indicating server start progress and power consumption |
| CN107220052A (en)* | 2017-05-25 | 2017-09-29 | 郑州云海信息技术有限公司 | The application process and device of a kind of basic input output system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1752942A (en)* | 2004-09-23 | 2006-03-29 | 联想(北京)有限公司 | Monitoring diagnosis device of computer main board failure |
| CN101364193A (en)* | 2007-08-06 | 2009-02-11 | 英业达股份有限公司 | Method for automatically recovering BIOS and computer and system using the same |
| CN102221864A (en)* | 2010-04-15 | 2011-10-19 | 研祥智能科技股份有限公司 | Computer, and computer startup management system and method thereof |
| CN102591728A (en)* | 2011-01-11 | 2012-07-18 | 研祥智能科技股份有限公司 | Method for starting up computer and basic input output system (BIOS) automatic restoring circuit |
| CN103178977A (en)* | 2011-12-22 | 2013-06-26 | 英业达股份有限公司 | Computer system and boot management method of computer system |
| CN104572143A (en)* | 2013-10-15 | 2015-04-29 | 鸿富锦精密工业(武汉)有限公司 | Startup detection system and method for computer |
| CN104317685A (en)* | 2014-10-14 | 2015-01-28 | 英业达科技有限公司 | Starting method of calculator system |
| CN105786462A (en)* | 2014-12-24 | 2016-07-20 | 昆达电脑科技(昆山)有限公司 | Boot method |
| CN106776241A (en)* | 2016-12-02 | 2017-05-31 | 郑州云海信息技术有限公司 | A kind of method for indicating server start progress and power consumption |
| CN107220052A (en)* | 2017-05-25 | 2017-09-29 | 郑州云海信息技术有限公司 | The application process and device of a kind of basic input output system |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110646699A (en)* | 2019-10-10 | 2020-01-03 | 北京嘀嘀无限科技发展有限公司 | Charging pile fault identification method, storage medium, charging pile and electronic equipment |
| CN111124833A (en)* | 2019-12-25 | 2020-05-08 | 浪潮商用机器有限公司 | A gpio port control method, device, device and storage medium |
| CN111708652A (en)* | 2020-05-20 | 2020-09-25 | 新华三技术有限公司 | Fault repairing method and device |
| CN111708652B (en)* | 2020-05-20 | 2023-12-26 | 新华三技术有限公司 | Fault repairing method and device |
| CN111521961A (en)* | 2020-06-09 | 2020-08-11 | 中北大学 | Single-channel three-axis magnetic information detection method and system based on diamond NV color center |
| CN111521961B (en)* | 2020-06-09 | 2022-04-05 | 中北大学 | Single-channel three-axis magnetic information detection method and system based on diamond NV color center |
| CN111966548A (en)* | 2020-08-18 | 2020-11-20 | 苏州浪潮智能科技有限公司 | Fault detection method and system for slow startup of server |
| CN113806167A (en)* | 2021-09-01 | 2021-12-17 | 超越科技股份有限公司 | A running monitoring method of Feiteng platform server operating system |
| Publication | Publication Date | Title |
|---|---|---|
| CN109032888A (en) | A kind of server start-up course fault detection method, device and controlled terminal | |
| CN114003445B (en) | BMC I2C monitoring function test method, system, terminal and storage medium | |
| CN102419719A (en) | Computer system and method for starting same | |
| EP2189906A1 (en) | Method and apparatus for abnormality recovering of data card, and data card | |
| US10824724B2 (en) | Detecting runtime tampering of UEFI images in an information handling system | |
| CN104572226A (en) | Method and device for detecting mainboard starting abnormity | |
| CN115934447B (en) | Display information acquisition method, device, electronic device and storage medium | |
| CN114116280B (en) | Interactive BMC self-recovery method, system, terminal and storage medium | |
| CN108897646A (en) | A kind of switching method and baseboard management controller of BIOS chip | |
| CN111966380A (en) | BMC (baseboard management controller) firmware upgrading method, system, terminal and storage medium | |
| CN109032901A (en) | A kind of monitoring method, device and the controlled terminal of the outer SSD of remote band | |
| WO2018095107A1 (en) | Bios program abnormal processing method and apparatus | |
| CN116107819A (en) | Server start-up fault detection system, method, device and medium | |
| CN110162435A (en) | A kind of server PXE starting test method, system, terminal and storage medium | |
| CN117215859B (en) | Main and standby BIOS automatic switching method, automatic switching device and computer | |
| CN118349290B (en) | Dual-memory chip start-up upgrade system, method, device, medium and product | |
| US20240264914A1 (en) | Method and device for recovering self-test exception of server component, system and medium | |
| CN116450046A (en) | Cloud disk implementation method and device, intelligent network card, server and storage medium | |
| CN109976926A (en) | Method, circuit, terminal and the storage medium of protection BMC renewal process are restarted in a kind of shielding | |
| CN111352662B (en) | A server startup sequence control method, system, terminal and storage medium | |
| CN114461286B (en) | A server startup method, device, electronic equipment and readable storage medium | |
| CN116028125A (en) | Remote control start-up display mode setting method, system, terminal and storage medium | |
| US11989567B2 (en) | Automatic systems devices rediscovery | |
| CN113064793B (en) | Method, system, terminal and storage medium for polling and collecting bus device location information | |
| CN113961252B (en) | PCIE board card anti-lost method, device and computer readable storage medium |
| 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 | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20181218 | |
| RJ01 | Rejection of invention patent application after publication |