CN113064095A - A kind of electronic equipment fault detection method, device and electronic equipment - Google Patents

A kind of electronic equipment fault detection method, device and electronic equipment Download PDF

Info

Publication number
CN113064095A
CN113064095A CN202110231378.2A CN202110231378A CN113064095A CN 113064095 A CN113064095 A CN 113064095A CN 202110231378 A CN202110231378 A CN 202110231378A CN 113064095 A CN113064095 A CN 113064095A
Authority
CN
China
Prior art keywords
power supply
signal
detected
abnormal
abnormal power
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
Application number
CN202110231378.2A
Other languages
Chinese (zh)
Inventor
胡浩
杨勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Baoxinchuang Information Technology Co ltd
Original Assignee
Shenzhen Baoxinchuang Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Baoxinchuang Technology Co Ltd filed Critical Shenzhen Baoxinchuang Technology Co Ltd
Priority to CN202110231378.2A priority Critical patent/CN113064095A/en
Publication of CN113064095A publication Critical patent/CN113064095A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/40Testing power supplies

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

本发明涉及检测领域,公开了一种电子设备故障检测方法、装置和电子设备。方法包括:发送使能信号给至少一个电源;判断是否检测到电源的PG信号,如果没有检测到电源的PG信号,则确定电源为异常电源;记录异常电源的状态并对异常电源进行编号,通过上述方式,当电源出现异常时,电子设备会保留故障记录,从而便于后续维修人员找到相关电源进行故障排除。

Figure 202110231378

The invention relates to the field of detection, and discloses a fault detection method, device and electronic device for electronic equipment. The method includes: sending an enable signal to at least one power supply; judging whether the PG signal of the power supply is detected, and if the PG signal of the power supply is not detected, then determining that the power supply is an abnormal power supply; recording the state of the abnormal power supply and numbering the abnormal power supply, through the In the above-mentioned manner, when the power supply is abnormal, the electronic device will keep a fault record, so as to facilitate subsequent maintenance personnel to find the relevant power supply for troubleshooting.

Figure 202110231378

Description

一种电子设备故障检测方法、装置和电子设备A kind of electronic equipment fault detection method, device and electronic equipment

技术领域technical field

本发明涉及检测领域,特别是涉及一种电子设备故障检测方法、装置和电子设备。The present invention relates to the field of detection, in particular to a method, device and electronic device for fault detection of electronic equipment.

背景技术Background technique

随着社会的发展,电子设备在生活中的应用越来越为广泛,其结构也越来越复杂,因为电子设备有较高的自动化程度,因此电子设备一旦发生故障,无论故障大小都会导致设备无法正常运行。With the development of society, the application of electronic equipment in life is more and more extensive, and its structure is more and more complex, because electronic equipment has a high degree of automation, so once electronic equipment fails, no matter the size of the fault will lead to equipment failure. not functioning properly.

国产电子设备一般都是由嵌入式控制器控制其上电,当电子设备出现故障时,嵌入式控制器会自动关机,且不会有任何提示,从而导致售后维修困难。The power-on of domestic electronic equipment is generally controlled by the embedded controller. When the electronic equipment fails, the embedded controller will automatically shut down without any prompts, which makes after-sales maintenance difficult.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供了一种电子设备故障检测方法、装置和电子设备,能够方便售后维修。Embodiments of the present invention provide a method, device and electronic device for fault detection of electronic equipment, which can facilitate after-sales maintenance.

第一方面,本发明实施例提供了一种电子设备故障检测方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a fault detection method for an electronic device, the method comprising:

发送使能信号给至少一个电源;Send an enable signal to at least one power supply;

判断是否检测到所述电源的PG信号,如果没有检测到所述电源的PG信号,则确定所述电源为异常电源;Determine whether the PG signal of the power supply is detected, and if the PG signal of the power supply is not detected, then determine that the power supply is an abnormal power supply;

记录所述异常电源的状态并对所述异常电源进行编号。The status of the abnormal power supply is recorded and the abnormal power supply is numbered.

在一些实施例中,所述判断是否检测到所述电源的PG信号,如果没有检测到所述电源的PG信号,则确定所述电源为异常电源,包括:In some embodiments, the judging whether the PG signal of the power supply is detected, and if the PG signal of the power supply is not detected, determining that the power supply is an abnormal power supply, including:

判断在预设时长内是否检测到所述电源的PG信号,如果在预设时长内没有检测到所述电源的PG信号,则确定所述电源为异常电源。It is determined whether the PG signal of the power supply is detected within a preset time period, and if the PG signal of the power supply is not detected within the preset time period, it is determined that the power supply is an abnormal power supply.

