Fault information management method, fault diagnosis system, electronic equipment and storage medium

By capturing the working parameters of device components in real time in the fault diagnosis system and generating diagnostic codes, and managing and displaying fault information in combination with the cache queue, the problem of difficulty in centralized management of fault information of multiple device components is solved, and the security of equipment operation is improved and Efficiency of displaying fault information.

CN118760147BActive Publication Date: 2024-12-20SUNWARD INTELLIGENT EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411238558.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-05
Publication Date
2024-12-20
Estimated Expiration
2044-09-05

AI Technical Summary

Technical Problem

The prior art is difficult to centrally manage and display the fault information of multiple equipment components, resulting in insufficient safety in equipment operation.

Method used

Design a fault information management method, by introducing interactive modules, acquisition modules and control modules into the fault diagnosis system, capture the working parameters of equipment components in real time, generate diagnostic codes, and use cache queues to classify and store and display fault information, according to The severity of the diagnostic code determines the display order to ensure the orderly and efficient display of fault information.

Benefits of technology

It realizes centralized management and display of equipment failure information, improves the safety of equipment operation, ensures the classified storage and display of all fault information, avoids information omissions, and improves users' intuitive understanding of equipment failure conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760147B_ABST
    Figure CN118760147B_ABST
Patent Text Reader

Abstract

The present application discloses a fault information management method, a fault diagnosis system, an electronic device and a storage medium, and the technical field to which it belongs is fault diagnosis technology. The fault information management method comprises: receiving a current diagnostic code sent by a control module; wherein the current diagnostic code is a diagnostic code generated by the control module after detecting that the current working parameters transmitted by the acquisition module are abnormal; determining a corresponding target cache queue from all cache queues according to the diagnostic code type of the current diagnostic code; wherein the cache queue is used to store diagnostic codes of the corresponding diagnostic code type; if the current diagnostic code is not stored in the target cache queue, the current diagnostic code is stored in the target cache queue; and the diagnostic codes in all the cache queues are displayed on an interactive interface. The present application can centrally manage and display the fault information of the equipment, thereby improving the safety of equipment operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of fault diagnosis, and in particular to a fault information management method, a fault diagnosis system, an electronic device and a storage medium. Background Art

[0002] With the development of technology, construction machinery, metallurgical machinery, transportation machinery and other machines often have multiple working parts, but because different parts are scattered in various parts of the machine, it is difficult to centrally manage and display the fault information of multiple parts. When the driver operates the machine under the above circumstances, it is easy to cause safety accidents.

[0003] Therefore, how to centrally manage and display the fault information of the equipment and improve the safety of the equipment operation is a technical problem that technical personnel in this field currently need to solve. Summary of the invention

[0004] The purpose of this application is to provide a fault information management method, a fault diagnosis system, an electronic device and a storage medium, which can centrally manage and display the fault codes of the equipment and improve the safety of equipment operation.

[0005] In order to solve the above technical problems, the present application provides a fault information management method, which is applied to an interactive module of a fault diagnosis system, wherein the fault diagnosis system further includes n acquisition modules and n control modules, wherein the acquisition modules correspond to the control modules one by one, and each of the acquisition modules is connected to a corresponding device component, and the acquisition module is used to transmit the working parameters of the device component to the corresponding control module, and the fault information management method includes:

[0006] receiving a current diagnostic code sent by a control module; wherein the current diagnostic code is a diagnostic code generated by the control module after detecting that the current operating parameters transmitted by the acquisition module are abnormal;

[0007] Determining a corresponding target cache queue from all cache queues according to the diagnostic code type of the current diagnostic code; wherein the cache queue is used to store diagnostic codes of the corresponding diagnostic code type;

[0008] If the current diagnostic code is not stored in the target cache queue, storing the current diagnostic code in the target cache queue;

[0009] Determining a queue display order of all the cache queues;

[0010] Select the cache queue as the current queue to be displayed according to the queue display order;

[0011] Determine whether the current queue to be displayed is empty; if so, enter the step of selecting the cache queue as the current queue to be displayed according to the queue display order; if not, determine the diagnostic code display order of the current queue to be displayed; wherein the diagnostic code display order is determined according to the severity of the diagnostic code;

[0012] Displaying the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order;

[0013] If the diagnosis codes in the current queue to be displayed have been displayed, the step of selecting the cache queue as the current queue to be displayed according to the queue display order is entered.

[0014] Optionally, before displaying the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order, the method further includes:

[0015] determining a total number of diagnostic codes stored in all of the cache queues;

[0016] Querying the diagnosis code display period of the interactive interface, and setting the ratio of the diagnosis code display period to the total number of diagnosis codes as a single diagnosis code display time;

[0017] Accordingly, the diagnostic codes in the current queue to be displayed are displayed in sequence on the interactive interface according to the diagnostic code display order, including:

[0018] The diagnostic codes in the current queue to be displayed are displayed in sequence on the interactive interface according to the diagnostic code display order and the single diagnostic code display time.

[0019] Optionally, before displaying the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order, the method further includes:

[0020] Querying the diagnostic code display period of the interactive interface;

[0021] Set the time weight of each diagnosis code according to its severity;

[0022] Calculating the single diagnosis code display time of each diagnosis code according to the time weight under preset constraints; wherein the preset constraints are: the single diagnosis code display time is positively correlated with the time weight, and the sum of the single diagnosis code display times of all diagnosis codes is equal to the diagnosis code display period;

[0023] Accordingly, the diagnostic codes in the current queue to be displayed are displayed in sequence on the interactive interface according to the diagnostic code display order, including:

[0024] The diagnostic codes in the current queue to be displayed are displayed in sequence on the interactive interface according to the diagnostic code display order and the single diagnostic code display time.

[0025] Optionally, after determining a corresponding target cache queue from all cache queues according to the diagnostic code type of the current diagnostic code, the method further includes:

[0026] If the current diagnostic code has been stored in the target cache queue, the storage process of the current diagnostic code is exited, and the control module is waited for sending a new current diagnostic code.

[0027] Optionally, the cache queue includes a prompt queue, an alarm queue and a fault queue;

[0028] Accordingly, determining a corresponding target cache queue from all cache queues according to the diagnostic code type of the current diagnostic code includes:

[0029] If the diagnostic code type of the current diagnostic code is a prompt diagnostic code, setting the prompt queue as a target cache queue corresponding to the current diagnostic code;

[0030] If the diagnostic code type of the current diagnostic code is an alarm type diagnostic code, setting the alarm queue as a target cache queue corresponding to the current diagnostic code;

[0031] If the diagnostic code type of the current diagnostic code is a fault type diagnostic code, the fault queue is set to a target cache queue corresponding to the current diagnostic code.

[0032] Optionally, after receiving the current diagnostic code sent by the control module, it also includes:

[0033] Determining whether log information corresponding to the current diagnostic code is stored in the abnormal log;

[0034] If not, the log information corresponding to the current diagnostic code generation is stored in the abnormality log.

[0035] Optionally, storing the current diagnostic code in the target cache queue includes:

[0036] Determine whether there is an idle storage unit in the target cache queue;

[0037] If so, storing the current diagnostic code in the free storage unit;

[0038] If not, the diagnosis code with the earliest storage time in the target cache queue is deleted, so that the current diagnosis code is stored in the target cache queue.

[0039] The present application also provides a fault diagnosis system, comprising: an interaction module, n acquisition modules and n control modules; the acquisition modules correspond to the control modules one by one, each of the acquisition modules is connected to a corresponding device component, and the acquisition module is used to transmit the working parameters of the device component to the corresponding control module;

[0040] The interaction module includes:

[0041] A diagnostic code receiving unit, used for receiving a current diagnostic code sent by a control module; wherein the current diagnostic code is a diagnostic code generated by the control module after detecting that the current working parameters transmitted by the acquisition module are abnormal;

[0042] A queue determination unit, used to determine a corresponding target cache queue from all cache queues according to the diagnostic code type of the current diagnostic code; wherein the cache queue is used to store diagnostic codes of the corresponding diagnostic code type;

[0043] a diagnostic code storage unit, configured to store the current diagnostic code in the target cache queue if the current diagnostic code is not stored in the target cache queue;

[0044] A queue order determination unit, used to determine the queue display order of all the cache queues;

[0045] A queue selection unit, configured to select the cache queue as the current queue to be displayed according to the queue display order;

[0046] A judging unit, used to judge whether the current queue to be displayed is empty; if so, start the workflow corresponding to the queue selection unit; if not, determine the display order of the diagnosis codes of the current queue to be displayed; wherein the display order of the diagnosis codes is determined according to the severity of the diagnosis codes;

[0047] A display unit, used to display the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order;

[0048] The loop control unit is used to start the work flow corresponding to the queue selection unit if the display of the diagnostic codes in the current queue to be displayed is completed.

[0049] The present application also provides a storage medium on which a computer program is stored. When the computer program is executed, the steps of the above-mentioned fault information management method are implemented.

[0050] The present application also provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned fault information management method when calling the computer program in the memory.

[0051] The fault information management method provided by the present application is applied to the interactive module of the fault diagnosis system, and the fault diagnosis system also includes n acquisition modules and n control modules, each of which is connected to the corresponding equipment component so as to transmit the collected working parameters to the control module. The present application integrates multiple acquisition modules to capture the working parameters of each equipment component in real time, and uses the control module to automatically generate diagnostic codes, and then combines the cache queue to realize the centralized management of fault information, ensuring that all detected fault information can be classified and stored without omission. The present application also displays the diagnostic codes in all cache queues in a centralized manner through an interactive interface. During the display process, the queue display order of all cache queues is first determined, and then the current queue to be displayed is selected one by one according to the queue display order for display. For each queue to be displayed, the present application will first determine whether it is empty. If it is empty, it will continue to select the next cache queue; if it is not empty, the diagnostic code display order is determined according to the severity of the diagnostic code, and the diagnostic code is displayed one by one on the interactive interface according to the diagnostic code display order. The above diagnostic code display process can ensure that all fault information can be displayed to the user in an orderly and efficient manner, so that the user can intuitively view the fault condition of the device. Therefore, the present application can centrally manage and display the fault information of the equipment, and improve the safety of the equipment operation. The present application also provides a fault diagnosis system, a storage medium and an electronic device, which have the above-mentioned beneficial effects and are not described in detail here. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0053] Figure 1 A flowchart of a fault information management method provided in an embodiment of the present application;

[0054] Figure 2 A schematic diagram of the structure of a fault diagnosis system provided in an embodiment of the present application;

[0055] Figure 3 A schematic diagram of a fault diagnosis method and a distributed centralized control system provided in an embodiment of the present application;

[0056] Figure 4 A schematic diagram of a diagnostic code encoding rule provided in an embodiment of the present application;

[0057] Figure 5 A schematic diagram of a data frame encoding rule for a single diagnostic code provided in an embodiment of the present application;

[0058] Figure 6 A schematic diagram of a data frame encoding rule for multiple diagnostic codes provided in an embodiment of the present application;

[0059] Figure 7 A schematic diagram of a flow chart of a cache queue control strategy provided in an embodiment of the present application;

[0060] Figure 8 A flow chart showing a control strategy provided in an embodiment of the present application;

[0061] Fig. 9 A schematic diagram of a cache queue provided in an embodiment of the present application. DETAILED DESCRIPTION

[0062] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0063] See below Figure 1 , Figure 1 A flowchart of a fault information management method provided in an embodiment of the present application.

