Method and apparatus for determining device malfunction

By automatically comparing equipment sensor information with standard information, the problem of low detection accuracy in manual inspection is solved, and accurate detection of equipment faults is achieved.

CN114721847BActive Publication Date: 2026-06-16GREE ELECTRIC APPLIANCE INC OF ZHUHAI +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GREE ELECTRIC APPLIANCE INC OF ZHUHAI
Filing Date
2020-12-22
Publication Date
2026-06-16

AI Technical Summary

Technical Problem

In existing technologies, the inspection of computer room equipment relies on manual checks, which can easily overlook abnormalities, resulting in a low detection accuracy rate.

Method used

By reading the sensor information in the device and comparing it with preset sensor standard information, the system can automatically determine whether the device has malfunctioned.

🎯Benefits of technology

It improves the accuracy of equipment testing, avoids errors caused by manual testing, and ensures the accuracy of fault detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114721847B_ABST
    Figure CN114721847B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method and device for determining whether a device is malfunctioning. The method comprises: reading sensor information of each sensor in the device; comparing the sensor information with preset sensor standard information for any read sensor information; and determining that the device is malfunctioning if the sensor information does not match the preset sensor standard information. Thus, by reading the sensor information of each device and comparing the sensor information of each device with the preset sensor standard information, it is determined whether each device is malfunctioning. Therefore, the present disclosure does not require manual detection of each device, thereby improving the accuracy of device detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of information processing technology, and in particular to a method and apparatus for determining equipment malfunctions. Background Technology

[0002] There are many devices in the computer room. In order to ensure that each device can operate normally, it is necessary to inspect each device every once in a while.

[0003] In existing technologies, the inspection method involves technicians periodically visiting the computer room to manually inspect each piece of equipment. If any faulty equipment is found, it needs to be reported and addressed. However, since the inspection is done manually, it is easy to overlook some anomalies due to human error, resulting in a low accuracy rate of inspection. Summary of the Invention

[0004] The exemplary embodiments of this disclosure provide a method and apparatus for determining equipment failure, which improves the accuracy of equipment detection.

[0005] The first aspect of this disclosure provides a method for determining a device malfunction, the method comprising:

[0006] Read sensor information from each sensor located in the device;

[0007] For any sensor information read, the sensor information is compared with preset sensor standard information;

[0008] If the sensor information does not match the preset sensor standard information, then the device is determined to be faulty.

[0009] In this embodiment, the sensor information of each device is read and compared with the preset sensor standard information to determine whether each device has malfunctioned. Therefore, this disclosure does not require manual inspection of each device, thereby improving the accuracy of device detection.

[0010] In one embodiment, the sensor information includes the sensor name and the sensor status code; the sensor standard information includes the sensor standard status code corresponding to the sensor.

[0011] The step of comparing any read sensor information with preset sensor standard information includes:

[0012] The sensor category of the sensor is determined based on its sensor name;

[0013] Compare the sensor standard status code corresponding to the determined sensor category with the sensor status code.

[0014] This embodiment compares the sensor status code with the corresponding standard sensor status code to make the identification of faulty devices more accurate.

[0015] In one embodiment, after determining that the device has malfunctioned, the method further includes:

[0016] Determine whether the sensor information has been completely read;

[0017] If it is determined that the reading is not complete, return to the step of reading sensor information of each sensor located in the device until the reading is finished.

[0018] In this embodiment, the problem of unread sensor information is avoided by determining whether all sensor information has been read.

[0019] In one embodiment, if it is determined that the reading has not been completed, the method returns to the step of reading sensor information of each sensor located in the device until the reading is completed. The method further includes:

[0020] The system outputs the sensor names of sensors whose sensor information does not match the preset sensor standard information, so as to determine the cause of the device malfunction based on the sensor names.

[0021] This embodiment outputs the sensor names of sensors whose sensor information does not match the preset sensor standard information, thereby determining the cause of the device malfunction.

[0022] In one embodiment, before comparing any read sensor information with preset sensor standard information, the method further includes:

[0023] In response to the user's update operation on the sensor standard information, the updated sensor standard information is determined.

