Method, device, electronic device and storage medium for analyzing alarm log of overhead crane system

By constructing a word list and a word vector list, extracting timing and semantic vectors, and combining it with the correlation analysis model, the problem of low efficiency in correlation mining of alarm logs in the crane system is solved, and efficient and accurate alarm correlation analysis is achieved.

CN118227741BActive Publication Date: 2024-08-27华芯智上半导体设备(上海)有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410643052.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-23
Publication Date
2024-08-27
Estimated Expiration
2044-05-23

AI Technical Summary

Technical Problem

In the existing technology, correlation mining of crane system alarm logs is inefficient and ineffective, making it difficult to effectively monitor and analyze massive alarm information, making it difficult to fully understand the system operating status.

Method used

By traversing the alarm information collection and sorting it by timestamp, we build a word list and word vector list for each alarm type, divide the alarm sub-sets, extract the timing vectors and semantic vectors, and determine the correlation strength between alarm types based on the correlation analysis model, and judge Whether the alarm type is a correlation type.

Benefits of technology

The efficiency and accuracy of alarm correlation mining are improved, the mining process can be completed in one traversal, the timing characteristics and semantic information of alarm information are taken into account, and the correlation of alarm types is accurately judged.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118227741B
    Figure CN118227741B
Patent Text Reader

Abstract

The present invention provides an overhead crane system alarm log analysis method, device, electronic device and storage medium. After traversing an alarm information set to prepare data, a time series vector of each alarm type is determined. For any alarm type, a semantic vector of the alarm type is extracted. For any two alarm types, the correlation strength between any two alarm types is determined. Therefore, for any two alarm types, based on the time series vectors and semantic vectors of any two alarm types and the correlation strength between any two alarm types, it can be determined whether any two alarm types are associated alarm types. The entire mining process only requires a complete traversal of the alarm information in the log library once, thereby improving the mining efficiency. In addition, the entire mining method takes into account the timing characteristics and semantic information of the alarm information of a single alarm type itself, and combines the timing correlation between the alarm information of the two alarm types, thereby improving the mining accuracy of the alarm correlation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of log processing, and in particular to an overhead crane system alarm log analysis method, device, electronic equipment and storage medium. Background Art

[0002] In order to monitor the status of each key component, detect potential faults or abnormal conditions in the overhead crane system, and issue warnings in advance, the alarm system can monitor the overhead crane system in real time, so as to keep the system running in the best state and improve operational safety and efficiency. However, a large number of devices in the overhead crane system will generate a large number of alarm logs. In addition, for the overhead crane system, especially the large-scale and complex overhead crane system, a single alarm message may not be able to fully reflect the overall status of the system. If the operation and maintenance monitoring personnel analyze each alarm message one by one, there will be a problem of low efficiency. At the same time, it is also difficult to conduct effective and comprehensive monitoring and analysis of the alarm log, so that problems in the system cannot be located in time. Therefore, it is very necessary to conduct correlation analysis of alarm information. Correlation analysis can help discover the potential relationship between multiple alarms, and filter out the alarm information with correlation from the massive alarm logs, so as to understand the operating status of the system more comprehensively and efficiently.

[0003] Currently, the association analysis of alarm information usually uses association rule mining algorithms, such as the Apriori algorithm, which identifies common occurrence patterns between alarms and discovers frequent association rules between alarms. However, the rule mining algorithm needs to traverse the historical alarm logs multiple times, which will result in low mining efficiency when the number of historical alarm logs is large. In addition, the mining algorithm has certain requirements for the distribution of alarm data. Only frequently occurring items can be mined. If the support is set to a low value, it will cause too many frequent item sets to be determined, too many association rules to be established based on frequent item sets, and poor association rule mining results. Summary of the invention

[0004] The present invention provides an overhead crane system alarm log analysis method, device, electronic equipment and storage medium, which are used to solve the defects of low log correlation mining efficiency and poor mining effect in the prior art.

[0005] The present invention provides a method for analyzing an alarm log of an overhead traveling vehicle system, comprising:

[0006] Traverse each alarm information in the alarm information set sorted by timestamp, build a vocabulary of each alarm type, a word vector list corresponding to each alarm information, and divide multiple alarm subsets based on the timestamp of each alarm information; the alarm subsets are composed of triples consisting of the alarm type field, id and timestamp field of each alarm information;

[0007] Determining a timing vector for each alarm type based on the plurality of alarm subsets;

[0008] For any alarm type, based on a vocabulary of the alarm type and a word vector list corresponding to the alarm information belonging to the alarm type, extract a semantic vector of the alarm type;

[0009] For any two alarm types, obtain an analysis alarm sequence, and determine the association strength between the any two alarm types based on a word vector list corresponding to the alarm information in the analysis alarm sequence and a vocabulary of the any two alarm types;

[0010] For any two alarm types, based on the timing vectors and semantic vectors of the any two alarm types and the association strength between the any two alarm types, it is determined whether the any two alarm types are associated alarm types.

[0011] According to a method for analyzing an alarm log of a crane system provided by the present invention, each alarm information in the alarm information set sorted by timestamp is traversed, a word list of each alarm type and a word vector list corresponding to each alarm information are constructed, and multiple alarm subsets are divided based on the timestamp of each alarm information, specifically including:

[0012] Create an empty vocabulary for each alert type;

