Fault detection method and device, terminal and computer storage medium

By acquiring the fault information signal of the communication unit and matching it with a preset table, the fault type or location is quickly determined, which solves the problem of low efficiency in fault location of the communication unit in the prior art and achieves efficient fault location.

CN120358138BActive Publication Date: 2025-09-12GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510850352.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-06-24
Publication Date
2025-09-12
Estimated Expiration
2045-06-24

AI Technical Summary

Technical Problem

The existing communication unit fault location method is inefficient and cannot meet the demand for rapid fault location.

Method used

By acquiring the fault information signals of each communication unit in the system, extracting part of the target fault information signals, and matching them with the preset table, the fault type or location is determined.

Benefits of technology

It improves fault location efficiency and reduces storage requirements, and is particularly suitable for large-scale hierarchical communication networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120358138B_ABST
    Figure CN120358138B_ABST
Patent Text Reader

Abstract

The present application relates to a fault detection method and device, terminal, and computer storage medium, wherein the method comprises: obtaining fault information signals from each communication unit in a system, wherein the system includes multiple communication units, and the fault information signals indicate whether the communication unit is in a faulty state or a normal state; extracting partial target fault information signals from the multiple fault information signals; matching the partial target fault information signals with a preset table, and determining the fault type or fault location of the communication unit in the system based on the matching results; wherein the preset table includes multiple combinations of target fault information signals, and each combination corresponds to a fault type or fault location. Through this application, the problem of low positioning efficiency of the fault positioning method of the communication unit in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of fault detection, and in particular to a fault detection method and device, a terminal, and a computer storage medium. Background Art

[0002] The communication unit serves as the communication interface between the main controller and the drive unit and UART device, and its normal operation is crucial to the entire system. However, when a communication unit fails, it may affect communication nodes at multiple levels. In the prior art, the fault location method of the communication unit is to pre-store a large number of preset fault propagation topology patterns, and then perform fault diagnosis by comparing the actual alarm signals one by one. This pattern matching-based diagnostic mechanism not only requires a large amount of storage space, but also significantly increases the time cost of fault location, resulting in low fault location efficiency and difficulty in meeting the demand for rapid fault location in practical applications.

[0003] In view of the above technical problems in the prior art, there are currently effective solutions. Summary of the Invention

[0004] The present application provides a fault detection method and device, a terminal, and a computer storage medium to solve the problem of low positioning efficiency of a fault positioning method for a communication unit in the prior art.

[0005] In a first aspect, the present application provides a fault detection method, comprising: obtaining a fault information signal of each communication unit in a system, wherein the system includes multiple communication units, and the fault information signal indicates whether the communication unit to which it belongs is in a fault state or a normal state; extracting a partial target fault information signal from the multiple fault information signals; matching the partial target fault information signal with a preset table, and determining the fault type or fault location of the communication unit in the system based on the matching result; wherein the preset table includes multiple target fault information signal combinations, and each combination corresponds to a fault type or fault location.

[0006] Optionally, obtaining the fault information signal of each communication unit in the system includes: obtaining a binary number sent by each communication unit in the system, wherein the binary number is the fault information signal, and when the binary number is 1, it indicates that the corresponding communication unit is in a fault state, and when the binary number is 0, it indicates that the corresponding communication unit is in a normal state; setting the position of the binary number according to the position of the communication unit in the system to obtain the fault information signal of the system.

[0007] Optionally, extracting part of the target fault information signals from the multiple fault information signals includes: determining the communication unit in a fault state from the multiple fault information signals; extracting the fault information signals of the highest-level communication unit, the lowest-level communication unit communicating with the highest-level communication unit, and the upstream communication unit of the lowest-level communication unit from the communication unit in the fault state and determining them as the part of the target fault information signals.

[0008] Optionally, target fault information signals of the highest-level communication unit, the lowest-level communication unit communicating with the highest-level communication unit, and the upstream communication unit of the lowest-level communication unit are extracted from the communication unit in the faulty state and determined as the partial target fault information signals, including: when the number of communication units in the faulty state is 1, the fault information signals of any two communication units among the target fault information signals of the communication unit in the faulty state, the highest-level communication unit in the system, the lowest-level communication unit communicating with the highest-level communication unit, and the upstream communication unit of the lowest-level communication unit are determined as the partial target fault information signals; when the number of communication units in the faulty state is greater than or equal to 2, the fault information signals of the highest-level communication unit, the lowest-level communication unit communicating with the highest-level communication unit, and the upstream communication unit of the lowest-level communication unit are extracted from the communication unit in the faulty state and determined as the partial target fault information signals.