[0024] In this embodiment, the sensor standard information is updated in response to the user's update operation, thereby avoiding the situation where the sensor information does not have corresponding sensor standard information, and making the determined results more accurate.

[0025] A second aspect of this disclosure provides an apparatus for determining when a device malfunctions, the apparatus comprising:

[0026] The reading module is used to read sensor information from each sensor located in the device;

[0027] The comparison module is used to compare any read sensor information with preset sensor standard information.

[0028] The fault determination module is used to determine that the device has malfunctioned if the sensor information does not match the preset sensor standard information.

[0029] In one embodiment, the sensor information includes the sensor name and the sensor status code; the sensor standard information includes the sensor standard status code corresponding to the sensor.

[0030] The comparison module is specifically used for:

[0031] The sensor category of the sensor is determined based on its sensor name;

[0032] Compare the sensor standard status code corresponding to the determined sensor category with the sensor status code.

[0033] In one embodiment, the apparatus further includes:

[0034] The judgment module is used to determine whether the sensor information has been completely read after the device malfunctions.

[0035] The "Not Read Completed" module is used to return to the step of reading sensor information of each sensor located in the device if it is determined that the reading is not complete, until the reading is finished.

[0036] In one embodiment, the apparatus further includes:

[0037] The output module is used to return to the step of reading sensor information of each sensor located in the device if it is determined that the reading is not completed, until the reading is completed, and output the sensor name of the sensor whose sensor information does not match the preset sensor standard information, so as to determine the cause of the device failure based on the sensor name.

[0038] In one embodiment, the apparatus further includes:

[0039] The update module is used to determine the updated sensor standard information in response to the user's update operation on the sensor standard information before comparing the sensor information with preset sensor standard information for any read sensor information.

[0040] According to a third aspect of the present disclosure, an electronic device is provided, comprising:

[0041] At least one processor; and a memory communicatively connected 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 method as described in the first aspect.

[0042] According to a fourth aspect provided in the embodiments of this disclosure, a computer storage medium is provided, the computer storage medium storing a computer program for performing the method as described in the first aspect. Attached Figure Description

[0043] To more clearly illustrate the technical solutions in the embodiments of this disclosure, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0044] Figure 1 This is a schematic diagram illustrating an applicable scenario according to one embodiment of the present disclosure;

[0045] Figure 2 This is one of the flowcharts illustrating a method for determining a device malfunction according to an embodiment of the present disclosure;

[0046] Figure 3 This is a schematic diagram of a sensor log according to an embodiment of the present disclosure;

[0047] Figure 4 This is a second schematic flowchart of a method for determining a device malfunction according to an embodiment of the present disclosure;

[0048] Figure 5 This is a device for determining a device malfunction according to an embodiment of the present disclosure;

[0049] Figure 6 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present disclosure. Detailed Implementation

[0050] To make the objectives, technical solutions, and advantages of the embodiments of this disclosure clearer, the technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.

[0051] In this disclosure, the term "and / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0052] The application scenarios described in this disclosure are for the purpose of more clearly illustrating the technical solutions of this disclosure and do not constitute a limitation on the technical solutions provided in this disclosure. Those skilled in the art will understand that with the emergence of new application scenarios, the technical solutions provided in this disclosure are also applicable to similar technical problems. In the description of this disclosure, unless otherwise stated, "multiple" means two or more.

[0053] In existing technologies, the inspection method involves technicians periodically visiting the computer room to manually inspect each piece of equipment. If any faulty equipment is found, it needs to be reported and addressed. However, since the inspection is done manually, it is easy to overlook some anomalies due to human error, resulting in a low accuracy rate of inspection.

[0054] Therefore, this disclosure provides a method for determining equipment malfunction. By reading sensor information from each device and comparing it with preset sensor standard information, it determines whether each device has malfunctioned. Thus, this disclosure eliminates the need for manual inspection of each device, thereby improving the accuracy of equipment detection. The solution of this disclosure will now be described in detail with reference to the accompanying drawings.