[0013] Traversing each alarm information in the alarm information set sorted by timestamp, determining the alarm type field, timestamp field and alarm description field of the current alarm information for the current alarm information, updating the word list of the alarm type indicated by the alarm type field of the current alarm information based on each word segmentation of the alarm description field of the current alarm information, creating a word vector list corresponding to the current alarm information, and assigning the current alarm information to the created alarm subset or a newly created alarm subset based on the timestamp field of the current alarm information and assigning the current alarm information to the newly created alarm subset;

[0014] Among them, the vocabulary of any alarm type contains the word vectors of the segmentations contained in the alarm information belonging to any alarm type and the frequency of occurrence of the corresponding segmentations in the alarm information belonging to any alarm type; the word vector list corresponding to any alarm information contains the sequence number of each segmentation of the alarm description field of any alarm information in the vocabulary of the alarm type indicated by the alarm type field of any alarm information.

[0015] According to a method for analyzing an alarm log of an overhead traveling vehicle system provided by the present invention, the method of allocating the current alarm information to a created alarm subset or a newly created alarm subset based on the timestamp field of the current alarm information and allocating the current alarm information to the newly created alarm subset specifically includes:

[0016] If the timestamp field of the current alarm information exceeds the maximum time of the latest alarm subset currently created, a new alarm subset is created, and the triple consisting of the alarm type field, id and timestamp field of the current alarm information is added to the new alarm subset, and the maximum time of the new alarm subset is determined based on the timestamp field of the current alarm information and the preset time window length;

[0017] If the timestamp field of the current alarm information does not exceed the maximum time of the latest alarm subset currently created, the triple consisting of the alarm type field, id and timestamp field of the current alarm information is added to the latest alarm subset currently created.

[0018] According to a method for analyzing an alarm log of an overhead traveling vehicle system provided by the present invention, determining a time series vector of each alarm type based on the multiple alarm subsets specifically includes:

[0019] For any alarm type, determine in sequence the number of alarm information belonging to any alarm type contained in the multiple alarm subsets;

[0020] Based on the quantity of alarm information belonging to any alarm type contained in each alarm subset, a timing vector of any alarm type is determined.

[0021] According to a method for analyzing an alarm log of an overhead traveling vehicle system provided by the present invention, for any alarm type, based on a vocabulary of the alarm type and a word vector list corresponding to the alarm information belonging to the alarm type, extracting a semantic vector of the alarm type specifically includes:

[0022] Determine a template text of any alarm type based on a vocabulary of any alarm type and a list of word vectors corresponding to the alarm information belonging to any alarm type;

[0023] Based on the template text of any alarm type, a semantic vector of any alarm type is extracted.

[0024] According to a method for analyzing an alarm log of an overhead traveling vehicle system provided by the present invention, the method of determining a template text of any alarm type based on a vocabulary of any alarm type and a word vector list corresponding to alarm information belonging to any alarm type specifically includes:

[0025] Determine a key word in the vocabulary of any alarm type based on the frequency of each word in the vocabulary of any alarm type;

[0026] Determine the order of key words in the vocabulary of any alarm type based on the word vector list corresponding to the alarm information of any alarm type;

[0027] Based on the order of key participles in the vocabulary of any alarm type, a template text of any alarm type is generated.

[0028] According to a method for analyzing an alarm log of an overhead traveling vehicle system provided by the present invention, for any two alarm types, obtaining an analysis alarm sequence, and determining the association strength between the any two alarm types based on a word vector list corresponding to the alarm information in the analysis alarm sequence and a word list of the any two alarm types, specifically includes:

[0029] Based on the multiple alarm subsets, a preset number of alarm subsets are obtained and merged into a subset to be analyzed; wherein the subset to be analyzed contains the latest alarm information belonging to one of the two arbitrary alarm types;

[0030] After deleting the triples whose alarm type fields in the subset to be analyzed are not the any two alarm types, for any triple in the subset to be analyzed, based on the id of the alarm information in the any triple, the word vector sequence corresponding to the corresponding alarm information is spliced ​​to the any triple to obtain the analyzed alarm sequence; wherein the word vector sequence corresponding to the corresponding alarm information is constructed based on the word vector list corresponding to the corresponding alarm information and the word list of the alarm type to which the corresponding alarm information belongs;

[0031] The analysis alarm sequence is input into a correlation analysis model to obtain the correlation strength between any two alarm types output by the correlation analysis model.

[0032] The present invention also provides an overhead crane system alarm log analysis device, comprising:

[0033] A data traversal unit, used to traverse each alarm information in the alarm information set sorted by timestamp, construct a word list of each alarm type, a word vector list corresponding to each alarm information, and divide a plurality of alarm subsets based on the timestamp of each alarm information; the alarm subsets are composed of a triple consisting of an alarm type field, an id and a timestamp field of each alarm information;

[0034] A time series feature extraction unit, configured to determine a time series vector of each alarm type based on the multiple alarm subsets;

[0035] A semantic information extraction unit, configured to extract, for any alarm type, a semantic vector of any alarm type based on a vocabulary of the alarm type and a word vector list corresponding to the alarm information belonging to the alarm type;

[0036] An association strength analysis unit, for obtaining an analysis alarm sequence for any two alarm types, and determining the association strength between the any two alarm types based on a word vector list corresponding to the alarm information in the analysis alarm sequence and a vocabulary of the any two alarm types;

[0037] A confirmation unit is used to determine, for any two alarm types, whether the any two alarm types are associated alarm types based on the timing vectors, semantic vectors and the association strength between the any two alarm types.

