CN116450391A - Fault positioning method, device, equipment and medium - Google Patents
Fault positioning method, device, equipment and medium Download PDFInfo
- Publication number
- CN116450391A CN116450391A CN202310276366.0A CN202310276366A CN116450391A CN 116450391 A CN116450391 A CN 116450391A CN 202310276366 A CN202310276366 A CN 202310276366A CN 116450391 A CN116450391 A CN 116450391A
- Authority
- CN
- China
- Prior art keywords
- management controller
- firmware
- baseboard management
- controller chip
- file
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/079—Root cause analysis, i.e. error or fault diagnosis
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/50—Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications
- Y04S10/52—Outage or fault management, e.g. fault detection or location
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
Description
技术领域technical field
本申请涉及服务器技术领域,特别是涉及一种故障定位方法、装置、设备及介质。The present application relates to the technical field of servers, in particular to a fault location method, device, equipment and medium.
背景技术Background technique
基板管理控制器(Baseboard Management Controller,BMC)是独立于服务器系统之外的小型操作系统,其形式可为集成在主板上的芯片,也可通过高速串行计算机扩展总线标准(Peripheral Component Interconnect Express,PCIE)等形式插在主板上,对外表现形式只是一个标准的RJ45网口,拥有独立网际互连协议(Internet Protocol,IP)的固件系统。服务器集群一般使用BMC指令进行大规模无人值守操作,包括服务器的远程管理、监控、安装、重启等。Baseboard Management Controller (BMC) is a small operating system independent of the server system. It can be in the form of a chip integrated on the motherboard, or can be extended through the high-speed serial computer bus standard (Peripheral Component Interconnect Express, PCIE) and other forms are inserted on the motherboard, and the external form is only a standard RJ45 network port, with an independent Internet Protocol (Internet Protocol, IP) firmware system. Server clusters generally use BMC instructions for large-scale unattended operations, including remote management, monitoring, installation, and restart of servers.
BMC芯片形状较小,构成精细,内部运行着小型的操作系统,当BMC固件更新时可能会出现BMC芯片损坏或者是固件不完整等异常情况,造成BMC系统无法正常工作。而在BMC系统无法正常工作且服务器也无法开机的情况下,用户无法判断BMC芯片故障是什么原因所导致,对BMC芯片故障的排除更是无法实现,这极大地影响了故障定位效率。The BMC chip has a small shape and fine composition, and a small operating system runs inside. When the BMC firmware is updated, abnormalities such as BMC chip damage or incomplete firmware may occur, causing the BMC system to fail to work normally. However, when the BMC system cannot work normally and the server cannot be turned on, the user cannot determine the cause of the BMC chip failure, and it is impossible to eliminate the BMC chip failure, which greatly affects the efficiency of fault location.
鉴于上述问题,如何实现BMC芯片故障的快速定位,是本领域技术人员亟待解决的问题。In view of the above problems, how to quickly locate the fault of the BMC chip is an urgent problem to be solved by those skilled in the art.
发明内容Contents of the invention
本申请的目的是提供一种故障定位方法、装置、设备及介质,以实现BMC芯片故障的快速定位。The purpose of this application is to provide a fault location method, device, equipment and medium, so as to realize rapid location of BMC chip faults.
为解决上述技术问题,本申请提供一种故障定位方法,包括:In order to solve the above technical problems, this application provides a fault location method, including:
当基板管理控制器芯片的固件更新出现故障时,建立与所述基板管理控制器芯片的通信连接;When the firmware update of the baseboard management controller chip fails, establish a communication connection with the baseboard management controller chip;
判断更新的固件文件是否符合预设要求;Determine whether the updated firmware file meets the preset requirements;
若是,则确认为所述基板管理控制器芯片故障;If yes, confirm that the baseboard management controller chip is faulty;
若否,则确认为固件更新故障。If not, it is confirmed that the firmware update has failed.
优选地,所述判断更新的固件文件是否符合预设要求包括:Preferably, said judging whether the updated firmware file meets preset requirements includes:
获取所述基板管理控制器芯片中更新的所述固件文件,并获取本地存储的备份固件文件;Obtain the firmware file updated in the baseboard management controller chip, and obtain a locally stored backup firmware file;
判断所述固件文件的文件大小与所述备份固件文件的文件大小是否相同;Judging whether the file size of the firmware file is the same as the file size of the backup firmware file;
若是,则确认为所述基板管理控制器芯片故障;If yes, confirm that the baseboard management controller chip is faulty;
若否,则确认所述固件文件不完整,并确认为固件更新故障。If not, it is confirmed that the firmware file is incomplete, and it is confirmed that the firmware update is faulty.
优选地,所述判断更新的固件文件是否符合预设要求包括:Preferably, said judging whether the updated firmware file meets preset requirements includes:
获取所述基板管理控制器芯片中更新的所述固件文件的数字签名,并获取本地存储的备份固件文件的数字签名;Obtain the digital signature of the firmware file updated in the baseboard management controller chip, and obtain the digital signature of the locally stored backup firmware file;
判断所述固件文件的数字签名与所述备份固件文件的数字签名是否相同;Judging whether the digital signature of the firmware file is identical to the digital signature of the backup firmware file;
若是,则确认为所述基板管理控制器芯片故障;If yes, confirm that the baseboard management controller chip is faulty;
若否,则确认所述固件文件已被修改,并确认为固件更新故障。If not, it is confirmed that the firmware file has been modified, and it is confirmed that the firmware update is faulty.
优选地,在所述确认为固件更新故障之后,还包括:Preferably, after the confirmation is that the firmware update is faulty, it also includes:
根据所述备份固件文件对所述基板管理控制器芯片进行固件更新。performing firmware update on the baseboard management controller chip according to the backup firmware file.
优选地,在所述根据所述备份固件文件对所述基板管理控制器芯片进行固件更新之后,还包括:Preferably, after updating the firmware of the baseboard management controller chip according to the backup firmware file, the method further includes:
断开与所述基板管理控制器芯片的通信连接。disconnecting the communication connection with the baseboard management controller chip.
优选地,在所述确认为固件更新故障之后,还包括:Preferably, after the confirmation is that the firmware update is faulty, it also includes:
生成包含固件更新故障信息的日志。Generate a log containing firmware update failure information.
优选地,在所述确认为所述基板管理控制器芯片故障之后,还包括:Preferably, after the confirmation that the baseboard management controller chip is faulty, the method further includes:
输出所述基板管理控制器芯片故障的提示信息;Outputting a prompt message indicating that the baseboard management controller chip is faulty;
生成包含所述基板管理控制器芯片故障信息的日志。A log containing failure information of the baseboard management controller chip is generated.
为解决上述技术问题,本申请还提供一种故障定位装置,包括:In order to solve the above technical problems, the present application also provides a fault location device, including:
通信模块,用于当基板管理控制器芯片的固件更新出现故障时,建立与所述基板管理控制器芯片的通信连接;A communication module, configured to establish a communication connection with the baseboard management controller chip when the firmware update of the baseboard management controller chip fails;
判断模块,用于判断更新的固件文件是否符合预设要求;若是,则触发第一确认模块,若否,则触发第二确认模块;A judging module, configured to judge whether the updated firmware file meets the preset requirements; if so, trigger the first confirmation module, and if not, trigger the second confirmation module;
所述第一确认模块,用于确认为所述基板管理控制器芯片故障;The first confirmation module is configured to confirm that the baseboard management controller chip is faulty;
所述第二确认模块,用于确认为固件更新故障。The second confirming module is configured to confirm that it is a firmware update failure.
优选地,所述判断模块包括:Preferably, the judging module includes:
文件获取模块,用于获取所述基板管理控制器芯片中更新的所述固件文件,并获取本地存储的备份固件文件;A file obtaining module, configured to obtain the updated firmware file in the baseboard management controller chip, and obtain a locally stored backup firmware file;
文件大小判断模块,用于判断所述固件文件的文件大小与所述备份固件文件的文件大小是否相同;若是,则确认为所述基板管理控制器芯片故障;若否,则确认所述固件文件不完整,并确认为固件更新故障。The file size judging module is used to judge whether the file size of the firmware file is the same as the file size of the backup firmware file; if yes, then confirm that the baseboard management controller chip is faulty; if not, then confirm that the firmware file Incomplete and confirmed as firmware update failure.
优选地,所述判断模块包括:Preferably, the judging module includes:
数字签名获取模块,用于获取所述基板管理控制器芯片中更新的所述固件文件的数字签名,并获取本地存储的备份固件文件的数字签名;A digital signature obtaining module, configured to obtain the digital signature of the firmware file updated in the baseboard management controller chip, and obtain the digital signature of the locally stored backup firmware file;
数字签名判断模块,用于判断所述固件文件的数字签名与所述备份固件文件的数字签名是否相同;若是,则确认为所述基板管理控制器芯片故障;若否,则确认所述固件文件已被修改,并确认为固件更新故障。The digital signature judging module is used to judge whether the digital signature of the firmware file is the same as the digital signature of the backup firmware file; if yes, then confirm that the baseboard management controller chip is faulty; if not, then confirm the firmware file has been modified and confirmed to be a firmware update failure.
优选地,还包括:Preferably, it also includes:
固件更新模块,用于在所述确认为固件更新故障之后,根据所述备份固件文件对所述基板管理控制器芯片进行固件更新。A firmware update module, configured to update the firmware of the baseboard management controller chip according to the backup firmware file after the firmware update failure is confirmed.
优选地,还包括:Preferably, it also includes:
通信连接断开模块,用于在所述根据所述备份固件文件对所述基板管理控制器芯片进行固件更新之后,断开与所述基板管理控制器芯片的通信连接。The communication disconnection module is configured to disconnect the communication connection with the baseboard management controller chip after the firmware update is performed on the baseboard management controller chip according to the backup firmware file.
优选地,还包括:Preferably, it also includes:
第一日志生成模块,用于在所述确认为固件更新故障之后,生成包含固件更新故障信息的日志。The first log generation module is configured to generate a log containing firmware update failure information after the firmware update failure is confirmed.
优选地,还包括:Preferably, it also includes:
提示信息输出模块,用于在所述确认为所述基板管理控制器芯片故障之后,输出所述基板管理控制器芯片故障的提示信息;A prompt information output module, configured to output prompt information of the baseboard management controller chip failure after the confirmation is that the baseboard management controller chip is faulty;
第二日志生成模块,用于生成包含所述基板管理控制器芯片故障信息的日志。The second log generation module is configured to generate a log containing the fault information of the baseboard management controller chip.
为解决上述技术问题,本申请还提供一种故障定位设备,包括:In order to solve the above technical problems, the present application also provides a fault location device, including:
存储器,用于存储计算机程序;memory for storing computer programs;
处理器,用于执行所述计算机程序时实现上述的故障定位方法的步骤。A processor, configured to implement the steps of the above fault location method when executing the computer program.
为解决上述技术问题,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现上述的故障定位方法的步骤。In order to solve the above technical problems, the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned fault location method are realized.
本申请所提供的故障定位方法,当基板管理控制器芯片的固件更新出现故障时,建立与基板管理控制器芯片的通信连接;判断更新的固件文件是否符合预设要求;若是,则确认为基板管理控制器芯片故障;若否,则确认为固件更新故障。由此可知,上述方案在固件更新故障时,通过固件文件对预设要求的满足关系准确地判断出了固件更新故障的原因,解决了基板管理控制器服务无法启动时快速定位基板管理控制器芯片的问题,提高了故障定位的效率,节省了时间成本,有助于测试人员对故障的尽快修复。The fault location method provided in this application is to establish a communication connection with the baseboard management controller chip when the firmware update of the baseboard management controller chip fails; to determine whether the updated firmware file meets the preset requirements; The management controller chip is faulty; if not, it is confirmed that the firmware update is faulty. It can be seen that, when the firmware update fails, the above solution accurately determines the cause of the firmware update failure through the satisfaction relationship between the firmware file and the preset requirements, and solves the problem of quickly locating the baseboard management controller chip when the baseboard management controller service cannot be started. It improves the efficiency of fault location, saves time and cost, and helps testers to repair the fault as soon as possible.
此外,本申请实施例还提供了一种故障定位装置、设备及介质,效果同上。In addition, the embodiment of the present application also provides a fault location device, equipment, and medium, and the effect is the same as above.
附图说明Description of drawings
为了更清楚地说明本申请实施例,下面将对实施例中所需要使用的附图做简单的介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the embodiments of the present application more clearly, the following will briefly introduce the accompanying drawings used in the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present application. As far as people are concerned, other drawings can also be obtained based on these drawings on the premise of not paying creative work.
图1为本申请实施例提供的一种故障定位方法的流程图;FIG. 1 is a flowchart of a fault location method provided in an embodiment of the present application;
图2为本申请实施例提供的一种故障定位装置的示意图;FIG. 2 is a schematic diagram of a fault location device provided in an embodiment of the present application;
图3为本申请实施例提供的一种故障定位设备的示意图;FIG. 3 is a schematic diagram of a fault location device provided in an embodiment of the present application;
图4为本申请实施例提供的故障定位方法在应用场景中的流程图。FIG. 4 is a flow chart of the fault location method provided in the embodiment of the present application in an application scenario.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下,所获得的所有其他实施例,都属于本申请保护范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of this application.
本申请的核心是提供一种故障定位方法、装置、设备及介质,以实现BMC芯片故障的快速定位。The core of the present application is to provide a fault location method, device, equipment and medium, so as to realize rapid location of BMC chip faults.
为了使本技术领域的人员更好地理解本申请方案,下面结合附图和具体实施方式对本申请作进一步的详细说明。In order to enable those skilled in the art to better understand the solution of the present application, the present application will be further described in detail below in conjunction with the drawings and specific implementation methods.
固件(firmware)一般存储于设备中的电可擦除只读存储器(ElectricallyErasable Programmable ROM,EEPROM)或FLASH芯片中,一般可由用户通过特定的刷新程序进行升级的程序。一般来说,担任着一个数码产品最基础、最底层工作的软件才可以称之为固件,比如计算机主板上的基本输入/输出系统BIOS(Basic Input/output System)。Firmware is generally stored in an Electrically Erasable Programmable ROM (EEPROM) or FLASH chip in a device, and is generally a program that can be upgraded by a user through a specific refresh program. Generally speaking, the software that is responsible for the most basic and bottom-level work of a digital product can be called firmware, such as the basic input/output system BIOS (Basic Input/Output System) on the computer motherboard.
通常,硬件内所保存的程序是无法被用户直接读出或修改的。在以前一般情况下是没有必要对固件进行升级操作的,即使在固件内发现了严重的漏洞也必须由专业人员带着写好程序的芯片把原来机器上芯片的更换下来。早期固件芯片一般采用了ROM设计,它的固件代码是在生产过程中固化的,用任何手段都无法修改。随着技术的不断发展,修改固件以适应不断更新的硬件环境成了用户们的迫切要求,所以,可重复写入的可编程可擦除只读存储器EPROM(Erasable Programmable ROM)、EEPROM和flash出现了。这些芯片是可以重复刷写的,让固件得以修改和升级。Usually, the programs stored in the hardware cannot be directly read or modified by the user. In the past, it was generally not necessary to upgrade the firmware. Even if serious loopholes were found in the firmware, professionals had to bring the programmed chips to replace the chips on the original machine. Early firmware chips generally adopt ROM design, and its firmware code is solidified during the production process and cannot be modified by any means. With the continuous development of technology, it has become an urgent requirement for users to modify the firmware to adapt to the constantly updated hardware environment. Therefore, rewritable programmable erasable read-only memory EPROM (Erasable Programmable ROM), EEPROM and flash appear up. These chips can be flashed repeatedly, allowing the firmware to be modified and upgraded.
同样的,作为独立于服务器系统之外的小型操作系统,基板管理控制器芯片同样也需要进行固件更新升级,从而满足其对服务器的远程管理、监控、安装、重启等操作。然而,当固件更新时,如果基板管理控制器损坏或者是固件不完整等异常情况发生,就会造成基板管理控制器无法正常工作;而在基板管理控制器无法工作,服务器也无法开机的情况下,用户无法判断是什么原因所导致固件更新的故障,无法排除是基板管理控制器芯片本身硬件的原因还是固件的原因。因此,本申请实施例提供了一种故障定位方法,以解决上述问题。可以理解的是,本申请实施例所提供的故障定位方法,其具体的应用场景可为计算机、服务器或带有处理功能的存储介质。本实施例中对于故障定位方法的应用场景不做限制,根据具体的实施情况而定。Similarly, as a small operating system independent of the server system, the baseboard management controller chip also needs to be updated and upgraded with firmware, so as to meet its remote management, monitoring, installation, restart and other operations on the server. However, when the firmware is updated, if the baseboard management controller is damaged or the firmware is incomplete and other abnormal conditions occur, the baseboard management controller cannot work normally; and when the baseboard management controller cannot work and the server cannot be powered on , the user cannot determine what causes the firmware update failure, and cannot rule out whether it is the hardware of the baseboard management controller chip itself or the firmware. Therefore, the embodiment of the present application provides a fault location method to solve the above problems. It can be understood that, the specific application scenario of the fault location method provided in the embodiment of the present application may be a computer, a server, or a storage medium with a processing function. In this embodiment, there is no limitation on the application scenarios of the fault location method, and it depends on specific implementation conditions.
图1为本申请实施例提供的一种故障定位方法的流程图。如图1所示,方法包括:FIG. 1 is a flowchart of a fault location method provided by an embodiment of the present application. As shown in Figure 1, the methods include:
S10:当基板管理控制器芯片的固件更新出现故障时,建立与基板管理控制器芯片的通信连接。S10: When the firmware update of the baseboard management controller chip fails, establish a communication connection with the baseboard management controller chip.
具体地,在基板管理控制器芯片进行固件更新时,监测基板管理控制器芯片的固件更新过程。当基板管理控制器芯片的固件更新出现故障时,建立起与基板管理控制器芯片的通信连接。需要注意的是,本申请实施例中对于与基板管理控制器芯片的通信连接的具体方式不做限制,可通过串口进行通信连接,还可通过无线通信连接,根据具体的实施情况而定。Specifically, when the baseboard management controller chip performs firmware update, the firmware update process of the baseboard management controller chip is monitored. When the firmware update of the baseboard management controller chip fails, a communication connection with the baseboard management controller chip is established. It should be noted that in the embodiment of the present application, there is no limitation on the specific manner of the communication connection with the baseboard management controller chip, and the communication connection can be performed through a serial port or wireless communication, depending on the specific implementation situation.
S11:判断更新的固件文件是否符合预设要求;若是,则进入步骤S12;若否,则进入步骤S13。S11: Determine whether the updated firmware file meets the preset requirements; if yes, go to step S12; if not, go to step S13.
S12:确认为基板管理控制器芯片故障。S12: Confirm that the baseboard management controller chip is faulty.
S13:确认为固件更新故障。S13: It is confirmed that the firmware update is faulty.
进一步地,判断基板管理控制器芯片在本次更新的固件文件是否符合预设要求。需要注意的是,本实施例中对于预设要求不做限制,可具体为固件文件的大小需满足一个预设条件,可具体为固件文件需要与基板管理控制器芯片相匹配,还可为固件文件在更新写入基板管理控制器芯片的过程中未被修改,根据具体的实施情况而定。Further, it is judged whether the updated firmware file of the baseboard management controller chip meets the preset requirements. It should be noted that there is no limitation on the preset requirements in this embodiment. It may be specifically that the size of the firmware file needs to meet a preset condition. It may be that the firmware file needs to match the baseboard management controller chip. It may also be that the The file is not modified during the process of updating the baseboard management controller chip, depending on the specific implementation.
当确认更新的固件文件符合预设要求时,则认为基板管理控制器芯片本次的固件更新正常,判定为基板管理控制器芯片的硬件故障;而当确认更新的固件文件不符合预设要求时,则认为基板管理控制器芯片本次的固件更新异常,判定为基板管理控制器芯片固件更新故障。When it is confirmed that the updated firmware file meets the preset requirements, it is considered that the firmware update of the baseboard management controller chip is normal this time, and it is judged to be a hardware failure of the baseboard management controller chip; and when it is confirmed that the updated firmware file does not meet the preset requirements , it is considered that the firmware update of the baseboard management controller chip is abnormal, and it is determined that the firmware update of the baseboard management controller chip is faulty.
本实施例中,当基板管理控制器芯片的固件更新出现故障时,建立与基板管理控制器芯片的通信连接;判断更新的固件文件是否符合预设要求;若是,则确认为基板管理控制器芯片故障;若否,则确认为固件更新故障。由此可知,上述方案在固件更新故障时,通过固件文件对预设要求的满足关系准确地判断出了固件更新故障的原因,解决了基板管理控制器服务无法启动时快速定位基板管理控制器芯片的问题,提高了故障定位的效率,节省了时间成本,有助于测试人员对故障的尽快修复。In this embodiment, when the firmware update of the baseboard management controller chip fails, establish a communication connection with the baseboard management controller chip; determine whether the updated firmware file meets the preset requirements; if so, confirm that it is the baseboard management controller chip failure; if not, it is confirmed as a firmware update failure. It can be seen that, when the firmware update fails, the above solution accurately determines the cause of the firmware update failure through the satisfaction relationship between the firmware file and the preset requirements, and solves the problem of quickly locating the baseboard management controller chip when the baseboard management controller service cannot be started. It improves the efficiency of fault location, saves time and cost, and helps testers to repair the fault as soon as possible.
在上述实施例的基础上,作为一种优选的实施例,判断更新的固件文件是否符合预设要求包括:On the basis of the above embodiments, as a preferred embodiment, judging whether the updated firmware file meets the preset requirements includes:
获取基板管理控制器芯片中更新的固件文件,并获取本地存储的备份固件文件;Obtain the updated firmware file in the baseboard management controller chip, and obtain the backup firmware file stored locally;
判断固件文件的文件大小与备份固件文件的文件大小是否相同;Determine whether the file size of the firmware file is the same as the file size of the backup firmware file;
若是,则确认为基板管理控制器芯片故障;If yes, it is confirmed that the baseboard management controller chip is faulty;
若否,则确认固件文件不完整,并确认为固件更新故障。If not, confirm that the firmware file is incomplete, and confirm that it is a firmware update failure.
在上述实施例中对于预设条件不做限制,根据具体的实施情况而定。而作为一种优选的实施例,在本实施例中,为判断更新的固件文件是否符合预设要求,具体首先需要获取基板管理控制器芯片中更新的固件文件,并获取本地存储的备份固件文件。In the foregoing embodiments, there is no limitation on the preset conditions, and it depends on specific implementation conditions. As a preferred embodiment, in this embodiment, in order to determine whether the updated firmware file meets the preset requirements, it is first necessary to obtain the updated firmware file in the baseboard management controller chip, and obtain the locally stored backup firmware file .
可以理解的是,为了获取固件文件对预设要求的满足关系,首先要获取本次更新的固件文件。在具体实施中,由于在确认基板管理控制器芯片发生固件更新故障时,已经与基板管理控制器芯片建立起了通信连接,则可直接通过通信连接从基板管理控制器芯片中获取本次更新的固件文件。同时,获取存储于本地的备份固件文件。可以理解的是,理论上基板管理控制器芯片更新的固件文件应与备份固件文件相同。It can be understood that, in order to obtain the satisfying relationship of the firmware file to the preset requirement, it is first necessary to obtain the updated firmware file. In the specific implementation, since a communication connection has been established with the BMC chip when it is confirmed that the firmware update failure occurs on the BMC chip, the update information of this update can be directly obtained from the BMC chip through the communication connection. firmware file. At the same time, obtain the backup firmware file stored locally. It can be understood that theoretically, the updated firmware file of the baseboard management controller chip should be the same as the backup firmware file.
进一步判断固件文件的文件大小与备份固件文件的文件大小是否相同,即对二者进行大小的比对。如果比对结果不一致,二者大小不同,则认为更新的固件文件不完整,可以确认为固件更新故障;如果比对结果一致,二者大小相同,则认为更新的固件文件完整,可以确认为基板管理控制器芯片故障。It is further judged whether the file size of the firmware file is the same as that of the backup firmware file, that is, comparing the sizes of the two. If the comparison results are inconsistent and the two sizes are different, it is considered that the updated firmware file is incomplete and it can be confirmed as a firmware update failure; if the comparison results are consistent and the two sizes are the same, the updated firmware file is considered complete and can be confirmed as a substrate Management controller chip failure.
本实施例中,通过获取基板管理控制器芯片中更新的固件文件,并获取本地存储的备份固件文件;判断固件文件的文件大小与备份固件文件的文件大小是否相同;若是,则确认为基板管理控制器芯片故障;若否,则确认固件文件不完整,并确认为固件更新故障。实现了对更新的固件文件是否符合预设要求的判断,准确地进行了故障定位。In this embodiment, by obtaining the updated firmware file in the baseboard management controller chip and obtaining the locally stored backup firmware file; judging whether the file size of the firmware file is the same as the file size of the backup firmware file; if so, confirming that it is a baseboard management The controller chip is faulty; if not, it is confirmed that the firmware file is incomplete, and it is confirmed that the firmware update is faulty. The judgment of whether the updated firmware file meets the preset requirements is realized, and the fault location is accurately carried out.
在上述实施例的基础上,作为一种优选的实施例,判断更新的固件文件是否符合预设要求包括:On the basis of the above embodiments, as a preferred embodiment, judging whether the updated firmware file meets the preset requirements includes:
获取基板管理控制器芯片中更新的固件文件的数字签名,并获取本地存储的备份固件文件的数字签名;obtaining a digital signature of an updated firmware file in the baseboard management controller chip, and obtaining a digital signature of a locally stored backup firmware file;
判断固件文件的数字签名与备份固件文件的数字签名是否相同;Determine whether the digital signature of the firmware file is the same as the digital signature of the backup firmware file;
若是,则确认为基板管理控制器芯片故障;If yes, it is confirmed that the baseboard management controller chip is faulty;
若否,则确认固件文件已被修改,并确认为固件更新故障。If not, confirm that the firmware file has been modified, and confirm that it is a firmware update failure.
在上述实施例中给出了判断更新的固件文件是否符合预设要求的一种方式。作为一种优选的实施例,在具体实施中,判断更新的固件文件是否符合预设要求,还可通过比较固件文件与本地存储的备份固件文件的数字签名来实现。A manner of judging whether the updated firmware file meets the preset requirements is given in the above embodiment. As a preferred embodiment, in a specific implementation, judging whether the updated firmware file meets the preset requirements can also be realized by comparing the digital signature of the firmware file with the locally stored backup firmware file.
具体地,首先获取基板管理控制器芯片中更新的固件文件的数字签名,并获取本地存储的备份固件文件的数字签名。数字签名(又称公钥数字签名)是只有信息的发送者才能产生的别人无法伪造的一段数字串,这段数字串同时也是对信息的发送者发送信息真实性的一个有效证明。它是一种类似写在纸上的普通的物理签名,但是在使用了公钥加密领域的技术来实现的,用于鉴别数字信息的方法。一套数字签名通常定义两种互补的运算,一个用于签名,另一个用于验证。数字签名是非对称密钥加密技术与数字摘要技术的应用。Specifically, first obtain the digital signature of the updated firmware file in the BMC chip, and obtain the digital signature of the locally stored backup firmware file. A digital signature (also known as a public key digital signature) is a digital string that can only be generated by the sender of the message and cannot be forged by others. This digital string is also an effective proof of the authenticity of the message sent by the sender of the message. It is a method for authenticating digital information similar to an ordinary physical signature written on paper, but implemented using techniques in the field of public key cryptography. A set of digital signatures usually defines two complementary operations, one for signing and the other for verification. Digital signature is the application of asymmetric key encryption technology and digital abstract technology.
数字签名算法依靠公钥加密技术来实现的。在公钥加密技术里,每一个使用者有一对密钥:一把公钥和一把私钥。公钥可以自由发布,但私钥则秘密保存。普通的数字签名算法包括密码生成算法、标记算法和验证算法。其中还存在哈希算法的数字签名与验证,哈希函数是一种“压缩函数”,利用哈希函数可以把任意长度的输入经由散列函数算法变换成固定长度的输出,该输出的哈希值就是消息摘要,也称数字摘要。在正式的数字签名中,发送方首先对发送文件采用哈希算法,得到一个固定长度的消息摘要(Message Digest);再用自己的私钥(Secret key,SK)对消息摘要进行签名,形成发送方的数字签名。数字签名将作为队件和原文一起发送给接收方;接收方首先用发送方的公钥对数字签名进行解密得到发送方的数字摘要,然后用相同的哈希函数对原文进行哈希计算,得到一个新的消息摘要,最后将消息摘要与收到的消息摘要做比较。而基于非对称密钥加密体制的数字签名与验证中,发送方首先将原文用自己的私钥加密得到数字签名,然后将原文和数字签名一起发送给接收方。接收方用发送方的公钥对数字签名进行解密,最后与原文进行比较。由此可知,数字签名是电子商务、电子政务中应用普遍、技术成熟、可操作性强的一种电子签名方法。它采用了规范化的程序和科学化的方法,用于鉴定签名人的身份以及对一项电子数据内容的认可。使用数字签名技术能够验证文件的原文在传输过程中有无变动,确保传输电子文件的完整性、真实性和不可抵赖性。Digital signature algorithm relies on public key encryption technology to achieve. In public-key cryptography, each user has a pair of keys: a public key and a private key. The public key can be freely distributed, but the private key is kept secret. Common digital signature algorithms include password generation algorithms, marking algorithms, and verification algorithms. There are also digital signatures and verifications of the hash algorithm. The hash function is a "compression function". Using the hash function, the input of any length can be transformed into a fixed-length output through the hash function algorithm. The hash of the output The value is the message digest, also known as the numeric digest. In a formal digital signature, the sender first applies a hash algorithm to the sent file to obtain a fixed-length message digest (Message Digest); then signs the message digest with its own private key (Secret key, SK) to form a sent Party's digital signature. The digital signature will be sent to the recipient together with the original text as a queue; the recipient first decrypts the digital signature with the sender's public key to obtain the sender's digital digest, and then uses the same hash function to hash the original text to obtain A new message digest, and finally compare the message digest with the received message digest. In the digital signature and verification based on the asymmetric key encryption system, the sender first encrypts the original text with its own private key to obtain a digital signature, and then sends the original text and digital signature to the receiver. The receiver uses the sender's public key to decrypt the digital signature, and finally compares it with the original text. It can be seen that digital signature is an electronic signature method widely used in e-commerce and e-government affairs, with mature technology and strong operability. It adopts standardized procedures and scientific methods to identify the identity of the signer and to approve the content of an electronic data. The use of digital signature technology can verify whether the original text of the document has changed during the transmission process, ensuring the integrity, authenticity and non-repudiation of the transmitted electronic document.
而在具体实施例中,如果固件文件未被修改,则理论上固件文件的数字签名应与备份固件文件的数字签名相同。因此通过将固件文件的数字签名与备份固件文件的数字签名进行比较,如果二者相同,则认为固件文件未被修改,可以确认为基板管理控制器芯片故障;如果二者不同,则认为固件文件已被修改,可以确认为固件更新故障。However, in a specific embodiment, if the firmware file has not been modified, theoretically the digital signature of the firmware file should be the same as the digital signature of the backup firmware file. Therefore, by comparing the digital signature of the firmware file with the digital signature of the backup firmware file, if the two are the same, it is considered that the firmware file has not been modified, and it can be confirmed that the baseboard management controller chip is faulty; if the two are different, the firmware file is considered Has been modified and can be confirmed as a firmware update failure.
需要注意的是,在具体实施中,通过比较固件文件与备份固件文件的数字签名来进行故障定位的方式,以及上述实施例中通过比较固件文件与备份固件文件的大小来进行故障定位的方式,这两种定位方式可以选择其中一种实施,也可以同时实施,从而达到更好的故障定位效果,在本实施例中不做限制,根据具体的实施情况而定。It should be noted that, in the specific implementation, the fault location is performed by comparing the digital signatures of the firmware file and the backup firmware file, and the fault location is performed by comparing the size of the firmware file and the backup firmware file in the above embodiment, One of these two locating methods can be selected for implementation, or they can be implemented at the same time, so as to achieve a better fault locating effect, which is not limited in this embodiment and depends on specific implementation conditions.
本实施例中,通过获取基板管理控制器芯片中更新的固件文件的数字签名,并获取本地存储的备份固件文件的数字签名;判断固件文件的数字签名与备份固件文件的数字签名是否相同;若是,则确认为基板管理控制器芯片故障;若否,则确认固件文件已被修改,并确认为固件更新故障。实现了对更新的固件文件是否符合预设要求的判断,准确地进行了故障定位。In this embodiment, by obtaining the digital signature of the updated firmware file in the baseboard management controller chip, and obtaining the digital signature of the locally stored backup firmware file; judging whether the digital signature of the firmware file is the same as the digital signature of the backup firmware file; if so , it is confirmed that the baseboard management controller chip is faulty; if not, it is confirmed that the firmware file has been modified, and it is confirmed that the firmware update is faulty. The judgment of whether the updated firmware file meets the preset requirements is realized, and the fault location is accurately carried out.
为了完成基板管理控制器芯片的固件更新,在上述实施例的基础上,作为一种优选的实施例,在确认为固件更新故障之后,还包括:In order to complete the firmware update of the baseboard management controller chip, on the basis of the above-mentioned embodiments, as a preferred embodiment, after confirming that the firmware update fails, it also includes:
根据备份固件文件对基板管理控制器芯片进行固件更新。Update the firmware of the baseboard management controller chip according to the backup firmware file.
在具体实施中,当确认基板管理控制器芯片固件更新发生了固件更新故障时,为了保证基板管理控制器芯片正常的固件更新,进一步保证基板管理控制器芯片及服务器的正常运行,作为一种优选的实施例,在本实施例中,在确认基板管理控制器芯片发生固件更新故障之后,根据备份固件文件对基板管理控制器芯片进行固件更新,即利用本地存储的正确的备份固件文件对备份固件文件重新进行固件更新,从而保证基板管理控制器芯片的正常运行。In the specific implementation, when it is confirmed that the firmware update of the baseboard management controller chip has a firmware update failure, in order to ensure the normal firmware update of the baseboard management controller chip and further ensure the normal operation of the baseboard management controller chip and the server, as a preferred In this embodiment, after confirming that a firmware update failure occurs on the baseboard management controller chip, the firmware update is performed on the baseboard management controller chip according to the backup firmware file, that is, the backup firmware is updated using the correct backup firmware file stored locally. File re-updates the firmware to ensure the normal operation of the baseboard management controller chip.
本实施例中,在确认为固件更新故障之后,根据备份固件文件对基板管理控制器芯片进行固件更新。保证了基板管理控制器芯片及服务器的正常运行。In this embodiment, after the firmware update failure is confirmed, the firmware update is performed on the baseboard management controller chip according to the backup firmware file. The normal operation of the baseboard management controller chip and the server is guaranteed.
在上述实施例的基础上,作为一种优选的实施例,在根据备份固件文件对基板管理控制器芯片进行固件更新之后,还包括:On the basis of the above embodiments, as a preferred embodiment, after updating the firmware of the baseboard management controller chip according to the backup firmware file, it further includes:
断开与基板管理控制器芯片的通信连接。Disconnect the communication link with the baseboard management controller chip.
具体地,在根据备份固件文件对基板管理控制器芯片进行固件更新之后,基板管理控制器芯片正常运行,则此时不再需要对基板管理控制器芯片进行监测。此时断开与基板管理控制器芯片的通信连接,进一步节省了系统功耗,并等待下一次固件更新时的通信连接。Specifically, after the firmware update of the baseboard management controller chip is performed according to the backup firmware file, the baseboard management controller chip runs normally, and it is no longer necessary to monitor the baseboard management controller chip at this time. At this time, the communication connection with the baseboard management controller chip is disconnected, further saving the power consumption of the system, and the communication connection is waiting for the next firmware update.
在上述实施例的基础上,作为一种优选的实施例,在确认为固件更新故障之后,还包括:On the basis of the above embodiments, as a preferred embodiment, after confirming that the firmware update fails, it also includes:
生成包含固件更新故障信息的日志。Generate a log containing firmware update failure information.
在具体实施中,为了更好地记录固件更新故障的相关信息,作为一种优选的实施例,在本实施例中在确认为固件更新故障之后,生成包含固件更新故障信息的日志。以上述实施例中记载的内容为例:当检查固件文件的完整性时,将固件文件与备份固件文件进行一个大小的比对,若比对结果不一致,则认为更新的固件文件不完整,对此结果记录在日志中。当检查固件文件是否被修改过时,将固件文件与备份固件文件的数字签名进行比对,若签名不一致,则确认固件文件已被修改,对此结果记录在日志中。In a specific implementation, in order to better record relevant information of a firmware update failure, as a preferred embodiment, in this embodiment, after a firmware update failure is confirmed, a log containing firmware update failure information is generated. Take the content recorded in the above-mentioned embodiments as an example: when checking the integrity of the firmware file, compare the size of the firmware file with the backup firmware file, if the comparison results are inconsistent, it is considered that the updated firmware file is incomplete, and the This result is recorded in the log. When checking whether the firmware file has been modified, compare the digital signature of the firmware file with the backup firmware file, if the signatures are inconsistent, confirm that the firmware file has been modified, and record the result in the log.
需要注意的是,生成包含固件更新故障信息的日志,一方面能够对固件更新故障进行记录,以便于后续工作人员对故障过程进行审计;另一方面由于日志的存在,使得工作人员能够直接通过日志的内容来确定固件更新故障的具体故障原因,从而大大减少排查故障的时间,提高排查效率。It should be noted that generating a log containing firmware update failure information, on the one hand, can record the firmware update failure, so that subsequent staff can audit the failure process; on the other hand, due to the existence of the log, the staff can directly pass the log The content of the firmware to determine the specific cause of the firmware update failure, thereby greatly reducing the troubleshooting time and improving troubleshooting efficiency.
在上述实施例的基础上,作为一种优选的实施例,在确认为基板管理控制器芯片故障之后,还包括:On the basis of the above embodiments, as a preferred embodiment, after confirming that the baseboard management controller chip is faulty, it further includes:
输出基板管理控制器芯片故障的提示信息;Output the prompt information of the baseboard management controller chip failure;
生成包含基板管理控制器芯片故障信息的日志。Generates a log containing information about baseboard management controller chip failures.
在具体实施中,当确认基板管理控制器芯片发生故障时,为了提示工作人员对发生故障的基板管理控制器芯片进行更换,输出基板管理控制器芯片故障的提示信息。可以理解的是,在本实施例中提示信息的输出方式可为语音播报、指示灯告警或弹窗提示,在本实施例中对于提示信息的输出方式不做限制,根据具体的实施情况而定。In a specific implementation, when it is confirmed that the baseboard management controller chip is faulty, in order to remind the staff to replace the faulty baseboard management controller chip, a prompt message of the faulty baseboard management controller chip is output. It can be understood that in this embodiment, the output mode of the prompt information can be voice broadcast, indicator light alarm or pop-up window prompt. In this embodiment, there is no limit to the output mode of the prompt information, which depends on the specific implementation situation. .
进一步地,生成包含基板管理控制器芯片故障信息的日志,从而可以使工作人员对基板管理控制器芯片的故障情况进行评估查看,同时也可通过日志内容直接确定发生了基板管理控制器芯片故障,从而对该基板管理控制器芯片进行更换,节省了时间成本,提高了故障排查的效率。Further, a log containing the fault information of the baseboard management controller chip is generated, so that the staff can evaluate and view the fault condition of the baseboard management controller chip, and at the same time, it can be directly determined that a fault of the baseboard management controller chip has occurred through the content of the log, Therefore, the baseboard management controller chip is replaced, which saves time and cost, and improves the efficiency of troubleshooting.
在上述实施例中,对于故障定位方法进行了详细描述,本申请还提供故障定位装置对应的实施例。In the above embodiments, the fault location method is described in detail, and the present application also provides corresponding embodiments of the fault location device.
图2为本申请实施例提供的一种故障定位装置的示意图。如图2所示,故障定位装置包括:Fig. 2 is a schematic diagram of a fault location device provided by an embodiment of the present application. As shown in Figure 2, the fault location device includes:
通信模块10,用于当基板管理控制器芯片的固件更新出现故障时,建立与基板管理控制器芯片的通信连接。The communication module 10 is configured to establish a communication connection with the baseboard management controller chip when the firmware update of the baseboard management controller chip fails.
判断模块11,用于判断更新的固件文件是否符合预设要求;若是,则触发第一确认模块12,若否,则触发第二确认模块13。The judging module 11 is used for judging whether the updated firmware file meets the preset requirements; if so, trigger the first confirmation module 12 , and if not, trigger the second confirmation module 13 .
第一确认模块12,用于确认为基板管理控制器芯片故障。The first confirming module 12 is configured to confirm that the baseboard management controller chip is faulty.
第二确认模块13,用于确认为固件更新故障。The second confirming module 13 is configured to confirm that it is a firmware update failure.
作为一种优选的实施例,判断模块包括:As a preferred embodiment, the judging module includes:
文件获取模块,用于获取基板管理控制器芯片中更新的固件文件,并获取本地存储的备份固件文件;The file obtaining module is used to obtain the firmware file updated in the baseboard management controller chip, and obtain the backup firmware file stored locally;
文件大小判断模块,用于判断固件文件的文件大小与备份固件文件的文件大小是否相同;若是,则确认为基板管理控制器芯片故障;若否,则确认固件文件不完整,并确认为固件更新故障。The file size judging module is used to judge whether the file size of the firmware file is the same as the file size of the backup firmware file; if yes, it is confirmed that the baseboard management controller chip is faulty; if not, it is confirmed that the firmware file is incomplete, and it is confirmed that it is a firmware update Fault.
具体地,在本实施例中,为判断更新的固件文件是否符合预设要求,首先通过文件获取模块获取基板管理控制器芯片中更新的固件文件,并获取本地存储的备份固件文件。Specifically, in this embodiment, in order to judge whether the updated firmware file meets the preset requirements, firstly, the updated firmware file in the BMC chip is obtained through the file obtaining module, and the locally stored backup firmware file is obtained.
可以理解的是,为了获取固件文件对预设要求的满足关系,首先要获取本次更新的固件文件。在具体实施中,由于在确认基板管理控制器芯片发生固件更新故障时,已经与基板管理控制器芯片建立起了通信连接,则可直接通过通信连接从基板管理控制器芯片中获取本次更新的固件文件。同时,获取存储于本地的备份固件文件。可以理解的是,理论上基板管理控制器芯片更新的固件文件应与备份固件文件相同。It can be understood that, in order to obtain the satisfying relationship of the firmware file to the preset requirement, it is first necessary to obtain the updated firmware file. In the specific implementation, since a communication connection has been established with the BMC chip when it is confirmed that the firmware update failure occurs on the BMC chip, the update information of this update can be directly obtained from the BMC chip through the communication connection. firmware file. At the same time, obtain the backup firmware file stored locally. It can be understood that theoretically, the updated firmware file of the baseboard management controller chip should be the same as the backup firmware file.
进一步通过文件大小判断模块判断固件文件的文件大小与备份固件文件的文件大小是否相同,即对二者进行大小的比对。如果比对结果不一致,二者大小不同,则认为更新的固件文件不完整,可以确认为固件更新故障;如果比对结果一致,二者大小相同,则认为更新的固件文件完整,可以确认为基板管理控制器芯片故障。Further, the file size judging module judges whether the file size of the firmware file is the same as that of the backup firmware file, that is, compares the size of the two. If the comparison results are inconsistent and the two sizes are different, it is considered that the updated firmware file is incomplete and it can be confirmed as a firmware update failure; if the comparison results are consistent and the two sizes are the same, the updated firmware file is considered complete and can be confirmed as a substrate Management controller chip failure.
作为一种优选的实施例,判断模块包括:As a preferred embodiment, the judging module includes:
数字签名获取模块,用于获取基板管理控制器芯片中更新的固件文件的数字签名,并获取本地存储的备份固件文件的数字签名;The digital signature obtaining module is used to obtain the digital signature of the updated firmware file in the baseboard management controller chip, and obtain the digital signature of the locally stored backup firmware file;
数字签名判断模块,用于判断固件文件的数字签名与备份固件文件的数字签名是否相同;若是,则确认为基板管理控制器芯片故障;若否,则确认固件文件已被修改,并确认为固件更新故障。The digital signature judging module is used to judge whether the digital signature of the firmware file is the same as the digital signature of the backup firmware file; if yes, it is confirmed that the baseboard management controller chip is faulty; Update failure.
在上述实施例中可通过文件获取模块和文件大小判断模块来实现判断更新的固件文件是否符合预设要求。作为一种优选的实施例,在具体实施中,判断更新的固件文件是否符合预设要求,还可通过数字签名获取模块和数字签名判断模块来实现。In the above embodiment, the file acquisition module and the file size judgment module can be used to realize judging whether the updated firmware file meets the preset requirements. As a preferred embodiment, in specific implementation, judging whether the updated firmware file meets the preset requirements can also be realized by a digital signature acquisition module and a digital signature judging module.
具体地,首先通过数字签名获取模块获取基板管理控制器芯片中更新的固件文件的数字签名,并获取本地存储的备份固件文件的数字签名。数字签名(又称公钥数字签名)是只有信息的发送者才能产生的别人无法伪造的一段数字串,这段数字串同时也是对信息的发送者发送信息真实性的一个有效证明。它是一种类似写在纸上的普通的物理签名,但是在使用了公钥加密领域的技术来实现的,用于鉴别数字信息的方法。一套数字签名通常定义两种互补的运算,一个用于签名,另一个用于验证。数字签名是非对称密钥加密技术与数字摘要技术的应用。Specifically, firstly, the digital signature of the updated firmware file in the baseboard management controller chip is obtained through the digital signature obtaining module, and the digital signature of the locally stored backup firmware file is obtained. A digital signature (also known as a public key digital signature) is a digital string that can only be generated by the sender of the message and cannot be forged by others. This digital string is also an effective proof of the authenticity of the message sent by the sender of the message. It is a method for authenticating digital information similar to an ordinary physical signature written on paper, but implemented using techniques in the field of public key cryptography. A set of digital signatures usually defines two complementary operations, one for signing and the other for verification. Digital signature is the application of asymmetric key encryption technology and digital abstract technology.
而在具体实施例中,如果固件文件未被修改,则理论上固件文件的数字签名应与备份固件文件的数字签名相同。因此通过数字签名判断模块将固件文件的数字签名与备份固件文件的数字签名进行比较,如果二者相同,则认为固件文件未被修改,可以确认为基板管理控制器芯片故障;如果二者不同,则认为固件文件已被修改,可以确认为固件更新故障。However, in a specific embodiment, if the firmware file has not been modified, theoretically the digital signature of the firmware file should be the same as the digital signature of the backup firmware file. Therefore, the digital signature of the firmware file is compared with the digital signature of the backup firmware file through the digital signature judgment module. If the two are the same, it is considered that the firmware file has not been modified, and it can be confirmed that the baseboard management controller chip is faulty; if the two are different, If it is considered that the firmware file has been modified, it can be confirmed as a firmware update failure.
需要注意的是,本实施例中通过数字签名获取模块和数字签名判断模块来进行故障定位的方式,以及上述实施例中通过文件获取模块和文件大小判断模块来进行故障定位的方式,这两种定位方式可以选择其中一种实施,也可以同时实施,从而达到更好的故障定位效果,在本实施例中不做限制,根据具体的实施情况而定。It should be noted that, in this embodiment, the fault location is performed by the digital signature acquisition module and the digital signature judgment module, and in the above embodiment, the fault location is performed by the file acquisition module and the file size judgment module. One of the locating methods can be selected, or implemented at the same time, so as to achieve a better fault locating effect, which is not limited in this embodiment and depends on specific implementation conditions.
本实施例中,通过数字签名获取模块获取基板管理控制器芯片中更新的固件文件的数字签名,并获取本地存储的备份固件文件的数字签名;通过数字签名判断模块判断固件文件的数字签名与备份固件文件的数字签名是否相同;若是,则确认为基板管理控制器芯片故障;若否,则确认固件文件已被修改,并确认为固件更新故障。实现了对更新的固件文件是否符合预设要求的判断,准确地进行了故障定位。In this embodiment, the digital signature of the updated firmware file in the baseboard management controller chip is obtained by the digital signature acquisition module, and the digital signature of the locally stored backup firmware file is obtained; the digital signature of the firmware file is judged by the digital signature judgment module. Whether the digital signatures of the firmware files are the same; if yes, it is confirmed that the baseboard management controller chip is faulty; if not, it is confirmed that the firmware file has been modified, and it is confirmed that it is a firmware update fault. The judgment of whether the updated firmware file meets the preset requirements is realized, and the fault location is accurately carried out.
作为一种优选的实施例,还包括:As a preferred embodiment, it also includes:
固件更新模块,用于在确认为固件更新故障之后,根据备份固件文件对基板管理控制器芯片进行固件更新。The firmware update module is configured to update the firmware of the baseboard management controller chip according to the backup firmware file after the firmware update failure is confirmed.
在具体实施中,当确认基板管理控制器芯片固件更新发生了固件更新故障时,为了保证基板管理控制器芯片正常的固件更新,进一步保证基板管理控制器芯片及服务器的正常运行,作为一种优选的实施例,在本实施例中,利用固件更新模块在确认基板管理控制器芯片发生固件更新故障之后,根据备份固件文件对基板管理控制器芯片进行固件更新,即利用本地存储的正确的备份固件文件对备份固件文件重新进行固件更新,从而保证基板管理控制器芯片的正常运行。In the specific implementation, when it is confirmed that the firmware update of the baseboard management controller chip has a firmware update failure, in order to ensure the normal firmware update of the baseboard management controller chip and further ensure the normal operation of the baseboard management controller chip and the server, as a preferred In this embodiment, in this embodiment, after confirming that a firmware update failure occurs on the baseboard management controller chip, the firmware update module is used to update the firmware of the baseboard management controller chip according to the backup firmware file, that is, to use the correct backup firmware stored locally The backup firmware file is re-updated by the backup firmware file, so as to ensure the normal operation of the baseboard management controller chip.
作为一种优选的实施例,还包括:As a preferred embodiment, it also includes:
通信连接断开模块,用于在根据备份固件文件对基板管理控制器芯片进行固件更新之后,断开与基板管理控制器芯片的通信连接。The communication connection disconnection module is used for disconnecting the communication connection with the baseboard management controller chip after performing firmware update on the baseboard management controller chip according to the backup firmware file.
作为一种优选的实施例,还包括:As a preferred embodiment, it also includes:
第一日志生成模块,用于在确认为固件更新故障之后,生成包含固件更新故障信息的日志。The first log generation module is configured to generate a log containing firmware update failure information after the firmware update failure is confirmed.
在具体实施中,为了更好地记录固件更新故障的相关信息,作为一种优选的实施例,在本实施例中利用第一日志生成模块,能够在确认为固件更新故障之后,生成包含固件更新故障信息的日志。以上述实施例中记载的内容为例:当检查固件文件的完整性时,将固件文件与备份固件文件进行一个大小的比对,若比对结果不一致,则认为更新的固件文件不完整,利用第一日志生成模块对此结果记录在日志中。当检查固件文件是否被修改过时,将固件文件与备份固件文件的数字签名进行比对,若签名不一致,则确认固件文件已被修改,利用第一日志生成模块对此结果记录在日志中。In the specific implementation, in order to better record the relevant information of the firmware update failure, as a preferred embodiment, in this embodiment, the first log generation module can be used to generate a log containing the firmware update after the firmware update failure is confirmed. Log of failure information. Take the content recorded in the above-mentioned embodiments as an example: when checking the integrity of the firmware file, compare the size of the firmware file with the backup firmware file, if the comparison results are inconsistent, it is considered that the updated firmware file is incomplete, use The first log generating module records the result in a log. When checking whether the firmware file has been modified, compare the digital signature of the firmware file with the backup firmware file, if the signature is inconsistent, then confirm that the firmware file has been modified, and record this result in the log by the first log generation module.
需要注意的是,利用第一日志生成模块生成包含固件更新故障信息的日志,一方面能够对固件更新故障进行记录,以便于后续工作人员对故障过程进行审计;另一方面由于日志的存在,使得工作人员能够直接通过日志的内容来确定固件更新故障的具体故障原因,从而大大减少排查故障的时间,提高排查效率。It should be noted that, using the first log generating module to generate a log containing firmware update fault information, on the one hand, the firmware update fault can be recorded, so that subsequent staff can audit the fault process; on the other hand, due to the existence of the log, making The staff can directly determine the specific cause of the firmware update failure through the content of the log, thereby greatly reducing the troubleshooting time and improving the troubleshooting efficiency.
作为一种优选的实施例,还包括:As a preferred embodiment, it also includes:
提示信息输出模块,用于在确认为基板管理控制器芯片故障之后,输出基板管理控制器芯片故障的提示信息;The prompt information output module is used to output the prompt information of the baseboard management controller chip failure after it is confirmed that the baseboard management controller chip is faulty;
第二日志生成模块,用于生成包含基板管理控制器芯片故障信息的日志。The second log generation module is configured to generate a log containing fault information of the baseboard management controller chip.
本实施例中,故障定位装置包括通信模块、判断模块、第一确认模块和第二确认模块。故障定位装置在运行时能够实现上述实施例中故障定位方法的全部步骤。当基板管理控制器芯片的固件更新出现故障时,建立与基板管理控制器芯片的通信连接;判断更新的固件文件是否符合预设要求;若是,则确认为基板管理控制器芯片故障;若否,则确认为固件更新故障。由此可知,上述方案在固件更新故障时,通过固件文件对预设要求的满足关系准确地判断出了固件更新故障的原因,解决了基板管理控制器服务无法启动时快速定位基板管理控制器芯片的问题,提高了故障定位的效率,节省了时间成本,有助于测试人员对故障的尽快修复。In this embodiment, the fault location device includes a communication module, a judgment module, a first confirmation module and a second confirmation module. The fault location device can implement all the steps of the fault location method in the above-mentioned embodiments during operation. When the firmware update of the baseboard management controller chip fails, establish a communication connection with the baseboard management controller chip; determine whether the updated firmware file meets the preset requirements; if so, confirm that the baseboard management controller chip is faulty; if not, Then it is confirmed as a firmware update failure. It can be seen that, when the firmware update fails, the above solution accurately determines the cause of the firmware update failure through the satisfaction relationship between the firmware file and the preset requirements, and solves the problem of quickly locating the baseboard management controller chip when the baseboard management controller service cannot be started. It improves the efficiency of fault location, saves time and cost, and helps testers to repair the fault as soon as possible.
图3为本申请实施例提供的一种故障定位设备的示意图。如图3所示,故障定位设备包括:Fig. 3 is a schematic diagram of a fault location device provided by an embodiment of the present application. As shown in Figure 3, fault location equipment includes:
存储器20,用于存储计算机程序。The memory 20 is used for storing computer programs.
处理器21,用于执行计算机程序时实现如上述实施例中所提到的故障定位的方法的步骤。The processor 21 is configured to implement the steps of the fault location method mentioned in the above embodiments when executing the computer program.
本实施例提供的故障定位设备可以包括但不限于智能手机、平板电脑、笔记本电脑或台式电脑等。The fault location device provided in this embodiment may include, but not limited to, a smart phone, a tablet computer, a notebook computer or a desktop computer, and the like.
其中,处理器21可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器21可以采用数字信号处理器(Digital Signal Processor,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable LogicArray,PLA)中的至少一种硬件形式来实现。处理器21也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称中央处理器(CentralProcessing Unit,CPU);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器21可以在集成有图形处理器(Graphics Processing Unit,GPU),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器21还可以包括人工智能(Artificial Intelligence,AI)处理器,该AI处理器用于处理有关机器学习的计算操作。Wherein, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. Processor 21 can adopt at least one hardware form in Digital Signal Processor (Digital Signal Processor, DSP), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), Programmable Logic Array (Programmable LogicArray, PLA) accomplish. The processor 21 may also include a main processor and a coprocessor, the main processor is a processor for processing data in the wake-up state, and is also called a central processing unit (Central Processing Unit, CPU); Low-power processor for processing data in standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (Graphics Processing Unit, GPU), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, and the AI processor is used to process calculation operations related to machine learning.
存储器20可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器20还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。本实施例中,存储器20至少用于存储以下计算机程序201,其中,该计算机程序被处理器21加载并执行之后,能够实现前述任一实施例公开的故障定位方法的相关步骤。另外,存储器20所存储的资源还可以包括操作系统202和数据203等,存储方式可以是短暂存储或者永久存储。其中,操作系统202可以包括Windows、Unix、Linux等。数据203可以包括但不限于故障定位方法涉及到的数据。Memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include high-speed random access memory, and non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein, after the computer program is loaded and executed by the processor 21, the relevant steps of the fault location method disclosed in any of the foregoing embodiments can be realized. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Wherein, the operating system 202 may include Windows, Unix, Linux and so on. The data 203 may include but not limited to the data involved in the fault location method.
在一些实施例中,故障定位设备还可包括有显示屏22、输入输出接口23、通信接口24、电源25以及通信总线26。In some embodiments, the fault location device may further include a display screen 22 , an input/output interface 23 , a communication interface 24 , a power supply 25 and a communication bus 26 .
本领域技术人员可以理解,图3中示出的结构并不构成对故障定位设备的限定,可以包括比图示更多或更少的组件。Those skilled in the art can understand that the structure shown in FIG. 3 does not constitute a limitation on the fault location device, and may include more or less components than those shown in the figure.
本实施例中,故障定位设备包括存储器和处理器。存储器用于存储计算机程序。处理器用于执行计算机程序时实现如上述实施例中所提到的故障定位的方法的步骤。当基板管理控制器芯片的固件更新出现故障时,建立与基板管理控制器芯片的通信连接;判断更新的固件文件是否符合预设要求;若是,则确认为基板管理控制器芯片故障;若否,则确认为固件更新故障。由此可知,上述方案在固件更新故障时,通过固件文件对预设要求的满足关系准确地判断出了固件更新故障的原因,解决了基板管理控制器服务无法启动时快速定位基板管理控制器芯片的问题,提高了故障定位的效率,节省了时间成本,有助于测试人员对故障的尽快修复。In this embodiment, the fault location device includes a memory and a processor. Memory is used to store computer programs. When the processor is used to execute the computer program, the steps of the method for locating the fault mentioned in the above-mentioned embodiments are realized. When the firmware update of the baseboard management controller chip fails, establish a communication connection with the baseboard management controller chip; determine whether the updated firmware file meets the preset requirements; if so, confirm that the baseboard management controller chip is faulty; if not, Then it is confirmed as a firmware update failure. It can be seen that, when the firmware update fails, the above solution accurately determines the cause of the firmware update failure through the satisfaction relationship between the firmware file and the preset requirements, and solves the problem of quickly locating the baseboard management controller chip when the baseboard management controller service cannot be started. It improves the efficiency of fault location, saves time and cost, and helps testers to repair the fault as soon as possible.
最后,本申请还提供一种计算机可读存储介质对应的实施例。计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现如上述方法实施例中记载的步骤。Finally, the present application also provides an embodiment corresponding to a computer-readable storage medium. A computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the steps described in the above method embodiments are implemented.
可以理解的是,如果上述实施例中的方法以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。It can be understood that if the methods in the above embodiments are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or part of the contribution to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , executing all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other various media that can store program codes. .
本实施例中,计算机可读存储介质上存储有计算机程序,计算机程序被处理器执行时实现如上述方法实施例中记载的步骤。当基板管理控制器芯片的固件更新出现故障时,建立与基板管理控制器芯片的通信连接;判断更新的固件文件是否符合预设要求;若是,则确认为基板管理控制器芯片故障;若否,则确认为固件更新故障。由此可知,上述方案在固件更新故障时,通过固件文件对预设要求的满足关系准确地判断出了固件更新故障的原因,解决了基板管理控制器服务无法启动时快速定位基板管理控制器芯片的问题,提高了故障定位的效率,节省了时间成本,有助于测试人员对故障的尽快修复。In this embodiment, a computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps described in the foregoing method embodiments are implemented. When the firmware update of the baseboard management controller chip fails, establish a communication connection with the baseboard management controller chip; determine whether the updated firmware file meets the preset requirements; if so, confirm that the baseboard management controller chip is faulty; if not, Then it is confirmed as a firmware update failure. It can be seen that, when the firmware update fails, the above solution accurately determines the cause of the firmware update failure through the satisfaction relationship between the firmware file and the preset requirements, and solves the problem of quickly locating the baseboard management controller chip when the baseboard management controller service cannot be started. It improves the efficiency of fault location, saves time and cost, and helps testers to repair the fault as soon as possible.
为了使本领域的技术人员更好的理解本申请的技术方案,下面结合附图4对上述本申请作进一步的详细说明。图4为本申请实施例提供的故障定位方法在应用场景中的流程图。如图4所示,该方法包括:In order to enable those skilled in the art to better understand the technical solution of the present application, the above-mentioned present application will be further described in detail below in conjunction with FIG. 4 . FIG. 4 is a flow chart of the fault location method provided in the embodiment of the present application in an application scenario. As shown in Figure 4, the method includes:
S20:监测基板管理控制器固件更新。S20: Monitor firmware update of the baseboard management controller.
S21:当基板管理控制器固件更新出现故障时,建立起与基板管理控制器芯片的通信连接。S21: Establish a communication connection with the baseboard management controller chip when the update of the baseboard management controller firmware fails.
S22:检查固件文件的完整性,并生成日志。S22: Check the integrity of the firmware file and generate a log.
S23:检查固件文件是否被修改过,并生成日志。S23: Check whether the firmware file has been modified, and generate a log.
S24:当确认固件文件完整且未被修改,则判定为基板管理控制器芯片硬件故障,并生成日志。S24: When it is confirmed that the firmware file is complete and has not been modified, it is determined that the BMC chip hardware is faulty, and a log is generated.
具体地,本申请方法的应用场景可为一种计算机、存储设备或可移动计算机可读存储介质,可以直接插在服务器主板上,能够具有存储和数据处理的功能。其存储部分主要包含的基板管理控制器的备份固件和固件更新的故障信息记录日志,处理部分为计算机程序被处理器执行时实现基板管理控制器固件恢复功能。Specifically, the application scenario of the method of the present application may be a computer, a storage device, or a removable computer-readable storage medium, which may be directly inserted into a server mainboard, and capable of storage and data processing functions. The storage part mainly includes the backup firmware of the baseboard management controller and the fault information record log of the firmware update, and the processing part realizes the firmware recovery function of the baseboard management controller when the computer program is executed by the processor.
在具体实施中,在基板管理控制器进行固件更新时监测基板管理控制器固件更新。当基板管理控制器固件更新出现故障时,建立起与基板管理控制器芯片的通信连接。可以理解的是,该通信连接可为有线通信连接或无线通信连接。在建立起通信连接后,进行以下几项的检查和处理:In a specific implementation, the update of the firmware of the baseboard management controller is monitored when the baseboard management controller performs firmware update. When the firmware update of the baseboard management controller fails, a communication connection with the baseboard management controller chip is established. It can be understood that the communication connection may be a wired communication connection or a wireless communication connection. After the communication connection is established, check and deal with the following items:
首先,检查固件文件的完整性,具体获取基板管理控制器芯片本次更新的固件文件,与本地存储介质中的备份固件文件进行一个大小的比对;若比对结果不一致,则为更新的固件文件不完整,对此结果记录在本地的日志文件中。然后执行写入的基板管理控制器芯片更新指令,利用本地的备份固件文件进行基板管理控制器芯片更新启动。基板管理控制器芯片固件的故障恢复后,则断开与基板管理控制器芯片的通信连接。First, check the integrity of the firmware file, specifically obtain the updated firmware file of the baseboard management controller chip, and perform a size comparison with the backup firmware file in the local storage medium; if the comparison results are inconsistent, it is the updated firmware The file is incomplete, the result is recorded in the local log file. Then execute the written baseboard management controller chip update instruction, and use the local backup firmware file to update and start the baseboard management controller chip. After the failure of the firmware of the baseboard management controller chip is recovered, the communication connection with the baseboard management controller chip is disconnected.
进一步地,检查固件文件是否被修改过,具体获取基板管理控制器芯片本次更新的固件文件的数字签名,与本地存储的备份固件文件的数字签名进行比对;若签名不一致,则固件文件已被修改,对此结果记录在本地的日志文件中。然后执行写入的基板管理控制器芯片更新指令,利用本地的备份固件文件进行基板管理控制器芯片更新启动。基板管理控制器芯片固件的故障恢复后,则断开与基板管理控制器芯片的通信连接。Further, check whether the firmware file has been modified, specifically obtain the digital signature of the updated firmware file of the baseboard management controller chip, and compare it with the digital signature of the locally stored backup firmware file; if the signatures are inconsistent, the firmware file has been modified. is modified, the result is recorded in the local log file. Then execute the written baseboard management controller chip update instruction, and use the local backup firmware file to update and start the baseboard management controller chip. After the failure of the firmware of the baseboard management controller chip is recovered, the communication connection with the baseboard management controller chip is disconnected.
以上能够实现对固件更新故障的判断,而如果检查的固件文件完整且没有被修改过,则判定为基板管理控制器芯片的硬件故障,将该结果记录在本地的日志文件中。以此,用户可以直接通过检测结果,或通过查看记录的日志文件,从而确定基板管理控制器芯片更新故障的原因。这样可以大大减少排查故障的时间,提高效率。The above can realize the judgment of the firmware update failure, and if the checked firmware file is complete and has not been modified, it is judged to be a hardware failure of the baseboard management controller chip, and the result is recorded in the local log file. In this way, the user can determine the cause of the update failure of the baseboard management controller chip directly through the detection result or by viewing the recorded log file. This can greatly reduce the troubleshooting time and improve efficiency.
以上对本申请所提供的一种故障定位方法、装置、设备及介质进行了详细介绍。说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的装置而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的保护范围内。A fault location method, device, equipment, and medium provided by the present application have been introduced in detail above. Each embodiment in the description is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment 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 for relevant details, please refer to the description of the method part. It should be pointed out that those skilled in the art can make some improvements and modifications to the application without departing from the principles of the application, and these improvements and modifications also fall within the protection scope of the claims of the application.
还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in this specification, relative terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations There is no such actual relationship or order between the operations. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements of or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or apparatus comprising said element.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310276366.0A CN116450391A (en) | 2023-03-17 | 2023-03-17 | Fault positioning method, device, equipment and medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310276366.0A CN116450391A (en) | 2023-03-17 | 2023-03-17 | Fault positioning method, device, equipment and medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116450391A true CN116450391A (en) | 2023-07-18 |
Family
ID=87131206
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310276366.0A Pending CN116450391A (en) | 2023-03-17 | 2023-03-17 | Fault positioning method, device, equipment and medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116450391A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117806857A (en) * | 2023-07-28 | 2024-04-02 | 苏州浪潮智能科技有限公司 | Fault location information generation method, device, electronic equipment and storage medium |
-
2023
- 2023-03-17 CN CN202310276366.0A patent/CN116450391A/en active Pending
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117806857A (en) * | 2023-07-28 | 2024-04-02 | 苏州浪潮智能科技有限公司 | Fault location information generation method, device, electronic equipment and storage medium |
| CN117806857B (en) * | 2023-07-28 | 2024-05-14 | 苏州浪潮智能科技有限公司 | Fault location information generation method, device, electronic device and storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108629206B (en) | A security encryption method, encryption machine and terminal device | |
| CN111538517A (en) | Server firmware upgrading method and system, electronic equipment and storage medium | |
| CN102571347A (en) | Method and device for checking field replaceable unit, and communication equipment | |
| CN116450391A (en) | Fault positioning method, device, equipment and medium | |
| CN105007269B (en) | A kind of restoration methods of user cipher | |
| CN116339780A (en) | Firmware upgrading method and electronic equipment | |
| CN119853922B (en) | Interface verification method, device, computer equipment and storage medium | |
| CN120353489A (en) | Firmware updating method, device and storage medium | |
| CN112825093B (en) | Security baseline checking method, host, server, electronic device and storage medium | |
| CN119227079A (en) | Method, device, equipment and medium for verifying CPU startup image encapsulation file | |
| TWI854475B (en) | SDK repair method, device, terminal, equipment, system and medium | |
| CN111427607A (en) | Configuration file repair method, device and computer-readable storage medium | |
| CN118626110A (en) | A firmware upgrade system, method and related equipment | |
| CN114584328B (en) | API interface access method, computer device and computer storage medium | |
| CN116374764A (en) | Elevator safety debugging method and system | |
| CN116501340A (en) | Method and system for constructing release system of embedded system | |
| CN115904516A (en) | Root-of-Trust Baseboard Management Controller Startup Method and Related Components | |
| CN115883416A (en) | Service terminal monitoring method, system and readable storage medium | |
| CN115437868A (en) | A BIOS EDPC function testing method, system, device and storage medium | |
| CN115390872A (en) | Method, system, electronic device and storage medium for updating device configuration parameters | |
| CN115586983A (en) | Server fault recovery method, device, equipment and storage medium | |
| CN108446219B (en) | Operating methods, systems, media, and computing devices for applications | |
| CN118646595B (en) | Method, equipment and storage medium for repairing server to avoid secret mutual trust | |
| CN115632781B (en) | Encryption algorithm compliance detection method, device, electronic device and storage medium | |
| CN118627076B (en) | A security verification method for BIOS firmware and a server |
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 |