[0064] Specific steps may include:

[0065] S101: receiving a current diagnostic code sent by a control module;

[0066] Among them, this embodiment can be applied to the interactive module of the fault diagnosis system, and the fault diagnosis system also includes n acquisition modules and n control modules, and the acquisition modules correspond to the control modules one by one, and each of the acquisition modules is connected to the corresponding equipment component, and the acquisition module is used to transmit the working parameters of the equipment component to the corresponding control module. Figure 2 , Figure 2 This is a structural diagram of a fault diagnosis system provided by an embodiment of the present application, which shows the connection relationship between acquisition modules 1~n, control modules 1~n and interaction modules. The above working parameters can be parameters collected by sensors in equipment components, and the diagnosis objects of the fault diagnosis system include multiple equipment components.

[0067] After the control module receives the current working parameters transmitted by the acquisition module, the control module can determine whether the current working parameters are abnormal; if there is an abnormality, a corresponding diagnostic code is generated. The current diagnostic code received by the interactive module is a diagnostic code generated by the control module after detecting that the current working parameters transmitted by the acquisition module are abnormal. The control module can set a rule for judging whether the working parameters are abnormal, so as to make an abnormal judgment on the current working parameters based on the rule. The diagnostic code can be a code generated according to the diagnostic code coding rule.

[0068] S102: determining a corresponding target cache queue from all cache queues according to the diagnostic code type of the current diagnostic code;

[0069] In this embodiment, a plurality of cache queues may be provided, each cache queue being used to store diagnostic codes of a corresponding diagnostic code type, so that fault information can be classified and stored according to the diagnostic code type.

[0070] The interactive module can parse the received current diagnostic code to determine the diagnostic code type to which it belongs; according to the diagnostic code type obtained by parsing, this embodiment can search for the target cache queue corresponding to the diagnostic code type in all cache queues. In the above manner, it is ensured that the fault information can be accurately stored in the corresponding cache queue according to the type, so as to realize the classified storage and efficient management of the fault information, and provide strong support for subsequent fault query and analysis.

[0071] S103: If the current diagnosis code is not stored in the target cache queue, storing the current diagnosis code in the target cache queue;

[0072] Among them, this embodiment can determine whether the current diagnostic code received by S101 has been stored in the target cache queue; if the current diagnostic code is not stored in the target cache queue, the current diagnostic code is stored in the target cache queue to perform a diagnostic code display operation; if the current diagnostic code is already stored in the target cache queue, the storage process of the current diagnostic code can be exited (that is, the current diagnostic code received by S101 is not stored), and wait for the control module to send a new current diagnostic code so as to re-enter S101.

[0073] This embodiment stores the current diagnostic code in the corresponding target cache queue, thereby ensuring that all detected fault information is completely recorded without omission. The diagnostic code stored in this embodiment can be used to trace the time, location, cause, etc. of the equipment failure, helping maintenance personnel to locate the problem more quickly and repair it.

[0074] This embodiment can display all the diagnostic codes in the cache queue on the interactive interface. Specifically, this embodiment can centrally display the diagnostic codes in all the cache queues on the interactive interface, so that the user can intuitively browse the fault information of each device component, which is convenient for quickly understanding the overall operating status of the equipment, so as to make timely and effective maintenance and management decisions. As a feasible implementation method, during the execution of this embodiment, the interactive module can continuously execute the diagnostic code display operations of S104~S108. As another feasible implementation method, the interactive module can cyclically execute the diagnostic code display operations of S104~S108 after storing the current diagnostic code in the target cache queue.

[0075] S104: Determine the queue display order of all the cache queues;

[0076] Among them, the queue display order refers to the display order between queues. After the diagnostic codes in the cache queues with a higher queue display order are displayed, the diagnostic codes in the cache queues with a lower queue display order are displayed. In this embodiment, the queue display order of all cache queues can be set in the configuration file. In this step, the queue display order of all the cache queues can be determined by reading the configuration file. Taking the cache queue including a prompt queue, an alarm queue and a fault queue as an example, the queue display order can be a fault queue, an alarm queue, and a prompt queue in sequence.

[0077] S105: selecting the cache queue as the current queue to be displayed according to the queue display order;

[0078] Among them, the current queue to be displayed is the cache queue that currently needs to be displayed. In this embodiment, the corresponding cache queue can be selected as the current queue to be displayed according to the queue display order, so that all diagnostic codes in the current queue to be displayed are displayed in sequence in the interactive interface.

[0079] S106: Determine whether the current queue to be displayed is empty; if so, proceed to S105; if not, proceed to S107;

[0080] If the current queue to be displayed does not store a diagnosis code, it means that the current queue to be displayed is empty, and S105 can be re-entered to select a new current queue to be displayed; if the current queue to be displayed has stored a diagnosis code, the relevant operations of S107~S108 can be performed.

[0081] S107: Determine the display order of the diagnostic codes in the current queue to be displayed;

[0082] The display order of the diagnostic codes refers to the display order within the current queue to be displayed. In this embodiment, the display order of the diagnostic codes can be determined according to the severity of the diagnostic codes, so that diagnostic codes with higher severity are displayed first. The severity of the diagnostic codes is the fault severity or fault level corresponding to the diagnostic codes.

[0083] In this embodiment, a severity level table of all diagnosis codes may be pre-set in the configuration file, and the display order of the diagnosis codes may be determined by querying the severity level table.

[0084] S108: displaying the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order;

[0085] Among them, based on the obtained diagnosis code display order, this embodiment can display the diagnosis codes in the current queue to be displayed in sequence on the interactive interface in order from high to low severity.

[0086] During the execution of S108, it can be determined whether the diagnostic codes in the current queue to be displayed have been displayed; if they have been displayed, the operation of S105 is entered to select the cache queue as the current queue to be displayed according to the queue display order; if they have not been displayed, S108 is continued to be executed.