在一些实施例中,所述方法还包括:In some embodiments, the method further includes:

如果在预设时长内检测到所述电源的PG信号,则确定所述电源为正常电源。If the PG signal of the power supply is detected within a preset time period, it is determined that the power supply is a normal power supply.

在一些实施例中,所述方法还包括:In some embodiments, the method further includes:

输出所述异常电源的信息。Information about the abnormal power supply is output.

在一些实施例中,所述输出所述异常电源的信息,包括:In some embodiments, the outputting the information of the abnormal power supply includes:

通过串口输出所述异常电源的电源名和所述编号。Output the power supply name and the serial number of the abnormal power supply through the serial port.

第二方面,本发明实施例还提供了一种电子设备故障检测装置,所述装置包括:In a second aspect, an embodiment of the present invention further provides an electronic equipment fault detection device, the device comprising:

发送模块,用于发送使能信号给至少一个电源;a sending module for sending an enable signal to at least one power supply;

判断模块,用于判断是否检测到所述电源的PG信号,如果没有检测到所述电源的PG信号,则确定所述电源为异常电源;A judging module for judging whether the PG signal of the power supply is detected, and if the PG signal of the power supply is not detected, then determining that the power supply is an abnormal power supply;

记录模块,用于记录所述异常电源的状态并对所述异常电源进行编号。The recording module is used for recording the state of the abnormal power supply and numbering the abnormal power supply.

在一些实施例中,所述判断模块具体用于:In some embodiments, the judging module is specifically used for:

判断在预设时长内是否检测到所述电源的PG信号,如果在预设时长内没有检测到所述电源的PG信号,则确定所述电源为异常电源。It is determined whether the PG signal of the power supply is detected within a preset time period, and if the PG signal of the power supply is not detected within the preset time period, it is determined that the power supply is an abnormal power supply.

在一些实施例中,所述装置还包括:In some embodiments, the apparatus further includes:

输出模块,用于输出所述异常电源的信息。The output module is used for outputting the information of the abnormal power supply.

第三方面,本发明实施例还提供了一种电子设备,包括:In a third aspect, an embodiment of the present invention also provides an electronic device, including:

至少一个处理器;以及,at least one processor; and,

与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,

所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行上述电子设备故障检测方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the above-described electronic device failure detection method.

第四方面,本发明实施例还提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,当所述计算机可执行指令被处理器所执行时,使所述处理器执行上述电子设备故障检测方法。In a fourth aspect, an embodiment of the present invention further provides a non-volatile computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, when the computer-executable instructions are executed by a processor , causing the processor to execute the above-mentioned electronic equipment failure detection method.

本发明实施例中的电子设备故障检测方法、装置和电子设备,通过发送使能信号给至少一个电源,然后判断是否检测到所述电源的PG信号,如果没有检测到所述电源的PG信号,则确定所述电源为异常电源,接着记录所述异常电源的状态并对所述异常电源进行编号,通过上述方式,当电源出现异常时,电子设备会保留故障记录,从而便于后续维修人员找到相关电源进行故障排除。The electronic equipment fault detection method, device, and electronic equipment in the embodiments of the present invention send an enable signal to at least one power supply, and then determine whether the PG signal of the power supply is detected, and if the PG signal of the power supply is not detected, Then it is determined that the power supply is an abnormal power supply, and then the state of the abnormal power supply is recorded and the abnormal power supply is numbered. Through the above method, when the power supply is abnormal, the electronic equipment will keep the fault record, so as to facilitate subsequent maintenance personnel to find relevant Troubleshoot the power supply.

附图说明Description of drawings

一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the corresponding drawings, and these exemplifications do not constitute limitations of the embodiments, and elements with the same reference numerals in the drawings are denoted as similar elements, Unless otherwise stated, the figures in the accompanying drawings do not constitute a scale limitation.

图1是本发明一个实施例中电子设备故障检测方法的应用场景示意图;1 is a schematic diagram of an application scenario of an electronic device fault detection method in an embodiment of the present invention;

图2是本发明一个实施例中电子设备故障检测方法的流程示意图;2 is a schematic flowchart of a method for detecting faults in an electronic device according to an embodiment of the present invention;

图3是本发明一个实施例中输出异常电源的信息的示意图;3 is a schematic diagram of outputting information of abnormal power supply in an embodiment of the present invention;

图4是本发明一个实施例中电子设备故障检测装置的结构示意图;4 is a schematic structural diagram of an electronic equipment fault detection device in an embodiment of the present invention;