[0038] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-mentioned methods for analyzing an alarm log of an overhead crane system is implemented.

[0039] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for analyzing an alarm log of an overhead crane system as described in any one of the above is implemented.

[0040] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for analyzing an alarm log of an overhead crane system as described above is implemented.

[0041] The method, device, electronic device and storage medium for analyzing the alarm log of the overhead crane system provided by the present invention construct a vocabulary of each alarm type and a word vector list corresponding to each alarm information by traversing each alarm information sorted by timestamp in the alarm information set, and divide multiple alarm subsets based on the timestamp of each alarm information, and then determine the time series vector of each alarm type based on the multiple alarm subsets, for any alarm type, based on the vocabulary of the alarm type and the word vector list corresponding to the alarm information belonging to the alarm type, extract the semantic vector of the alarm type, for any two alarm types, obtain the analysis alarm sequence from the alarm information set, and based on the word vector list corresponding to the alarm information in the analysis alarm sequence And the vocabulary of any two alarm types, determine the correlation strength between any two alarm types, so that for any two alarm types, based on the timing vectors, semantic vectors and the correlation strength between any two alarm types, it is possible to determine whether any two alarm types are related alarm types. The entire mining process only requires a complete traversal of the alarm information in the log library once, which improves the mining efficiency. In addition, the entire mining method takes into account the timing characteristics and semantic information of the alarm information of a single alarm type itself, and combines the timing correlation between the alarm information of the two alarm types. It can more accurately judge whether the two alarm types are related alarm types, thereby improving the mining accuracy of alarm correlation. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0043] Figure 1 It is a flow chart of the method for analyzing the alarm log of the overhead crane system provided by the present invention;

[0044] Figure 2 It is a flowchart of the alarm information set traversal method provided by the present invention;

[0045] Figure 3 It is a structural schematic diagram of the overhead crane system alarm log analysis device provided by the present invention;

[0046] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

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

[0048] Figure 1 FIG. 1 is a flow chart of the method for analyzing the alarm log of the overhead traveling vehicle system provided by the present invention. Figure 1 As shown, the method includes:

[0049] Step 110, traverse each alarm information in the alarm information set sorted by timestamp, construct a vocabulary of each alarm type, a word vector list corresponding to each alarm information, and divide multiple alarm subsets based on the timestamp of each alarm information; the alarm subsets are composed of triples consisting of the alarm type field, id and timestamp field of each alarm information;

[0050] Step 120, determining a timing vector of each alarm type based on the multiple alarm subsets;

[0051] Step 130, for any alarm type, based on a vocabulary of the alarm type and a word vector list corresponding to the alarm information belonging to the alarm type, extract a semantic vector of the alarm type;

[0052] Step 140: for any two alarm types, obtain an analysis alarm sequence from the alarm information set, and determine the association strength between the any two alarm types based on the word vector list corresponding to the alarm information in the analysis alarm sequence and the vocabulary of the any two alarm types;

[0053] Step 150: for any two alarm types, based on the timing vectors and semantic vectors of the any two alarm types and the correlation strength between the any two alarm types, determine whether the any two alarm types are correlated alarm types.

[0054] Specifically, by completely traversing the alarm information sorted by timestamp in the alarm information set obtained from the alarm information, a vocabulary of each alarm type and a word vector list corresponding to each alarm information can be constructed. Among them, the alarm type can be preset based on the operation and maintenance requirements of the actual application scenario. The vocabulary of any alarm type contains the word vectors of the segmented words contained in the alarm information belonging to the alarm type (that is, the alarm type field is the alarm type) and the frequency of the corresponding segmented words in the alarm information belonging to the alarm type; the word vector list corresponding to any alarm information contains the sequence number of each segmented word in the alarm description field of the alarm information in the vocabulary of the alarm type indicated by the alarm type field of the alarm information. It should be noted that the order of the corresponding segmented words in the word vector list corresponding to any alarm information is consistent with its order in the alarm description field of the alarm information. At the same time, in the process of traversing the alarm information set, multiple alarm subsets are also divided from the alarm information set based on the timestamp of each alarm information. Each alarm subset is composed of a triple consisting of the alarm type field, id and timestamp field of each alarm information, that is, the alarm subset contains multiple triplets, and each triplet corresponds to one alarm information.

[0055] In some embodiments, Figure 2 The following steps may be used to traverse each warning information in the warning information set:

[0056] Step 210, creating an empty vocabulary for each alarm type;

[0057] Step 220, traverse each alarm information in the alarm information set sorted by timestamp, and for the current alarm information, determine the alarm type field, timestamp field and alarm description field of the current alarm information, based on the individual word segments of the alarm description field of the current alarm information, update the vocabulary of the alarm type indicated by the alarm type field of the current alarm information, create a word vector list corresponding to the current alarm information, and assign the current alarm information to the created alarm subset or a newly created alarm subset based on the timestamp field of the current alarm information and assign the current alarm information to the newly created alarm subset.

[0058] Specifically, before formally traversing the alarm information set, an empty word list can be created for each alarm type. In the process of traversing each alarm information sorted by timestamp in the alarm information set, for the current alarm information currently traversed, its alarm type field, timestamp field and alarm description field can be obtained from the current alarm information, and a globally unique id is assigned to it; then, based on each word segmentation in the alarm description field of the current alarm information, the word list of the alarm type indicated by the alarm type field of the current alarm information is updated, including updating or creating a word vector (the word vector can be obtained using tools such as word2vec) and the frequency of occurrence of the word segmentation in the word list, where if a word segmentation is in the word list, its frequency of occurrence is increased by 1, otherwise a new entry is created in the word list to correspond to the word segmentation, and the word vector of the word segmentation is added and the frequency of occurrence is set to 1; at the same time, a word vector list corresponding to the current alarm information is also created.

