Data analysis method for various types of fire extinguishing and explosion suppression systems

By collecting and matching CAN frame data in the fire extinguishing and explosion suppression system, and using the analytical module of the known system to analyze the data of the new system, it solves the problems of maintenance difficulties and inefficient resolution of different models of systems, and achieves fast and efficient data analysis and detection.

CN120437538APending Publication Date: 2025-08-08CHINA SOUTH IND GRP SHANGHAI ELECTRIC CONTROL RES INST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510532296.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-25
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

Due to the differences in CAN bus protocols, different types of fire extinguishing and explosion suppression systems cannot be quickly identified and detected in the same software, resulting in difficulty in maintenance and inefficient resolution.

Method used

By controlling the new fire extinguishing and explosion suppression system to trigger in the preset event order, CAN frame data is collected and matched with the CAN frame data of multiple known systems. The data analysis module of the matching known system is used for data analysis, including fuzzy matching, hash matching and string conversion numerical comparison methods, and combined with historical analysis records to determine the usage frequency for fast matching.

Benefits of technology

It realizes rapid analysis of various types of fire extinguishing and explosion suppression systems, reduces maintenance difficulty and improves analysis efficiency, and can use the same analysis module to detect different models of systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120437538A_ABST
    Figure CN120437538A_ABST
Patent Text Reader

Abstract

The invention relates to a data analysis method for various types of fire extinguishing and explosion suppression systems, belongs to the technical field of fire extinguishing and explosion suppression system analysis, and solves the problems of difficult maintenance and low analysis efficiency of different types of fire extinguishing and explosion suppression systems in the prior art. The data analysis method comprises the steps that a new fire extinguishing and explosion suppression system is controlled to be triggered in sequence according to a preset event sequence, CAN frame data generated by each preset event is collected, and CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system are obtained; according to CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system and CAN frame data generated by corresponding events in the multiple known systems, whether a known system matched with the new fire extinguishing and explosion suppression system exists or not is judged; and if so, analyzing the CAN frame data generated by the new fire extinguishing and explosion suppression system by using an analysis module of the matched known system. And rapid analysis of various models of fire extinguishing and explosion suppression systems is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of fire extinguishing and explosion suppression system detection, and in particular to a data analysis method for various types of fire extinguishing and explosion suppression systems. Background Art

[0002] Fire extinguishing and explosion suppression systems are widely used in various fields to prevent fire and explosion accidents. Fire extinguishing and explosion suppression systems communicate via the CAN bus to ensure real-time and reliable data transmission.

[0003] However, different types of fire extinguishing and explosion suppression systems have different CAN bus protocols due to their differences. For example, system A is a fire extinguishing system that can extinguish fires in the power compartment and bottom cabin; system B is a fire extinguishing and explosion suppression system that can extinguish fires in the power compartment and bottom cabin and suppress explosions in the passenger compartment. The CAN protocols of systems A and B will have different working status, sensor status, fire extinguisher bottle status, and alarm information for each cabin, making it impossible to quickly identify and detect them in the same software. As a result, different types of fire extinguishing and explosion suppression systems need to be detected, analyzed, and maintained separately.

[0004] Therefore, there is an urgent need for a technical solution that can simultaneously analyze multiple types of fire extinguishing and explosion suppression systems. Summary of the Invention

[0005] In view of the above analysis, an embodiment of the present invention aims to provide a data analysis method for various types of fire extinguishing and explosion suppression systems, so as to solve the problems in the prior art of difficult maintenance and low efficiency in analyzing different types of fire extinguishing and explosion suppression systems.

[0006] An embodiment of the present invention provides a data analysis method for various types of fire extinguishing and explosion suppression systems, the data analysis method comprising:

[0007] Control the new fire extinguishing and explosion suppression system to trigger in sequence according to the preset event sequence, collect the CAN frame data generated by each preset event, and obtain the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system;

[0008] Determine whether there is a known system that matches the new fire extinguishing and explosion suppression system based on the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system and the CAN frame data generated by corresponding events in multiple known systems;

[0009] If so, the CAN frame data generated by the new fire extinguishing and explosion suppression system is parsed using the parsing module of the matching known system.

