Fault detection method and device, terminal and computer storage medium

By acquiring and matching the fault information signals of the communication unit, quickly determining the fault type or location, the problem of low fault positioning efficiency in the communication unit in the prior art is solved, and efficient fault positioning is achieved.

CN120358138AActive Publication Date: 2025-07-22GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 4 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In the prior art, the fault positioning method of communication units is relatively low in efficiency and is difficult to meet the needs of rapid fault positioning.

Method used

By obtaining the fault information signals of each communication unit in the system, extracting some 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 especially suitable for large-scale hierarchical communication networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120358138A_ABST
    Figure CN120358138A_ABST
Patent Text Reader

Abstract

The invention relates to a fault detection method and device, a terminal and a computer storage medium, and the method comprises the steps: obtaining a fault information signal of each communication unit in a system, the system comprises a plurality of communication units, and the fault information signal represents that the communication unit is in a fault state or a normal state; extracting a part 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 a fault type or a fault position of a communication unit in the system according to a matching result; wherein the preset table comprises the multiple target fault information signal combinations, and each combination corresponds to one fault type or fault position. According to the invention, the problem of low positioning efficiency of the fault positioning mode 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] This application relates to the field of fault detection, and particularly to a method and device for detecting faults, a terminal, and a computer storage medium. Background Art

[0002] As a communication interface between the main controller and the drive unit and the UART device, the normal operation of the communication unit is crucial to the entire system. However, when the communication unit fails, it may affect communication nodes at multiple levels. In the prior art, the fault location method for 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 diagnosis mechanism based on pattern matching 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 being difficult to meet the requirements for rapid fault location in practical applications.

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

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

[0005] In a first aspect, this application provides a method for detecting faults, including: obtaining fault information signals of each communication unit in the system, where the system includes multiple communication units, and the fault information signal represents whether the corresponding communication unit is in a fault 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 according to the matching result; where the preset table includes multiple combinations of target fault information signals, and each combination corresponds to a fault type or a fault location.

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

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

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

[0009] Optionally, matching the partial target fault information signals 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-level communication unit, the fault information signal of the bottom-level communication unit, and the fault information signal of the upstream communication unit; matching a digital combination matching the target digital combination from the preset table, and determining the fault type or fault location in the system according to the matched digital combination.

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

[0011] In a second aspect, the present application provides a fault detection device, including: an acquisition module, configured to acquire fault information signals of each communication unit in the system, where the system includes a plurality of communication units, and the fault information signals indicate whether the corresponding communication unit is in a fault state or a normal state; an extraction module, configured to extract some target fault information signals from the plurality of fault information signals; a first processing module, configured to match the some target fault information signals with a preset table, and determine the fault type or fault location of the communication unit in the system according to the matching result; where the preset table includes a plurality of combinations of target fault information signals, and each combination corresponds to a fault type or a fault location.

[0012] Optionally, the extraction module includes: a first determination unit, configured to determine the communication units in a fault state from the plurality of fault information signals; an extraction unit, configured to extract the fault information signals of the highest-level communication unit, the bottom-level communication unit communicating with the highest-level communication unit, and the upstream communication unit of the bottom-level communication unit from the communication units in a fault state as the some target fault information signals.

[0013] In a third aspect, the present application provides a terminal, including: 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; at least one memory connected to the at least one bus, where the processor is configured to execute the fault detection method described in the first aspect of the present application above.

[0014] In a fourth aspect, the present application further provides a computer storage medium storing computer-executable instructions for executing the fault detection method described in the first aspect of the present application above.

[0015] The above technical solutions provided by the embodiments of the present application have the following advantages compared with the prior art: In the method provided by the embodiments of the present application, the fault information signals of each communication unit in the system are acquired, then some target fault information signals are extracted from the plurality of fault information signals, the some target fault information signals are matched with a 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 signals and comparing the collected results with the preset table, the type or location of the currently occurring fault can be determined quickly. Compared with the prior art in which the fault diagnosis is performed by comparing the actual alarm signals one by one, in the present application, by extracting some target fault information signals and then comparing them with the preset table, the fault location efficiency is higher. Description of the Drawings The accompanying drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present invention, and are used together with the specification to explain the principles of the present invention.