[0059] In addition, while traversing the alarm information set, an alarm sub-set will also be created and updated. For the current alarm information currently traversed, the current alarm information can be assigned to the created alarm sub-set based on the timestamp field of the current alarm information, or a new alarm sub-set can be created and the current alarm information can be assigned to the new alarm sub-set. In some embodiments, if the timestamp field of the current alarm information exceeds the maximum time of the latest alarm subset currently created (i.e., the most recently created alarm subset), a new alarm subset is created, and the triple consisting of the alarm type field, id and timestamp field of the current alarm information is added to the new alarm subset, and the maximum time of the new alarm subset is determined based on the timestamp field of the current alarm information and the preset time window length (for example, the timestamp field of the current alarm information and the preset time window length can be added to obtain the maximum time of the new alarm subset); if the timestamp field of the current alarm information does not exceed the maximum time of the latest alarm subset currently created, the triple consisting of the alarm type field, id and timestamp field of the current alarm information is added to the latest alarm subset currently created.

[0060] After the above data preparation is achieved by completely traversing the alarm information sorted by timestamp in the alarm information set obtained from the alarm information, the timing vector of each alarm type can be determined based on multiple alarm subsets. Among them, the timing vector of any alarm type reflects the timing characteristics of the alarm information belonging to the alarm type. Since the alarm information of the interrelated alarm types may have certain similarities in timing, extracting the timing vector of each alarm type helps to mine the interrelated alarm types. In some embodiments, for any alarm type, the number of alarm information belonging to the alarm type contained in multiple alarm subsets can be determined in turn, and the timing vector of the alarm type is determined based on the number of alarm information belonging to the alarm type contained in each alarm subset. For example, assuming that there are m alarm subsets, the timing vector of any alarm type A can be expressed as (t1, t2, ..., tm), where ti is the number of alarm information of alarm type A in the i-th alarm subset.

[0061] In addition, the alarm information of the alarm types that are related to each other may also have certain similarities in semantics, so the semantic vector of each alarm type can also be extracted to improve the accuracy of the alarm type association analysis. In this regard, for any alarm type, the semantic vector of the alarm type can be extracted based on the vocabulary of the alarm type and the word vector list corresponding to the alarm information of the alarm type. Among them, the semantic vector of any alarm type contains the common semantic information between the alarm information of the alarm type. In some embodiments, the template text of the alarm type can be determined based on the vocabulary of the alarm type and the word vector list corresponding to the alarm information of the alarm type, that is, the part of the text shared by the alarm information of the alarm type, and then based on the template text of the alarm type, a natural language model, such as a Transformer model, is used to extract the semantic vector of the alarm type from the template text of the alarm type. Among them, based on the frequency of each word in the vocabulary of the alarm type, the key words in the vocabulary of the alarm type (for example, words with a frequency higher than a preset frequency value) can be determined, and based on the word vector list corresponding to the alarm information of the alarm type, the order between the key words in the vocabulary of the alarm type can be determined, so as to generate the template text of the alarm type based on the key words in the vocabulary of the alarm type and the order between them.

[0062] In order to further improve the accuracy of the alarm type association analysis, for any two alarm types, an analysis alarm sequence can also be obtained from the alarm information set, based on the word vector list corresponding to the alarm information in the analysis alarm sequence and the word list of the above two alarm types, the neural network model is used to predict the association strength between the above two alarm types. Among them, the association strength between any two alarm types is a numerical value between 0 and 1, and the larger the value, the stronger the association between the above two alarm types. Here, based on multiple alarm subsets, a preset number of alarm subsets can be obtained and merged into a subset to be analyzed; wherein the subset to be analyzed contains the triples corresponding to the latest alarm information belonging to one of the above two alarm types. Then, after deleting the triples whose alarm type fields in the subset to be analyzed are not the above two alarm types, for any triple in the subset to be analyzed, the word vector sequence corresponding to the corresponding alarm information can be spliced ​​to the triple based on the id of the alarm information in the triple, thereby obtaining the analysis alarm sequence. Among them, the word vector sequence corresponding to the corresponding alarm information is constructed based on the word vector list corresponding to the corresponding alarm information and the word list of the alarm type to which the corresponding alarm information belongs, which includes the word vector of the corresponding word segmentation. The above-mentioned analysis alarm sequence is input into the pre-trained association analysis model to obtain the association strength between the above-mentioned any two alarm types output by the association analysis model. Among them, the association analysis model can be any neural network model that can process time series data, such as a recurrent neural network or its variants, and the present invention does not make specific limitations on this. The association analysis model can be trained based on the sample analysis alarm sequence of two sample alarm types and the association labels (indicating association or non-association) of the above two sample alarm types, and the sample analysis alarm sequence of the two sample alarm types is similar to the acquisition method of the analysis alarm sequence of any two alarm types in the above text, which will not be repeated here.