[0055] like Figure 1 The diagram illustrates an application scenario for a probability-triggered method for random events, which includes multiple devices 110 and a server 120. Figure 1 The example uses three devices 110, but the actual number of devices 110 is not limited. Server 120 can be implemented using a single server or multiple servers. Server 120 can be implemented using a physical server or a virtual server.

[0056] In one possible application scenario, device 110 is a device in a computer room. Server 120 executes the following for any device 110: reading sensor information from each sensor located in device 110; then, for any read sensor information, server 120 compares the sensor information with preset sensor standard information; if the sensor information does not match the preset sensor standard information, it is determined that device 110 has malfunctioned. Therefore, this disclosure does not require manual inspection of each device, thereby improving the accuracy of device detection.

[0057] Figure 2 This is a flowchart illustrating the method for determining equipment failure according to the present disclosure, which may include the following steps:

[0058] Step 201: Read the sensor information of each sensor located in the device;

[0059] The sensor information includes the sensor name and the sensor status code. The sensor status code is used to indicate the status of the device.

[0060] Step 202: For any sensor information read, compare the sensor information with preset sensor standard information;

[0061] The sensor standard information includes the sensor standard status code corresponding to the sensor;

[0062] In one embodiment, step 202 may be implemented as follows: determining the sensor category of the sensor based on the sensor name of the sensor; comparing the sensor standard status code corresponding to the determined sensor category with the sensor status code.

[0063] Sensor categories include Central Processing Unit (CPU), memory, hard drive, fan, PCI (Peripheral Component Interconnect) interface, and power supply.

[0064] Among them, sensors in the central processing unit category include CPU temperature sensors, which are used to detect the temperature of the CPU.

[0065] Memory-related sensors include memory temperature sensors, which are used to detect the temperature of memory.

[0066] Hard drive sensors include hard drive temperature sensors and hard drive vibration sensors. Hard drive temperature sensors are used to detect the temperature of the hard drive. Hard drive vibration sensors are used to detect the vibration of the hard drive.

[0067] Fan-type sensors include speed sensors, which are used to detect the rotation speed of a fan.

[0068] PCI interface sensors include image sensors. Image sensors are used to detect PCI image data.

[0069] Power supply sensors include current sensors and voltage sensors. Current sensors detect the current information of the power supply, while voltage sensors detect the voltage information.

[0070] For example, the sensor names of device 1 are identified as Sensor 1, Sensor 2, Sensor 3, Sensor 4, Sensor 5, Sensor 6, Sensor 7, and Sensor 8. Based on the correspondence between sensor names and sensor categories, Sensor 1 and Sensor 2 are determined to be power supply type sensors, Sensor 3 to be CPU type sensors, Sensor 4 and Sensor 5 to be memory type sensors, Sensor 6 to be hard drive type sensors, Sensor 7 to be fan type sensors, and Sensor 8 to be PCI interface type sensors. The standard status codes corresponding to each determined sensor category are compared with the sensor status codes of each sensor. If Sensor 1 and Sensor 3 do not match their corresponding standard status codes, then device 1 is confirmed to be faulty.

[0071] Step 203: If the sensor information does not match the preset sensor standard information, then the device is determined to be faulty.

[0072] Therefore, by reading the sensor information of each device and comparing it with the preset sensor standard information, it is possible to determine whether each device has malfunctioned. Thus, this disclosure does not require manual inspection of each device, thereby improving the accuracy of device detection.

[0073] To avoid the problem of unread sensor information, in one embodiment, it is determined whether the sensor information has been completely read; if it is determined that it has not been completely read, the process returns to step 201 until the reading is completed.

[0074] in, Figure 3 This is a schematic diagram of the sensor log. The first column shows the sensor name of each sensor, and the fourth column shows the corresponding sensor status code. Sensor information is read sequentially line by line in the sensor log. For example, the first line of sensor information (sensor name and status code) is read first. If this sensor information does not match the preset sensor standard information, a device malfunction is identified. If the sensor log indicates that the sensor information has not been completely read, the reading continues sequentially line by line until all sensor information in the log has been read. That is, if the sensor information for sensor named CI P1I Bay 21 has been read, the sensor information reading is considered complete.