[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or in the prior art, the following will briefly introduce the accompanying drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0017] One or more embodiments are exemplarily illustrated by the pictures in the corresponding accompanying drawings. These exemplary illustrations do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements. Unless otherwise stated, the drawings in the figures do not constitute a scale limitation.

[0018] Figure 1 A flowchart of a method for detecting a fault provided for an embodiment of this application; Figure 2 A schematic diagram of the communication path of the communication unit in the system provided for an embodiment of this application; Figure 3 A schematic diagram of the communication unit in the system provided for an embodiment of this application reporting a fault information signal; Figure 4 A flowchart of a method for fault location of a communication module provided for an embodiment of this application; Figure 5 A schematic diagram of the structure of a fault detection device provided for an embodiment of this application; Figure 6 A schematic diagram of the structure of a terminal provided for an embodiment of this application. Detailed implementation manners

[0019] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the following will clearly and completely describe the technical solutions in the embodiments of this application with reference to the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are some but not all of the embodiments of this application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of this application without creative efforts fall within the scope of protection of this application.

[0020] The following disclosure provides many different embodiments or examples for implementing different structures of the present invention. To simplify the disclosure of the present invention, components and settings of specific examples are described below. Of course, they are only 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. This repetition is for the purpose of simplicity and clarity and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0021] To solve the problem of low positioning efficiency in the fault location method of communication units in the prior art, the present application provides a detection orientation for faults, as Figure 1 shown, the steps of the method include: Step 101, obtain the fault information signals of each communication unit in the system, where the system includes multiple communication units, and the fault information signal characterizes whether the communication unit belongs to a fault state or a normal state; It should be noted that usually multiple communication units are included in the system, and there is a logical relationship between the multiple communication units. As Figure 2 shown, the communication path of the communication units in the system is that the underlying communication unit sends a communication signal to the upper-layer communication unit through a physical connection unit, and the underlying communication unit may include one or more communication units, and the upper-layer communication unit may also include one or more communication units. Specifically, as Figure 3 shown, under normal circumstances, the bottommost communication unit in the underlying communication unit sends a signal to the upstream communication unit in the underlying communication unit. If there are multiple communication units in the underlying communication unit, the signal is transmitted layer by layer to the upstream communication unit. After being transmitted to the physical connection unit, the physical connection unit sends a signal to the upper-layer communication unit. The signal is first received by the topmost communication unit in the upper-layer communication unit, then transmitted to the corresponding upstream communication unit, and finally transmitted to the topmost communication unit in the upper-layer communication unit, and finally transmitted outward by this topmost communication unit.

[0022] In addition, in a specific example, the fault information signal in the embodiment of the present application may be represented by a binary number. For example, 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.

[0023] Step 102, extract some target fault information signals from the multiple fault information signals; Under normal circumstances, this part of the target fault information signal refers to the highest-level communication unit in the high-level communication unit where the fault occurs, the lowest-level communication unit communicating 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 fault location can be quickly determined. Since data is transmitted from the bottom layer to the high layer, after determining the highest-level communication unit where the fault occurs, then determine the corresponding lowest-level communication unit and upstream communication unit where the fault occurs, so that the communication unit where the fault occurs in this communication link or between which two communication units can be quickly determined.

[0024] It should be noted that in other specific examples, the number of this part of the target fault information signals is 3, and its fault location effect is already relatively good. If you want to more accurately locate the fault location or type, the number of part of the target fault information signals can be set to more than 3. However, in fact, the positioning accuracy of 3 or more target fault information signals is not much different. Therefore, in order to be able to perform fault location faster, usually 3 target fault information signals are selected.

[0025] Step 103, match part of the target fault information signals with a preset table, and determine the fault type or fault location of the communication unit in the system according to the matching result; wherein, the preset table includes multiple combinations of target fault information signals, and each combination corresponds to a fault type or fault location.