图5是本发明一个实施例中嵌入式控制器的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of an embedded controller in an embodiment of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all 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 should be noted that, if there is no conflict, various features in the embodiments of the present invention can be combined with each other, which are all within the protection scope of the present invention. In addition, although the functional modules are divided in the schematic diagram of the device, and the logical sequence is shown in the flowchart, in some cases, the modules in the device may be divided differently, or the sequence shown in the flowchart may be performed. or the described steps. Furthermore, the words "first", "second" and "third" used in the present invention do not limit the data and execution order, but only distinguish the same or similar items with basically the same function and effect.

本发明实施例提供的电子设备故障检测方法适用于图1所示的应用场景中,所述应用场景包括嵌入式控制器EC和至少一个电源,所述电源和所述嵌入式控制器连接,其中,所述嵌入式控制器和电源都安装于电子设备,所述电子设备例如可以为笔记本电脑。图1示例性的示出了嵌入式控制器10、电源20、电源21、电源22以及电源23,所述嵌入式控制器10分别与所述电源20、所述电源21、所述电源22以及所述电源23连接。The electronic device fault detection method provided by the embodiment of the present invention is applicable to the application scenario shown in FIG. 1 , where the application scenario includes an embedded controller EC and at least one power supply, and the power supply is connected to the embedded controller, wherein , the embedded controller and the power supply are both installed in an electronic device, such as a notebook computer. FIG. 1 exemplarily shows an embedded controller 10 , a power source 20 , a power source 21 , a power source 22 and a power source 23 , and the embedded controller 10 is connected to the power source 20 , the power source 21 , the power source 22 and the power source 22 respectively. The power supply 23 is connected.

所述嵌入式控制器用于发送使能信号给至少一个电源,然后所述嵌入式控制器等待相关的电源PG信号,即所述嵌入式控制器判断是否检测所述电源的PG信号,如果嵌入式控制器没有检测到相关电源的PG信号,则认为所述电源出现异常,即该电源为异常电源。接着所述嵌入式控制器会对异常电源的状态进行记录以及对所述异常电源进行编号,最后会通过串口输出异常电源的编号和电源名,由此能够方便售后维修。The embedded controller is used to send an enable signal to at least one power supply, and then the embedded controller waits for the relevant power supply PG signal, that is, the embedded controller determines whether to detect the PG signal of the power supply, and if the embedded controller determines whether to detect the PG signal of the power supply. If the controller does not detect the PG signal of the relevant power supply, it is considered that the power supply is abnormal, that is, the power supply is an abnormal power supply. Then the embedded controller records the state of the abnormal power supply and numbers the abnormal power supply, and finally outputs the serial number and the power supply name of the abnormal power supply through the serial port, thereby facilitating after-sales maintenance.

需要说明的是,本发明实施例提供的电子设备故障检测方法还可以进一步地扩展到其他合适的应用环境中,而不限于图1所示的应用场景。在实际的应用过程中,该应用环境还可以包括更多或者更少的电源。It should be noted that, the electronic device fault detection method provided by the embodiment of the present invention may be further extended to other suitable application environments, and is not limited to the application scenario shown in FIG. 1 . In an actual application process, the application environment may also include more or less power supplies.

如图2所示,本发明实施例提供了一种电子设备故障检测方法,所述方法应用于电子设备,且所述方法由电子设备内部的嵌入式控制器执行,所述方法包括:As shown in FIG. 2 , an embodiment of the present invention provides a fault detection method for an electronic device. The method is applied to an electronic device, and the method is executed by an embedded controller inside the electronic device. The method includes:

步骤202,发送使能信号给至少一个电源。Step 202, sending an enable signal to at least one power supply.

在本发明实施例中,所述使能信号可以理解为控制信号,所述使能信号用于控制电源输出电压,例如,当嵌入式控制器发送一个3.3V的使能信号给至少一个电源,当所述使能信号为高电平时,所述电源才会输出3.3V的电压。In this embodiment of the present invention, the enable signal may be understood as a control signal, and the enable signal is used to control the output voltage of the power supply. For example, when the embedded controller sends a 3.3V enable signal to at least one power supply, When the enable signal is at a high level, the power supply will output a voltage of 3.3V.

步骤204,判断是否检测到所述电源的PG信号,如果没有检测到所述电源的PG信号,则确定所述电源为异常电源。Step 204, determine whether the PG signal of the power supply is detected, and if the PG signal of the power supply is not detected, it is determined that the power supply is an abnormal power supply.