[0063] For any two alarm types, by combining the time series vectors, semantic vectors and the strength of association between the above two alarm types, it is possible to more accurately determine whether the above two alarm types are associated alarm types. The time series vectors, semantic vectors and the strength of association between the above two alarm types can be input into a multi-layer perceptron to perform a classification task, thereby determining whether the above two alarm types are associated alarm types.

[0064] In summary, the method provided by the embodiment of the present invention traverses each alarm information in the alarm information set sorted by timestamp, constructs a vocabulary of each alarm type and a list of word vectors corresponding to each alarm information, and divides multiple alarm subsets based on the timestamp of each alarm information, and then determines the time series vector of each alarm type based on the multiple alarm subsets. For any alarm type, based on the vocabulary of the alarm type and the list of word vectors corresponding to the alarm information belonging to the alarm type, extracts the semantic vector of the alarm type. For any two alarm types, obtains an analysis alarm sequence from the alarm information set, and based on the analysis of the word vector list corresponding to the alarm information in the alarm sequence and the list of word vectors corresponding to any two alarms, obtains the semantic vector of the alarm type. The word list of the type is used to determine the correlation strength between any two alarm types. Therefore, for any two alarm types, based on the time series vectors, semantic vectors and the correlation strength between any two alarm types, it is possible to determine whether any two alarm types are related alarm types. The entire mining process only requires a complete traversal of the alarm information in the log library once, which improves the mining efficiency. In addition, the entire mining method takes into account the timing characteristics and semantic information of the alarm information of a single alarm type, and combines the timing correlation between the alarm information of the two alarm types. It can more accurately determine whether the two alarm types are related alarm types, thereby improving the mining accuracy of alarm correlation.

[0065] The following is a description of the overhead crane system alarm log analysis device provided by the present invention. The overhead crane system alarm log analysis device described below and the overhead crane system alarm log analysis method described above can be referred to each other.

[0066] Based on any of the above embodiments, Figure 3 Schematic diagram of the structure of the overhead crane system alarm log analysis device provided by the present invention. Figure 3 As shown, the device comprises:

[0067] The data traversal unit 310 is used to traverse each alarm information in the alarm information set sorted by timestamp, construct a word list of each alarm type, a word vector list corresponding to each alarm information, and divide multiple alarm subsets based on the timestamp of each alarm information; the alarm subsets are composed of a triple consisting of an alarm type field, an id and a timestamp field of each alarm information;

[0068] A time series feature extraction unit 320, configured to determine a time series vector of each alarm type based on the multiple alarm subsets;

[0069] A semantic information extraction unit 330, configured to extract, for any alarm type, a semantic vector of any alarm type based on a vocabulary of the alarm type and a word vector list corresponding to the alarm information belonging to the alarm type;

[0070] The association strength analysis unit 340 is used to obtain an analysis alarm sequence for any two alarm types, and determine the association strength between the any two alarm types based on the word vector list corresponding to the alarm information in the analysis alarm sequence and the word list of the any two alarm types;

[0071] The confirmation unit 350 is used to determine, for any two alarm types, whether the any two alarm types are associated alarm types based on the timing vectors and semantic vectors of the any two alarm types and the association strength between the any two alarm types.

[0072] The device provided by the embodiment of the present invention constructs a vocabulary of each alarm type and a list of word vectors corresponding to each alarm information by traversing each alarm information in the alarm information set sorted by timestamp, and divides multiple alarm subsets based on the timestamp of each alarm information, and then determines the time series vector of each alarm type based on the multiple alarm subsets, and for any alarm type, extracts the semantic vector of the alarm type based on the vocabulary of the alarm type and the list of word vectors corresponding to the alarm information belonging to the alarm type, and for any two alarm types, obtains an analysis alarm sequence from the alarm information set, and analyzes the alarm sequence based on the word vector list corresponding to the alarm information in the alarm sequence and the list of word vectors corresponding to any two alarm types. The vocabulary list is used to determine the correlation strength between any two alarm types. Therefore, for any two alarm types, based on the time series vectors, semantic vectors and the correlation strength between any two alarm types, it can be determined whether any two alarm types are related alarm types. The entire mining process only requires a complete traversal of the alarm information in the log library once, which improves the mining efficiency. In addition, the entire mining method takes into account the timing characteristics and semantic information of the alarm information of a single alarm type, and combines the timing correlation between the alarm information of the two alarm types. It can more accurately determine whether the two alarm types are related alarm types, thereby improving the mining accuracy of alarm correlation.

[0073] Based on any of the above embodiments, the traversal of each alarm information sorted by timestamp in the alarm information set builds a vocabulary of each alarm type and a word vector list corresponding to each alarm information, and divides multiple alarm subsets based on the timestamp of each alarm information, specifically including:

[0074] Create an empty vocabulary for each alert type;

[0075] Traversing each alarm information in the alarm information set sorted by timestamp, determining the alarm type field, timestamp field and alarm description field of the current alarm information for the current alarm information, updating the word list of the alarm type indicated by the alarm type field of the current alarm information based on each word segmentation of the alarm description field of the current alarm information, creating a word vector list corresponding to the current alarm information, and assigning the current alarm information to the created alarm subset or a newly created alarm subset based on the timestamp field of the current alarm information and assigning the current alarm information to the newly created alarm subset;

[0076] Among them, the vocabulary of any alarm type contains the word vectors of the segmentations contained in the alarm information belonging to any alarm type and the frequency of occurrence of the corresponding segmentations in the alarm information belonging to any alarm type; the word vector list corresponding to any alarm information contains the sequence number of each segmentation of the alarm description field of any alarm information in the vocabulary of the alarm type indicated by the alarm type field of any alarm information.