[0009] Optionally, the partial target fault information signal is matched with a preset table, and the fault type of the communication unit in the system is determined based on the matching result, including: determining the target digital combination corresponding to the fault information signal of the highest-level communication unit, the fault information signal of the lowest-level communication unit and the fault information signal of the upstream communication unit; matching a digital combination that matches the target digital combination from the preset table, and determining the fault type or fault location in the system based on the matched digital combination.

[0010] Optionally, the method further includes: when the fault location is identified, deleting the communication unit where the fault occurs and deleting the corresponding fault information signal.

[0011] In the second aspect, the present application provides a fault detection device, comprising: an acquisition module for acquiring fault information signals of each communication unit in the system, wherein the system includes multiple communication units, and the fault information signal indicates whether the communication unit to which it belongs is in a fault state or a normal state; an extraction module for extracting part of the target fault information signals from the multiple fault information signals; a first processing module for matching the part of the target fault information signals with a preset table, and determining the fault type or fault location of the communication unit in the system based on the matching result; wherein the preset table includes multiple target fault information signal combinations, and each combination corresponds to a fault type or fault location.

[0012] Optionally, the extraction module includes: a first determination unit, used to determine the communication unit in a fault state from the multiple fault information signals; an extraction unit, used to extract the fault information signals of the highest-level communication unit, the lowest-level communication unit communicating with the highest-level communication unit, and the upstream communication unit of the lowest-level communication unit from the communication unit in the fault state and determine them as the partial target fault information signals.

[0013] In a third aspect, the present application provides a terminal comprising: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor connected to the at least one bus; and at least one memory connected to the at least one bus, wherein the processor is configured to execute the fault detection method described in the first aspect of the present application.

[0014] In a fourth aspect, the present application further provides a computer storage medium storing computer executable instructions, wherein the computer executable instructions are used to execute the fault detection method described in the first aspect of the present application.

[0015] The above-mentioned technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application obtains the fault information signal of each communication unit in the system, then extracts part of the target fault information signal from multiple fault information signals, matches the part of the target fault information signal with a preset table, and determines the fault type or fault location of the communication unit in the system according to the matching result. It can be seen that by collecting the fault information signal and comparing the collected result with the preset table, the type or location of the current fault can be quickly determined. Compared with the prior art method of performing fault diagnosis by comparing the actual alarm signals one by one, in the present application, the fault location efficiency is higher by extracting part of the target fault information signal and then comparing it with the preset table. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0018] One or more embodiments are exemplarily illustrated by pictures in the corresponding drawings. These exemplifications do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements. Unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0019] Figure 1 A flowchart of a fault detection method provided in an embodiment of the present application;

[0020] Figure 2 A schematic diagram of a communication path of a communication unit in a system provided in an embodiment of the present application;

[0021] Figure 3 A schematic diagram of a fault information signal reported by a communication unit in a system according to an embodiment of the present application;

[0022] Figure 4 A flow chart of a method for locating a communication module fault provided in an embodiment of the present application;

[0023] Figure 5 A schematic diagram of the structure of a fault detection device provided in an embodiment of the present application;

[0024] Figure 6 A schematic diagram of the structure of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0025] To make the purpose, technical solutions, and advantages of the embodiments of this application more clear, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0026] The disclosure below provides many different embodiments or examples for implementing different configurations of the present invention. To simplify the disclosure of the present invention, the components and configurations of specific examples are described below. Of course, these are merely examples and are not intended to limit the present invention. In addition, the present invention may repeat reference numerals and / or letters in different examples. Such repetition is for the purpose of simplicity and clarity and does not in itself indicate the relationship between the various embodiments and / or configurations discussed.

[0027] In order to solve the problem of low efficiency of fault location of communication units in the prior art, the present application provides a fault detection location, such as Figure 1 As shown, the steps of the method include:

[0028] Step 101: Acquire a fault information signal of each communication unit in the system, wherein the system includes multiple communication units, and the fault information signal indicates whether the corresponding communication unit is in a fault state or a normal state;