在本发明实施例中,PG信号即电源中的POWER GOOD信号,又称“电源好”信号,PG信号由电源控制,代表电源是否准备好。当嵌入式控制器发送使能信号给电源后,就等待相关电源的PG信号,如果没有等待到电源的PG信号,则认为该电源出现异常。具体地,所述嵌入式控制器在发送使能信号给至少一个电源后,所述嵌入式控制判断是否检测到所述电源的PG信号,如果没有检测到所述电源的PG信号,则确认所述电源为异常电源。In the embodiment of the present invention, the PG signal is the POWER GOOD signal in the power supply, also known as the "power good" signal, and the PG signal is controlled by the power supply and represents whether the power supply is ready. When the embedded controller sends the enable signal to the power supply, it waits for the PG signal of the relevant power supply. If there is no PG signal waiting for the power supply, it is considered that the power supply is abnormal. Specifically, after the embedded controller sends an enable signal to at least one power supply, the embedded control determines whether the PG signal of the power supply is detected, and if the PG signal of the power supply is not detected, confirms that the The power supply mentioned above is abnormal power supply.

在其中一些实施例中,作为步骤204的一种实现方式,所述方法包括:判断在预设时长内是否检测到所述电源的PG信号,如果在预设时长内没有检测到所述电源的PG信号,则确定所述电源为异常电源。In some of these embodiments, as an implementation of step 204, the method includes: judging whether the PG signal of the power supply is detected within a preset time period, and if the power supply signal is not detected within the preset time period PG signal, then it is determined that the power supply is an abnormal power supply.

在本发明实施例中,预设时长用于等待PG信号起来,所述预设时长可根据实际情况自行设置。具体地,首先嵌入式控制器发送使能信号给至少一个电源,然后所述嵌入式控制器会等待预设时长,如果在预设时长内电源的PG信号没有起来,则认为所述电源出现异常。具体地,所述嵌入式控制发送使能信号给至少一个电源,然后判断在预设时长内是否检测到所述电源的PG信号,如果在预设时长内没有检测到所述电源的PG信号,则确实所述电源为异常电源。In the embodiment of the present invention, the preset duration is used to wait for the PG signal to come up, and the preset duration can be set by itself according to the actual situation. Specifically, firstly, the embedded controller sends an enable signal to at least one power supply, and then the embedded controller waits for a preset time period. If the PG signal of the power supply does not come up within the preset time period, it is considered that the power supply is abnormal . Specifically, the embedded control sends an enable signal to at least one power supply, and then determines whether the PG signal of the power supply is detected within a preset time period, and if the PG signal of the power supply is not detected within the preset time period, It is true that the power supply is an abnormal power supply.

示例性的,所述预设时长为500ms,所述嵌入式控制器发送一个5V S0的使能信号给至少一个电源,电源接收到所述使能信号后会进行上电操作,此时所述嵌入式控制器会等待500ms,待5V S0的PG信号起来,即所述嵌入式控制器判断在500ms内是否检测到所述电源的PG信号,如果在500ms内没有检测到所述电源的PG信号,意味着PG信号没起来,则认为所述电源异常。Exemplarily, the preset duration is 500ms, the embedded controller sends a 5V S0 enable signal to at least one power supply, and the power supply will perform a power-on operation after receiving the enable signal. The embedded controller will wait for 500ms until the PG signal of 5V S0 rises, that is, the embedded controller determines whether the PG signal of the power supply is detected within 500ms, and if the PG signal of the power supply is not detected within 500ms , which means that the PG signal is not up, and the power supply is considered abnormal.

步骤206,记录所述异常电源的状态并对所述异常电源进行编号。Step 206: Record the state of the abnormal power supply and number the abnormal power supply.

当所述嵌入式控制器确定异常电源后,便于售后维修,会将所述异常电源的状态进行记录,同时对所述异常电源进行编号,具体地,可按照所述电源的上电顺序对所述异常电源进行编号。After the embedded controller determines the abnormal power supply, it is convenient for after-sales maintenance, records the state of the abnormal power supply, and numbers the abnormal power supply. The abnormal power supply is numbered.

在本发明实施例中,嵌入式控制器发送使能信号给至少一个电源,然后判断是否检测到所述电源的PG信号,如果没有检测到所述电源的PG信号,则确定所述电源为异常电源,接着所述嵌入式控制器记录所述异常电源的状态并对所述异常电源进行编号,通过上述方式,当电源出现异常时,电子设备会保留故障记录,从而便于后续维修人员找到相关电源进行故障排除。In the embodiment of the present invention, the embedded controller sends an enable signal to at least one power supply, and then determines whether the PG signal of the power supply is detected, and if the PG signal of the power supply is not detected, it is determined that the power supply is abnormal power supply, and then the embedded controller records the status of the abnormal power supply and numbers the abnormal power supply. Through the above method, when the power supply is abnormal, the electronic device will keep the fault record, so as to facilitate subsequent maintenance personnel to find the relevant power supply Troubleshoot.

