-
公开(公告)号:US20230018598A1
公开(公告)日:2023-01-19
申请号:US17935129
申请日:2022-09-25
Applicant: HUAWEI TECHNOLOGIES CO., LTD.
Inventor: Zhetao zhang , Xue Sun , Yan Tang
IPC: G06F11/07
Abstract: Embodiments provide a fault detection method and device. The method includes obtaining first detection logic, where the first detection logic includes a plurality of detection events and indicates a logical relationship between the plurality of detection events, a single detection event includes identification information of a to-be-detected device, a detection instruction, and identification information of a fault event, and identification information of to-be-detected devices that is in the plurality of detection events is partially the same; in response to the obtained first detection logic, successively executing corresponding detection instructions on to-be-detected devices in single detection events based on the logical relationship between the plurality of detection events, and receiving an execution result returned by the to-be-detected device; and if it is detected that the execution result includes the identification information of the fault event, determining that the fault event exists. In this application, the fault detection device automatically queries statuses of a plurality of to-be-detected devices, and quickly determines the fault event, so that a fault that occurs in an application scenario can be accurately located.