CN115185734A - Firmware abnormity diagnosis method and device based on interruption, computer equipment and storage medium - Google Patents
Firmware abnormity diagnosis method and device based on interruption, computer equipment and storage medium Download PDFInfo
- Publication number
- CN115185734A CN115185734A CN202210880287.6A CN202210880287A CN115185734A CN 115185734 A CN115185734 A CN 115185734A CN 202210880287 A CN202210880287 A CN 202210880287A CN 115185734 A CN115185734 A CN 115185734A
- Authority
- CN
- China
- Prior art keywords
- firmware
- interrupt
- running
- unit
- enters
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/0706—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 the processing taking place on a specific hardware platform or in a specific software environment
- G06F11/0721—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 the processing taking place on a specific hardware platform or in a specific software environment within a central processing unit [CPU]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4812—Task transfer initiation or dispatching by interrupt, e.g. masked
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
技术领域technical field
本发明涉及固件异常诊断技术领域,尤其是指基于中断的固件异常诊断方法、装置、计算机设备及存储介质。The present invention relates to the technical field of firmware abnormality diagnosis, in particular to an interrupt-based firmware abnormality diagnosis method, device, computer equipment and storage medium.
背景技术Background technique
在没有调试器的情况,固件的逻辑异常通常难以分析和定位。例如,由于固件设计的缺陷,在某种命令序列触发下,固件进入到了一种死循环状态,此时CPU无法回应外部请求,无法获取进一步的诊断信息。Without a debugger, logic exceptions in firmware are often difficult to analyze and locate. For example, due to a flaw in the firmware design, triggered by a certain command sequence, the firmware enters an infinite loop state. At this time, the CPU cannot respond to external requests and cannot obtain further diagnostic information.
发明内容SUMMARY OF THE INVENTION
本发明的目的在于克服现有技术的不足,提供基于中断的固件异常诊断方法、装置、计算机设备及存储介质。The purpose of the present invention is to overcome the deficiencies of the prior art, and to provide an interrupt-based firmware abnormality diagnosis method, device, computer equipment and storage medium.
为了解决上述技术问题,本发明采用如下技术方案:In order to solve the above-mentioned technical problems, the present invention adopts the following technical solutions:
第一方面,本实施例提供了一种基于中断的固件异常诊断方法,包括以下步骤:In a first aspect, this embodiment provides an interrupt-based firmware abnormality diagnosis method, including the following steps:
运行固件;run firmware;
判断运行固件是否进入死循环状态;Determine whether the running firmware has entered an infinite loop state;
若运行固件进入死循环状态,则触发外部中断,以使CPU进入中断模式;If the running firmware enters an infinite loop state, an external interrupt is triggered to make the CPU enter the interrupt mode;
根据中断模式,转储用户调用栈;Dump the user call stack according to the interrupt mode;
根据调用栈,分析调用路径,以得到分析结果。According to the call stack, analyze the call path to obtain the analysis result.
其进一步技术方案为:所述判断运行固件是否进入死循环状态步骤之后,还包括:若运行固件未进入死循环状态,则跳转执行所述运行固件。A further technical solution thereof is: after the step of judging whether the running firmware enters an infinite loop state, the step further includes: if the running firmware does not enter the infinite loop state, jumping to execute the running firmware.
其进一步技术方案为:所述触发外部中断,以使CPU进入中断模式步骤中,通过拉低或拉高GPIO,或通过其他CPU发送IPC信息触发外部中断。Its further technical solution is: the external interrupt is triggered, so that the CPU enters the interrupt mode step, and the external interrupt is triggered by pulling down or pulling up the GPIO, or sending IPC information through other CPUs.
其进一步技术方案为:所述根据调用栈,分析调用路径,以得到分析结果步骤之后,还包括:根据分析结果,解析固件进入死循环的原因。A further technical solution thereof is: after the step of analyzing the calling path according to the calling stack to obtain the analysis result, the method further includes: analyzing the reason why the firmware enters an infinite loop according to the analysis result.
第二方面,本实施例提供了一种基于中断的固件异常诊断装置,包括:运行单元,判断单元,触发进入单元,调用单元及分析单元;In a second aspect, this embodiment provides an interrupt-based firmware abnormality diagnosis device, including: a running unit, a judging unit, a trigger entry unit, a calling unit, and an analyzing unit;
所述运行单元,用于运行固件;the running unit for running firmware;
所述判断单元,用于判断运行固件是否进入死循环状态;The judging unit is used to judge whether the running firmware enters an infinite loop state;
所述触发进入单元,用于若运行固件进入死循环状态,则触发外部中断,以使CPU进入中断模式;The trigger entry unit is used to trigger an external interrupt if the running firmware enters an infinite loop state, so that the CPU enters the interrupt mode;
所述调用单元,用于根据中断模式,转储用户调用栈;The calling unit is used to dump the user call stack according to the interrupt mode;
所述分析单元,用于根据调用栈,分析调用路径,以得到分析结果。The analysis unit is configured to analyze the call path according to the call stack to obtain the analysis result.
其进一步技术方案为:还包括:跳转单元,用于若运行固件未进入死循环状态,则跳转执行所述运行固件。Its further technical solution is as follows: it further includes: a jumping unit for jumping to execute the running firmware if the running firmware does not enter an infinite loop state.
其进一步技术方案为:所述触发进入单元中,通过拉低或拉高GPIO,或通过其他CPU发送IPC信息触发外部中断。Its further technical solution is: the trigger enters the unit, and the external interrupt is triggered by pulling down or pulling up the GPIO, or sending IPC information through other CPUs.
其进一步技术方案为:还包括:解析单元,用于根据分析结果,解析固件进入死循环的原因。The further technical solution is as follows: further comprising: an analysis unit for analyzing the reason why the firmware enters an infinite loop according to the analysis result.
第三方面,本实施例提供了一种计算机设备,所述计算机设备包括存储器及处理器,所述存储器上存储有计算机程序,所述处理器执行所述计算机程序时实现如上述所述的基于中断的固件异常诊断方法。In a third aspect, this embodiment provides a computer device, the computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the above-mentioned based on the computer program when the processor executes the computer program. Interrupted firmware exception diagnostic method.
第四方面,本实施例提供了一种存储介质,所述存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时可实现如上述所述的基于中断的固件异常诊断方法。In a fourth aspect, this embodiment provides a storage medium, where the storage medium stores a computer program, the computer program includes program instructions, and the program instructions, when executed by a processor, can implement the above-mentioned interrupt-based firmware exception diagnosis method.
本发明与现有技术相比的有益效果是:通过触发中断,在中断模式中转储用户调用栈,从而分析得到固件的调用路径及传递的参数,找出固件设计缺陷。Compared with the prior art, the present invention has the beneficial effects that: by triggering an interrupt, the user call stack is dumped in the interrupt mode, thereby analyzing the calling path of the firmware and the transferred parameters, and finding out the firmware design defect.
下面结合附图和具体实施例对本发明作进一步描述。The present invention will be further described below with reference to the accompanying drawings and specific embodiments.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present invention. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1为本发明实施例提供的基于中断的固件异常诊断方法的流程示意图;1 is a schematic flowchart of an interrupt-based firmware abnormality diagnosis method provided by an embodiment of the present invention;
图2为本发明实施例提供的基于中断的固件异常诊断装置的示意性框图;2 is a schematic block diagram of an interrupt-based firmware abnormality diagnosis apparatus provided by an embodiment of the present invention;
图3为本发明实施例提供的计算机设备的示意性框图。FIG. 3 is a schematic block diagram of a computer device according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
应当理解,当在本说明书和所附权利要求书中使用时,术语“包括”和“包含”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。It is to be understood that, when used in this specification and the appended claims, the terms "comprising" and "comprising" indicate the presence of the described features, integers, steps, operations, elements and/or components, but do not exclude one or The presence or addition of a number of other features, integers, steps, operations, elements, components, and/or sets thereof.
还应当理解,在此本发明说明书中所使用的术语仅仅是出于描述特定实施例的目的而并不意在限制本发明。如在本发明说明书和所附权利要求书中所使用的那样,除非上下文清楚地指明其它情况,否则单数形式的“一”、“一个”及“该”意在包括复数形式。It is also to be understood that the terminology used in this specification of the present invention is for the purpose of describing particular embodiments only and is not intended to limit the present invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural unless the context clearly dictates otherwise.
还应当进一步理解,在本发明说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。It should further be understood that, as used in this specification and the appended claims, the term "and/or" refers to and including any and all possible combinations of one or more of the associated listed items .
请参阅图1所示的具体实施例,本发明公开了一种基于中断的固件异常诊断方法,包括以下步骤:Referring to the specific embodiment shown in FIG. 1 , the present invention discloses a method for diagnosing abnormality of firmware based on interrupt, comprising the following steps:
S1,运行固件;S1, run the firmware;
具体地,固件为SSD固件。运行固件,使能CPU的GPIO中断和IPC中断。Specifically, the firmware is SSD firmware. Run the firmware to enable the CPU's GPIO interrupts and IPC interrupts.
S2,判断运行固件是否进入死循环状态;S2, determine whether the running firmware enters an infinite loop state;
具体地,通过判断固件是否响应外部请求来区别运行固件是否进入死循环状态。Specifically, whether the running firmware enters an infinite loop state is distinguished by judging whether the firmware responds to an external request.
具体地,在S2步骤之后,还包括:若运行固件未进入死循环状态,则跳转执行S1步骤。Specifically, after step S2, the method further includes: if the running firmware does not enter an infinite loop state, jumping to execute step S1.
具体地,死循环状态为不再回应外部请求。Specifically, the infinite loop state is no longer responding to external requests.
S3,若运行固件进入死循环状态,则触发外部中断,以使CPU进入中断模式;S3, if the running firmware enters an infinite loop state, an external interrupt is triggered to make the CPU enter the interrupt mode;
具体地,在S3步骤中,通过拉低或拉高GPIO(General Purpose Input/OutputPort,通用输入输出端口)或通过其他CPU发送IPC(inter-processor communication核间通讯模块)信息触发外部中断。Specifically, in step S3, the external interrupt is triggered by pulling low or high GPIO (General Purpose Input/OutputPort, general input and output port) or sending IPC (inter-processor communication module) information through other CPUs.
S4,根据中断模式,转储用户调用栈;S4, according to the interrupt mode, dump the user call stack;
具体地,进入中断模式后,获取user mode(用户模式)堆栈指针和堆栈内容,并通过串口打印保存。Specifically, after entering the interrupt mode, obtain the user mode (user mode) stack pointer and stack content, and print and save them through the serial port.
S5,根据调用栈,分析调用路径,以得到分析结果。S5, analyze the call path according to the call stack to obtain the analysis result.
具体地,根据用户模式的堆栈指针和堆栈内容,分析得到固件调用路径及传递的参数,为固件异常诊断提供帮助,找出固件设计缺陷。Specifically, according to the stack pointer and stack content of the user mode, the firmware calling path and the passed parameters are analyzed and obtained, which provides help for firmware abnormal diagnosis and finds firmware design defects.
具体地,在S5步骤之后,还包括:根据分析结果,解析固件进入死循环的原因。例如:由于固件设计的缺陷,在某种命令序列触发下,固件进入到了一种死循环状态。Specifically, after step S5, the method further includes: analyzing the reason why the firmware enters an infinite loop according to the analysis result. For example, due to a flaw in the firmware design, the firmware enters an infinite loop state triggered by a certain command sequence.
本发明通过触发中断,在中断模式中转储用户调用栈,从而分析得到固件的调用路径及传递的参数,找出固件设计缺陷。The invention dumps the user call stack in the interrupt mode by triggering the interrupt, thereby analyzing the calling path of the firmware and the transmitted parameters, and finding out the design defect of the firmware.
请参阅图2所示,本发明还公开了一种基于中断的固件异常诊断装置,包括:运行单元10,判断单元20,触发进入单元30,调用单元40及分析单元50;Referring to FIG. 2 , the present invention also discloses an interrupt-based firmware abnormality diagnosis device, comprising: a running
所述运行单元10,用于运行固件;the running
所述判断单元20,用于判断运行固件是否进入死循环状态;The judging
所述触发进入单元30,用于若运行固件进入死循环状态,则触发外部中断,以使CPU进入中断模式;The
所述调用单元40,用于根据中断模式,转储用户调用栈;The calling
所述分析单元50,用于根据调用栈,分析调用路径,以得到分析结果。The
其中,该装置还包括:跳转单元,用于若运行固件未进入死循环状态,则跳转执行所述运行固件。Wherein, the device further includes: a jumping unit, configured to jump to execute the running firmware if the running firmware does not enter an infinite loop state.
其中,所述触发进入单元30中,通过拉低或拉高GPIO,或通过其他CPU发送IPC信息触发外部中断。Wherein, the trigger enters the
其中,该装置还包括:解析单元,用于根据分析结果,解析固件进入死循环的原因。Wherein, the device further includes: an analysis unit, configured to analyze the reason why the firmware enters an infinite loop according to the analysis result.
需要说明的是,所属领域的技术人员可以清楚地了解到,上述基于中断的固件异常诊断装置和各单元的具体实现过程,可以参考前述方法实施例中的相应描述,为了描述的方便和简洁,在此不再赘述。It should be noted that those skilled in the art can clearly understand that, for the specific implementation process of the above-mentioned interrupt-based firmware abnormality diagnosis device and each unit, reference may be made to the corresponding descriptions in the foregoing method embodiments. For the convenience and brevity of the description, It is not repeated here.
上述基于中断的固件异常诊断装置可以实现为一种计算机程序的形式,该计算机程序可以在如图3所示的计算机设备上运行。The above-mentioned interrupt-based firmware abnormality diagnosis apparatus can be implemented in the form of a computer program, and the computer program can be executed on a computer device as shown in FIG. 3 .
请参阅图3,图3是本申请实施例提供的一种计算机设备的示意性框图;该计算机设备500可以是终端,也可以是服务器,其中,终端可以是智能手机、平板电脑、笔记本电脑、台式电脑、个人数字助理和穿戴式设备等具有通信功能的电子设备。服务器可以是独立的服务器,也可以是多个服务器组成的服务器集群。Please refer to FIG. 3, which is a schematic block diagram of a computer device provided by an embodiment of the present application; the
参阅图3,该计算机设备500包括通过系统总线501连接的处理器502、存储器和网络接口505,其中,存储器可以包括非易失性存储介质503和内存储器504。Referring to FIG. 3 , the
该非易失性存储介质503可存储操作系统5031和计算机程序5032。该计算机程序5032包括程序指令,该程序指令被执行时,可使得处理器502执行一种基于中断的固件异常诊断方法。The
该处理器502用于提供计算和控制能力,以支撑整个计算机设备500的运行。The
该内存储器504为非易失性存储介质503中的计算机程序5032的运行提供环境,该计算机程序5032被处理器502执行时,可使得处理器502执行一种基于中断的固件异常诊断方法。The
该网络接口505用于与其它设备进行网络通信。本领域技术人员可以理解,图3中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备500的限定,具体的计算机设备500可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。The
其中,所述处理器502用于运行存储在存储器中的计算机程序5032,以实现如下步骤:Wherein, the
步骤S1,运行固件;Step S1, run the firmware;
步骤S2,判断运行固件是否进入死循环状态;Step S2, judging whether the running firmware enters an infinite loop state;
步骤S3,若运行固件进入死循环状态,则触发外部中断,以使CPU进入中断模式;In step S3, if the running firmware enters an infinite loop state, an external interrupt is triggered, so that the CPU enters the interrupt mode;
步骤S4,根据中断模式,转储用户调用栈;Step S4, according to the interrupt mode, dump the user call stack;
步骤S5,根据调用栈,分析调用路径,以得到分析结果。Step S5, analyze the call path according to the call stack to obtain the analysis result.
应当理解,在本申请实施例中,处理器502可以是中央处理单元(CentralProcessing Unit,CPU),该处理器502还可以是其他通用处理器、数字信号处理器(DigitalSignal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Fiel-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。其中,通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in this embodiment of the present application, the
本领域普通技术人员可以理解的是实现上述实施例的方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成。该计算机程序包括程序指令,计算机程序可存储于一存储介质中,该存储介质为计算机可读存储介质。该程序指令被该计算机系统中的至少一个处理器执行,以实现上述方法的实施例的流程步骤。It can be understood by those skilled in the art that all or part of the processes in the methods for implementing the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program includes program instructions, and the computer program can be stored in a storage medium, and the storage medium is a computer-readable storage medium. The program instructions are executed by at least one processor in the computer system to implement the flow steps of the above-described method embodiments.
因此,本发明还提供一种存储介质。该存储介质可以为计算机可读存储介质。该存储介质存储有计算机程序,其中计算机程序包括程序指令,所述程序指令当被处理器执行时可实现上述的基于中断的固件异常诊断方法。该存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时可实现上述的方法。该程序指令包括以下步骤:Therefore, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program, wherein the computer program includes program instructions, the program instructions can implement the above interrupt-based firmware abnormality diagnosis method when executed by the processor. The storage medium stores a computer program, and the computer program includes program instructions that, when executed by a processor, can implement the above-mentioned method. The program instructions include the following steps:
步骤S1,运行固件;Step S1, run the firmware;
步骤S2,判断运行固件是否进入死循环状态;Step S2, judging whether the running firmware enters an infinite loop state;
步骤S3,若运行固件进入死循环状态,则触发外部中断,以使CPU进入中断模式;In step S3, if the running firmware enters an infinite loop state, an external interrupt is triggered, so that the CPU enters the interrupt mode;
步骤S4,根据中断模式,转储用户调用栈;Step S4, according to the interrupt mode, dump the user call stack;
步骤S5,根据调用栈,分析调用路径,以得到分析结果。Step S5, analyze the call path according to the call stack to obtain the analysis result.
所述存储介质可以是U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的计算机可读存储介质。The storage medium may be various computer-readable storage media that can store program codes, such as a U disk, a removable hard disk, a read-only memory (Read-Only Memory, ROM), a magnetic disk, or an optical disk.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、计算机软件或者二者的结合来实现,为了清楚地说明硬件和软件的可互换性,在上述说明中已经按照功能一般性地描述了各示例的组成及步骤。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. Interchangeability, the above description has generally described the components and steps of each example in terms of function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of the present invention.
在本发明所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的。例如,各个单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative. For example, the division of each unit is only a logical function division, and other division methods may be used in actual implementation. For example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
本发明实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。本发明实施例装置中的单元可以根据实际需要进行合并、划分和删减。另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。The steps in the method of the embodiment of the present invention may be adjusted, combined and deleted in sequence according to actual needs. Units in the apparatus of the embodiment of the present invention may be combined, divided, and deleted according to actual needs. In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
该集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,终端,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention is essentially or a part that contributes 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 , including several instructions for causing a computer device (which may be a personal computer, a terminal, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention.
上述实施例为本发明较佳的实现方案,除此之外,本发明还可以其它方式实现,在不脱离本技术方案构思的前提下任何显而易见的替换均在本发明的保护范围之内。The above-mentioned embodiment is a preferred implementation scheme of the present invention. In addition, the present invention can also be implemented in other ways, and any obvious replacements are within the protection scope of the present invention without departing from the concept of the technical solution.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210880287.6A CN115185734A (en) | 2022-07-25 | 2022-07-25 | Firmware abnormity diagnosis method and device based on interruption, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210880287.6A CN115185734A (en) | 2022-07-25 | 2022-07-25 | Firmware abnormity diagnosis method and device based on interruption, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115185734A true CN115185734A (en) | 2022-10-14 |
Family
ID=83520386
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210880287.6A Pending CN115185734A (en) | 2022-07-25 | 2022-07-25 | Firmware abnormity diagnosis method and device based on interruption, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115185734A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115495275A (en) * | 2022-11-16 | 2022-12-20 | 合肥康芯威存储技术有限公司 | Storage system and control method thereof |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014161373A1 (en) * | 2013-04-01 | 2014-10-09 | 中兴通讯股份有限公司 | System fault detection and processing method, device, and computer readable storage medium |
WO2015039598A1 (en) * | 2013-09-17 | 2015-03-26 | 华为技术有限公司 | Fault locating method and device |
CN110928778A (en) * | 2019-11-19 | 2020-03-27 | 百富计算机技术(深圳)有限公司 | Infinite loop positioning method, device, computer equipment and storage medium |
CN113342431A (en) * | 2021-06-29 | 2021-09-03 | 苏州科达科技股份有限公司 | Function call stack backtracking and program exception handling method, device, equipment and medium |
-
2022
- 2022-07-25 CN CN202210880287.6A patent/CN115185734A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014161373A1 (en) * | 2013-04-01 | 2014-10-09 | 中兴通讯股份有限公司 | System fault detection and processing method, device, and computer readable storage medium |
WO2015039598A1 (en) * | 2013-09-17 | 2015-03-26 | 华为技术有限公司 | Fault locating method and device |
CN110928778A (en) * | 2019-11-19 | 2020-03-27 | 百富计算机技术(深圳)有限公司 | Infinite loop positioning method, device, computer equipment and storage medium |
CN113342431A (en) * | 2021-06-29 | 2021-09-03 | 苏州科达科技股份有限公司 | Function call stack backtracking and program exception handling method, device, equipment and medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115495275A (en) * | 2022-11-16 | 2022-12-20 | 合肥康芯威存储技术有限公司 | Storage system and control method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5925803B2 (en) | Predict, diagnose, and recover from application failures based on resource access patterns | |
WO2020134634A1 (en) | Program debugging method, program debugging apparatus, terminal device, and storage medium | |
CN110262918B (en) | Process crash analysis method and device, distributed device and storage medium | |
CN111708655A (en) | Application crash processing method, device and system | |
US20120102462A1 (en) | Parallel test execution | |
US8752027B2 (en) | Injecting faults into program for testing software | |
CN107145782A (en) | A method for identifying abnormal application programs, a mobile terminal and a server | |
WO2019134223A1 (en) | Log generation method and apparatus, computer device and storage medium | |
CN115934389A (en) | System and method for error reporting and handling | |
CN114003416B (en) | Memory error dynamic processing method, system, terminal and storage medium | |
CN106021054A (en) | Method and apparatus for testing upgrading and downgrading stability of BMC | |
CN111522725A (en) | SSD performance automatic evaluation method, device, equipment and medium | |
CN111949460A (en) | Method and device for testing D3-supported characteristic of solid state disk, computer equipment and storage medium | |
CN108491213A (en) | Software continuous integration method, software continuous integration device and electronic equipment | |
CN115185734A (en) | Firmware abnormity diagnosis method and device based on interruption, computer equipment and storage medium | |
CN110727537A (en) | Method and device for uniformly processing response message, computer equipment and storage medium | |
CN118409751B (en) | AI accelerator card calculation error automatic analysis method, system, device and equipment | |
CN113742113A (en) | Embedded system health management method, equipment and storage medium | |
CN116414632A (en) | System-on-chip fault location method, system-on-chip, device and storage medium | |
CN116521496A (en) | Method, system, computer device and storage medium for verifying server performance | |
CN115576734A (en) | Multi-core heterogeneous log storage method and system | |
CN115656788A (en) | Chip testing system, method, equipment and storage medium | |
CN114968818A (en) | Automated test management method, device, terminal device and storage medium | |
CN114785676A (en) | Method, device and equipment for extracting log and storage medium | |
CN114328090A (en) | A program monitoring method, device, electronic device and storage medium |
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 |