在其他一些实施例中,所述方法还包括:如果在预设时长内检测到所述电源的PG信号,则确定所述电源为正常电源。In some other embodiments, the method further includes: if the PG signal of the power supply is detected within a preset time period, determining that the power supply is a normal power supply.

在本发明实施例中,当所述嵌入式控制器发送使能信号给至少一个电源后,如果在预设时长内检测到所述电源的PG信号,则认为所述电源为正常电源。承接上述例子,嵌入式控制器发送一个5V S0的使能信号给至少一个电源,电源接收到所述使能信号后会进行上电操作,此时所述嵌入式控制器会等待500ms,待5V S0的PG信号起来,即所述嵌入式控制器判断在500ms内是否检测到所述电源的PG信号,如果在500ms内检测到所述电源的PG信号,意味着PG信号已起来,则确定所述电源为正常电源。In this embodiment of the present invention, after the embedded controller sends an enable signal to at least one power supply, if the PG signal of the power supply is detected within a preset time period, the power supply is considered to be a normal power supply. Following the above example, the embedded controller sends a 5V S0 enable signal to at least one power supply. After the power supply receives the enable signal, it will perform a power-on operation. At this time, the embedded controller will wait for 500ms and wait for 5V The PG signal of S0 is up, that is, the embedded controller determines whether the PG signal of the power supply is detected within 500ms. The power supply mentioned above is a normal power supply.

在其他一些实施例中,所述方法还包括:输出所述异常电源的信息。In some other embodiments, the method further includes: outputting the information of the abnormal power supply.

异常电源的信息包括异常电源的电源名和编号。具体地,如图3所示,当所述嵌入式控制器对异常电源的状态进行了记录以及对异常电源进行编号后,则通过串口输出所述异常电源的电源名及对应的编号,由此能够方便售后维修。The information of the abnormal power supply includes the power supply name and number of the abnormal power supply. Specifically, as shown in FIG. 3 , after the embedded controller records the state of the abnormal power supply and numbers the abnormal power supply, it outputs the power supply name and the corresponding number of the abnormal power supply through the serial port, thereby Can facilitate after-sales maintenance.

相应的,本发明实施例还提供了一种电子设备故障检测装置400,所述装置应用于电子设备,如图4所示,包括:Correspondingly, an embodiment of the present invention further provides an electronic equipment fault detection apparatus 400, which is applied to electronic equipment, as shown in FIG. 4, including:

发送模块402,用于发送使能信号给至少一个电源;a sending module 402, configured to send an enable signal to at least one power supply;

判断模块404,用于判断是否检测到所述电源的PG信号,如果没有检测到所述电源的PG信号,则确定所述电源为异常电源;The judgment module 404 is used to judge whether the PG signal of the power supply is detected, and if the PG signal of the power supply is not detected, then determine that the power supply is an abnormal power supply;

记录模块406,用于记录所述异常电源的状态并对所述异常电源进行编号。The recording module 406 is configured to record the state of the abnormal power supply and number the abnormal power supply.

在本发明实施例中,通过发送模块发送使能信号给至少一个电源,然后通过判断判断是否检测到所述电源的PG信号,如果没有检测到所述电源的PG信号,则确定所述电源为异常电源,接着通过记录模块记录所述异常电源的状态并对所述异常电源进行编号,当电源出现异常时,电子设备会保留故障记录,从而便于后续维修人员找到相关电源进行故障排除。In this embodiment of the present invention, an enable signal is sent to at least one power supply through a sending module, and then it is determined by judging whether the PG signal of the power supply is detected, and if the PG signal of the power supply is not detected, it is determined that the power supply is Abnormal power supply, then record the status of the abnormal power supply through the recording module and number the abnormal power supply. When the power supply is abnormal, the electronic device will keep the fault record, so as to facilitate subsequent maintenance personnel to find the relevant power supply for troubleshooting.

可选的,在装置的其他实施例中,如图4所示,所述装置400还包括:Optionally, in other embodiments of the apparatus, as shown in FIG. 4 , the apparatus 400 further includes:

输出模块408,用于输出所述异常电源的信息The output module 408 is used for outputting the information of the abnormal power supply

可选的,在装置的其他实施例中,判断模块404具体用于:Optionally, in other embodiments of the apparatus, the judgment module 404 is specifically configured to:

判断在预设时长内是否检测到所述电源的PG信号,如果在预设时长内没有检测到所述电源的PG信号,则确定所述电源为异常电源。It is determined whether the PG signal of the power supply is detected within a preset time period, and if the PG signal of the power supply is not detected within the preset time period, it is determined that the power supply is an abnormal power supply.