[0029] It should be noted that the system usually includes multiple communication units, and the multiple communication units have logical relationships with each other. Figure 2 As shown, the communication path of the communication unit in the system is that the bottom communication unit sends a communication signal to the high-level communication unit through the physical connection unit, and the bottom communication unit may include one or more communication units, and the high-level communication unit may also include one or more communication units. Figure 3 As shown, under normal circumstances, the signal is sent by the lowest communication unit in the bottom communication unit to the upstream communication unit in the bottom communication unit. If the bottom communication unit has multiple communication units, the signal is transmitted to the upstream communication unit layer by layer. After being transmitted to the physical connection unit, the physical connection unit sends a signal to the high-level communication unit. The top-level communication unit in the high-level communication unit receives the signal first, and then transmits it to the corresponding upstream communication unit, and finally transmits it to the highest-level communication unit in the high-level communication unit, and finally transmits it outward by the highest-level communication unit.

[0030] In addition, in a specific example, the fault information signal in the embodiment of the present application can be represented by a binary number, such as the binary number "1" indicates that the communication unit is in a fault state, and the binary number "0" indicates that the communication unit is in a normal state.

[0031] Step 102: extracting a portion of target fault information signals from the plurality of fault information signals;

[0032] Typically, this target fault information signal refers to the highest-level communication unit in the faulty high-level communication units, the lowest-level communication unit that communicates with it, and then the upstream communication unit of that lowest-level communication unit. Based on these three communication units, the fault location can be quickly determined. Since data is transmitted from the bottom layer to the upper layer, after first determining the faulty highest-level communication unit, the corresponding faulty lowest-level communication unit and upstream communication unit are determined downwards. This allows for rapid identification of the fault location within the communication link, or between two communication units.

[0033] It should be noted that in other specific examples, the number of partial target fault information signals is three, which has a good fault location effect. To more accurately locate the fault location or type, the number of partial target fault information signals can be set to more than three. However, in fact, the location accuracy of three or more target fault information signals is not much different. Therefore, in order to achieve faster fault location, three target fault information signals are usually selected.

[0034] Step 103 , matching part of the target fault information signal with a preset table, and determining the fault type or fault location of the communication unit in the system based on the matching result; wherein the preset table includes multiple target fault information signal combinations, and each combination corresponds to a fault type or fault location.

[0035] In a specific example, if there are three partial target fault information signals, and the target fault information signals are represented by binary numbers, the corresponding preset table includes multiple binary number combinations (target fault information signal combinations), each of which includes three binary digits, such as one group of binary digits being 111 (one group of target fault information signal combinations), another group of digits being 110 (another group of target fault information signal combinations), and so on. Each group of binary digits corresponds to a group of fault information signals, indicating the location or type of the fault, and may also indicate that the communication unit is operating normally. It can be seen that fault location in the embodiments of the present application can be used to locate both the fault location and the fault type.

[0036] Through the above steps 101 to 103, in an embodiment of the present application, the fault information signal of each communication unit in the system is obtained, and then part of the target fault information signal is extracted from the multiple fault information signals, and the part of the target fault information signal is matched with the preset table, and the fault type or fault location of the communication unit in the system is determined according to the matching result. It can be seen that by collecting the fault information signal and comparing the collected result with the preset table, the type or location of the current fault can be quickly determined. Compared with the prior art method of performing fault diagnosis by comparing the actual alarm signals one by one, in the present application, the fault location efficiency is higher by extracting part of the target fault information signal and then comparing it with the preset table.

[0037] In the embodiment of the present application, since the communication unit usually has only two states during operation, one is normal operation and the other is a fault state. Therefore, in order to be able to intuitively describe the operating state of the communication unit, the operating state of the communication unit can be represented by a binary number, such as the binary number 1 represents that the communication unit is in a fault state, and the binary number 0 represents that the communication unit is in a normal state. That is to say, during the operation of the communication unit, if it is currently necessary to obtain the fault information signal of the communication unit, the communication unit determines the corresponding binary number based on the current actual operating state, and the state of the communication unit can be quickly determined based on the binary number. Therefore, the method of obtaining the fault information signal of each communication unit in the system involved in step 101 in the embodiment of the present application can further include:

[0038] Step 11: Obtain the binary numbers sent by each communication unit of the system, wherein the binary numbers are fault information signals, and when the binary number is 1, it indicates that the corresponding communication unit is in a fault state, and when the binary number is 0, it indicates that the corresponding communication unit is in a normal state;