[0075] In order to determine the cause of the device malfunction, after the sensor information is read, in one embodiment, the sensor name of the sensor whose sensor information does not match the preset sensor standard information is output, so as to determine the cause of the device malfunction based on the sensor name.

[0076] For example, the data recorded by the sensor can be determined based on the sensor name, and the cause of the device failure can be determined by the data recorded by the sensor. For example, if the sensor records the temperature of the CPU, it can be determined that the device failure may be caused by an abnormality in the CPU.

[0077] Therefore, by outputting the sensor names of sensors whose sensor information does not match the preset sensor standard information, the cause of the equipment failure can be determined.

[0078] To avoid the situation where sensor information does not have corresponding sensor standard information, in one embodiment, before performing step 202, the updated sensor standard information is determined in response to the user's update operation on the sensor standard information.

[0079] The update operation includes operations such as adding and deleting.

[0080] (1) Add operation:

[0081] If a new device is added to the computer room, and the sensor of the new device does not have corresponding sensor standard information in the sensor standard information, then in response to the operation of adding the sensor standard information, the added sensor standard information is determined.

[0082] (2) Deletion operation:

[0083] If the number of devices in the computer room is reduced, the sensor standard information corresponding to the reduced devices can be deleted. In response to the deletion operation of the sensor standard information corresponding to the reduced devices, the sensor standard information after deletion is determined.

[0084] It should be noted that if the sensor standard information of other devices is the same as that of the device being reduced, the standard information of the sensor corresponding to the device being reduced cannot be deleted.

[0085] To further understand the technical solution of this disclosure, the following is in conjunction with... Figure 4 A detailed explanation may include the following steps:

[0086] Step 401: Read the sensor information of each sensor located in the device; the sensor information includes the sensor name and sensor status code;

[0087] Step 402: In response to the user's update operation on the sensor standard information, determine the updated sensor standard information;

[0088] Step 403: Determine the sensor category based on the sensor name;

[0089] Step 404: Compare the sensor standard status code corresponding to the determined sensor category with the sensor status code;

[0090] Step 405: If the sensor status code does not match the corresponding sensor standard status code, then it is determined that the device has malfunctioned;

[0091] Step 406: Determine whether the sensor information has been completely read; if yes, proceed to step 407; otherwise, return to step 401.

[0092] Step 407: Output the sensor names of sensors whose sensor information does not match the preset sensor standard information, so as to determine the cause of the device failure based on the sensor names.

[0093] Based on the same disclosed concept, the method for determining equipment failure as described above can also be implemented by a device for determining equipment failure. The effect of this device is similar to that of the aforementioned method, and will not be repeated here.

[0094] Figure 5 This is a schematic diagram of a device for determining a device malfunction according to an embodiment of the present disclosure.

[0095] like Figure 5 As shown, the device 500 for determining random events of equipment failure disclosed herein may include a reading module 510, a comparison module 520, and a failure determination module 530.

[0096] The reading module 510 is used to read sensor information from each sensor located in the device;

[0097] The comparison module 520 is used to compare any read sensor information with preset sensor standard information.

[0098] The fault determination module 530 is used to determine that the device has malfunctioned if the sensor information does not match the preset sensor standard information.

[0099] In one embodiment, the sensor information includes the sensor name and the sensor status code; the sensor standard information includes the sensor standard status code corresponding to the sensor.

[0100] The comparison module 520 is specifically used for:

[0101] The sensor category of the sensor is determined based on its sensor name;

[0102] Compare the sensor standard status code corresponding to the determined sensor category with the sensor status code.

[0103] In one embodiment, the apparatus further includes:

[0104] The judgment module 540 is used to determine whether the sensor information has been completely read after the device has malfunctioned.

[0105] The incomplete reading module 550 is used to return to the step of reading sensor information of each sensor located in the device if it is determined that the reading is not complete, until the reading is finished.

[0106] In one embodiment, the apparatus further includes:

[0107] The output module 560 is used to return to the step of reading the sensor information of each sensor located in the device if it is determined that the reading has not been completed, until the reading is completed, and output the sensor name of the sensor whose sensor information does not match the preset sensor standard information, so as to determine the cause of the device failure based on the sensor name.