如果在预设时长内检测到所述电源的PG信号,则确定所述电源为正常电源。If the PG signal of the power supply is detected within a preset time period, it is determined that the power supply is a normal power supply.

可选的,在装置的其他实施例中,输出模块408具体用于:Optionally, in other embodiments of the apparatus, the output module 408 is specifically configured to:

通过串口输出所述异常电源的电源名和所述编号。Output the power supply name and the serial number of the abnormal power supply through the serial port.

需要说明的是,上述电子设备故障检测装置可执行本发明实施例所提供的电子设备故障检测方法,具备执行方法相应的功能模块和有益效果。未在电子设备故障检测装置实施例中详尽描述的技术细节,可参见本发明实施例提供的电子设备故障检测方法。It should be noted that the above-mentioned electronic equipment fault detection apparatus can execute the electronic equipment fault detection method provided by the embodiment of the present invention, and has corresponding functional modules and beneficial effects of the execution method. For technical details not described in detail in the embodiments of the electronic equipment fault detection apparatus, reference may be made to the electronic equipment fault detection method provided by the embodiments of the present invention.

图5是本发明实施例提供的嵌入式控制器的硬件结构示意图,如图5所示,嵌入式控制器包括:FIG. 5 is a schematic diagram of a hardware structure of an embedded controller provided by an embodiment of the present invention. As shown in FIG. 5 , the embedded controller includes:

一个或多个处理器502以及存储器504,图5中以一个处理器502为例。One or more processors 502 and memory 504, one processor 502 is taken as an example in FIG. 5 .

处理器502和存储器504可以通过总线或者其他方式连接,图5中以通过总线连接为例。The processor 502 and the memory 504 may be connected by a bus or in other ways, and the connection by a bus is taken as an example in FIG. 5 .

存储器504作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的电子设备故障检测方法对应的程序指令/模块。处理器502通过运行存储在存储器504中的非易失性软件程序、指令以及模块,从而执行嵌入式控制器的各种功能应用以及数据处理,即实现上述实施例中的电子设备故障检测方法。The memory 504, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs and modules, such as those corresponding to the electronic device fault detection method in the embodiment of the present invention. Program instructions/modules. The processor 502 executes various functional applications and data processing of the embedded controller by running the non-volatile software programs, instructions and modules stored in the memory 504, ie, implements the electronic device failure detection method in the above embodiment.

存储器504可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据电子设备故障检测装置使用所创建的数据等。此外,存储器504可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器504可选包括相对于处理器502远程设置的存储器,这些远程存储器可以通过网络连接至电子设备故障检测装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 504 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the electronic equipment failure detection apparatus, and the like. Additionally, memory 504 may include high speed random access memory, and may also include nonvolatile memory, such as at least one magnetic disk storage device, flash memory device, or other nonvolatile solid state storage device. In some embodiments, the memory 504 may optionally include memory located remotely from the processor 502, and these remote memories may be connected to the electronic device failure detection apparatus via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

本发明实施例还提供了一种非易失性计算机可读存储介质,所述计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个或者多个处理器执行时,可使得上述一个或者多个处理器可执行上述任意方法实施例中的电子设备故障检测方法。Embodiments of the present invention further provide a non-volatile computer-readable storage medium, where the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by one or more processors, can cause The above-mentioned one or more processors may execute the electronic device fault detection method in any of the above-mentioned method embodiments.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are only illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in One place, or it can be distributed over multiple network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

通过以上的实施方式的描述,本领域普通技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。From the description of the above embodiments, those of ordinary skill in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and certainly can also be implemented by hardware. Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and the program is During execution, it may include the processes of the embodiments of the above-mentioned methods. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; under the idea of the present invention, the technical features in the above embodiments or different embodiments can also be combined, The steps may be carried out in any order, and there are many other variations of the different aspects of the invention as described above, which are not provided in detail for the sake of brevity; although the invention has been The skilled person should understand that it is still possible to modify the technical solutions recorded in the foregoing embodiments, or to perform equivalent replacements on some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the implementation of the present invention. scope of technical solutions.

Claims (10)