[0077] Based on any of the foregoing embodiments, allocating the current alarm information to a created alarm subset or a newly created alarm subset based on the timestamp field of the current alarm information and allocating the current alarm information to the newly created alarm subset specifically includes:

[0078] If the timestamp field of the current alarm information exceeds the maximum time of the latest alarm subset currently created, a new alarm subset is created, and the triple consisting of the alarm type field, id and timestamp field of the current alarm information is added to the new alarm subset, and the maximum time of the new alarm subset is determined based on the timestamp field of the current alarm information and the preset time window length;

[0079] If the timestamp field of the current alarm information does not exceed the maximum time of the latest alarm subset currently created, the triple consisting of the alarm type field, id and timestamp field of the current alarm information is added to the latest alarm subset currently created.

[0080] Based on any of the foregoing embodiments, determining the timing vector of each alarm type based on the multiple alarm subsets specifically includes:

[0081] For any alarm type, determine in sequence the number of alarm information belonging to any alarm type contained in the multiple alarm subsets;

[0082] Based on the quantity of alarm information belonging to any alarm type contained in each alarm subset, a timing vector of any alarm type is determined.

[0083] Based on any of the foregoing embodiments, for any alarm type, based on a vocabulary of the alarm type and a word vector list corresponding to the alarm information belonging to the alarm type, extracting a semantic vector of the alarm type specifically includes:

[0084] Determine a template text of any alarm type based on a vocabulary of any alarm type and a list of word vectors corresponding to the alarm information belonging to any alarm type;

[0085] Based on the template text of any alarm type, a semantic vector of any alarm type is extracted.

[0086] Based on any of the foregoing embodiments, determining the template text of any alarm type based on the vocabulary of any alarm type and the word vector list corresponding to the alarm information belonging to any alarm type specifically includes:

[0087] Determine a key word in the vocabulary of any alarm type based on the frequency of each word in the vocabulary of any alarm type;

[0088] Determine the order of key words in the vocabulary of any alarm type based on the word vector list corresponding to the alarm information of any alarm type;

[0089] Based on the order of key participles in the vocabulary of any alarm type, a template text of any alarm type is generated.

[0090] Based on any of the foregoing embodiments, obtaining an analysis alarm sequence for any two alarm types, and determining the association strength between the any two alarm types based on a word vector list corresponding to the alarm information in the analysis alarm sequence and a vocabulary of the any two alarm types, specifically includes:

[0091] Based on the multiple alarm subsets, a preset number of alarm subsets are obtained and merged into a subset to be analyzed; wherein the subset to be analyzed contains the latest alarm information belonging to one of the two arbitrary alarm types;

[0092] After deleting the triples whose alarm type fields in the subset to be analyzed are not the any two alarm types, for any triple in the subset to be analyzed, based on the id of the alarm information in the any triple, the word vector sequence corresponding to the corresponding alarm information is spliced ​​to the any triple to obtain the analyzed alarm sequence; wherein the word vector sequence corresponding to the corresponding alarm information is constructed based on the word vector list corresponding to the corresponding alarm information and the word list of the alarm type to which the corresponding alarm information belongs;

[0093] The analysis alarm sequence is input into a correlation analysis model to obtain the correlation strength between any two alarm types output by the correlation analysis model.

[0094] Figure 4 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 4 As shown, the electronic device may include: a processor (processor) 410, a memory (memory) 420, a communication interface (Communications Interface) 430 and a communication bus 440, wherein the processor 410, the memory 420, and the communication interface 430 communicate with each other through the communication bus 440. The processor 410 can call the logic instructions in the memory 420 to execute the method for analyzing the alarm log of the overhead traveling vehicle system, the method comprising: traversing each alarm information in the alarm information set sorted by timestamp, constructing a vocabulary of each alarm type, a word vector list corresponding to each alarm information, and dividing multiple alarm subsets based on the timestamp of each alarm information; the alarm subsets are composed of a triple consisting of the alarm type field, id and timestamp field of each alarm information; based on the multiple alarm subsets, determining the time series vector of each alarm type; for any alarm type, based on any alarm Type vocabulary and word vector list corresponding to the alarm information belonging to any alarm type, extract the semantic vector of any alarm type; for any two alarm types, obtain the analysis alarm sequence, and determine the association strength between the any two alarm types based on the word vector list corresponding to the alarm information in the analysis alarm sequence and the vocabulary of the any two alarm types; for any two alarm types, determine whether the any two alarm types are associated alarm types based on the timing vectors, semantic vectors of the any two alarm types and the association strength between the any two alarm types.

[0095] In addition, the logic instructions in the above-mentioned memory 420 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0096] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the overhead crane system alarm log analysis method provided by the above methods, the method comprising: traversing each alarm information sorted by timestamp in the alarm information set, constructing a vocabulary of each alarm type and a word vector list corresponding to each alarm information, and dividing a plurality of alarm subsets based on the timestamp of each alarm information; the alarm subsets are composed of a triple consisting of an alarm type field, an id and a timestamp field of each alarm information; based on the plurality of Alarm subset, determine the timing vector of each alarm type; for any alarm type, extract the semantic vector of any alarm type based on the vocabulary of any alarm type and the word vector list corresponding to the alarm information belonging to any alarm type; for any two alarm types, obtain the analysis alarm sequence, and determine the correlation strength between the any two alarm types based on the word vector list corresponding to the alarm information in the analysis alarm sequence and the vocabulary of the any two alarm types; for any two alarm types, determine whether the any two alarm types are associated alarm types based on the timing vectors, semantic vectors of the any two alarm types and the correlation strength between the any two alarm types.