[0108] In one embodiment, the apparatus further includes:

[0109] The update module 570 is used to determine the updated sensor standard information in response to the user's update operation on the sensor standard information before comparing the sensor information with preset sensor standard information for any read sensor information.

[0110] Having introduced a method and apparatus for determining a device malfunction according to an exemplary embodiment of the present disclosure, the following describes an electronic device according to another exemplary embodiment of the present disclosure.

[0111] Those skilled in the art will understand that various aspects of this disclosure can be implemented as a system, method, or program product. Therefore, various aspects of this disclosure can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software aspects, collectively referred to herein as a "circuit," "module," or "system."

[0112] In some possible implementations, the electronic device according to this disclosure may include at least one processor and at least one computer storage medium. The computer storage medium stores program code that, when executed by the processor, causes the processor to perform steps in the methods for determining device malfunctions according to various exemplary embodiments of this disclosure described above. For example, the processor may perform actions such as... Figure 2 Steps 201-203 are shown in the diagram.

[0113] The following reference Figure 6 To describe an electronic device 600 according to such an embodiment of the present disclosure. Figure 6 The electronic device 600 shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments disclosed herein.

[0114] like Figure 6 As shown, the electronic device 600 is manifested in the form of a general electronic device. The components of the electronic device 600 may include, but are not limited to: at least one processor 601, at least one computer storage medium 602, and a bus 603 connecting different system components (including the computer storage medium 602 and the processor 601).

[0115] Bus 603 represents one or more of several bus structures, including a computer storage media bus or computer storage media controller, peripheral bus, processor, or local bus using any of the various bus structures.

[0116] Computer storage medium 602 may include readable media in the form of volatile computer storage media, such as random access computer storage medium (RAM) 621 and / or cache storage medium 622, and may further include read-only computer storage medium (ROM) 623.

[0117] The computer storage medium 602 may also include a program / utility 625 having a set (at least one) of program modules 624, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.

[0118] Electronic device 600 can also communicate with one or more external devices 604 (e.g., keyboard, pointing device, etc.), and with one or more devices that enable a user to interact with electronic device 600, and / or with any device that enables electronic device 600 to communicate with one or more other electronic devices (e.g., router, modem, etc.). This communication can be performed via input / output (I / O) interface 605. Furthermore, electronic device 600 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 606. As shown, network adapter 606 communicates with other modules used in electronic device 600 via bus 603. It should be understood that, although not shown in the figures, other hardware and / or software modules can be used in conjunction with electronic device 600, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0119] In some possible implementations, aspects of the method for determining a device malfunction provided in this disclosure may also be implemented in the form of a program product comprising program code that, when the program product is run on a computer device, causes the computer device to perform the steps in the method for determining a device malfunction according to various exemplary embodiments of this disclosure as described above.

[0120] The program product may take the form of any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, random access computer storage media (RAM), read-only computer storage media (ROM), erasable programmable read-only computer storage media (EPROM or flash memory), optical fibers, portable compact disk read-only computer storage media (CD-ROM), optical computer storage media, magnetic computer storage media, or any suitable combination thereof.

[0121] The program product for determining device malfunction according to embodiments of this disclosure can be a portable compact disc read-only computer storage medium (CD-ROM) and include program code, and can run on an electronic device. However, the program product of this disclosure is not limited thereto. In this document, the readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0122] A readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying readable program code. This propagated data signal may take many forms, including—but not limited to—electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium, capable of sending, propagating, or transmitting a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0123] The program code contained on the readable medium may be transmitted using any suitable medium, including—but not limited to—wireless, wired, fiber optic, RF, etc., or any suitable combination thereof.

[0124] Program code for performing the operations of this disclosure can be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java and C++, and conventional procedural programming languages ​​such as C or similar languages. The program code can execute entirely on the user's electronic device, partially on the user's device, as a standalone software package, partially on the user's electronic device and partially on a remote electronic device, or entirely on a remote electronic device or server. In cases involving remote electronic devices, the remote electronic device can be connected to the user's electronic device via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external electronic device (e.g., via the Internet using an Internet service provider).