[0026] In a specific example, if part of the target fault information signals are 3, and the target fault information signals are represented by binary numbers, the corresponding preset table includes multiple binary number combinations (combinations of target fault information signals), and each combination includes 3 bits of binary numbers. For example, a group of binary numbers is 111 (a group of target fault information signal combinations), and another group is 110 (another group of target fault information signal combinations), etc. Each group of binary numbers 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, etc. It can be seen that the fault location in the embodiment of the present application can be either the location of the fault or the type of the fault.

[0027] Through the above steps 101 to 103, in the embodiments of the present application, the fault information signals of each communication unit in the system are obtained, and then some target fault information signals are extracted from the multiple fault information signals. The some target fault information signals are matched with a 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 signals and comparing the collected results with the preset table, the type or location of the current fault can be quickly determined. Compared with the prior art in which the fault diagnosis is carried out by comparing the actual alarm signals one by one, in the present application, by extracting some target fault information signals and then comparing them with the preset table, the fault location efficiency is higher.

[0028] In the embodiments of the present application, since a communication unit usually has only two states during operation, one is normal operation and the other is a fault state. Therefore, in order to intuitively describe the operation state of the communication unit, the operation state of the communication unit can be represented by a binary number. For example, 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 the fault information signal of the communication unit needs to be obtained currently, the communication unit determines the corresponding binary number based on the current actual operation state, and the state of the communication unit can be quickly determined based on the binary number. Therefore, for the method of obtaining the fault information signals of each communication unit in the system involved in step 101 in the embodiments of the present application, it can further include: Step 11, obtaining the binary numbers sent by each communication unit in the system, where the binary number is a fault information signal, and when the binary number is 1, it represents that the corresponding communication unit is in a fault state, and when the binary number is 0, it represents that the corresponding communication unit is in a normal state; Step 12, setting the positions of the binary numbers according to the positions of the communication units in the system to obtain the fault information signal of the system.

[0029] In this regard, in a specific example, if there are 9 communication units in the current system, the binary numbers determined by each communication unit based on its corresponding operating state are 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 these 9 communication units from the 0th to the 8th communication unit are: 001000111. From this string 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.

[0030] In the embodiment of the present application, this part of the target fault information signal refers to the highest-level communication unit among the high-level communication units that have failed, 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 where the fault occurs can be quickly determined. That is to say, the number of this part of the target fault information signal 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. The following further explains the method of extracting part of the target fault information signal from multiple fault information signals involved in step 102 of the present application based on the number of part of the target fault information signals being 3. Therefore, step 102 can further include: Step 21, determining the communication units in a fault state from multiple fault information signals; Step 22, extracting the fault information signals of the highest-level communication unit, the lowest-level communication unit that communicates with the highest-level communication unit, and the upstream communication unit of the lowest-level communication unit from the communication units in a fault state and determining them as part of the target fault information signals.

[0031] It can be seen that in the embodiment of the present application, it is ultimately necessary to determine that part of the target fault information signal refers to 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 location can be quickly determined through the fault information signals of the three, that is, both the fault location and the fault type can be located.

[0032] It can be seen that for the method of extracting the target fault information signals of the highest-level communication unit, the bottommost communication unit communicating with the highest-level communication unit, and the upstream communication unit of the bottommost communication unit from the communication unit in the fault state involved in step 22 above, it can further include: Step 31, when the number of communication units in the fault state is 1, determine the fault information signals of any two communication units among the communication unit in the fault state, the highest-level communication unit in the system, the bottommost communication unit communicating with the highest-level communication unit, and the target fault information signals of the upstream communication unit of the bottommost communication unit as partial target fault information signals; In this regard, in a specific example, if there is only one currently faulty communication unit, this communication unit may be any communication unit. If it is the highest-level communication unit, the fault information signals of the corresponding bottommost communication unit and the corresponding upstream communication unit also need to be determined in this application as the partial target fault information signals.