[0010] Based on the further improvement of the above data analysis method, the method of judging whether there is a known system that matches the new fire extinguishing and explosion suppression system based on the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system and the CAN frame data generated by corresponding events in multiple known systems includes:

[0011] Match the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system with the CAN frame data generated by corresponding events in multiple known systems, obtain the matching values corresponding to the multiple known systems, and select the maximum matching value from them;

[0012] Determine whether the maximum matching value is greater than a preset threshold; if so, determine whether there is a known system that matches the new fire extinguishing and explosion suppression system, and use the known system corresponding to the maximum matching value as the known system that matches the new fire extinguishing and explosion suppression system.

[0013] Based on the further improvement of the above data analysis method, the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system are matched with the CAN frame data generated by corresponding events in multiple known systems, including:

[0014] Determine the identifier and data domain corresponding to each preset event in the new fire extinguishing and explosion suppression system based on the CAN frame data generated by each preset event in the new fire extinguishing and explosion suppression system; determine the identifier and data domain corresponding to each preset event in each known system based on the CAN frame data generated by each preset event in each known system;

[0015] Using a string comparison method, the identifier and data field corresponding to each preset event in the new fire extinguishing and explosion suppression system are compared with the identifier and data field corresponding to each preset event in each known system in the preset event order, and the comparison results of the new fire extinguishing and explosion suppression system and each known system in each preset event are obtained;

[0016] The matching value corresponding to each known system is determined based on the comparison result between the new fire extinguishing and explosion suppression system and each known system in each preset event.

[0017] Based on the further improvement of the above data parsing method, the string comparison method is any one of the following:

[0018] Fuzzy matching comparison method;

[0019] Hash matching comparison method;

[0020] String conversion to numeric comparison method.

[0021] Based on the further improvement of the above data analysis method, the matching value corresponding to each known system is determined by the following formula:

[0022]

[0023] Among them, MatchScore represents the matching value corresponding to each known system, N represents the number of preset events, and ID new (i) represents the identifier of the new fire extinguishing and explosion suppression system corresponding to the i-th preset event, ID known (i) represents the identifier corresponding to the i-th preset event of the known system, D new (i) represents the data domain corresponding to the i-th preset event of the new fire extinguishing and explosion suppression system, D known (i) represents the data domain corresponding to the i-th preset event of the known system, δ() represents the indicator function, and ^ represents the logical AND.

[0024] Based on the further improvement of the above data analysis method, the method of judging whether there is a known system that matches the new fire extinguishing and explosion suppression system based on the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system and the CAN frame data generated by corresponding events in multiple known systems includes:

[0025] Determine the frequency of use of each known system based on historical analysis records;

[0026] Sort the usage frequency of each known system in order of size to obtain all sorted known systems;

[0027] Match the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system with the CAN frame data generated by the corresponding events of all known systems after sorting;

[0028] After each known system is matched, it is determined whether the matching value corresponding to the known system is a complete match; if so, it is determined that there is a known system that matches the new fire extinguishing and explosion suppression system, and the known system is used as the known system that matches the new fire extinguishing and explosion suppression system.

[0029] Based on a further improvement of the above data analysis method, the method of determining the usage frequency of each known system based on historical analysis records includes:

[0030] Determine the number of times each known system has been used and the number of times all known systems have been used based on historical parsing records;

[0031] The usage frequency of each known system is calculated based on the usage count of each known system and the usage count of all known systems.

[0032] Based on the further improvement of the above data parsing method, if there is no known system that matches the new fire extinguishing and explosion suppression system, the CAN frame data generated by the new fire extinguishing and explosion suppression system is parsed through the following steps:

[0033] Determine one or more sub-events corresponding to all preset events and obtain all sub-events;

[0034] Control the new fire extinguishing and explosion suppression system to trigger all sub-events in sequence, and collect and store the CAN frame data corresponding to each sub-event;

[0035] The CAN frame data generated by the new fire extinguishing and explosion suppression system is parsed using the CAN frame data corresponding to all sub-events.

[0036] Based on the further improvement of the above data parsing method, the CAN frame data generated by the new fire extinguishing and explosion suppression system is parsed using the CAN frame data corresponding to all sub-events, including:

[0037] Match the CAN frame data corresponding to all sub-events with the CAN frame data generated by the new fire extinguishing and explosion suppression system to determine the matching results of all sub-events;

[0038] The sub-event with a successful matching result is used as the parsing result of the CAN frame data generated by the new fire extinguishing and explosion suppression system.

[0039] Based on the further improvement of the above data analysis method, the preset events include one or more of the following:

[0040] Crew compartment fire incidents;

[0041] Engine compartment fire incident;

[0042] Fire incidents in the lower holds;

[0043] Linear flame sensor resistance and capacitance change events;

[0044] Emergency button change event.

[0045] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:

[0046] 1. By controlling the new fire extinguishing and explosion suppression system to trigger according to preset events, the generated CAN frame data is collected and compared with the CAN frame data of the corresponding events of pre-stored known systems to determine whether there is a known system that matches the new fire extinguishing and explosion suppression system. If so, the parsing module of the matching known system is used to parse the CAN frame data generated by the new fire extinguishing and explosion suppression system. This allows different types of fire extinguishing and explosion suppression systems to be parsed and tested using the same parsing module, improving the parsing efficiency of multiple types of fire extinguishing and explosion suppression systems and reducing maintenance difficulty.

[0047] 2. Use the CAN frame data generated by different preset events to match the new fire extinguishing and explosion suppression system with the known system. Based on the matching value, quickly determine the corresponding analysis module of the new fire extinguishing and explosion suppression system to achieve data analysis of the new fire extinguishing and explosion suppression system.

[0048] 3. Determine the order of known systems that match the new fire extinguishing and explosion suppression system based on historical analysis records. Matching them in this order can improve the matching speed, quickly determine the known systems that match the new fire extinguishing and explosion suppression system, and thus improve the analysis speed.

[0049] In the present invention, the above-mentioned technical solutions can be combined with each other to achieve more preferred combinations. Other features and advantages of the present invention will be described in the following description, and some advantages will become apparent from the description or be learned through practice of the present invention. The objectives and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The accompanying drawings are only for the purpose of illustrating particular embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like parts throughout the drawings.

[0051] Figure 1 A flow chart of a data analysis method for various types of fire extinguishing and explosion suppression systems provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0052] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, and are not used to limit the scope of the present invention.

[0053] A specific embodiment of the present invention discloses a data analysis method for various types of fire extinguishing and explosion suppression systems, such as Figure 1 As shown, the data parsing method includes:

[0054] Step S1: Control the new fire extinguishing and explosion suppression system to be triggered in sequence according to the preset event sequence, collect the CAN frame data generated by each preset event, and obtain the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system;

[0055] Step S2: determining whether there is a known system that matches the new fire extinguishing and explosion suppression system based on the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system and the CAN frame data generated by corresponding events in multiple known systems;

[0056] Step S3: If it exists, the CAN frame data generated by the new fire extinguishing and explosion suppression system is parsed using the parsing module of the matching known system.

[0057] Specifically, the new fire extinguishing and explosion suppression system represents an unknown fire extinguishing and explosion suppression system. The new fire extinguishing and explosion suppression system is connected via the CAN bus, and various CAN frame data generated by the new fire extinguishing and explosion suppression system is collected. Since the new fire extinguishing and explosion suppression system is an unknown system, the CAN frame data generated by the new fire extinguishing and explosion suppression system cannot be directly parsed. However, the CAN frame data generated by the new fire extinguishing and explosion suppression system can be collected and stored.

[0058] Specifically, such as Figure 1 As shown, in step S1, the preset event represents an event that can occur in the existing fire extinguishing and explosion suppression system. If the new fire extinguishing and explosion suppression system can trigger the preset event, the CAN frame data generated under the preset event is collected; if the new fire extinguishing and explosion suppression system cannot trigger the event, the CAN frame data generated under the preset event is defaulted to be empty, and the CAN frame data generated by the new fire extinguishing and explosion suppression system under the preset event is saved.

[0059] Specifically, in step S1, the new fire extinguishing and explosion suppression system can be controlled to trigger preset events in the preset event sequence, and each triggered preset event is saved until the new fire extinguishing and explosion suppression system triggers all preset events, and the CAN frame data generated by the new fire extinguishing and explosion suppression system under all preset events is obtained.