[0125] It should be noted that although several modules of the apparatus have been mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, according to embodiments of this disclosure, the features and functions of two or more modules described above can be embodied in one module. Conversely, the features and functions of one module described above can be further divided and embodied by multiple modules.

[0126] Furthermore, although the operations of the methods disclosed herein are described in a specific order in the accompanying drawings, this does not require or imply that these operations must be performed in that specific order, or that all of the operations shown must be performed to achieve the desired result. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be broken down into multiple steps.

[0127] Those skilled in the art will understand that embodiments of this disclosure can be provided as methods, systems, or computer program products. Therefore, this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this disclosure can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk computer storage media, CD-ROMs, optical computer storage media, etc.) containing computer-usable program code.

[0128] This disclosure is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this disclosure. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0129] These computer program instructions may also be stored in a computer-readable computer storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable computer storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0130] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0131] Obviously, those skilled in the art can make various modifications and variations to this disclosure without departing from its spirit and scope. Therefore, if such modifications and variations fall within the scope of the claims of this disclosure and their equivalents, this disclosure is also intended to include such modifications and variations.

Claims

1. A method for determining equipment failure, characterized in that, The method includes: Read sensor information from each sensor located in the device; the sensor information includes sensor name and sensor status code; the sensor status code is used to indicate the status of the device; For any read sensor information, the sensor category is determined based on the sensor name; the sensor category includes hard disk category, and hard disk category sensors include hard disk temperature sensor and hard disk vibration sensor; Compare the sensor standard status code corresponding to the determined sensor category with the sensor status code; If the sensor status code does not match the standard sensor status code corresponding to the determined sensor category, then the device is determined to have malfunctioned. After determining that the device has malfunctioned, the method further includes: Read the sensor information in the order of the lines in the sensor log, and determine whether the sensor information has been completely read. If it is determined from the sensor log that the reading is not complete, then return to the step of reading the sensor information of each sensor located in the device until the reading is completed.

2. The method according to claim 1, characterized in that, If it is determined from the sensor log that the reading is not complete, the method further includes the step of returning to read the sensor information of each sensor located in the device until the reading is completed. The system outputs the sensor names of sensors whose sensor information does not match the preset sensor standard information, so as to determine the cause of the device failure based on the sensor names.

3. The method according to any one of claims 1 to 2, characterized in that, Before comparing any read sensor information with preset sensor standard information, the method further includes: In response to the user's update operation on the sensor standard information, the updated sensor standard information is determined.

4. A device for determining equipment malfunction, characterized in that, The device includes: The reading module is used to read sensor information from each sensor located in the device; the sensor information includes sensor name and sensor status code; the sensor status code is used to indicate the status of the device. The comparison module is used to determine the sensor category of any read sensor information based on the sensor name; and compare the sensor standard status code corresponding to the determined sensor category with the sensor status code; the sensor category includes hard disk category, and hard disk category sensors include hard disk temperature sensor and hard disk vibration sensor; The fault determination module is used to determine that the device has malfunctioned if the sensor status code does not match the sensor standard status code corresponding to the determined sensor category. The judgment module is used to determine whether the sensor information has been read in the order of the rows in the sensor log after the device has failed. The "Not Read Completed" module is used to return to the step of reading sensor information of each sensor located in the device if it is determined from the sensor log that the reading is not complete, until the reading is finished.

5. The apparatus according to claim 4, characterized in that, The device further includes: The output module is used to return to the step of reading the sensor information of each sensor located in the device if it is determined from the sensor log that the reading has not been completed, until the reading is completed, and output the sensor name of the sensor whose sensor information does not match the preset sensor standard information, so as to determine the cause of the device failure based on the sensor name.

6. The apparatus according to any one of claims 4 to 5, characterized in that, The device further includes: The update module is used to determine the updated sensor standard information in response to the user's update operation on the sensor standard information before comparing the sensor information with preset sensor standard information for any read sensor information.

7. An electronic device, characterized in that, The method includes at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that are executed by the at least one processor; the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1-3.

8. A computer storage medium, characterized in that, The computer storage medium stores a computer program for performing the method according to any one of claims 1-3.