[0097] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which is implemented when the processor executes the above-mentioned overhead crane system alarm log analysis method, the method comprising: traversing each alarm information sorted by timestamp in the alarm information set, constructing a vocabulary of each alarm type, a word vector list corresponding to each alarm information, and dividing a plurality of alarm subsets based on the timestamp of each alarm information; the alarm subsets are composed of a triple consisting of an alarm type field, an id and a timestamp field of each alarm information; based on the plurality of alarm subsets, determining a time series vector of each alarm type; For any alarm type, based on the vocabulary of any alarm type and the list of word vectors corresponding to the alarm information belonging to any alarm type, extract the semantic vector of any alarm type; for any two alarm types, obtain an analysis alarm sequence, and based on the list of word vectors corresponding to the alarm information in the analysis alarm sequence and the vocabulary of any two alarm types, determine the association strength between the any two alarm types; for any two alarm types, based on the timing vectors, semantic vectors of the any two alarm types and the association strength between the any two alarm types, determine whether the any two alarm types are associated alarm types.

[0098] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0099] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0100] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for analyzing an alarm log of an overhead crane system, characterized in that: include: Traverse each alarm information in the alarm information set sorted by timestamp, build a vocabulary of each alarm type, a word vector list corresponding to each alarm information, and divide multiple alarm subsets based on the timestamp of each alarm information; The alarm subset is composed of a triple consisting of the alarm type field, id and timestamp field of each alarm information; Determining a timing vector for each alarm type based on the plurality of alarm subsets; For any alarm type, based on a vocabulary of the alarm type and a word vector list corresponding to the alarm information belonging to the alarm type, extract a semantic vector of the alarm type; For any two alarm types, obtain an analysis alarm sequence, and determine the association strength between the any two alarm types based on a word vector list corresponding to the alarm information in the analysis alarm sequence and a vocabulary of the any two alarm types; For any two alarm types, determining whether the any two alarm types are associated alarm types based on the timing vectors, the semantic vectors and the association strength between the any two alarm types; The acquiring, for any two alarm types, an analysis alarm sequence, and determining the association strength between the any two alarm types based on a word vector list corresponding to the alarm information in the analysis alarm sequence and a vocabulary of the any two alarm types, specifically includes: Based on the multiple alarm subsets, a preset number of alarm subsets are obtained and merged into a subset to be analyzed; wherein the subset to be analyzed contains the latest alarm information belonging to one of the two arbitrary alarm types; After deleting the triples whose alarm type fields in the subset to be analyzed are not the any two alarm types, for any triple in the subset to be analyzed, based on the id of the alarm information in the any triple, the word vector sequence corresponding to the corresponding alarm information is spliced ​​to the any triple to obtain the analyzed alarm sequence; wherein the word vector sequence corresponding to the corresponding alarm information is constructed based on the word vector list corresponding to the corresponding alarm information and the word list of the alarm type to which the corresponding alarm information belongs; Inputting the analyzed alarm sequence into a correlation analysis model to obtain the correlation strength between any two alarm types output by the correlation analysis model; The traversal of each alarm information in the alarm information set sorted by timestamp builds a vocabulary of each alarm type and a word vector list corresponding to each alarm information, and divides multiple alarm subsets based on the timestamp of each alarm information, specifically including: Create an empty vocabulary for each alert type; Traversing each alarm information in the alarm information set sorted by timestamp, determining the alarm type field, timestamp field and alarm description field of the current alarm information for the current alarm information, updating the word list of the alarm type indicated by the alarm type field of the current alarm information based on each word segmentation of the alarm description field of the current alarm information, creating a word vector list corresponding to the current alarm information, and assigning the current alarm information to the created alarm subset or a newly created alarm subset based on the timestamp field of the current alarm information and assigning the current alarm information to the newly created alarm subset; Among them, the vocabulary of any alarm type contains the word vectors of the segmented words contained in the alarm information belonging to any alarm type and the frequency of occurrence of the corresponding segmented words in the alarm information belonging to any alarm type; the word vector list corresponding to any alarm information contains the sequence number of each segmented word of the alarm description field of any alarm information in the vocabulary of the alarm type indicated by the alarm type field of any alarm information; The allocating the current alarm information to a created alarm subset or a newly created alarm subset based on the timestamp field of the current alarm information and allocating the current alarm information to the newly created alarm subset specifically includes: If the timestamp field of the current alarm information exceeds the maximum time of the latest alarm subset currently created, a new alarm subset is created, and the triple consisting of the alarm type field, id and timestamp field of the current alarm information is added to the new alarm subset, and the maximum time of the new alarm subset is determined based on the timestamp field of the current alarm information and the preset time window length; If the timestamp field of the current alarm information does not exceed the maximum time of the latest alarm subset currently created, the triple consisting of the alarm type field, id and timestamp field of the current alarm information is added to the latest alarm subset currently created.

2. The method for analyzing the alarm log of the overhead traveling vehicle system according to claim 1, characterized in that: The determining, based on the multiple alarm subsets, a timing vector of each alarm type specifically includes: For any alarm type, determine in sequence the number of alarm information belonging to any alarm type contained in the multiple alarm subsets; Based on the quantity of alarm information belonging to any alarm type contained in each alarm subset, a timing vector of any alarm type is determined.