[0087] In the process of displaying the diagnostic code from S104 to S108, the display order of all cached queues is first determined, and then the queues are selected one by one for display in this order. For each queue to be displayed, this embodiment will first determine whether it is empty. If it is empty, the next queue will be selected; if it is not empty, the display order is determined according to the severity of the diagnostic code, and the diagnostic codes are displayed one by one in this order on the interactive interface. When all the diagnostic codes of a queue are displayed, the system will automatically select the next queue for display, ensuring that all fault information can be displayed to the user in an orderly and efficient manner.

[0088] The fault information management method provided in this embodiment is applied to the interactive module of the fault diagnosis system, and the fault diagnosis system also includes n acquisition modules and n control modules, and each of the acquisition modules is connected to the corresponding equipment components so as to transmit the collected working parameters to the control module. This embodiment integrates multiple acquisition modules to capture the working parameters of each equipment component in real time, and uses the control module to automatically generate diagnostic codes, and then combines the cache queue to achieve centralized management of fault information, ensuring that all detected fault information can be classified and stored without omission. This embodiment also centrally displays the diagnostic codes in all cache queues through an interactive interface. During the display process, the queue display order of all cache queues is first determined, and then the current queue to be displayed is selected one by one according to the queue display order for display. For each queue to be displayed, this embodiment will first determine whether it is empty. If it is empty, continue to select the next cache queue; if it is not empty, the diagnostic code display order is determined according to the severity of the diagnostic code, and the diagnostic code is displayed one by one on the interactive interface according to the diagnostic code display order. The above diagnostic code display process can ensure that all fault information can be displayed to the user in an orderly and efficient manner, so that the user can intuitively view the fault status of the device. Therefore, this embodiment can centrally manage and display the fault information of the equipment, thereby improving the safety of equipment operation.

[0089] As for Figure 1 Further introduction to the corresponding embodiment: before displaying the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order, the total number of diagnostic codes stored in all the cache queues can also be determined; the diagnostic code display period of the interactive interface is queried, and the ratio of the diagnostic code display period to the total number of diagnostic codes is set as the single diagnostic code display time. The single diagnostic code display time refers to the display duration of a diagnostic code on the interactive interface. On the basis of determining the above-mentioned single diagnostic code display time, this embodiment can display the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order and the single diagnostic code display time. After determining the total number of diagnostic codes stored in the cache queue, this embodiment can calculate the display time of each diagnostic code according to the diagnostic code display period of the interactive interface (such as 60 seconds), to ensure that all diagnostic codes can be fully displayed within the set period. The above method effectively balances the comprehensiveness of information and the fluency of display.

[0090] As for Figure 1Further introduction to the corresponding embodiment: before displaying the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order, the diagnostic code display period of the interactive interface can also be queried; the time weight of each diagnostic code is set according to the severity of the diagnostic code; and the single diagnostic code display time of each diagnostic code is calculated according to the time weight under preset constraints; wherein the preset constraints are: the single diagnostic code display time is positively correlated with the time weight, and the sum of the single diagnostic code display times of all diagnostic codes is equal to the diagnostic code display period. The single diagnostic code display time refers to the display duration of a diagnostic code on the interactive interface. Based on the determination of the above-mentioned single diagnostic code display time, this embodiment can display the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order and the single diagnostic code display time.

[0091] This embodiment queries the diagnosis code display cycle of the interactive interface, and then assigns a time weight to each diagnosis code according to the severity of the diagnosis code. Under the preset constraint conditions (i.e., the display time of a single diagnosis code is positively correlated with the time weight, and the sum of the single display time of all diagnosis codes is equal to the total display cycle), the specific time when each diagnosis code should be displayed is calculated to ensure that within the limited display cycle, diagnosis codes of different importance can be reasonably displayed.

[0092] As for Figure 1 In the further introduction of the corresponding embodiment, the above cache queue includes a prompt queue, an alarm queue and a fault queue; accordingly, the embodiment can determine the corresponding target cache queue from all cache queues in the following manner, including:

[0093] If the diagnostic code type of the current diagnostic code is a prompt diagnostic code, setting the prompt queue as a target cache queue corresponding to the current diagnostic code;

[0094] If the diagnostic code type of the current diagnostic code is an alarm type diagnostic code, setting the alarm queue as a target cache queue corresponding to the current diagnostic code;

[0095] If the diagnostic code type of the current diagnostic code is a fault type diagnostic code, the fault queue is set to a target cache queue corresponding to the current diagnostic code.

[0096] As for Figure 1Further introduction to the corresponding embodiment, after receiving the current diagnostic code sent by the control module, it also includes: judging whether the log information corresponding to the current diagnostic code is stored in the abnormal log; if not, storing the log information corresponding to the current diagnostic code in the abnormal log. In the above manner, it is possible to check whether there are relevant records of the current diagnostic code in the abnormal log. If not, the log information corresponding to the current diagnostic code will be generated and saved in the abnormal log for subsequent analysis and processing.

[0097] As for Figure 1 Further introduction to the corresponding embodiment, this embodiment can store the current diagnostic code to the target cache queue in the following manner: determine whether there is an idle storage unit in the target cache queue; if so, store the current diagnostic code to the idle storage unit; if not, delete the diagnostic code with the earliest storage time in the target cache queue, so as to store the current diagnostic code to the target cache queue. The above embodiment first determines whether there is an idle storage unit in the target cache queue. If there is an idle unit, it will store the current diagnostic code directly in the idle unit; if there is no idle unit, this embodiment will delete the diagnostic code with the earliest storage time in the target cache queue to free up space, and then store the current diagnostic code to the queue to ensure that the information in the queue remains up to date and valid.

[0098] The process described in the above embodiment is explained below through an embodiment in actual application.