1.一种电子设备故障检测方法,其特征在于,所述方法包括:1. A method for detecting faults in electronic equipment, wherein the method comprises: 发送使能信号给至少一个电源;Send an enable signal to at least one power supply; 判断是否检测到所述电源的PG信号,如果没有检测到所述电源的PG信号,则确定所述电源为异常电源;Determine whether the PG signal of the power supply is detected, and if the PG signal of the power supply is not detected, then determine that the power supply is an abnormal power supply; 记录所述异常电源的状态并对所述异常电源进行编号。The status of the abnormal power supply is recorded and the abnormal power supply is numbered. 2.根据权利要求1所述的方法,其特征在于,所述判断是否检测到所述电源的PG信号,如果没有检测到所述电源的PG信号,则确定所述电源为异常电源,包括:2. The method according to claim 1, wherein the judgment is to determine whether the PG signal of the power supply is detected, and if the PG signal of the power supply is not detected, then determining that the power supply is an abnormal power supply, comprising: 判断在预设时长内是否检测到所述电源的PG信号,如果在预设时长内没有检测到所述电源的PG信号,则确定所述电源为异常电源。It is determined whether the PG signal of the power supply is detected within a preset time period, and if the PG signal of the power supply is not detected within the preset time period, it is determined that the power supply is an abnormal power supply. 3.根据权利要求2所述的方法,其特征在于,所述方法还包括:3. The method according to claim 2, wherein the method further comprises: 如果在预设时长内检测到所述电源的PG信号,则确定所述电源为正常电源。If the PG signal of the power supply is detected within a preset time period, it is determined that the power supply is a normal power supply. 4.根据权利要求1-3任意一项所述的方法,其特征在于,所述方法还包括:4. The method according to any one of claims 1-3, wherein the method further comprises: 输出所述异常电源的信息。Information about the abnormal power supply is output. 5.根据权利要求4所述的方法,其特征在于,所述输出所述异常电源的信息,包括:5. The method according to claim 4, wherein the outputting the information of the abnormal power supply comprises: 通过串口输出所述异常电源的电源名和所述编号。Output the power supply name and the serial number of the abnormal power supply through the serial port. 6.一种电子设备故障检测装置,其特征在于,所述装置包括:6. An electronic equipment fault detection device, characterized in that, the device comprises: 发送模块,用于发送使能信号给至少一个电源;a sending module for sending an enable signal to at least one power supply; 判断模块,用于判断是否检测到所述电源的PG信号,如果没有检测到所述电源的PG信号,则确定所述电源为异常电源;A judging module for judging whether the PG signal of the power supply is detected, and if the PG signal of the power supply is not detected, then determining that the power supply is an abnormal power supply; 记录模块,用于记录所述异常电源的状态并对所述异常电源进行编号。The recording module is used for recording the state of the abnormal power supply and numbering the abnormal power supply. 7.根据权利要求6所述的装置,其特征在于,所述判断模块具体用于:7. The device according to claim 6, wherein the judging module is specifically used for: 判断在预设时长内是否检测到所述电源的PG信号,如果在预设时长内没有检测到所述电源的PG信号,则确定所述电源为异常电源。It is judged whether the PG signal of the power supply is detected within a preset time period, and if the PG signal of the power supply is not detected within the preset time period, it is determined that the power supply is an abnormal power supply. 8.根据权利要求7所述的装置,其特征在于,所述装置还包括:8. The apparatus according to claim 7, wherein the apparatus further comprises: 输出模块,用于输出所述异常电源的信息。The output module is used for outputting the information of the abnormal power supply. 9.一种电子设备,其特征在于,包括:9. An electronic device, characterized in that, comprising: 至少一个处理器;以及,at least one processor; and, 与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein, 所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-5任一项所述的方法。The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the execution of any of claims 1-5 method. 10.一种非易失性计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机可执行指令,当所述计算机可执行指令被处理器所执行时,使所述处理器执行如权利要求1-5任一项所述的方法。10. A non-volatile computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions that, when executed by a processor, cause the processing The controller performs the method of any one of claims 1-5.
CN202110231378.2A 2021-03-02 2021-03-02 A kind of electronic equipment fault detection method, device and electronic equipment Pending CN113064095A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110231378.2A CN113064095A (en) 2021-03-02 2021-03-02 A kind of electronic equipment fault detection method, device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110231378.2A CN113064095A (en) 2021-03-02 2021-03-02 A kind of electronic equipment fault detection method, device and electronic equipment

Publications (1)

Publication Number Publication Date
CN113064095A true CN113064095A (en) 2021-07-02

Family