[0033] Step 32, when the number of communication units in the fault state is greater than or equal to 2, extract the highest-level communication unit from the communication units in the fault state, and determine the fault information signals of the bottommost communication unit communicating with the highest-level communication unit among the communication units in the fault state and the upstream communication unit of the bottommost communication unit as partial target fault information signals.

[0034] In this regard, in a specific example, taking the above 9 communication units and the binary numbers of the corresponding fault information signals as: 001000111 as an example. Among the faulty communication units, select the communication unit located at the highest level, that is, the 8th communication unit is at the highest level. Find the bottommost faulty communication unit communicating with the 8th communication unit, that is, the 2nd communication unit, and then determine the upstream communication unit of this bottommost communication unit, that is, 3 communication units.

[0035] In this regard, in the embodiments of this application, for the method of matching multiple target fault information signals with a preset table and determining the fault type of the communication unit in the system according to the matching result involved in step 103 above, it can further include: Step 41, determine the target digital combinations corresponding to the fault information signals of the highest-level communication unit, the fault information signals of the bottommost communication unit, and the fault information signals of the upstream communication unit; Step 42, match the digital combination matching the target digital combination from the preset table, and determine the fault type or fault location in the system according to the matched digital combination.

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

[0037] Table 1 Among them, C represents the signal corresponding to the bottom - layer communication unit, B represents the signal corresponding to the upstream communication unit, and A represents the signal corresponding to the top - layer communication unit.

[0038] Thus, it can be seen that if the binary number combination corresponding to the currently determined partial fault information signal is 111, it indicates that the bottom - layer communication unit has a fault. If the binary number combination is 110, it means that the fault information signal corresponding to the top - layer communication unit is incorrect. Because the bottom - layer and the corresponding upstream units in front of the top - layer all report faults, but at the top - layer communication unit, it is in a normal state. Therefore, the fault information signal corresponding to the top - layer communication unit at this time is incorrect, and it is necessary to further combine the specific situation to determine which communication unit has a problem.

[0039] It should be noted that in the embodiments of the present application, when the fault location is identified, the faulty communication unit needs to be deleted, and the corresponding fault information signal needs to be deleted, so that the communication in the current system can still operate normally.

[0040] Next, in combination with the specific implementation manners of the embodiments of the present application, the present application will be explained. The specific implementation manners provide a method for fault location of a communication module, as Figure 4 shown. The steps of this method include: Step 401: Extract the binary numbers A(k), B(k), and C(k) corresponding to the fault information signal.

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

[0042] Step 403: Determine the specific location or type of the fault according to the matching result.

[0043] In this regard, in a specific application scenario, the extracted fault information signal combination is: 111000100, which is a 9 - bit binary number, and each bit represents the alarm signal state of a communication unit. Specifically: Bit 0: 0 → The 0th communication unit is normal Bit 1: 0 → The 1st communication unit is normal Bit 2: 1 → The 2nd communication unit has a fault Bit 3: 0 → The 3rd communication unit is normal Bit 4: 0 → The 4th communication unit is normal Bit 5: 0 → The 5th communication unit is normal Bit 6: 1 → The 6th communication unit has a fault Bit 7: 1 → The 7th communication unit has a fault 8th bit: 1 → Fault of the 8th communication unit Determine the communication unit at the highest layer. Among the faulty communication units, select the one at the highest layer, i.e., the 8th communication unit is at the highest layer. Then find the communication unit corresponding to the communication unit at the highest layer, i.e., the 2nd communication unit. Normally, the 0th communication unit should be the bottom - layer communication unit, but both the 0th and 1st communication units are in normal state. Therefore, the first faulty communication unit needs to be found as the bottom - layer communication unit. The upstream communication units of the 2nd communication unit are the 3rd communication unit.

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

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

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

[0047] The combined fault - information signal is C(k)=1, B(k)=0, A(k)=1. Combining with Table 1, the corresponding judgment result is an incorrect B signal.