[0060] Preferably, the preset events include one or more of the following:

[0061] Crew compartment fire incidents;

[0062] Engine compartment fire incident;

[0063] Fire incidents in the lower holds;

[0064] Linear flame sensor resistance and capacitance change events;

[0065] Emergency button change event.

[0066] Specifically, the preset event may be a crew compartment fire alarm event, a power compartment fire alarm event, a bottom compartment fire alarm event, a linear flame sensor resistance and capacitance change event, or an emergency button change event.

[0067] Specifically, the crew compartment fire alarm event includes an explosion suppression bottle electric squib disconnection sub-event, an explosion suppression bottle pressure switch disconnection sub-event, and an explosion suppression fire alarm sub-event.

[0068] Specifically, the power compartment fire alarm event includes a fire extinguisher power compartment squib disconnection sub-event, a fire extinguisher pressure switch disconnection sub-event, and a power compartment fire alarm sub-event.

[0069] Specifically, the bottom hold fire alarm event includes the fire extinguisher bottom hold squib disconnection sub-event, the fire extinguisher pressure switch disconnection sub-event and the bottom hold fire alarm sub-event.

[0070] Specifically, the linear flame sensor resistance and capacitance change event includes a power compartment warning sub-event and a power compartment fire alarm sub-event.

[0071] Specifically, the emergency button change event includes an explosion suppression bottle electric squib disconnection sub-event, an explosion suppression bottle pressure switch disconnection sub-event, and an explosion suppression fire alarm sub-event.

[0072] Specifically, such as Figure 1 As shown, in step S2, the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system is collected and acquired through step S1; the CAN frame data generated by all preset events in multiple known systems need to be collected in advance and stored for future use.

[0073] It is worth noting that each known system has a corresponding parsing module, through which the CAN frame data generated by the known system can be parsed to determine the events triggered by the known system, thereby obtaining parsing results.

[0074] Specifically, such as Figure 1 As shown, step S2 determines whether there is a known system that matches the new fire extinguishing and explosion suppression system.

[0075] Preferably, the determining whether there is a known system that matches the new fire extinguishing and explosion suppression system based on the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system and the CAN frame data generated by corresponding events in multiple known systems includes:

[0076] Match the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system with the CAN frame data generated by corresponding events in multiple known systems, obtain the matching values corresponding to the multiple known systems, and select the maximum matching value from them;

[0077] Determine whether the maximum matching value is greater than a preset threshold; if so, determine whether there is a known system that matches the new fire extinguishing and explosion suppression system, and use the known system corresponding to the maximum matching value as the known system that matches the new fire extinguishing and explosion suppression system.

[0078] Specifically, and illustratively, the preset events include event A, event B, and event C. Step S1 obtains CAN frame data generated by the new fire extinguishing and explosion suppression system for events A, B, and C, while simultaneously obtaining pre-stored CAN frame data generated by known systems for events A, B, and C. The new fire extinguishing and explosion suppression system is matched against the CAN frame data generated by multiple known systems for events A, B, and C, respectively, to obtain matching values corresponding to the new fire extinguishing and explosion suppression system and the multiple known systems. Exemplarily, the known systems include system 1, system 2, and system 3.

[0079] Preferably, the matching of the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system with the CAN frame data generated by corresponding events in a plurality of known systems includes:

[0080] Determine the identifier and data domain corresponding to each preset event in the new fire extinguishing and explosion suppression system based on the CAN frame data generated by each preset event in the new fire extinguishing and explosion suppression system; determine the identifier and data domain corresponding to each preset event in each known system based on the CAN frame data generated by each preset event in each known system;

[0081] Using a string comparison method, the identifier and data field corresponding to each preset event in the new fire extinguishing and explosion suppression system are compared with the identifier and data field corresponding to each preset event in each known system in the preset event order, and the comparison results of the new fire extinguishing and explosion suppression system and each known system in each preset event are obtained;

[0082] The matching value corresponding to each known system is determined based on the comparison result between the new fire extinguishing and explosion suppression system and each known system in each preset event.