3. The method for analyzing the alarm log of the overhead traveling vehicle system according to claim 1, characterized in that: For any alarm type, based on the vocabulary of the alarm type and the word vector list corresponding to the alarm information belonging to the alarm type, extracting the semantic vector of the alarm type specifically includes: Determine a template text of any alarm type based on a vocabulary of any alarm type and a list of word vectors corresponding to the alarm information belonging to any alarm type; Based on the template text of any alarm type, a semantic vector of any alarm type is extracted.

4. The method for analyzing the alarm log of the overhead traveling vehicle system according to claim 3, characterized in that: The determining of the template text of any alarm type based on the vocabulary of any alarm type and the word vector list corresponding to the alarm information belonging to any alarm type specifically includes: Determine a key word in the vocabulary of any alarm type based on the frequency of each word in the vocabulary of any alarm type; Determine the order of key words in the vocabulary of any alarm type based on the word vector list corresponding to the alarm information of any alarm type; Based on the order of key words in the vocabulary of any alarm type, a template text of any alarm type is generated.

5. A device for analyzing an alarm log of an overhead crane system, characterized in that: include: A data traversal unit, used to traverse each alarm information in the alarm information set sorted by timestamp, construct a word list of each alarm type, a word vector list corresponding to each alarm information, and divide a plurality of alarm subsets based on the timestamp of each alarm information; The alarm subset is composed of a triple consisting of the alarm type field, id and timestamp field of each alarm information; A time series feature extraction unit, configured to determine a time series vector of each alarm type based on the plurality of alarm subsets; A semantic information extraction unit, configured to extract, for any alarm type, a semantic vector of any alarm type based on a vocabulary of the alarm type and a word vector list corresponding to the alarm information belonging to the alarm type; An association strength analysis unit, for obtaining an analysis alarm sequence for any two alarm types, and determining the association strength between the any two alarm types based on a word vector list corresponding to the alarm information in the analysis alarm sequence and a vocabulary of the any two alarm types; A confirmation unit, configured to determine, for any two alarm types, whether the any two alarm types are associated alarm types based on the timing vectors, the semantic vectors and the association strength between the any two alarm types; The acquiring, for any two alarm types, an analysis alarm sequence, and determining the association strength between the any two alarm types based on a word vector list corresponding to the alarm information in the analysis alarm sequence and a vocabulary of the any two alarm types, specifically includes: Based on the multiple alarm subsets, a preset number of alarm subsets are obtained and merged into a subset to be analyzed; wherein the subset to be analyzed contains the latest alarm information belonging to one of the two arbitrary alarm types; After deleting the triples whose alarm type fields in the subset to be analyzed are not the any two alarm types, for any triple in the subset to be analyzed, based on the id of the alarm information in the any triple, the word vector sequence corresponding to the corresponding alarm information is spliced ​​to the any triple to obtain the analyzed alarm sequence; wherein the word vector sequence corresponding to the corresponding alarm information is constructed based on the word vector list corresponding to the corresponding alarm information and the word list of the alarm type to which the corresponding alarm information belongs; Inputting the analyzed alarm sequence into a correlation analysis model to obtain the correlation strength between any two alarm types output by the correlation analysis model; The traversal of each alarm information in the alarm information set sorted by timestamp builds a vocabulary of each alarm type and a word vector list corresponding to each alarm information, and divides multiple alarm subsets based on the timestamp of each alarm information, specifically including: Create an empty vocabulary for each alert type; Traversing each alarm information in the alarm information set sorted by timestamp, determining the alarm type field, timestamp field and alarm description field of the current alarm information for the current alarm information, updating the word list of the alarm type indicated by the alarm type field of the current alarm information based on each word segmentation of the alarm description field of the current alarm information, creating a word vector list corresponding to the current alarm information, and assigning the current alarm information to the created alarm subset or a newly created alarm subset based on the timestamp field of the current alarm information and assigning the current alarm information to the newly created alarm subset; Among them, the vocabulary of any alarm type contains the word vectors of the segmented words contained in the alarm information belonging to any alarm type and the frequency of occurrence of the corresponding segmented words in the alarm information belonging to any alarm type; the word vector list corresponding to any alarm information contains the sequence number of each segmented word of the alarm description field of any alarm information in the vocabulary of the alarm type indicated by the alarm type field of any alarm information; The allocating the current alarm information to a created alarm subset or a newly created alarm subset based on the timestamp field of the current alarm information and allocating the current alarm information to the newly created alarm subset specifically includes: If the timestamp field of the current alarm information exceeds the maximum time of the latest alarm subset currently created, a new alarm subset is created, and the triple consisting of the alarm type field, id and timestamp field of the current alarm information is added to the new alarm subset, and the maximum time of the new alarm subset is determined based on the timestamp field of the current alarm information and the preset time window length; If the timestamp field of the current alarm information does not exceed the maximum time of the latest alarm subset currently created, the triple consisting of the alarm type field, id and timestamp field of the current alarm information is added to the latest alarm subset currently created.

6. 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, the method for analyzing the alarm log of the overhead traveling vehicle system as claimed in any one of claims 1 to 4 is implemented.

7. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for analyzing an alarm log of an overhead traveling vehicle system as claimed in any one of claims 1 to 4 is implemented.