A method and apparatus for detecting multi-source faults based on image matching
By generating a dot matrix diagram of equipment status and relationships and performing logical AND operations, the problem of complex fault diagnosis in urban rail transit signaling systems is solved, achieving efficient and timely fault diagnosis and reducing maintenance costs.
Patent Information
- Application Number
- CN202210674701.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-14
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2042-06-14
AI Technical Summary
In existing technologies, the fault diagnosis process of urban rail transit signaling systems is complex and cannot cope with rapid changes, resulting in a waste of time and resources.
A multi-source fault detection method based on image matching is adopted. By generating a dot matrix diagram of equipment status, a dot matrix diagram of equipment association relationship, and a dot matrix diagram of fault association relationship, a logical AND operation is performed to output fault description information.
It enables efficient and timely fault diagnosis, reduces maintenance costs, improves computational stability and efficiency, and adapts to rapid changes in signal systems.
Smart Images

Figure CN115100445B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of urban rail transit technology, and in particular to a method and apparatus for detecting multi-source faults based on image matching. Background Art
[0002] Urban rail transit signaling systems are designed for automatic fault identification, analysis, and guidance on repair and maintenance. These systems consist of numerous devices, with a wide variety of associated data acquisition equipment. These devices can be further subdivided, resulting in a large number of devices with complex relationships. Current technologies often rely on pre-defined relationships or intelligent algorithms to derive these relationships for fault diagnosis. This approach is not only complex and time-consuming but also incapable of handling rapid changes in the signaling system. Summary of the Invention
[0003] This invention provides a method and apparatus for detecting multi-source faults based on image matching, which solves the shortcomings of existing technologies in that the fault discrimination steps are complex and cannot cope with the rapid changes in the signal system, and achieves efficient and timely fault judgment.
[0004] This invention provides a multi-source fault detection method based on image matching, comprising:
[0005] Acquire device information of a signal system, wherein the signal system includes multiple devices;
[0006] Based on the device information, generate a device status dot matrix diagram, a device association dot matrix diagram, and a fault association dot matrix diagram corresponding to the multiple devices;
[0007] Based on the device status dot matrix, the device association dot matrix, and the fault association dot matrix, output fault description information.
[0008] According to the present invention, a multi-source fault detection method based on image matching is provided, wherein acquiring device information of the signal system includes:
[0009] Obtain at least one of the following: device type of each device, number of devices corresponding to each device type, relationship between devices, and real-time operating status of each device.
[0010] According to the present invention, a multi-source fault detection method based on image matching is provided, wherein generating a device status dot matrix diagram, a device association dot matrix diagram, and a fault association dot matrix diagram corresponding to the signal system based on the device information includes:
[0011] Based on the device type of each device and the number of devices corresponding to each device type, a dot matrix diagram of device status is generated.
[0012] Based on the relationships between the various devices, a dot matrix diagram of device relationships is generated;
[0013] Based on the real-time operating status of each device, the fault correlation matrix is generated.
[0014] According to the present invention, a multi-source fault detection method based on image matching is provided, wherein the step of outputting fault description information based on the device status dot matrix, the device association dot matrix, and the fault association dot matrix includes:
[0015] Perform a logical AND operation on the device status dot matrix, the device association dot matrix, and the fault association dot matrix;
[0016] Based on the result of the logical AND operation, the fault description information is output.
[0017] According to the present invention, a multi-source fault detection method based on image matching is provided, wherein performing a logical AND operation on the device status dot matrix, the device association dot matrix, and the fault association dot matrix includes:
[0018] In the event that the target device fails among the multiple devices, the pixel corresponding to the target device in the device status dot matrix will be changed from black to white.
[0019] When the target device corresponds to an associated device, the pixels corresponding to the association relationship with the target device in the device association relationship dot matrix are changed from black to white.
[0020] The pixels in the fault correlation matrix that correspond to the real-time operating status of the target device are changed from black to white;
[0021] Perform a logical AND operation on the pixels in the device status dot matrix, the pixels in the device association dot matrix, and the pixels in the fault association dot matrix.
[0022] According to the present invention, a multi-source fault detection method based on image matching is provided, wherein the fault description information is output based on the result of the logical AND operation, including:
[0023] If the device status dot matrix, the device association dot matrix, and the fault association dot matrix all include white pixels, output the fault description information corresponding to the target device.
[0024] The present invention also provides a multi-source fault detection device based on image matching, comprising:
[0025] The first processing module is used to acquire device information of the signal system, which includes multiple devices.
[0026] The second processing module is used to generate, based on the device information, a device status dot matrix diagram, a device association dot matrix diagram, and a fault association dot matrix diagram corresponding to the multiple devices;
[0027] The third processing module is used to output fault description information based on the device status dot matrix, the device association dot matrix, and the fault association dot matrix.
[0028] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the multi-source fault detection method based on image matching as described above.
[0029] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the multi-source fault detection method based on image matching as described above.
[0030] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the multi-source fault detection method based on image matching as described above.
[0031] The present invention provides a multi-source fault detection method and apparatus based on image matching. By constructing the fault description as a two-dimensional image, the fault description method is unified into a single mode, thereby achieving a unified fault description to adapt to the rapidly changing characteristics of signal systems. This reduces the complexity of manufacturing or correction, lowers the investment in testing and verification due to the complexity of the description, and thus improves resource utilization and has high adaptability. The fault description information is generated based on the matching of each dot matrix image. The image matching process can be completed without repeatedly modifying the judgment and processing method, significantly reducing maintenance costs and avoiding the impact of erroneous calculations introduced during the modification process on the final result. This significantly improves the stability, convenience, and efficiency of the calculation. Attached Figure Description
[0032] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0033] Figure 1 This is one of the flowcharts of the multi-information source fault detection method based on image matching provided by the present invention;
[0034] Figure 2 This is the second flowchart of the multi-information source fault detection method based on image matching provided by the present invention;
[0035] Figure 3 This is a schematic diagram of the structure of the multi-information source fault detection device based on image matching provided by the present invention;
[0036] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. Detailed Implementation
[0037] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0038] The following is combined Figures 1 to 2 The present invention describes a multi-source fault detection method based on image matching.
[0039] It should be noted that the execution subject of this multi-information source fault detection method based on image matching can be the signaling system of urban rail transit, or a server connected to the signaling system, or a user's mobile phone or computer or other terminal.
[0040] like Figure 1 As shown, the multi-information source fault detection method based on image matching includes steps 110, 120 and 130.
[0041] Step 110: Obtain the equipment information of the signal system, which includes multiple devices;
[0042] In this step, the signaling system is the signaling system for urban rail transit.
[0043] It is understandable that a signal system includes multiple devices, some of which are associated with other devices. Different devices may also include multiple devices, and different devices may also have relationships with each other.
[0044] During the operation of a signal system, the faults of different devices / sub-devices are often correlated.
[0045] In this embodiment, the equipment may include, but is not limited to, train equipment and ground equipment, wherein:
[0046] Train equipment includes, but is not limited to: train-to-ground communication equipment, speed measurement equipment, automatic driving logic computing equipment, and automatic protection logic computing equipment, among other functional equipment.
[0047] Ground equipment includes functional equipment such as ground-to-train communication equipment, ground equipment status acquisition equipment, and ground safety logic calculation equipment.
[0048] Equipment information refers to information that characterizes the equipment itself, as well as its operating status.
[0049] For example, equipment information may include at least one of the following: equipment type information, associated equipment information, and associated fault information.
[0050] Among them, the equipment type information is used to characterize the type of equipment.
[0051] Associated device information is used to characterize device information that is associated with the device, including but not limited to: the overall device information to which the device belongs, device information that has a communication connection with the device, and device information that has a linkage relationship with the device.
[0052] Associated fault information is used to characterize the possible fault conditions of the equipment itself when a fault occurs, as well as other fault conditions associated with that fault.
[0053] For example, in the case of a train speed malfunction, the associated malfunction may be a train equipment malfunction.
[0054] For example, in the event of a communication failure between the train and the ground, the associated failure may be a failure of the wireless communication equipment.
[0055] In some embodiments, step 110 may include:
[0056] Obtain at least one of the following from multiple devices: device type of each device, number of devices corresponding to each device type, relationship between devices, and real-time operating status of each device.
[0057] In this embodiment, the device types may include, but are not limited to: train-to-ground communication devices, ground-to-train communication devices, speed measurement devices, automatic driving logic calculation devices, automatic protection logic calculation devices, ground equipment status acquisition devices, and ground safety logic calculation devices.
[0058] The number of devices of the same type can be one or more.
[0059] Different devices may be interconnected or operate independently.
[0060] Real-time operating status includes normal operating status and fault status.
[0061] In actual execution, the acquired device type information can be stored in a local database or a cloud database and retrieved when needed.
[0062] Step 120: Based on the equipment information, generate a dot matrix diagram of equipment status, a dot matrix diagram of equipment association, and a dot matrix diagram of fault association for multiple devices;
[0063] In this step, the bitmap is a two-dimensional image composed of pixels, with each pixel having a default color of black and a corresponding value of 0.
[0064] The device status dot matrix diagram is an image used to characterize the type and quantity relationship of all devices in a signal system. The horizontal axis of the device status dot matrix diagram represents the type of device, and the vertical axis represents the quantity of devices of each type.
[0065] For example, if there are 800 types of devices and 600 devices of each type, the corresponding device status dot matrix diagram is a dot matrix diagram of 800×600 pixels, where each pixel represents a device.
[0066] A device relationship dot matrix diagram is an image used to represent the relationships between devices.
[0067] A fault correlation matrix is an image used to describe the correlation between faults.
[0068] The following explains the specific generation methods for equipment status dot matrix diagrams, equipment relationship dot matrix diagrams, and fault relationship dot matrix diagrams.
[0069] In some embodiments, step 120 may include:
[0070] Based on the device type of each device and the number of devices corresponding to each device type, generate a device status dot matrix diagram;
[0071] Based on the relationships between various devices, a device relationship matrix is generated.
[0072] A fault correlation matrix is generated based on the real-time operating status of each device.
[0073] In this embodiment, the type of each device is determined based on the device type information, and the quantity of each type and the total number of all types are determined based on the type. A device status dot matrix diagram is generated with the number of types as the horizontal axis and the number of devices corresponding to each type as the vertical axis.
[0074] Based on the associated device information, obtain the association relationship between any two devices. If the association relationship exists, generate a dot matrix diagram of device association relationship with the association relationship between devices as the vertical axis.
[0075] In the event of equipment failure, obtain possible related fault information, use the description of the fault as the horizontal axis, and use the correlation of the horizontal axis to represent the fault correlation relationship to generate a fault correlation matrix.
[0076] It should be noted that this fault description information may be associated with two or more devices.
[0077] Step 130: Based on the equipment status dot matrix diagram, equipment association dot matrix diagram, and fault association dot matrix diagram, output fault description information.
[0078] In this step, the fault description information may include: information about the faulty device, total device information associated with the faulty device, and real-time fault information, etc.
[0079] Based on the equipment status dot matrix, information about the faulty equipment can be identified; based on the association dot matrix, information about the total equipment associated with the faulty equipment can be identified; based on the fault association dot matrix, information about the associated faults can be identified. Matching these three elements generates fault description information. The fault description information characterizes the type of fault, the associated equipment information, and related fault information.
[0080] In actual execution, logical operations can be performed on the equipment status dot matrix diagram, equipment association dot matrix diagram, and fault association dot matrix diagram to match and obtain the corresponding fault description information.
[0081] It is understandable that there may be more than one fault association description.
[0082] In some implementations, a single matching is required for a particular fault analysis, while multiple matchings are required for all fault analyses. Once all fault analyses have been matched, a complete fault analysis is performed.
[0083] After matching and obtaining the corresponding fault description information, the fault description information can be output.
[0084] The output fault description information can be in the form of text output, image output, voice output or other arbitrary output forms, and this invention does not limit it.
[0085] In some embodiments, step 130 may include:
[0086] Perform a logical AND operation on the equipment status dot matrix diagram, the equipment relationship dot matrix diagram, and the fault relationship dot matrix diagram;
[0087] Based on the result of the logical AND operation, output fault description information.
[0088] In this embodiment, performing a logical AND operation on the device status dot matrix, the device association dot matrix, and the fault association dot matrix can be represented as performing a logical AND operation on the pixels in the device status dot matrix, the pixels in the device association dot matrix, and the pixels in the fault association dot matrix.
[0089] For example, a logical AND operation can be performed based on the numerical value of each pixel, or a logical AND operation can be performed based on the color of each pixel; then, based on the result of the logical AND operation, fault description information can be obtained.
[0090] In some embodiments, performing a logical AND operation on the device status dot matrix, the device association dot matrix, and the fault association dot matrix may include:
[0091] In the event that the target device fails among multiple devices, the pixel corresponding to the target device in the device status dot matrix will be changed from black to white.
[0092] When the target device has associated devices, the pixels corresponding to the association relationship with the target device in the device association matrix will be changed from black to white.
[0093] In the fault correlation matrix, the pixels corresponding to the real-time operating status of the target device are changed from black to white.
[0094] Perform a logical AND operation on the pixels in the device status dot matrix, the pixels in the device association dot matrix, and the pixels in the fault association dot matrix.
[0095] In this embodiment, the target device is the device that has malfunctioned among multiple devices.
[0096] The number of target devices can be one or more.
[0097] By default, each pixel is black and its corresponding value is "0".
[0098] In actual execution, if the target device is found to be faulty, the color of the corresponding pixel in the device status dot matrix is changed to white, and the value of the corresponding pixel is changed to "1".
[0099] In the absence of equipment failure, the device status bitmap will not be modified; that is, the color of the pixels in the device status bitmap will remain black.
[0100] Determine whether the target device has associated devices. If the target device has associated devices, then in the device association dot matrix, change the color of the pixel corresponding to the association to white and change the value of the pixel to "1".
[0101] In other embodiments, if the target device does not have associated devices, the device association bitmap is not modified; that is, the color of the pixels in the device association bitmap remains black.
[0102] In the fault association matrix, filter the relevant fault information, change the color of the pixel corresponding to the fault association description to white, and change the value of the pixel to "1".
[0103] In other embodiments, if no fault association description is matched, the fault association bitmap is not modified; that is, the color of the pixels in the fault association bitmap remains black.
[0104] Then, based on the color of the pixels in the latest device status dot matrix, device association dot matrix, and fault association dot matrix, or the corresponding value of the pixels, a logical AND operation is performed to generate the logical AND operation result.
[0105] The result of the logical AND operation can be represented as a color value or as a number.
[0106] For example, if the result of the logical AND operation is 1, it indicates that the value of the relevant pixel in the three bitmaps is 1, thus determining that the target device is faulty, the device associated with the target device is faulty, and outputting the relevant fault description information.
[0107] For example, if the result of a logical AND operation is 0, it indicates that the value of the relevant pixel in at least one of the three bitmaps is 0.
[0108] It is understandable that different logical AND operation results will have different corresponding fault description information.
[0109] In some embodiments, outputting fault description information based on the result of a logical AND operation may include: outputting fault description information corresponding to the target device when the device status dot matrix, device association dot matrix, and fault association dot matrix all include white pixels.
[0110] In this embodiment, if the device status dot matrix, device association dot matrix, and fault association dot matrix all include white pixels, then the target device fault, the device fault associated with the target device, and the relevant fault description information are obtained by matching.
[0111] For example, there are 500 types of equipment, including: equipment type A, equipment type B, and equipment type C, etc.
[0112] Among them, the number of devices corresponding to device type A is 10, the number of devices corresponding to device type B is 10, and the number of devices corresponding to device type C is 10;
[0113] The devices corresponding to device type A are, in order: device A1, device A2, device A3... device A10.
[0114] The devices corresponding to device type B are, in order: device B1, device B2, device B3... device B10.
[0115] And so on.
[0116] The equipment is associated with the equipment in the same sequence number; for example, equipment A1 and equipment B1 are associated, and equipment A3 and equipment B3 are associated.
[0117] When related devices of device type A and device type B fail simultaneously, the cause may be M1; when related devices of device type A and device type C fail simultaneously, the cause may be M2.
[0118] For example, if equipment type A represents all trains, then A1-A10 represent 10 trains, where vertical coordinate 1 represents train 1 and vertical coordinate 2 represents train 2; if equipment type B represents train-to-ground communication equipment, then B1-B10 represent 10 train-to-ground communication equipment; if equipment type C represents train speed measurement equipment, then C1-C10 represent 10 train speed measurement equipment.
[0119] The horizontal axis is used to represent the fault correlation, so M1 can be: train-to-ground communication failure, train equipment failure;
[0120] M2 can be: train speed measurement failure, train equipment failure.
[0121] For example, when device type A is a wireless communication device, device type B is a train-to-ground communication device, and device type C is a ground-to-train communication device, the relationship of the vertical coordinates can be: {vertical coordinate 1, vertical coordinate 2}, {vertical coordinate 1, vertical coordinate 3}, {vertical coordinate 1, vertical coordinate 4}, {vertical coordinate 2, vertical coordinate 1}, {vertical coordinate 2, vertical coordinate 2}, and {vertical coordinate 2, vertical coordinate 3}, etc.
[0122] The fault description for M1 could be: "Train-to-ground communication failure, wireless communication equipment failure".
[0123] When generating the device status dot matrix diagram, the horizontal axis value of the device status dot matrix diagram is made greater than the total number of existing device types, and the vertical axis value of the device status dot matrix diagram is made greater than the actual number of each device, in order to improve the scalability of the device status dot matrix diagram.
[0124] For example, if the horizontal coordinate of the device status dot matrix is set to 800 and the vertical coordinate is set to 600, a dot matrix with 800×600 pixels will be generated.
[0125] The relationships between devices can be represented by the relationships on the vertical axis. For devices of type A, type B, and type C, there are 10 graphs: {vertical axis 1}, {vertical axis 2}, {vertical axis 3}, ... up to {vertical axis 10}.
[0126] The correlation between faults can be represented by the correlation of the horizontal axis. For faults M1 and M2, there are two graphs: {horizontal axis 1, horizontal axis 2} and {horizontal axis 1, horizontal axis 3}.
[0127] Initially, all pixels in the bitmap are black, and their corresponding values are all "1".
[0128] It should be noted that during fault analysis, a logical AND operation is performed on the equipment status dot matrix, the equipment relationship dot matrix, and the fault relationship dot matrix. If the logical operation result contains white pixels, the fault analysis is considered to have been successful.
[0129] For example, during the actual operation of the signal system, the changes in the dot matrix diagram at various times are shown below:
[0130] At time 1: Based on the device status dot matrix diagram, the color of pixel (A, 1) and pixel (B, 1) turns white, thus determining that device A1 and device B1 are faulty.
[0131] Based on the dot matrix diagram of device association, it can be seen that the color of the pixel corresponding to the vertical coordinate 1 becomes white, that is, device A1 and device B1 have an association relationship.
[0132] Based on the fault correlation dot matrix, we know that the color of the pixel corresponding to {horizontal coordinate 1, horizontal coordinate 2} turns white, so the fault description corresponding to time 1 is M1.
[0133] At time 2: Based on the device status dot matrix diagram, the color of pixel (A, 1) and pixel (B, 2) turns white, thus determining that device A1 and device B2 are faulty.
[0134] Based on the device association bitmap, it can be seen that all pixels are black, meaning that the vertical axis has no matching.
[0135] Based on the fault correlation matrix, it can be seen that when the color of the pixel corresponding to the horizontal coordinate {horizontal coordinate 1, horizontal coordinate 2} turns white, there is no result at time 2.
[0136] At time 3: Based on the device status dot matrix diagram, the color of pixel (A, 1) and pixel (C, 1) turns white, thus determining that device A1 and device C1 are faulty;
[0137] Based on the dot matrix diagram of device association, it can be seen that the color of the pixel corresponding to the vertical coordinate 1 becomes white, that is, device A1 and device C1 have an association relationship.
[0138] Based on the fault correlation dot matrix, it can be seen that the color of the pixel corresponding to the horizontal coordinate {horizontal coordinate 1, horizontal coordinate 3} turns white, that is, the fault description information is M2 at this time.
[0139] At time 4: Based on the device status dot matrix diagram, the color of pixel (B, 1) and pixel (C, 1) turns white, thus determining that device B1 and device C1 are faulty.
[0140] Based on the device association bitmap, it can be seen that the color of the pixel corresponding to the vertical coordinate 1 turns white, which means that device B1 and device C1 are associated.
[0141] Based on the fault correlation matrix, it can be seen that all pixels are black, meaning there is no match on the horizontal axis, so there is no result at time 4.
[0142] The multi-source fault detection method based on image matching provided by the present invention constructs the fault description as a two-dimensional image, thereby unifying the fault description method into a single mode. This unifies the fault description to adapt to the rapidly changing characteristics of the signal system, reduces the complexity of manufacturing or correction, and lowers the investment in testing and verification due to the complexity of the description, thus improving resource utilization and adaptability. The fault description information is generated based on the matching of various dot matrix images, and image matching processing can be completed without repeatedly modifying the judgment and processing method, significantly reducing maintenance costs and avoiding the impact of erroneous calculations introduced during the modification process on the final result. This significantly improves the stability, convenience, and efficiency of the calculation.
[0143] In some embodiments, such as Figure 2 As shown, after step 130, the method may further include: determining whether the signal system has terminated operation after all fault matching has been completed.
[0144] In this embodiment, if not all faults are matched, step 130 is repeated until all pixels are matched.
[0145] If all faults have been matched, it is determined whether the signal system has stopped running. If the signal system has not stopped running, the process jumps to step 110 and repeats steps 110-130.
[0146] If the signal system stops operating, then all operations will cease.
[0147] The multi-source fault detection method based on image matching provided in the embodiments of the present invention can improve the automation level of the signal system and reduce unnecessary energy consumption by setting up a cyclic system.
[0148] The following describes the multi-source fault detection device based on image matching provided by the present invention. The multi-source fault detection device based on image matching described below and the multi-source fault detection method based on image matching described above can be referred to in correspondence.
[0149] like Figure 3 As shown, the multi-source fault detection device based on image matching includes: a first processing module 310, a second processing module 320 and a third processing module 330.
[0150] The first processing module 310 is used to acquire equipment information of the signal system, which includes multiple devices.
[0151] The second processing module 320 is used to generate, based on the device information, a dot matrix diagram of device status, a dot matrix diagram of device association, and a dot matrix diagram of fault association for multiple devices.
[0152] The third processing module 330 is used to output fault description information based on the device status dot matrix diagram, the device association dot matrix diagram, and the fault association dot matrix diagram.
[0153] The multi-source fault detection device based on image matching provided in this embodiment of the invention constructs the fault description as a two-dimensional image, thereby unifying the fault description method into a single mode. This unifies the fault description to adapt to the rapidly changing characteristics of the signal system, reduces the complexity of manufacturing or correction, and lowers the investment in testing and verification due to the complexity of the description, thus improving resource utilization and adaptability. The fault description information is generated based on the matching of various dot matrix images, and image matching processing can be completed without repeatedly modifying the judgment and processing method, significantly reducing maintenance costs. It also avoids the impact of erroneous calculations introduced during the modification process on the final result, significantly improving the stability, convenience, and efficiency of the calculation.
[0154] In some embodiments, the first processing module 310 can also be used to: obtain at least one of the following: device type of each device, number of devices corresponding to each device type, association relationship between each device, and real-time operating status of each device.
[0155] In some embodiments, the second processing module 320 may also be used for:
[0156] Based on the device type of each device and the number of devices corresponding to each device type, generate a device status dot matrix diagram;
[0157] Based on the relationships between various devices, a device relationship matrix is generated.
[0158] A fault correlation matrix is generated based on the real-time operating status of each device.
[0159] In some embodiments, the third processing module 330 can also be used for:
[0160] Perform a logical AND operation on the equipment status dot matrix diagram, the equipment relationship dot matrix diagram, and the fault relationship dot matrix diagram;
[0161] Based on the result of the logical AND operation, output fault description information.
[0162] In some embodiments, the third processing module 330 can also be used for:
[0163] In the event that the target device fails among multiple devices, the pixel corresponding to the target device in the device status dot matrix will be changed from black to white.
[0164] When the target device has associated devices, the pixels corresponding to the association relationship with the target device in the device association matrix will be changed from black to white.
[0165] In the fault correlation matrix, the pixels corresponding to the real-time operating status of the target device are changed from black to white.
[0166] Perform a logical AND operation on the pixels in the device status dot matrix, the pixels in the device association dot matrix, and the pixels in the fault association dot matrix.
[0167] In some embodiments, the third processing module 330 can also be used to: output fault description information corresponding to the target device when the device status dot matrix, the device association dot matrix, and the fault association dot matrix all include white pixels.
[0168] Figure 4 An example of a physical structure diagram of an electronic device is shown below. Figure 4As shown, the electronic device may include a processor 410, a communications interface 420, a memory 430, and a communication bus 440. The processor 410, communications interface 420, and memory 430 communicate with each other via the communication bus 440. The processor 410 can call logical instructions in the memory 430 to execute a multi-source fault detection method based on image matching. This method includes: acquiring device information of a signal system, which includes multiple devices; generating a device status dot matrix diagram, a device association dot matrix diagram, and a fault association dot matrix diagram corresponding to the multiple devices based on the device information; and outputting fault description information based on the device status dot matrix diagram, the device association dot matrix diagram, and the fault association dot matrix diagram.
[0169] Furthermore, the logical instructions in the aforementioned memory 430 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0170] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, wherein when the program instructions are executed by a computer, the computer is able to execute the multi-information source fault detection method based on image matching provided by the above methods, the method comprising: acquiring device information of a signal system, the signal system comprising multiple devices; generating, based on the device information, a device status dot matrix diagram, a device association dot matrix diagram, and a fault association dot matrix diagram corresponding to the multiple devices; and outputting fault description information based on the device status dot matrix diagram, the device association dot matrix diagram, and the fault association dot matrix diagram.
[0171] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When executed by a processor, the computer program is implemented to perform the above-described multi-source fault detection methods based on image matching. The method includes: acquiring device information of a signal system, the signal system including multiple devices; generating, based on the device information, a device status dot matrix diagram, a device association dot matrix diagram, and a fault association dot matrix diagram corresponding to the multiple devices; and outputting fault description information based on the device status dot matrix diagram, the device association dot matrix diagram, and the fault association dot matrix diagram.
[0172] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. 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 can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0173] 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 necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling 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 certain parts of the embodiments.
[0174] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for detecting multi-source faults based on image matching, characterized in that, include: Acquire device information of a signal system, wherein the signal system includes multiple devices; Based on the device information, generate a device status dot matrix diagram, a device association dot matrix diagram, and a fault association dot matrix diagram corresponding to the multiple devices; Based on the device status dot matrix, the device association dot matrix, and the fault association dot matrix, output fault description information; The fault description information is output based on the device status dot matrix, the device association dot matrix, and the fault association dot matrix, including: In the event that the target device fails among the multiple devices, the pixel corresponding to the target device in the device status dot matrix will be changed from black to white. When the target device corresponds to an associated device, the pixels corresponding to the association relationship with the target device in the device association relationship dot matrix are changed from black to white. The pixels in the fault correlation matrix that correspond to the real-time operating status of the target device are changed from black to white; Perform a logical AND operation on the pixels in the device status dot matrix, the pixels in the device association dot matrix, and the pixels in the fault association dot matrix; If the device status dot matrix, the device association dot matrix, and the fault association dot matrix all include white pixels, output the fault description information corresponding to the target device.
2. The multi-source fault detection method based on image matching according to claim 1, characterized in that, The device information of the signal acquisition system includes: Obtain at least one of the following: device type of each device, number of devices corresponding to each device type, relationship between devices, and real-time operating status of each device.
3. The multi-source fault detection method based on image matching according to claim 2, characterized in that, The step of generating a device status dot matrix diagram, a device association dot matrix diagram, and a fault association dot matrix diagram corresponding to the signal system based on the device information includes: Based on the device type of each device and the number of devices corresponding to each device type, a dot matrix diagram of device status is generated. Based on the relationships between the various devices, a dot matrix diagram of device relationships is generated; Based on the real-time operating status of each device, the fault correlation matrix is generated.
4. A device for detecting multi-source faults based on image matching, the device being used to execute the method for detecting multi-source faults based on image matching as described in any one of claims 1-3, characterized in that, The device includes: The first processing module is used to acquire device information of the signal system, which includes multiple devices. The second processing module is used to generate, based on the device information, a device status dot matrix diagram, a device association dot matrix diagram, and a fault association dot matrix diagram corresponding to the multiple devices; The third processing module is used to output fault description information based on the device status dot matrix, the device association dot matrix, and the fault association dot matrix.
5. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the multi-source fault detection method based on image matching as described in any one of claims 1 to 3.
6. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the multi-source fault detection method based on image matching as described in any one of claims 1 to 3.
7. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the multi-source fault detection method based on image matching as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Construction method of vehicle fault reason judgment model and fault reason judgment method
CN114254431A
Method and device for automatically creating fault knowledge graph of fault tree picture
CN114443856A