[0083] Specifically, the new fire extinguishing and explosion suppression system generates CAN frame data for each preset event. This data is split according to the CAN frame format, and the identifier and data field included in the CAN frame data are obtained. This gives the identifier and data field corresponding to each preset event for the new fire extinguishing and explosion suppression system. For example, the identifier and data field corresponding to events A, B, and C are obtained. Similarly, the identifier and data field corresponding to system 1, system 2, and system 3 are obtained for events A, B, and C, respectively.

[0084] Specifically, the identifiers and data fields corresponding to the new fire extinguishing and explosion suppression system under events A, B, and C are compared with the identifiers and data fields corresponding to system 1 under events A, B, and C, and the comparison results between the new fire extinguishing and explosion suppression system and system 1 under events A, B, and C are obtained; similarly, the comparison results between the new fire extinguishing and explosion suppression system and system 2 under events A, B, and C are obtained; and, the comparison results between the new fire extinguishing and explosion suppression system and system 3 under events A, B, and C are obtained.

[0085] Preferably, the string comparison method is any one of the following:

[0086] Fuzzy matching comparison method;

[0087] Hash matching comparison method;

[0088] String conversion to numeric comparison method.

[0089] Specifically, the distance or similarity between the identifiers and data domains corresponding to the new fire extinguishing and explosion suppression system and system 1, system 2, and system 3 under event A, event B, and event C is calculated through the fuzzy matching comparison method as the comparison result.

[0090] Specifically, the hash matching comparison method converts the identifiers and data fields corresponding to the new fire extinguishing and explosion suppression system and system 1, system 2, and system 3 under event A, event B, and event C into hash values through a hash function, and finally compares the hash values to obtain the comparison results.

[0091] Specifically, the string conversion numerical comparison method converts the identifiers and data fields corresponding to the new fire extinguishing and explosion suppression system and system 1, system 2, and system 3 under event A, event B, and event C into decimal or binary values for comparison to obtain a comparison result.

[0092] Specifically, the matching value corresponding to each known system is determined based on the comparison results between the new fire extinguishing and explosion suppression system and each known system in each preset event, that is, the matching value corresponding to the new fire extinguishing and explosion suppression system and system 1, the matching value corresponding to the new fire extinguishing and explosion suppression system and system 2, and the matching value corresponding to the new fire extinguishing and explosion suppression system and system 3 are obtained.

[0093] Preferably, the matching value corresponding to each known system is determined by the following formula:

[0094]

[0095] Among them, MatchScore represents the matching value corresponding to each known system, N represents the number of preset events, and ID new (i) represents the identifier of the new fire extinguishing and explosion suppression system corresponding to the i-th preset event, ID known (i) represents the identifier corresponding to the i-th preset event of the known system, D new (i) represents the data domain corresponding to the i-th preset event of the new fire extinguishing and explosion suppression system, D known (i) represents the data domain corresponding to the i-th preset event of the known system, δ() represents the indicator function, and ∧ represents logical AND.

[0096] Specifically, the matching values corresponding to the new fire extinguishing and explosion suppression system and system 1, system 2 and system 3, that is, the matching values corresponding to system 1, system 2 and system 3, are determined respectively by the above formula.