[0039] Step 12: setting the position of the binary digit according to the position of the communication unit in the system to obtain a fault information signal of the system.

[0040] In this regard, in a specific example, if there are 9 communication units in the current system, and the binary number determined by each communication unit based on its corresponding operating state is as follows: the binary number corresponding to the 0th communication unit is "0", the binary number corresponding to the 1st communication unit is "0", the binary number corresponding to the 2nd communication unit is "1", the binary number corresponding to the 3rd communication unit is "0", the binary number corresponding to the 4th communication unit is "0", the binary number corresponding to the 5th communication unit is "0", the binary number corresponding to the 6th communication unit is "1", the binary number corresponding to the 7th communication unit is "1", and the binary number corresponding to the 8th communication unit is "1", then the binary numbers of the fault information signals obtained by the corresponding 9 communication units from the 0th to the 8th communication unit are: 001000111. From this series of binary numbers, it is possible to quickly determine whether the current operating state of each communication unit is normal operation or a fault state.

[0041] In an embodiment of the present application, the partial target fault information signal refers to the highest-level communication unit in the high-level communication unit where the fault occurs, and the lowest-level communication unit that communicates with the highest-level communication unit, and then the upstream communication unit of the lowest-level communication unit. Based on these three communication units, the location of the fault can be quickly determined. That is to say, the number of partial target fault information signals in the embodiment of the present application is usually 3. If more accurate positioning is required, it can be more than 3, but the positioning efficiency is inversely proportional to the number of target fault information signals. Based on the fact that the number of partial target fault information signals is 3, the method of extracting partial target fault information signals from multiple fault information signals involved in the above step 102 of the present application is further explained below. Therefore, the step 102 may further include:

[0042] Step 21, determining a communication unit in a fault state from a plurality of fault information signals;

[0043] Step 22: extract the fault information signals of the highest layer communication unit, the lowest layer communication unit communicating with the highest layer communication unit, and the upstream communication unit of the lowest layer communication unit from the communication unit in the fault state and determine them as part of the target fault information signals.

[0044] As can be seen, in the embodiment of the present application, the target fault information signals that ultimately need to be determined are the fault information signals of the highest-level communication unit, the lowest-level communication unit, and the upstream communication unit of the lowest-level communication unit. When there are many communication units, the fault information signals of these three can be used to quickly locate the fault, that is, to locate both the fault location and the fault type.

[0045] It can be seen that the method involved in step 22 above of extracting target fault information signals of the highest-level communication unit, the lowest-level communication unit communicating with the highest-level communication unit, and the upstream communication unit of the lowest-level communication unit from the communication unit in the faulty state may further include:

[0046] Step 31: When the number of communication units in a faulty state is one, determine the fault information signals of any two communication units among the target fault information signals of the communication unit in the faulty state, the highest-level communication unit in the combined system, the lowest-level communication unit communicating with the highest-level communication unit, and the upstream communication unit of the lowest-level communication unit as partial target fault information signals;

[0047] In this regard, in a specific example, if there is only one communication unit that currently fails, this communication unit may be any communication unit. If it is the highest-level communication unit, then in this application, it is also necessary to determine the fault information signals of the corresponding lowest-level communication unit and the corresponding upstream communication unit as the target fault information signal of this part.

[0048] Step 32, when the number of communication units in a faulty state is greater than or equal to 2, the fault information signals of the highest-level communication unit, the lowest-level communication unit that communicates with the highest-level communication unit among the communication units in a faulty state, and the upstream communication unit of the lowest-level communication unit are extracted from the communication units in a faulty state and determined as partial target fault information signals.

[0049] In this specific example, let's assume there are nine communication units and the corresponding binary number of the fault information signal is 001000111. Among the faulty communication units, the highest-level communication unit is selected, i.e., the eighth communication unit. The lowest-level communication unit that communicates with the eighth communication unit and has also failed is found, i.e., the second communication unit. Then, the upstream communication units of this lowest-level communication unit are determined, i.e., the three communication units.

[0050] In this regard, in an embodiment of the present application, the method of matching multiple target fault information signals with a preset table in the above step 103 and determining the fault type of the communication unit in the system according to the matching result may further include:

[0051] Step 41, determining a target digital combination corresponding to the fault information signal of the highest layer communication unit, the fault information signal of the lowest layer communication unit, and the fault information signal of the upstream communication unit;

[0052] Step 42: Match a number combination that matches the target number combination from a preset table, and determine the fault type or fault location in the system according to the matched number combination.

[0053] In this regard, in a specific example, the preset table may be as follows:

[0054]

[0055] Table 1

[0056] Among them, C represents the signal corresponding to the lowest-level communication unit, B represents the signal corresponding to the upstream communication unit, and A represents the signal corresponding to the highest-level communication unit.

[0057] It can be seen from this that if the binary number combination corresponding to the currently determined partial fault information signal is 111, it means that a fault has occurred in the bottom-level communication unit. If the binary number combination is 110, it means that the fault information signal corresponding to the highest-level communication unit is wrong, because the bottom layer before the highest layer and the corresponding upstream unit are reporting faults, but when it comes to the high-level communication unit, it is indeed normal. Therefore, the fault information signal corresponding to the high-level communication unit at this time is wrong, and it is necessary to further determine which communication unit has a problem based on the specific situation.

[0058] It should be noted that, in the embodiment of the present application, when the fault location is identified, it is necessary to delete the faulty communication unit and the corresponding fault information signal so that the communication in the current system can still operate normally.

[0059] The present application is explained below in conjunction with the specific implementation of the embodiment of the present application. The specific implementation provides a method for locating a fault in a communication module, such as Figure 4 As shown, the steps of the method include:

[0060] Step 401: extract the binary numbers A(k), B(k), and C(k) corresponding to the fault information signal.

[0061] Step 402: Match the extracted binary number combination with the rules in Table 1.

[0062] Step 403: Determine the specific location or type of the fault based on the matching result.

[0063] In this regard, in a specific application scenario, the extracted fault information signal combination is: 111000100, which is a 9-bit binary number, each bit represents the alarm signal status of a communication unit. Specifically:

[0064] Bit 0: 0 → The 0th communication unit is normal

[0065] Bit 1: 0 → The first communication unit is normal

[0066] 2nd bit: 1 → 2nd communication unit failure

[0067] Bit 3: 0 → The third communication unit is normal

[0068] Bit 4: 0 → The 4th communication unit is normal

[0069] Bit 5: 0 → The 5th communication unit is normal

[0070] Bit 6: 1 → The 6th communication unit is faulty

[0071] Bit 7: 1 → The 7th communication unit is faulty

[0072] Bit 8: 1 → The 8th communication unit is faulty

[0073] Determine the highest-level communication unit. Among the failed communication units, select the one at the highest level, which is the eighth communication unit. Then, find the corresponding communication unit, which is the second communication unit. Normally, the zeroth communication unit should be the lowest-level communication unit, but both the zeroth and first communication units are functioning normally. Therefore, find the first failed communication unit as the lowest-level communication unit. The upstream communication unit of the second communication unit is the third communication unit.

[0074] Extract A(k)=1 from the first unit Y (the 8th communication unit).

[0075] Extract C(k)=1 from the second unit X (the second communication unit).

[0076] Extract B(k)=0 from the third unit Z (the 3rd communication unit).

[0077] The combined fault information signal is C(k)=1, B(k)=0, A(k)=1. Combining Table 1, it can be seen that the corresponding judgment result is the error B signal.

[0078] As can be seen, by combining the combination of fault information signals with the rules in Table 1, the system can efficiently locate faults without having to pre-store all possible fault propagation modes. Furthermore, this method significantly reduces storage requirements and increases the speed of fault location, making it particularly suitable for large-scale hierarchical communication networks.

[0079] Corresponding to the above Figure 1 , the embodiment of the present application also provides a fault detection device, such as Figure 5 As shown, the device includes:

[0080] An acquisition module 502 is configured to acquire a fault information signal of each communication unit in the system, wherein the system includes multiple communication units, and the fault information signal indicates whether the corresponding communication unit is in a fault state or a normal state;

[0081] An extraction module 504 is configured to extract a portion of target fault information signals from the plurality of fault information signals;

[0082] The first processing module 506 is used to match part of the target fault information signal with a preset table and determine the fault type or fault location of the communication unit in the system based on the matching result; wherein the preset table includes multiple target fault information signal combinations, and each combination corresponds to a fault type or fault location.