[0099] Construction machinery and agricultural machinery are generally equipped with fault diagnosis systems. The control module in the fault diagnosis system diagnoses the fault point and sends the diagnostic code to the interactive module for display, so as to locate the fault of the whole machine and troubleshoot it efficiently. With the intelligent development of industry and agriculture, the integration of functions of large-scale construction machinery and agricultural machinery is increasing. The above-mentioned models often have multiple working parts, but because different working parts are scattered in various parts of the machine, each part needs to be centrally controlled. The control requirements of the whole machine are high, and it is difficult to diagnose and locate the fault. At the same time, the management and display of diagnostic information of multiple working parts competes for the display resources of the interactive module, which makes the diagnostic code easy to lose. When the driver operates the vehicle under the above circumstances, it causes damage to the vehicle.

[0100] In response to the technical problems existing in the above-mentioned related technologies, the present embodiment provides a fault diagnosis method and a distributed centralized control system, and proposes a fault diagnosis scheme for multiple working mechanisms of construction machinery and agricultural machinery. The scheme includes a multi-control module diagnostic coding, transmission and display method. Through the implementation of this technical scheme, efficient centralized management, transmission and display of diagnostic information of each working component in the distributed centralized control system is achieved, ensuring the efficient coordinated operation of multiple working components of large-scale construction machinery and agricultural machinery, improving diagnostic efficiency and the working efficiency of the entire machine, and improving the operating experience.

[0101] See also Figure 3 , Figure 3 A schematic diagram of a fault diagnosis method and a distributed centralized control system provided in an embodiment of the present application, wherein the centralized control system includes a CAN bus, an interaction module, acquisition modules 1 to n, and control modules 1 to n. The control module includes a diagnostic code encoding rule and a diagnostic code transmission control module, and the diagnostic code transmission control module includes a data frame encoding rule and a diagnostic code transmission rule. The interaction module includes a diagnostic control module.

[0102] The acquisition module and the control module are electrically connected and are responsible for acquiring the sensor status of the corresponding working parts; the control module and the interaction module are electrically connected using a CAN (Controller Area Network) bus and are responsible for the acquisition and logical judgment of sensor data, the generation of diagnostic codes and the transmission of diagnostic codes.

[0103] The CAN bus is electrically connected to the control module and the interactive module, and serves as a network carrier for data transmission of the entire vehicle; the interactive module is electrically connected to each control module using the CAN bus, and is responsible for the aggregation, control, and display of diagnostic information. In this solution, the control module collects the working parameters of the corresponding working components through the acquisition module, and analyzes the working parameters to see if an abnormality occurs. When an abnormality is detected, the corresponding abnormality is encoded according to the diagnostic code encoding rules, and the code is sent to the interactive module through the diagnostic code transmission control module. The interactive module includes a diagnostic control module, and the diagnostic control module performs relevant logical processing on the diagnostic code received from the control module, and rolls back and displays the diagnostic code according to the priority and sequence of the diagnostic code, and sends corresponding prompt information to the driver. Furthermore, when there are multiple control modules in the distributed centralized control system, the diagnostic control module centrally manages the diagnostic information, rolls back and displays the diagnostic code according to the priority and sequence of the diagnostic code, and sends corresponding prompt information to the driver.

[0104] See also Figure 4 , Figure 4A schematic diagram of a diagnostic code encoding rule provided in an embodiment of the present application, the diagnostic code can be 32-bit binary data (bit0~bit31), including a component code (8 bits), a sensor code (11 bits), a diagnostic type (5 bits), a reserved bit (1 bit) and the number of occurrences of the diagnostic code (7 bits). When transmitted, the low bit of the diagnostic code is placed at a low address. The above bit represents a bit, and the diagnostic type is the diagnostic code type. The above bit represents a bit.

[0105] The above-mentioned component code is used to mark and retrieve the corresponding working component;

[0106] The sensor code is used to mark and retrieve the sensor in the working part;

[0107] The above diagnosis type is used to mark and retrieve the diagnosis level and severity mark of the diagnosis type. In this technical solution, it includes but is not limited to three different diagnosis levels: prompt, warning, and fault. The analysis of the diagnosis type is as follows:

[0108] The diagnostic type includes a 5-bit field. The first and second bit fields are used to indicate the fault level, such as 00 for fault, 01 for alarm, 10 for prompt, and 11 for reserved. The third, fourth, and fifth bit fields are identifiers of the severity of the diagnostic code, with a value range of 000~111, with decreasing severity.

[0109] The reserved bits are used to synchronize with international standards, ensuring that the encoding in this technical solution is synchronized with the international encoding format.

[0110] The number of occurrences of this diagnostic code is used to mark the cumulative number of occurrences of this diagnostic code since the machine was powered on.

[0111] The diagnostic code transmission control module includes the diagnostic code data frame coding rules and diagnostic code transmission rules. The diagnostic code coding rules refer to the compilation rules of the diagnostic code. For example, a diagnostic code is: x025458414. The diagnostic code data frame coding rules are the transmission arrangement rules when multiple diagnostic codes are transmitted on the bus.

[0112] The data frame encoding rules of the diagnosis code include a single diagnosis code data frame encoding rule and a multi-diagnosis code data frame encoding rule.

[0113] The single diagnostic code data frame encoding rules include the single diagnostic code data frame format and the specified CAN ID (identifier), such as CAN ID 1, see Figure 5 , Figure 5 A schematic diagram of a data frame encoding rule for a single diagnostic code provided in an embodiment of the present application, including fields for other states and fields corresponding to diagnostic code information.

[0114] The multi-diagnostic code data frame encoding rule includes a multi-diagnostic code status data frame and a multi-diagnostic code data frame 1~m; the multi-diagnostic code status data frame has its corresponding CAN ID (such as CAN ID 2), and the multi-diagnostic code data frame 1~m has its corresponding CAN ID (such as CAN ID 3).