[0097] Specifically, [ID new (i) = ID known (i) represents the comparison result of the new fire extinguishing and explosion suppression system with the identifier corresponding to the i-th one of each known system, [D new (i) = D known(i)] represents the comparison result of the new fire extinguishing and explosion suppression system with each known system in the data domain corresponding to the i-th one. new (i) = ID known (i) and [D new (i) = D known (i)] are all true,

[0098] [ID new (i) = ID known (i)]^[D new (i) = D known The result of (i) is also true. Finally, the true and false results are converted into numbers 1 and 0 through the indicator function, and the matching value corresponding to each known system is finally calculated.

[0099] For example, assume there are three different preset events, two known systems (A and B) and one new system (X), and compare the CAN frame IDs and DATA of these systems under different events.

[0100]

[0101]

[0102] In events 1 and 2, the CAN frame ID and data fields are consistent across all systems.

[0103] In event 3, the data domain of the new system X is consistent with that of the known system B, but inconsistent with that of the known system A.

[0104] For a known system A:

[0105] Event 1: (0x123, 0x456789) matches (0x123, 0x456789), indicating that the function returned 1.

[0106] Event 2: (0x456, 0xABCD00) matches (0x456, 0xABCD00), indicating that the function returned 1.

[0107] Event 3: (0x789, 0x0FEDCBA) does not match (0x789, 0x0FEDCB0), indicating that the function returned 0.

[0108] Therefore, the number of matches is 2 and the total number of events is 3.

[0109] The matching ratio of the known system A is about 0.67, indicating that the new system X is not completely consistent with the known system A in some events.

[0110] For a known system B:

[0111] Event 1: (0x123, 0x456789) matches (0x123, 0x456789), indicating that the function returned 1.

[0112] Event 2: (0x456, 0xABCD00) matches (0x456, 0xABCD00), indicating that the function returned 1.

[0113] Event 3: (0x789, 0x0FEDCB0) matches (0x789, 0x0FEDCB0), indicating that the function returned 1.

[0114] Therefore, the number of matches is 3 and the total number of events is 3.

[0115] The matching ratio of the known system B is 1.0, which means that the new system X is a perfect match with the known system B under all events.

[0116] Specifically, it is determined whether the maximum matching value is greater than a preset threshold; if so, the known system corresponding to the maximum matching value is used as the known system matching the new fire extinguishing and explosion suppression system.

[0117] Specifically, such as Figure 1 As shown, in step S3, the parsing module of the matched known system is used to parse the CAN frame data generated by the new fire extinguishing and explosion suppression system to obtain the parsing result of the new fire extinguishing and explosion suppression system.

[0118] Preferably, the determining whether there is a known system that matches the new fire extinguishing and explosion suppression system based on the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system and the CAN frame data generated by corresponding events in multiple known systems includes:

[0119] Determine the frequency of use of each known system based on historical analysis records;

[0120] Sort the usage frequency of each known system in order of size to obtain all sorted known systems;

[0121] Match the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system with the CAN frame data generated by the corresponding events of all known systems after sorting;

[0122] After each known system is matched, it is determined whether the matching value corresponding to the known system is a complete match; if so, it is determined that there is a known system that matches the new fire extinguishing and explosion suppression system, and the known system is used as the known system that matches the new fire extinguishing and explosion suppression system.

[0123] Specifically, the historical analysis record will record the usage time of each known system, and by counting the usage frequency of each known system in the historical analysis record, the multiple known systems are sorted according to the usage frequency.

[0124] It is worth noting that by giving priority to matching known systems with high usage frequency and predicting the systems used in this analysis, the analysis module corresponding to the systems used in this analysis can be quickly determined.

[0125] Specifically, when matching a new fire extinguishing and explosion suppression system with a known system, if the CAN frame data generated by the new fire extinguishing and explosion suppression system in all preset events are the same as the CAN frame data generated by the corresponding events of the known system, then the matching value corresponding to the known system is considered to be a complete match, and the known system is regarded as a known system that matches the new fire extinguishing and explosion suppression system.

[0126] Preferably, determining the usage frequency of each known system based on historical analysis records includes:

[0127] Determine the number of times each known system has been used and the number of times all known systems have been used based on historical parsing records;

[0128] The usage frequency of each known system is calculated based on the usage count of each known system and the usage count of all known systems.

[0129] Specifically, the number of times each known system is used in the historical parsing records and the total number of times it is used are determined, and the usage frequency of each known system is calculated. The more frequently used a known system is, the more likely it is to become a matching known system in a new parsing.

[0130] Specifically, in step S3, preferably, if there is no known system that matches the new fire extinguishing and explosion suppression system, the CAN frame data generated by the new fire extinguishing and explosion suppression system is parsed through the following steps:

[0131] Determine one or more sub-events corresponding to all preset events and obtain all sub-events;

[0132] Control the new fire extinguishing and explosion suppression system to trigger all sub-events in sequence, and collect and store the CAN frame data corresponding to each sub-event;

[0133] The CAN frame data generated by the new fire extinguishing and explosion suppression system is parsed using the CAN frame data corresponding to all sub-events.

[0134] Specifically, if there is no known system that matches the new fire extinguishing and explosion suppression system, a new parsing module needs to be regenerated to parse the new fire extinguishing and explosion suppression system and obtain the parsing results. In this case, one or more specific events corresponding to all preset events need to be triggered in sequence, thereby recording the CAN frame data corresponding to each specific event. In other words, each CAN frame data corresponds to a specific event.

[0135] Specifically, after obtaining the CAN frame data corresponding to all specific events of the new fire extinguishing and explosion suppression system, the CAN frame data generated by the new fire extinguishing and explosion suppression system is parsed using the data to obtain corresponding parsing results.

[0136] Preferably, the parsing of the CAN frame data generated by the new fire extinguishing and explosion suppression system using the CAN frame data corresponding to all sub-events includes:

[0137] Match the CAN frame data corresponding to all sub-events with the CAN frame data generated by the new fire extinguishing and explosion suppression system to determine the matching results of all sub-events;

[0138] The sub-event with a successful matching result is used as the parsing result of the CAN frame data generated by the new fire extinguishing and explosion suppression system.

[0139] Specifically, the CAN frame data generated by the new fire extinguishing and explosion suppression system for all specific events is obtained, and a mapping relationship between the CAN frame data and the specific events is established so that each CAN frame data corresponds to a specific event. During parsing, the CAN frame data generated by the new fire extinguishing and explosion suppression system is matched with the CAN frame data in the obtained mapping relationship, thereby splitting the CAN frame data generated by the new fire extinguishing and explosion suppression system to obtain one or more specific events, thereby obtaining the parsing results.

[0140] Compared with the prior art, the data parsing method for multiple types of fire extinguishing and explosion suppression systems provided by the embodiment of the present invention controls the new fire extinguishing and explosion suppression system to be triggered according to a preset event, collects the generated CAN frame data, and compares it with the CAN frame data of the corresponding event of the pre-stored known system to determine whether there is a known system that matches the new fire extinguishing and explosion suppression system; if so, the CAN frame data generated by the new fire extinguishing and explosion suppression system is parsed using the parsing module of the matching known system; so that different types of fire extinguishing and explosion suppression systems can use the same parsing module for parsing detection, thereby improving the parsing efficiency of multiple types of fire extinguishing and explosion suppression systems and reducing the maintenance difficulty; and the new fire extinguishing and explosion suppression system is matched with the known system through the CAN frame data generated by different preset events, and the parsing module corresponding to the new fire extinguishing and explosion suppression system is quickly determined according to the matching value, thereby realizing data parsing of the new fire extinguishing and explosion suppression system; at the same time, the order of the known systems that match the new fire extinguishing and explosion suppression system is determined according to the historical parsing records, and matching is performed in sequence according to the order, which can improve the matching speed, quickly determine the known system that matches the new fire extinguishing and explosion suppression system, and thereby improve the parsing speed.

[0141] Those skilled in the art will appreciate that all or part of the process steps of the above-described embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, such as a magnetic disk, an optical disk, a read-only memory, or a random access memory.

[0142] The above description is only a preferred specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by any technician familiar with this technical field within the technical scope disclosed by the present invention should be covered by the scope of protection of the present invention.

Claims

1. A data analysis method for various types of fire extinguishing and explosion suppression systems, characterized in that: The data parsing method includes: Control the new fire extinguishing and explosion suppression system to trigger in sequence according to the preset event sequence, collect the CAN frame data generated by each preset event, and obtain the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system; Determine whether there is a known system that matches the new fire extinguishing and explosion suppression system based on the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system and the CAN frame data generated by corresponding events in multiple known systems; If so, the CAN frame data generated by the new fire extinguishing and explosion suppression system is parsed using the parsing module of the matching known system.

2. The data analysis method according to claim 1, characterized in that: The determining whether there is a known system that matches the new fire extinguishing and explosion suppression system based on the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system and the CAN frame data generated by corresponding events in multiple known systems includes: Match the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system with the CAN frame data generated by corresponding events in multiple known systems, obtain the matching values corresponding to the multiple known systems, and select the maximum matching value from them; Determine whether the maximum matching value is greater than a preset threshold; if so, determine whether there is a known system that matches the new fire extinguishing and explosion suppression system, and use the known system corresponding to the maximum matching value as the known system that matches the new fire extinguishing and explosion suppression system.

3. The data analysis method according to claim 2, characterized in that: The matching of the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system with the CAN frame data generated by corresponding events in multiple known systems includes: Determine the identifier and data domain corresponding to each preset event in the new fire extinguishing and explosion suppression system based on the CAN frame data generated by each preset event in the new fire extinguishing and explosion suppression system; determine the identifier and data domain corresponding to each preset event in each known system based on the CAN frame data generated by each preset event in each known system; Using a string comparison method, the identifier and data field corresponding to each preset event in the new fire extinguishing and explosion suppression system are compared with the identifier and data field corresponding to each preset event in each known system in the preset event sequence, and the comparison results of the new fire extinguishing and explosion suppression system and each known system in each preset event are obtained; The matching value corresponding to each known system is determined based on the comparison result between the new fire extinguishing and explosion suppression system and each known system in each preset event.

4. The data analysis method according to claim 3, characterized in that: The string comparison method is any of the following: Fuzzy matching comparison method; Hash matching comparison method; String conversion to numeric comparison method.

5. The data analysis method according to claim 3, characterized in that: The matching value for each known system is determined using the following formula: Among them, MatchScore represents the matching value corresponding to each known system, N represents the number of preset events, and ID new (i) represents the identifier of the new fire extinguishing and explosion suppression system corresponding to the i-th preset event, ID known (i) represents the identifier corresponding to the i-th preset event of the known system, D new (i) represents the data domain corresponding to the i-th preset event of the new fire extinguishing and explosion suppression system, D known (i) represents the data domain corresponding to the i-th preset event of the known system, δ() represents the indicator function, and ^ represents the logical AND.

6. The data analysis method according to claim 1, characterized in that: The determining whether there is a known system that matches the new fire extinguishing and explosion suppression system based on the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system and the CAN frame data generated by corresponding events in multiple known systems includes: Determine the frequency of use of each known system based on historical analysis records; Sort the usage frequency of each known system in order of size to obtain all sorted known systems; Match the CAN frame data generated by all preset events of the new fire extinguishing and explosion suppression system with the CAN frame data generated by the corresponding events of all known systems after sorting; After each known system is matched, it is determined whether the matching value corresponding to the known system is a complete match; if so, it is determined that there is a known system that matches the new fire extinguishing and explosion suppression system, and the known system is used as the known system that matches the new fire extinguishing and explosion suppression system.

7. The data analysis method according to claim 6, characterized in that: Determining the usage frequency of each known system based on historical analysis records includes: Determine the number of times each known system has been used and the number of times all known systems have been used based on historical parsing records; The usage frequency of each known system is calculated based on the usage count of each known system and the usage count of all known systems.

8. The data analysis method according to claim 1, characterized in that: If there is no known system that matches the new fire extinguishing and explosion suppression system, the CAN frame data generated by the new fire extinguishing and explosion suppression system is parsed through the following steps: Determine one or more sub-events corresponding to all preset events and obtain all sub-events; Control the new fire extinguishing and explosion suppression system to trigger all sub-events in sequence, and collect and store the CAN frame data corresponding to each sub-event; The CAN frame data generated by the new fire extinguishing and explosion suppression system is parsed using the CAN frame data corresponding to all sub-events.

9. The data analysis method according to claim 8, characterized in that: The method of parsing the CAN frame data generated by the new fire extinguishing and explosion suppression system using the CAN frame data corresponding to all sub-events includes: Match the CAN frame data corresponding to all sub-events with the CAN frame data generated by the new fire extinguishing and explosion suppression system to determine the matching results of all sub-events; The sub-event with a successful matching result is used as the parsing result of the CAN frame data generated by the new fire extinguishing and explosion suppression system.

10. The data analysis method according to any one of claims 1 to 9, characterized in that: The preset events include one or more of the following: Crew compartment fire incidents; Engine compartment fire incident; Fire incidents in the lower holds; Linear flame sensor resistance and capacitance change events; Emergency button change event.