ID=76559515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110231378.2A Pending CN113064095A (en) 2021-03-02 2021-03-02 A kind of electronic equipment fault detection method, device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113064095A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328290A (en) * 2022-10-14 2022-11-11 深圳市磐鼎科技有限公司 Power-on abnormity indication method, device, equipment and storage medium
CN116184252A (en) * 2022-12-30 2023-05-30 深圳市倍思科技有限公司 Fault detection and troubleshooting method, device, storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201819982U (en) * 2010-05-05 2011-05-04 大唐移动通信设备有限公司 Power supply detection device
CN104216808A (en) * 2013-06-03 2014-12-17 鸿富锦精密工业(深圳)有限公司 Power supply chip detecting device and method
TW201715333A (en) * 2015-10-20 2017-05-01 Zippy Tech Corp Surge current recording module allowing repairing personal to determine whether or not malfunction reason of the power suppler results from a harmful surge current by reading record result of detection recording unit
CN109301792A (en) * 2018-12-05 2019-02-01 珠海格力电器股份有限公司 protection circuit, circuit system, automation device, control method and device
CN109933182A (en) * 2019-03-20 2019-06-25 浪潮商用机器有限公司 A method, device and system for diagnosing power failure of a server
CN110954849A (en) * 2019-11-18 2020-04-03 珠海格力电器股份有限公司 Abnormity detection system and method for electrical equipment and monitoring terminal
CN111324192A (en) * 2020-02-26 2020-06-23 苏州浪潮智能科技有限公司 System board power supply detection method, device, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201819982U (en) * 2010-05-05 2011-05-04 大唐移动通信设备有限公司 Power supply detection device
CN104216808A (en) * 2013-06-03 2014-12-17 鸿富锦精密工业(深圳)有限公司 Power supply chip detecting device and method
TW201715333A (en) * 2015-10-20 2017-05-01 Zippy Tech Corp Surge current recording module allowing repairing personal to determine whether or not malfunction reason of the power suppler results from a harmful surge current by reading record result of detection recording unit
CN109301792A (en) * 2018-12-05 2019-02-01 珠海格力电器股份有限公司 protection circuit, circuit system, automation device, control method and device
CN109933182A (en) * 2019-03-20 2019-06-25 浪潮商用机器有限公司 A method, device and system for diagnosing power failure of a server
CN110954849A (en) * 2019-11-18 2020-04-03 珠海格力电器股份有限公司 Abnormity detection system and method for electrical equipment and monitoring terminal
CN111324192A (en) * 2020-02-26 2020-06-23 苏州浪潮智能科技有限公司 System board power supply detection method, device, equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115328290A (en) * 2022-10-14 2022-11-11 深圳市磐鼎科技有限公司 Power-on abnormity indication method, device, equipment and storage medium
CN116184252A (en) * 2022-12-30 2023-05-30 深圳市倍思科技有限公司 Fault detection and troubleshooting method, device, storage medium

Similar Documents

Publication Publication Date Title
CN108038019B (en) Automatic fault recovery method and system for substrate management controller
CN110928743B (en) Computing system, automatic diagnosis method and medium storing instructions thereof
CN102662701B (en) CPLD online upgrading method, device and service board
CN112527582A (en) Detection method, detection device, detection equipment and storage medium of server cable
CN111752776B (en) Cyclic power-on and power-off test method and system for server
US20080270827A1 (en) Recovering diagnostic data after out-of-band data capture failure
CN114510381A (en) Fault injection method, device, equipment and storage medium
CN111414285A (en) Test method, test device and test equipment for starting function of server system
CN111694710A (en) Method, device and equipment for monitoring faults of substrate management controller and storage medium
WO2024250776A1 (en) Fault detection method and apparatus for external device
CN113672306B (en) Method, device, system and medium for recovery from abnormal self-checking of server components
CN113064095A (en) A kind of electronic equipment fault detection method, device and electronic equipment
CN111400136A (en) Server-dedicated GPU fault protection device, method, equipment and medium
CN118916255A (en) Acceleration card testing method, device, equipment and storage medium
CN111338698A (en) A kind of method and system for BIOS to accurately guide server to start
CN111338678A (en) A method and device for upgrading and verifying a storage system
CN116107788B (en) I2C bus fault processing method and device
CN121478572A (en) A server startup control system and method
CN115567419A (en) Health state detection method, system, device and medium for kafka cluster
CN115934446A (en) A self-test method, server, device and storage medium
CN105653408A (en) A test method for POWER CYCLE switching on and off based on BMC IPMITOOL command single node batch control
CN119271474A (en) Server self-check control method, device, equipment and storage medium
CN115129517B (en) A BIOS option failure recovery method, device, equipment and storage medium
CN113778732A (en) Method and device for fault location of service board
CN110532151A (en) A kind of automatic operation method of monitoring instrument, device, equipment 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
TA01 Transfer of patent application right

Effective date of registration: 20231025

Address after: 518000, 4th Floor, No. 31, Xiacun Community, Gongming Street, Guangming District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen Baoxinchuang Information Technology Co.,Ltd.

Address before: 518000 501-2, building a, wisdom Plaza, 4068 Qiaoxiang Road, Gaofa community, Shahe street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen baoxinchuang Technology Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20210702

RJ01 Rejection of invention patent application after publication