[0115] See also Figure 6 , Figure 6 A schematic diagram of a data frame encoding rule for multiple diagnostic codes provided in an embodiment of the present application, wherein the multiple diagnostic code status data frame includes other states, diagnostic code frame number, and multiple diagnostic code information identifier, and multiple diagnostic code data frames 1 to m include frame numbers and diagnostic code information. The diagnostic code status data frame includes a specified CAN ID 2 and a multiple diagnostic code data status frame format, and the multiple diagnostic code data frame encoding rule includes a multiple frame diagnostic code data frame and a specified CAN ID 3.

[0116] The diagnosis control module includes cache queue control strategy and display control strategy.

[0117] See also Figure 7 , Figure 7 A schematic diagram of a cache queue control strategy provided in an embodiment of the present application, the implementation process of which is as follows:

[0118] After power-on, the diagnostic code is scanned. If a diagnostic code exists, the diagnostic code type (such as prompt diagnostic code, alarm diagnostic code, fault diagnostic code, and reserved diagnostic code) is determined.

[0119] If the diagnostic code is a prompt diagnostic code, it is determined whether the diagnostic code is a new prompt by comparing the prompt queue; if so, the log is updated, the prompt queue is updated and a sorting operation is performed; if not, the operation of scanning the diagnostic code is entered.

[0120] If the diagnostic code is an alarm diagnostic code, the alarm queue is compared to determine whether the diagnostic code is a new alarm; if so, the log is updated, the alarm queue is updated and a sorting operation is performed; if not, the diagnostic code scanning operation is performed.

[0121] If the diagnostic code is a fault type diagnostic code, it is determined whether the diagnostic code is a new fault by comparing it with the fault queue; if so, the log is updated, the fault queue is updated and a sorting operation is performed; if not, the operation of scanning the diagnostic code is entered.

[0122] If the diagnostic code is a reserved diagnostic code, it will not be processed and the operation of scanning diagnostic codes will be entered.

[0123] See also Figure 8 , Figure 8 A flow chart of a display control strategy provided in an embodiment of the present application, the implementation process of which is as follows:

[0124] After power-on, scan the diagnostic queue to determine whether there is a fault diagnostic code in the scanned diagnostic queue; if so, execute the display control strategy.

[0125] If there is no fault diagnostic code in the scanned diagnostic queue, the alarm queue is scanned to determine whether there is an alarm diagnostic code in the alarm queue; if so, the display control strategy is executed.

[0126] If there is no alarm diagnostic code in the scanned diagnostic queue, the prompt queue is scanned to determine whether there is a prompt diagnostic code in the prompt queue; if so, the display control strategy is executed; if not, the operation of scanning the diagnostic queue is entered.

[0127] See also Fig. 9 , Fig. 9 A schematic diagram of a cache queue provided in an embodiment of the present application; the cache queue may contain storage units 1 to p. The cache queue control strategy provides a cache queue, an operation method of the cache queue, and a log;

[0128] The cache queue includes a plurality of storage units, each of which can store a diagnostic code, and is used for temporarily storing and processing a scanned new diagnostic code.

[0129] The cache queue operation method includes but is not limited to operations such as queueing, dequeuing, and sorting; when executing the queueing operation, when the diagnostic control module detects that there is a diagnostic code on the bus, the diagnostic code is compared one by one with the diagnostic code stored in the storage unit. If it is a new diagnostic code, the content of the storage unit in the cache queue is logically shifted right by one diagnostic code, and the new diagnostic code is stored in storage unit 1. In the logical right shift operation, if the cache queue is full, the last cache unit is dequeued. If the cache queue is updated, a sort is performed, and the sorting is based on the severity level of the diagnostic code, and the most severe one is arranged in storage unit 1 of the cache queue. If a duplicate diagnostic code is detected, no processing is performed, and the result is that it is discarded.

[0130] The log is a local storage file used to store newly triggered diagnostic codes locally for subsequent record keeping and review.

[0131] The display control strategy includes a priority control method, which can determine the priority display order according to the diagnosis level. The lower the diagnosis level code, the higher the display priority. The display control strategy includes a rollback display mechanism. For example, when the cache queue contains multiple diagnostic codes, the rollback display can be performed according to the priority control strategy. The rollback display mechanism also includes a timing mechanism. When a single diagnostic code exists, the display time is t. When there are two diagnostic codes to roll back, the display time of each diagnostic code is t1, and so on. When there are n diagnostic codes to roll back, the display time of each diagnostic code is tn, then t>t1> t2>…>tn, and the value of the above display time t depends on the display effect.

[0132] This embodiment proposes a fault diagnosis scheme for multiple working mechanisms of construction machinery and agricultural machinery, which includes a multi-control module diagnostic coding, transmission and display method. Through the implementation of this technical scheme, efficient centralized management, transmission and display of diagnostic information of each working component in a distributed centralized control system is achieved, ensuring the efficient coordinated operation of multiple working components of large-scale construction machinery and agricultural machinery, improving diagnostic efficiency and the working efficiency of the entire machine, and enhancing the operating experience.

[0133] A fault diagnosis system provided in an embodiment of the present application includes: an interaction module, n acquisition modules and n control modules; the acquisition modules correspond to the control modules one by one, each of the acquisition modules is connected to a corresponding device component, and the acquisition module is used to transmit the working parameters of the device component to the corresponding control module;

[0134] The interaction module includes:

[0135] A diagnostic code receiving unit, used for receiving a current diagnostic code sent by a control module; wherein the current diagnostic code is a diagnostic code generated by the control module after detecting that the current working parameters transmitted by the acquisition module are abnormal;