[0083] Through the device of the embodiment of the present application, the fault information signal of each communication unit in the system is obtained, and then some target fault information signals are extracted from the multiple fault information signals, and the some target fault information signals are matched with the preset table, and the fault type or fault location of the communication unit in the system is determined according to the matching result. It can be seen that by collecting the fault information signal and comparing the collected result with the preset table, the type or location of the current fault can be quickly determined. Compared with the prior art method of performing fault diagnosis by comparing the actual alarm signals one by one, in the present application, the fault location efficiency is higher by extracting some target fault information signals and then comparing them with the preset table.

[0084] In an optional implementation manner of an embodiment of the present application, the acquisition module in the embodiment of the present application may further include: an acquisition unit, used to acquire binary numbers sent by each communication unit of the system, wherein the binary number is a fault information signal, and when the binary number is 1, it indicates that the corresponding communication unit is in a fault state, and when the binary number is 0, it indicates that the corresponding communication unit is in a normal state; a setting unit, used to set the position of the binary number according to the position of the communication unit in the system to obtain the fault information signal of the system.

[0085] In an optional implementation manner of an embodiment of the present application, the extraction module in the embodiment of the present application may further include: a first determination unit, used to determine the communication unit in a fault state from multiple fault information signals; an extraction unit, used to extract the fault information signals of the highest-level communication unit, the lowest-level communication unit communicating with the highest-level communication unit, and the upstream communication unit of the lowest-level communication unit from the communication unit in the fault state and determine them as partial target fault information signals.

[0086] In an optional implementation manner of an embodiment of the present application, the extraction unit in the embodiment of the present application may further include: a first determination subunit, for determining, when the number of communication units in a faulty state is 1, the fault information signals of any two communication units among the target fault information signals of the communication unit in a faulty state, the highest-level communication unit in the combined system, the lowest-level communication unit communicating with the highest-level communication unit, and the upstream communication unit of the lowest-level communication unit as partial target fault information signals; a second determination subunit, for extracting, when the number of communication units in a faulty state is greater than or equal to 2, the fault information signals of the highest-level communication unit, the lowest-level communication unit communicating with the highest-level communication unit, and the upstream communication unit of the lowest-level communication unit from the communication units in a faulty state as partial target fault information signals.

[0087] In an optional implementation manner of an embodiment of the present application, the first processing module in the embodiment of the present application may further include: a second determination unit, used to determine the target digital combination corresponding to the fault information signal of the highest-level communication unit, the fault information signal of the lowest-level communication unit and the fault information signal of the upstream communication unit; a processing unit, used to match a digital combination that matches the target digital combination from a preset table, and determine the fault type or fault location in the system based on the matched digital combination.

[0088] In an optional implementation manner of the embodiment of the present application, the device in the embodiment of the present application further includes: a second processing module, which is used to delete the faulty communication unit and the corresponding fault information signal when the fault location is identified.

[0089] like Figure 6 As shown, an embodiment of the present application provides a terminal, including a processor 611, a communication interface 612, a memory 613 and a communication bus 614, wherein the processor 611, the communication interface 612, and the memory 613 communicate with each other through the communication bus 614.

[0090] Memory 613, for storing computer programs;

[0091] In one embodiment of the present application, the processor 611 is used to implement the fault detection method provided by any of the aforementioned method embodiments when executing the program stored in the memory 613. The role it plays is similar and will not be repeated here.

[0092] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the fault detection method provided in any of the aforementioned method embodiments are implemented.

[0093] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of this embodiment.

[0094] Through the description of the above embodiments, those skilled in the art will clearly understand that each embodiment can be implemented using software plus a general hardware platform, or of course, hardware. Based on this understanding, the essence of the above technical solution, or the portion that contributes to the relevant technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, or an optical disk, and includes a number of instructions for causing a computer device (such as a personal computer, server, or network device) to execute the methods described in each embodiment or certain portions of the embodiments.

[0095] It should be understood that the terms used herein are for the purpose of describing specific example embodiments only and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "comprise", "include", "contain" and "have" are inclusive and therefore specify the presence of stated features, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring them to be performed in the specific order described or illustrated, unless the order of execution is clearly indicated. It should also be understood that additional or alternative steps may be used.