[0048] It can be seen that through the method of the embodiment of the present application, by combining the combination of the fault - information signal with the rules of Table 1, the system can efficiently locate faults without the need to pre - store all possible fault - propagation patterns. Moreover, this method in the embodiment of the present application significantly reduces the storage requirement and improves the speed of fault location, and is especially suitable for large - scale hierarchical communication networks.

[0049] Corresponding to the above Figure 1 , the embodiment of the present application also provides a fault - detection device, as Figure 5 shown. The device includes: An acquisition module 502, configured to acquire the fault - information signals of each communication unit in the system. Among them, the system includes multiple communication units, and the fault - information signal characterizes whether the affiliated communication unit is in a fault state or a normal state; An extraction module 504, configured to extract some target fault - information signals from multiple fault - information signals; A first processing module 506, configured to match some target fault - information signals with a preset table, and determine the fault type or fault location of the communication unit in the system according to the matching result; where the preset table includes multiple combinations of target fault - information signals, and each combination corresponds to a fault type or a fault location.

[0050] Through the device according to the embodiments of the present application, fault information signals of each communication unit in the system are obtained, and then some target fault information signals are extracted from the multiple fault information signals, the some target fault information signals are matched with a 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 signals and comparing the collected results with the preset table, the type or location of the current fault can be quickly determined. Compared with the prior art in which the fault diagnosis is carried out by comparing the actual alarm signals one by one, in the present application, by extracting some target fault information signals and then comparing them with the preset table, the fault location efficiency is higher.

[0051] In an alternative embodiment of the embodiments of the present application, the obtaining module in the embodiments of the present application may further include: an obtaining unit, configured to obtain binary numbers sent by each communication unit in the system, where 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, configured to set the positions of the binary numbers according to the positions of the communication units in the system to obtain the fault information signal of the system.

[0052] In an alternative embodiment of the embodiments of the present application, the extracting module in the embodiments of the present application may further include: a first determining unit, configured to determine the communication units in a fault state from the multiple fault information signals; an extracting unit, configured to extract the fault information signals of the top-level communication unit, the bottom-level communication unit communicating with the top-level communication unit, and the upstream communication unit of the bottom-level communication unit from the communication units in a fault state as some target fault information signals.

[0053] In an alternative embodiment of the embodiments of the present application, the extracting unit in the embodiments of the present application may further include: a first determining subunit, configured to, when the number of communication units in a fault state is 1, determine the fault information signals of any two communication units from the fault information signals of the communication unit in a fault state, combined with the top-level communication unit, the bottom-level communication unit communicating with the top-level communication unit, and the upstream communication unit of the bottom-level communication unit in the system as some target fault information signals; a second determining subunit, configured to, when the number of communication units in a fault state is greater than or equal to 2, extract the fault information signals of the top-level communication unit, the bottom-level communication unit communicating with the top-level communication unit among the communication units in a fault state, and the upstream communication unit of the bottom-level communication unit as some target fault information signals.

[0054] In an alternative implementation of the embodiment of the present application, the first processing module in the embodiment of the present application may further include: a second determination unit, configured to determine a target digital combination corresponding to the fault information signal of the top - layer communication unit, the fault information signal of the bottom - layer communication unit, and the fault information signal of the upstream communication unit; a processing unit, configured to match, from a preset table, a digital combination that matches the target digital combination, and determine a fault type or a fault location in the system according to the matched digital combination.

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

[0056] As Figure 6 shown, the embodiment of the present application provides a terminal, including a processor 611, a communication interface 612, a memory 613, and a communication bus 614. Among them, the processor 611, the communication interface 612, and the memory 613 complete mutual communication through the communication bus 614. The memory 613 is used to store a computer program. In an embodiment of the present application, when the processor 611 executes the program stored on the memory 613, it implements the fault detection method provided by any one of the foregoing method embodiments, and the functions it performs are similar, so details are not described herein again.

[0057] The embodiment of the present application also provides a computer - readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the steps of the fault detection method provided by any one of the foregoing method embodiments.