[0136] A queue determination unit, used to determine a corresponding target cache queue from all cache queues according to the diagnostic code type of the current diagnostic code; wherein the cache queue is used to store diagnostic codes of the corresponding diagnostic code type;

[0137] a diagnostic code storage unit, configured to store the current diagnostic code in the target cache queue if the current diagnostic code is not stored in the target cache queue;

[0138] A queue order determination unit, used to determine the queue display order of all the cache queues;

[0139] A queue selection unit, configured to select the cache queue as the current queue to be displayed according to the queue display order;

[0140] A judging unit, used to judge whether the current queue to be displayed is empty; if so, start the workflow corresponding to the queue selection unit; if not, determine the display order of the diagnosis codes of the current queue to be displayed; wherein the display order of the diagnosis codes is determined according to the severity of the diagnosis codes;

[0141] A display unit, used to display the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order;

[0142] The loop control unit is used to start the work flow corresponding to the queue selection unit if the display of the diagnostic codes in the current queue to be displayed is completed.

[0143] The above-mentioned workflow corresponding to starting the queue selection unit refers to a process in which the queue selection unit selects the cache queue as the current queue to be displayed according to the queue display order.

[0144] The fault information management method provided in this embodiment is applied to the interactive module of the fault diagnosis system, and the fault diagnosis system also includes n acquisition modules and n control modules, and each of the acquisition modules is connected to the corresponding equipment components so as to transmit the collected working parameters to the control module. This embodiment integrates multiple acquisition modules to capture the working parameters of each equipment component in real time, and uses the control module to automatically generate diagnostic codes, and then combines the cache queue to achieve centralized management of fault information, ensuring that all detected fault information can be classified and stored without omission. This embodiment also centrally displays the diagnostic codes in all cache queues through an interactive interface. During the display process, the queue display order of all cache queues is first determined, and then the current queue to be displayed is selected one by one according to the queue display order for display. For each queue to be displayed, this embodiment will first determine whether it is empty. If it is empty, continue to select the next cache queue; if it is not empty, the diagnostic code display order is determined according to the severity of the diagnostic code, and the diagnostic code is displayed one by one on the interactive interface according to the diagnostic code display order. The above diagnostic code display process can ensure that all fault information can be displayed to the user in an orderly and efficient manner, so that the user can intuitively view the fault status of the device. Therefore, this embodiment can centrally manage and display the fault information of the equipment, thereby improving the safety of equipment operation.

[0145] Furthermore, it also includes:

[0146] A first time setting unit is used to determine the total number of diagnostic codes stored in all the cache queues before displaying the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order; and is also used to query the diagnostic code display period of the interactive interface, and set the ratio of the diagnostic code display period to the total number of diagnostic codes as the single diagnostic code display time;

[0147] Correspondingly, the process of the display unit displaying the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order includes: displaying the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order and the single diagnostic code display time.

[0148] Furthermore, it also includes:

[0149] A second time setting unit is used to query the diagnostic code display period of the interactive interface before displaying the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order; it is also used to set the time weight of each diagnostic code according to the severity of the diagnostic code; it is also used to calculate the single diagnostic code display time of each diagnostic code according to the time weight under a preset constraint condition; wherein the preset constraint condition is: the single diagnostic code display time is positively correlated with the time weight, and the sum of the single diagnostic code display times of all diagnostic codes is equal to the diagnostic code display period;

[0150] Correspondingly, the process of the display unit displaying the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order includes: displaying the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order and the single diagnostic code display time.

[0151] Furthermore, it also includes:

[0152] The logic judgment unit is used to exit the storage process of the current diagnostic code if the current diagnostic code has been stored in the target cache queue, and wait for the control module to send a new current diagnostic code.

[0153] Further, the cache queue includes a prompt queue, an alarm queue and a fault queue;

[0154] Correspondingly, the process of the queue determination unit determining the corresponding target cache queue from all cache queues according to the diagnostic code type of the current diagnostic code includes: if the diagnostic code type of the current diagnostic code is a prompt-type diagnostic code, the prompt queue is set to the target cache queue corresponding to the current diagnostic code; if the diagnostic code type of the current diagnostic code is an alarm-type diagnostic code, the alarm queue is set to the target cache queue corresponding to the current diagnostic code; if the diagnostic code type of the current diagnostic code is a fault-type diagnostic code, the fault queue is set to the target cache queue corresponding to the current diagnostic code.

[0155] Furthermore, it also includes:

[0156] The log storage unit is used to determine whether the log information corresponding to the current diagnostic code is stored in the abnormal log after receiving the current diagnostic code sent by the control module; if not, the log information corresponding to the current diagnostic code is stored in the abnormal log.

[0157] Furthermore, the process of the diagnostic code storage unit storing the current diagnostic code to the target cache queue includes: determining whether there is an idle storage unit in the target cache queue; if so, storing the current diagnostic code to the idle storage unit; if not, deleting the diagnostic code with the earliest storage time in the target cache queue so that the current diagnostic code can be stored in the target cache queue.

[0158] Since the embodiments of the system part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the system part, which will not be repeated here.

[0159] The present application also provides a storage medium on which a computer program is stored, and when the computer program is executed, the steps provided in the above embodiment can be implemented. The storage medium may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0160] The present application also provides an electronic device, which may include a memory and a processor, wherein a computer program is stored in the memory, and when the processor calls the computer program in the memory, the steps provided in the above embodiment may be implemented. Of course, the electronic device may also include various network interfaces, power supplies and other components.

[0161] The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the various embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of this application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of this application.

[0162] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

Claims