[0096] The foregoing description is intended only to provide specific embodiments of the present invention, which will enable those skilled in the art to understand and implement the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not intended to be limited to the embodiments shown herein, but is intended to be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A fault detection method, characterized in that: include: Acquire a fault information signal of each communication unit in the system, wherein the system includes a plurality of communication units, and the fault information signal indicates whether the corresponding communication unit is in a fault state or a normal state; extracting a portion of target fault information signals from the plurality of fault information signals; Matching the partial target fault information signal with a preset table, and determining the fault type or fault location of the communication unit in the system according to the matching result; wherein the preset table includes multiple target fault information signal combinations, and each combination corresponds to a fault type or fault location; Among them, extracting part of the target fault information signals from the multiple fault information signals includes: determining the communication unit in the fault state from the multiple fault information signals; extracting the fault information signals of the highest-level communication unit, the lowest-level communication unit communicating with the highest-level communication unit, and the upstream communication unit of the lowest-level communication unit from the communication unit in the fault state as the part of the target fault information signals.

2. The method according to claim 1, characterized in that Obtain fault information signals from each communication unit in the system, including: Obtaining a binary number sent by each communication unit of the system, wherein the binary number is the fault information signal, and when the binary number is 1, it indicates that the corresponding communication unit is in a fault state, and when the binary number is 0, it indicates that the corresponding communication unit is in a normal state; The position of the binary digit is set according to the position of the communication unit in the system to obtain a fault information signal of the system.

3. The method according to claim 1, characterized in that The method further comprises extracting target fault information signals of a highest-level communication unit, a lowest-level communication unit communicating with the highest-level communication unit, and an upstream communication unit of the lowest-level communication unit from the communication unit in the fault state and determining the target fault information signals as the partial target fault information signals, including: When the number of the communication unit in the fault state is one, determining the fault information signals of any two communication units among the target fault information signals of the communication unit in the fault state, the highest-layer communication unit in the system, the lowest-layer communication unit communicating with the highest-layer communication unit, and the upstream communication unit of the lowest-layer communication unit as the partial target fault information signals; When the number of communication units in the faulty state is greater than or equal to 2, the highest-level communication unit, the lowest-level communication unit in the communication units in the faulty state that communicates with the highest-level communication unit, and the fault information signals of the upstream communication units of the lowest-level communication unit are extracted from the communication units in the faulty state and determined as the partial target fault information signals.

4. The method according to claim 3, characterized in that Matching the partial target fault information signal with a preset table, and determining the fault type of the communication unit in the system according to the matching result, includes: determining a target digital combination corresponding to the fault information signal of the highest layer communication unit, the fault information signal of the lowest layer communication unit, and the fault information signal of the upstream communication unit; A number combination matching the target number combination is matched from the preset table, and a fault type or fault location in the system is determined according to the matched number combination.

5. The method according to claim 1, wherein The method further comprises: When the fault location is identified, the faulty communication unit is deleted and the corresponding fault information signal is deleted.

6. A fault detection device, characterized in that: include: an acquisition module, configured to acquire a fault information signal of each communication unit in the system, wherein the system includes a plurality of communication units, and the fault information signal indicates whether the corresponding communication unit is in a fault state or a normal state; An extraction module, configured to extract a portion of target fault information signals from the plurality of fault information signals; a first processing module, configured to match the partial target fault information signal with a preset table, and determine a fault type or fault location of the communication unit in the system based on the matching result; wherein the preset table includes a plurality of target fault information signal combinations, and each combination corresponds to a fault type or fault location; Wherein, the extraction module includes: a first determining unit, configured to determine a communication unit in a fault state from a plurality of fault information signals; An extraction unit is used to extract the fault information signals of the highest-level communication unit, the lowest-level communication unit communicating with the highest-level communication unit, and the upstream communication unit of the lowest-level communication unit from the communication unit in the fault state and determine them as the partial target fault information signals.

7. A terminal, characterized in that: include: at least one communication interface; at least one bus connected to the at least one communication interface; at least one processor coupled to the at least one bus; At least one memory connected to the at least one bus, wherein the processor is configured to execute the fault detection method according to any one of claims 1 to 5.

8. A computer storage medium, characterized in that Computer-executable instructions are stored, and the computer-executable instructions are used to execute the fault detection method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Fault monitoring method and device, electronic equipment and storage medium

    CN115480977A

  • System fault detection method and device, equipment and storage medium

    CN116880346A