[0058] The device embodiments described above are merely illustrative. 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 may be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0059] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the essence of the above technical solution, or the part that contributes to the related 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, magnetic disk, optical disk, etc., and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0060] It should be understood that the terms used herein are for the purpose of describing particular example embodiments only and are not intended to be limiting. Unless the context clearly dictates otherwise, as used herein, the singular forms "a", "an", and "the" may also include the plural forms. The terms "comprising", "including", "containing", and "having" are inclusive and thus specify the presence of the stated features, steps, operations, elements, and / or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and / or their combinations. The method steps, processes, and operations described herein are not to be construed as necessarily requiring them to be performed in the particular order described or illustrated, unless the order of performance is explicitly stated. It should also be understood that additional or alternative steps may be used.

[0061] The above description is only the specific embodiments of the present invention, enabling those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be obvious to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to these embodiments shown herein, but will be accorded the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A method for detecting a fault, characterized in that, Including: Obtaining fault information signals of each communication unit in the system, where the system includes multiple communication units, and the fault information signals indicate whether the corresponding communication unit is in a fault 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 according to the matching result; where the preset table includes multiple combinations of target fault information signals, and each combination corresponds to a fault type or a fault location.

2. The method according to claim 1, characterized in that Obtaining fault information signals of each communication unit in the system includes: Obtaining binary numbers sent by each communication unit in the system, where the binary numbers are the 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; Setting the positions of the binary numbers according to the positions of the communication units in the system to obtain the fault information signals of the system.

3. The method according to claim 1, wherein Extracting partial target fault information signals from the multiple fault information signals includes: Determining the communication units 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 units in a fault state and determining them as the partial target fault information signals.

4. The method according to claim 3, wherein 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 units in a fault state and determining them as the partial target fault information signals includes: When the number of communication units in a fault state is 1, determining the fault information signals of any two communication units among the communication unit in a fault state, combined with 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 in the system as the partial target fault information signals; When the number of communication units in a fault state is greater than or equal to 2, extracting the fault information signals of the highest-level communication unit, the lowest-level communication unit communicating with the highest-level communication unit among the communication units in a fault state, and the upstream communication unit of the lowest-level communication unit and determining them as the partial target fault information signals.

5. The method according to claim 4, characterized in that, Matching the partial target fault information signals with a preset table and determining the fault type of the communication unit in the system according to the matching result includes: 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; Match the digital combination that matches the target digital combination from the preset table, and determine the fault type or fault location in the system according to the matched digital combination.

6. The method according to claim 1, characterized in that, The method further includes: In the case where the fault location is identified, delete the communication unit with a fault and delete the corresponding fault information signal.

7. A fault detection device, characterized in that, Includes: An acquisition module for acquiring the fault information signals of each communication unit in the system, where the system includes a plurality of communication units, and the fault information signal characterizes whether the communication unit belongs to a fault state or a normal state; An extraction module for extracting part of the target fault information signals from the plurality of fault information signals; A first processing module for matching the part of the target fault information signals with the preset table and determining the fault type or fault location of the communication unit in the system according to the matching result; where the preset table includes a plurality of target fault information signal combinations, and each combination corresponds to a fault type or a fault location.

8. The device according to claim 7, wherein The extraction module includes: A first determination unit for determining the communication unit in a fault state from the plurality of fault information signals; An extraction unit for 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 units in the fault state and determining them as the part of the target fault information signals.

9. A terminal, characterized in that, Includes: 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; At least one memory connected to the at least one bus, where the processor is configured to execute the fault detection method according to any one of claims 1 to 6 above.

10. A computer storage medium, characterized in that, Stores computer-executable instructions, and the computer-executable instructions are used to execute the fault detection method according to any one of claims 1 to 6 above.

Citation Information

Patent Citations

  • Photovoltaic power generation system state online monitoring and fault locating system and method

    CN109450376A

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

    CN115480977A

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

    CN116880346A

  • Method and device for fault handling, and controller

    WO2018028573A1