1. A fault information management method, characterized in that: An interactive module applied to a fault diagnosis system, wherein the fault diagnosis system further comprises n acquisition modules and n control modules, wherein the acquisition modules correspond to the control modules one by one, each of the acquisition modules is connected to a corresponding device component, and the acquisition module is used to transmit the working parameters of the device component to the corresponding control module, and the fault information management method comprises: receiving a current diagnostic code sent by a control module; wherein the current diagnostic code is a diagnostic code generated by the control module after detecting that the current operating parameters transmitted by the acquisition module are abnormal; Determining a corresponding target cache queue from all cache queues according to the diagnostic code type of the current diagnostic code; wherein the cache queue is used to store diagnostic codes of the corresponding diagnostic code type; If the current diagnostic code is not stored in the target cache queue, storing the current diagnostic code in the target cache queue; Determining a queue display order of all the cache queues; Select the cache queue as the current queue to be displayed according to the queue display order; Determine whether the current queue to be displayed is empty; if so, enter the step of selecting the cache queue as the current queue to be displayed according to the queue display order; if not, determine the diagnostic code display order of the current queue to be displayed; wherein the diagnostic code display order is determined according to the severity of the diagnostic code; Displaying the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order; If the diagnosis codes in the current queue to be displayed have been displayed, the step of selecting the cache queue as the current queue to be displayed according to the queue display order is entered.

2. The fault information management method according to claim 1, characterized in that: Before displaying the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order, the method further includes: determining a total number of diagnostic codes stored in all of the cache queues; Querying the diagnosis code display period of the interactive interface, and setting the ratio of the diagnosis code display period to the total number of diagnosis codes as a single diagnosis code display time; Accordingly, the diagnostic codes in the current queue to be displayed are displayed in sequence on the interactive interface according to the diagnostic code display order, including: The diagnostic codes in the current queue to be displayed are displayed in sequence on the interactive interface according to the diagnostic code display order and the single diagnostic code display time.

3. The fault information management method according to claim 1, characterized in that: Before displaying the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order, the method further includes: Querying the diagnostic code display period of the interactive interface; Set the time weight of each diagnosis code according to its severity; Calculating the single diagnosis code display time of each diagnosis code according to the time weight under preset constraints; wherein the preset constraints are: the single diagnosis code display time is positively correlated with the time weight, and the sum of the single diagnosis code display times of all diagnosis codes is equal to the diagnosis code display period; Accordingly, the diagnostic codes in the current queue to be displayed are displayed in sequence on the interactive interface according to the diagnostic code display order, including: The diagnostic codes in the current queue to be displayed are displayed in sequence on the interactive interface according to the diagnostic code display order and the single diagnostic code display time.

4. The fault information management method according to claim 1, characterized in that: After determining the corresponding target cache queue from all cache queues according to the diagnostic code type of the current diagnostic code, the method further includes: If the current diagnostic code has been stored in the target cache queue, the storage process of the current diagnostic code is exited, and the control module is waited for sending a new current diagnostic code.

5. The fault information management method according to claim 1, characterized in that: The cache queue includes a prompt queue, an alarm queue and a fault queue; Accordingly, determining a corresponding target cache queue from all cache queues according to the diagnostic code type of the current diagnostic code includes: If the diagnostic code type of the current diagnostic code is a prompt diagnostic code, setting the prompt queue as a target cache queue corresponding to the current diagnostic code; If the diagnostic code type of the current diagnostic code is an alarm type diagnostic code, setting the alarm queue as a target cache queue corresponding to the current diagnostic code; If the diagnostic code type of the current diagnostic code is a fault type diagnostic code, the fault queue is set to a target cache queue corresponding to the current diagnostic code.

6. The fault information management method according to claim 1, characterized in that: After receiving the current diagnostic code sent by the control module, it also includes: Determining whether log information corresponding to the current diagnostic code is stored in the abnormal log; If not, the log information corresponding to the current diagnostic code generation is stored in the abnormality log.

7. The fault information management method according to claim 1, characterized in that: Storing the current diagnostic code in the target cache queue includes: Determine whether there is an idle storage unit in the target cache queue; If so, storing the current diagnostic code in the free storage unit; If not, the diagnosis code with the earliest storage time in the target cache queue is deleted, so that the current diagnosis code is stored in the target cache queue.

8. A fault diagnosis system, characterized in that: include: Interaction module, n acquisition modules and n control modules; The acquisition modules correspond to the control modules one by one, each of the acquisition modules is connected to a corresponding device component, and the acquisition modules are used to transmit the working parameters of the device component to the corresponding control module; The interaction module includes: A diagnostic code receiving unit, used for receiving a current diagnostic code sent by a control module; wherein the current diagnostic code is a diagnostic code generated by the control module after detecting that the current working parameters transmitted by the acquisition module are abnormal; A queue determination unit, used to determine a corresponding target cache queue from all cache queues according to the diagnostic code type of the current diagnostic code; wherein the cache queue is used to store diagnostic codes of the corresponding diagnostic code type; a diagnostic code storage unit, configured to store the current diagnostic code in the target cache queue if the current diagnostic code is not stored in the target cache queue; A queue order determination unit, used to determine the queue display order of all the cache queues; A queue selection unit, configured to select the cache queue as the current queue to be displayed according to the queue display order; A judging unit, used to judge whether the current queue to be displayed is empty; if so, start the workflow corresponding to the queue selection unit; if not, determine the display order of the diagnosis codes of the current queue to be displayed; wherein the display order of the diagnosis codes is determined according to the severity of the diagnosis codes; A display unit, used to display the diagnostic codes in the current queue to be displayed in sequence on the interactive interface according to the diagnostic code display order; The loop control unit is used to start the work flow corresponding to the queue selection unit if the display of the diagnostic codes in the current queue to be displayed is completed.

9. An electronic device, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the fault information management method according to any one of claims 1 to 7 when calling the computer program in the memory.

10. A storage medium, characterized in that: The storage medium stores computer executable instructions, and when the computer executable instructions are loaded and executed by the processor, the steps of the fault information management method according to any one of claims 1 to 7 are implemented.