Method and device for determining aircraft flight failure law
By screening and sorting frequent item sets during aircraft flight, combined with the Apriori algorithm and the inclusion-exclusion theorem, an uncertain transaction database model is constructed, which solves the problem of untimely and inaccurate early warning of aircraft flight faults and achieves more accurate fault pattern location and Early warning.
Patent Information
- Application Number
- CN202111401246.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-23
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-11-23
AI Technical Summary
In the case of complex and changeable environments, the existing technology's early warning of aircraft flight failure is not timely and accurate, and frequent item sets cannot effectively describe the maximum frequent item set in an uncertain environment, resulting in early warning errors.
By sorting multiple first frequent itemsets in the frequent itemset set according to the number of itemsets, the first frequent probability is determined, and the uncertain maximum frequent itemset is screened out according to the second frequent probability threshold, combining the Apriori algorithm and tolerance Based on the repulsion theorem, calculate the frequent non-maximum probability of an item set to reversely calculate the maximum frequent probability, build an uncertain transaction database model, and locate the influencing factors of aircraft flight failures.
It improves the real-time and accuracy of aircraft flight fault patterns, enhances the simplicity and authenticity of frequent item sets, solves the problem of mining the maximum frequent item sets in uncertain environments, and achieves more accurate aircraft fault early warning.
Smart Images

Figure CN114065542B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of item set mining, and more specifically to a method and device for determining aircraft flight failure rules. Background Art
[0002] Frequent item set mining algorithms can mine high-frequency aircraft flight failure information from the collected aircraft flight data to solve the problem of untimely and inaccurate aircraft failure warnings caused by aircraft flying in complex and changing environments. However, frequent item sets are not enough to solve the increasingly complex flight failure warning problem. The reason is that the more frequent the item set, the less its expression meaning, the correlation between item sets is lost, and the frequent item set is incomplete. In the application scenario of aircraft flight failure, the factors of flight failure are usually more and have certain correlations. If only focusing on a type of high-frequency data, it cannot effectively warn and effectively judge whether the aircraft will have a flight failure. Instead, useful information will be lost, resulting in warning errors. However, uncertainty often exists in the real world. In aircraft flight systems, wireless sensor networks may miss some and produce incomplete data. In many sensor applications, due to the dynamics of the physical environment and the possible failure of the perimeter nodes, the raw data from the equipment is often affected by noise. Therefore, each set of data collected by the wireless sensor network carries a probability. We call this type of perception data affected by noise probabilistic data or uncertain data.
[0003] The uncertain maximum frequent itemset retains the integrity of the itemset while ensuring the frequent nature of the itemset, so that more concise and complete frequent information can be obtained, that is, more effective and accurate warning of flight information that may cause flight failures. In the previous uncertain maximum frequent itemset mining methods, approximate mining of uncertain maximum frequent itemsets was proposed. The approximate mining algorithm sacrifices the accuracy of the results to improve the performance of the algorithm. In actual application scenarios, the lack of accuracy will lead to inaccurate results and cause greater losses. In the previous precise uncertain maximum frequent itemset mining methods, it is necessary to calculate the expected support of the itemset. The method is to screen the uncertain maximum frequent itemset by satisfying the conditions of the itemset that meets the expected support and does not have a parent itemset according to the definition of the determined maximum frequent itemset. This method only superimposes the traditional maximum frequent itemset definition in the uncertain model. However, in the uncertain world combination, frequent itemsets may be maximum frequent itemsets, rather than having to meet the conditions of the non-existence of parent itemsets in the traditional definition. Therefore, this type of method cannot accurately describe the maximum frequent itemset in an uncertain environment.
[0004] In summary, the existing methods for mining the laws of aircraft flight failures based on uncertain maximum frequent itemsets can solve the problem of untimely and inaccurate aircraft failure warnings caused by complex and changing environments. Summary of the invention
[0005] The embodiment of the present invention provides a method and device for determining the law of aircraft flight failures. The problem of untimely and inaccurate aircraft failure warnings caused by complex aircraft and changing environments is solved.
[0006] An embodiment of the present invention provides a method for determining a law of an aircraft flight failure, comprising:
[0007] Sort the multiple first frequent item sets included in the frequent item set set according to the number of item sets, and determine the first frequent probability of each of the first frequent item sets;
[0008] Determine a first frequent item set corresponding to the first frequent probability greater than a first probability threshold as a second frequent item set, and determine a second frequent probability of the second frequent item set;
[0009] Determine the second frequent item set corresponding to the second frequent probability greater than the second probability threshold as the uncertain maximum frequent item set;
[0010] According to the meaning of the items included in each of the uncertain maximum frequent itemsets, the law of aircraft flight failure is determined.
[0011] Preferably, before sorting the multiple first frequent item sets included in the frequent item set set according to the number of item sets, the method further includes:
[0012] By means of sensors installed on the aircraft, the flight record information of the aircraft in a set area and a set time period is obtained, wherein the flight record information includes acceleration, vibration amount, vibration cycle, pressure, throttle angle, aircraft flight fault status and probability;
[0013] Converting the flight record information into a set data format, wherein the set data format includes vibration, frequency, state, acceleration and probability;
[0014] According to the set data format, an uncertain data set is obtained;
[0015] The uncertain data set obtains the frequent itemset set according to the Apriori algorithm.
[0016] Preferably, the first frequent probability of the first frequent item set is determined according to the following formula:
[0017]
[0018] Where i represents the number of times the first frequent item set X occurs at least in the transaction database, T j represents the jth transaction in the transaction database; P ≥i,j(X) represents the first frequent probability that the first frequent item set X occurs at least i times in the first j transactions. If the value of i is equal to minSup, then P ≥i,j (X) is the first frequent probability of the first frequent item set X.
[0019] Preferably, the second frequent probability of the second frequent item set is determined by the following formula:
[0020] P M (X) = P F (X)-P FNM (X)
[0021] Among them, P M (X) represents the second frequent probability of the second frequent item set X, P F (X) represents the first frequent probability of the first frequent item set X, P FNM (X) = P F (X 1 ∪…∪X n );P FNM (X) represents the frequent non-maximum probability of the second frequent item set X.
[0022] The embodiment of the present invention further provides a device for determining a law of an aircraft flight failure, comprising:
[0023] A first determining unit, configured to sort the plurality of first frequent item sets included in the frequent item set set according to the number of item sets, and determine a first frequent probability of each of the first frequent item sets;
[0024] A second determining unit, configured to determine a first frequent item set corresponding to the first frequent probability greater than a first probability threshold as a second frequent item set, and determine a second frequent probability of the second frequent item set;
[0025] A third determining unit, configured to determine the second frequent item set corresponding to the second frequent probability greater than a second probability threshold as an uncertain maximum frequent item set;
[0026] The fourth determining unit is used to determine the aircraft flight failure law according to the meaning of the items included in each of the uncertain maximum frequent itemsets.
[0027] Preferably, the first determination unit is specifically used to: obtain flight record information of the aircraft in a set area and a set time period through a sensor arranged on the aircraft, wherein the flight record information includes acceleration, vibration amount, vibration cycle, pressure, throttle angle, aircraft fault status and probability;
[0028] Converting the flight record information into a set data format, wherein the set data format includes vibration, frequency, state, acceleration and probability;
[0029] According to the set data format, an uncertain data set is obtained;
[0030] The uncertain data set obtains the frequent itemset set according to the Apriori algorithm.
[0031] Preferably, the first frequent probability of the first frequent item set is determined according to the following formula:
[0032]
[0033] Where i represents the number of times the first frequent item set X occurs at least in the transaction database, T j represents the jth transaction in the transaction database; P ≥i,j (X) represents the first frequent probability that the first frequent item set X occurs at least i times in the first j transactions. If the value of i is equal to minSup, then P ≥i,j (X) is the first frequent probability of the first frequent item set X.
[0034] Preferably, the second frequent probability of the second frequent item set is determined by the following formula:
[0035] P M (X) = P F (X)-P FNM (X)
[0036] Among them, P M (X) represents the second frequent probability of the second frequent item set X, P F (X) represents the first frequent probability of the first frequent item set X, P FNM (X) = P F (X 1 ∪…∪X n );P FNM (X) represents the frequent non-maximum probability of the second frequent item set X.
[0037] The embodiment of the present invention provides a method and device for determining the law of aircraft flight failure. The method comprises: sorting a plurality of first frequent item sets included in a frequent item set set according to the number of item sets, and determining the first frequent probability of each of the first frequent item sets; determining the first frequent item set corresponding to the first frequent probability greater than the first probability threshold as the second frequent item set, and determining the second frequent probability of the second frequent item set; determining the second frequent item set corresponding to the second frequent probability greater than the second probability threshold as the uncertain maximum frequent item set; and determining the law of aircraft flight failure according to the meaning of the items included in each of the uncertain maximum frequent item sets. The method combines various types of associated information of aircraft perception data, extracts text, and converts data modes to uniformly construct an uncertain transaction database model, thereby making it easier to locate the influencing factors of aircraft flight failure. The uncertain maximum frequent item set is mined for the uncertain transaction database, thereby improving the simplicity and authenticity of the frequent item set. Due to the complexity of generating possible worlds, the maximum frequent probability is calculated by using the inclusion-exclusion theorem to calculate the frequent non-maximum probability of the item set, thereby avoiding the exponential amount of calculation of the possible world and improving the efficiency of mining the law of aircraft flight failure. By improving the efficiency of aircraft flight fault mining, the real-time performance of aircraft flight fault laws in uncertain environments is increased, making the prediction of aircraft flight fault laws more realistic and reliable, and fault warning more timely and effective. This method takes into account the uncertainty of itemsets, the integrity of frequent itemsets, and the computational efficiency of the maximum frequent probability, and can effectively solve the problem of mining the maximum frequent itemsets in uncertain environments, so that the aircraft flight fault law method based on uncertain maximum frequent itemsets can be better applied to aircraft flight fault warning. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only 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.
[0039] Figure 1 A flowchart of the process from collecting data from a wireless sensor network to mining uncertain maximum frequent itemsets provided by an embodiment of the present invention;
[0040] Figure 2 A schematic diagram of a flow chart of a method for determining a law of aircraft flight failures provided by an embodiment of the present invention;
[0041] Figure 3 A schematic diagram of a frequent itemset structure provided by an embodiment of the present invention;
[0042] Figure 4A dynamic schematic diagram of a method for determining a first frequent probability of a first frequent item set provided by an embodiment of the present invention;
[0043] Figure 5 A schematic diagram of the structure of a device for determining aircraft flight failure rules provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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.
[0045] Figure 1 A flowchart from data collection in a wireless sensor network to mining of uncertain maximum frequent itemsets is provided for an embodiment of the present invention. In practical applications, the data collected by an infinite sensor network has a complex structure, a wide variety of categories, and may also have problems such as missing data. Therefore, the collected native data cannot be directly used for mining of uncertain maximum frequent itemsets, but the native data needs to be processed accordingly. The data processing stage is divided into data cleaning and data transformation. The data cleaning stage is to delete incomplete and invalid data in the database. In the data transformation stage, the corresponding data field modeling is selected according to the problem to be solved, and the range of the data is split into multiple data state representations. After the data is processed accordingly, the uncertain maximum frequent itemset mining can be performed. The specific details of the data after processing are shown in Table 1.
[0046] Table 1 General representation of uncertain data
[0047]
[0048] Table 1 shows the general form of uncertain data obtained after the data collected by the infinite sensor network is processed. Among them, the data record represents the scale of the data, each data record corresponds to a set of event records (Info1 Info2...), and the probability corresponding to each data record represents the probability of a data record occurring. Therefore, in an uncertain data environment, the importance of an event cannot be defined simply by the number of times the event occurs.
[0049] Figure 2 A schematic diagram of a method for determining a law of aircraft flight failure provided by an embodiment of the present invention is provided below in combination with Figure 2 The uncertain maximum frequent itemset mining and the method for determining the aircraft flight failure law based on the uncertain maximum frequent itemset mining provided by the embodiments of the present invention are described in detail.
[0050] like Figure 2 As shown, the method mainly includes the following steps:
[0051] Step 101, sorting a plurality of first frequent item sets included in a frequent item set set according to the number of item sets, and determining a first frequent probability of each of the first frequent item sets;
[0052] Step 102, determining the first frequent item set corresponding to the first frequent probability greater than the first probability threshold as the second frequent item set, and determining the second frequent probability of the second frequent item set;
[0053] Step 103: determine the second frequent item set corresponding to the second frequent probability greater than the second probability threshold as the uncertain maximum frequent item set;
[0054] Step 104: determining the aircraft flight failure regularity according to the meaning of the items included in each of the uncertain maximum frequent itemsets.
[0055] Before step 101, it is necessary to obtain the flight record information of the aircraft in a set area and a set time period through the sensors installed on the aircraft. Here, the sensors installed on the aircraft are connected to the wireless sensor network, that is, the flight record information of the aircraft can be obtained through the wireless sensor network. Since the data collected through the wireless sensor network has a complex structure and many categories, and there may be problems such as missing data, the collected native data cannot be directly used for uncertain maximum frequent itemset mining, and the native data needs to be processed accordingly.
[0056] In the embodiment of the present invention, the flight record information of the aircraft mainly includes acceleration, vibration, vibration cycle, pressure, throttle angle, aircraft fault status and probability information. Vibration and throttle angle can be used to classify it into high vibration and low vibration. The engine vibration 1 unit and pressure 1000 hpa are set as the zero boundary points. If it exceeds the critical value, it is high vibration, and if it is lower than the critical value, it is low vibration. Acceleration information stipulates that the acceleration is 80 m / s 2 The critical value of acceleration is more than 80m / s 2 , it is high acceleration, less than 80m / s 2 , it is low acceleration. The period and throttle angle information represent the vibration frequency of the aircraft. If the period is less than 33rad / s and the throttle angle is greater than 53°, it is low frequency. If the period is greater than 33rad / s and the throttle angle is less than 53°, it is high frequency. Thus, the set data format can be obtained, and the data format mainly includes vibration, frequency, state, acceleration and probability. Further, according to the above set data format, an uncertain data set can be obtained.
[0057] In the embodiment of the present invention, the uncertain data set can be used to obtain a frequent itemset set according to the Apriori algorithm, which will not be described in detail here.
[0058] In step 101, the first frequent item sets included in the obtained frequent item set set are sorted according to the number of item sets, and the first frequent probability of each first frequent item set is calculated in sequence. It should be noted that the first frequent item set and the first frequent probability here are set to distinguish from subsequent similar terms and have no substantial meaning.
[0059] In the embodiment of the present invention, the first frequent probability of the first frequent item set can be determined by the following formula (1):
[0060]
[0061] Among them, P ≥i,j (X) represents the first frequent probability that the first frequent itemset X occurs at least i times in the first j transactions, j is equal to the total number of transactions in the database, and i is the given support threshold minSup.
[0062] In step 102, after the first frequent probability of each first frequent item set is determined, the first frequent probability needs to be compared with the first probability threshold. When the first frequent probability is less than the first probability threshold, the first frequent item set corresponding to the first frequent probability is deleted; further, when the first frequent probability is greater than or equal to the first probability threshold, the first frequent item set corresponding to the first frequent probability is determined as the second frequent item set.
[0063] In step 103, the second frequent probability of the second frequent item set is determined according to the following formula (2):
[0064] P M (X) = P F (X)-P FNM (X)(2)
[0065] Among them, P M (X) represents the second frequent probability of the second frequent item set X, P F (X) represents the first frequent probability of the first frequent item set X, P FNM (X) represents the frequent non-maximum probability of the second frequent item set X.
[0066] In the embodiment of the present invention, the frequent non-maximum probability of the second frequent item set X can be determined by the following formula (3):
[0067] P FNM (X) = P F (X 1 ∪…∪X n ) (3)
[0068] In formula (3), P F (X1 ∪…∪X n ) can be determined by formula (1), and the specific derivation process is as follows:
[0069]
[0070] It should be noted that, in the embodiment of the present invention, when the second frequent probability of the second frequent itemset is less than the second probability threshold, the next first frequent itemset is executed in order from the multiple first frequent itemsets included in the frequent itemset set. When the second frequent probability is greater than or equal to the second probability threshold, the second frequent itemset corresponding to the second frequent probability is determined as the uncertain maximum frequent itemset.
[0071] It should be noted that here you can see the Figure 3 , when the first frequent item set {a} calculated at one time is not the uncertain maximum frequent item set, if the first frequent probability of the first frequent item set {a} is determined to be greater than the first probability threshold, the first frequent item set {a} is called the second frequent item set {a}, and the second frequent probability of the second frequent item set {a} is not greater than the second probability threshold, then it can be calculated according to Figure 3 Corresponding to the set of frequent itemsets, start calculating whether the first frequent itemset {b} is the uncertain maximum frequent itemset.
[0072] In the embodiment of the present invention, the uncertain maximum frequent itemsets are saved in sequence, and it is further determined whether there are any undetermined itemsets in the frequent itemset set. If there are any undetermined itemsets, the above three steps are repeated. If there are no undetermined itemsets, the algorithm for determining the uncertain maximum frequent itemsets corresponding to the frequent itemset set ends.
[0073] In step 104, the aircraft flight failure law is determined according to the meaning of the items included in each of the uncertain maximum frequent itemsets.
[0074] The maximum frequent itemset is a task to discover complete knowledge from a database. Due to its simplicity, its expressive power is stronger than that of frequent itemsets. However, in an uncertain environment, since the determination of the maximum itemset is closely related to the possible world model (the possible world can directly deduce the maximum frequent probability of each itemset), and the exponential growth of possible worlds makes its mining very difficult, making it impossible to directly obtain the target itemset in the possible world. Inspired by the set inclusion and exclusion theorem, the generation of the possible world model is avoided, and the frequent non-maximum probability of the uncertain database itemset can be calculated more quickly, thereby making it possible to calculate the maximum frequent probability faster (maximum frequent probability = frequent probability - frequent non-maximum probability).
[0075] In summary, uncertain maximum frequent itemsets solve the following three types of problems:
[0076] 1. Although frequent itemsets can represent valuable itemsets (in this article, itemsets are also flight factors, which are a set), the higher the frequency of the itemsets, the lower their integrity. The maximum frequent itemsets make the itemsets both frequent and complete. For example, in Table 4, the itemset {a} appears 3 times, and the itemset {ab} appears 2 times. If the itemsets {b} and {a} are related, then the frequent itemset {a} has no reference value, even though its frequency is high.
[0077] 2. Uncertain maximum frequent itemsets are difficult to mine because the possible worlds generated grow exponentially and the amount of calculation is extremely large. Inspired by the inclusion-exclusion theorem in the field of sets, the maximum frequent probability is calculated in reverse, which greatly reduces the number of calculation items, improves mining efficiency, and enhances the real-time performance of the model for determining the law of aircraft flight failures. Therefore, this patent based on the uncertain maximum frequent itemset model can better warn of aircraft flight failures and provide data support for aircraft safety flight strategies.
[0078] In order to more clearly introduce the method for determining the law of aircraft flight failures provided by the embodiment of the present invention, a specific example is introduced below to further illustrate the method for determining the law of aircraft flight failures provided by the embodiment of the present invention:
[0079] In this embodiment, the data pattern collected by the wireless sensor network is not in the structure listed in Table 1. Before establishing the data structure of Table 1, the collected data needs to be modeled according to the problem to be solved before it can be converted into the structure of the data listed in Table 1. For example, Table 2 is a partial interception record of a certain aircraft flight. The aircraft record information of a certain aircraft is recorded regularly by installing sensors on the aircraft, where the speed is the average speed of the total distance, the state "1" indicates that the aircraft has a fault, and the state "0" indicates that the aircraft has no fault.
[0080] Table 2 Taxi driving records
[0081]
[0082] In order to facilitate uncertain data mining, the collected sensor data needs to be converted into a specific data format for storage. Vibration and throttle angle can be used to classify it into high vibration and low vibration. The engine vibration of 1 unit and pressure of 1000 hpa are set as the zero threshold. If it exceeds the critical value, it is high vibration, and if it is lower than the critical value, it is low vibration. Acceleration information specifies acceleration of 80 m / s 2 The critical value of acceleration is more than 80m / s 2 , it is high acceleration, less than 80m / s 2, it is low acceleration. The period and throttle angle information represent the vibration frequency of the aircraft. If the period is less than 33rad / s and the throttle angle is greater than 53°, it is low frequency. If the period is greater than 33rad / s and the throttle angle is less than 53°, it is high frequency. Therefore, the data in Table 2 can be converted into the data format in Table 3.
[0083] Table 3 Processed data
[0084]
[0085]
[0086] In this embodiment, a represents low vibration, b represents low frequency, c represents no fault in the aircraft, and d represents high acceleration. Further, Table 4 is an uncertain transaction database corresponding to the above application scenario, as shown in Table 4:
[0087] Table 4 Uncertain database
[0088] Tid Transaction Prob T1 abd 0.8 T2 abcd 0.6 T3 acd 0.7 T4 c 0.9
[0089] Since the number of items contained in each transaction in the database is very large, it is very difficult to directly mine the uncertain maximum frequent itemset in the original data set. Based on the Apriori algorithm, infrequent items in the transaction database can be quickly removed, reducing the search space of the algorithm. If the uncertain database D in Table 1, the support threshold minSup = 2, the filtered frequent item set is as follows Figure 3 shown.
[0090] In this embodiment, the determined frequent item set is as follows: Figure 3 As shown, the first frequent item set {a}, the first frequent item set {b}, the first frequent item set {c}, and the first frequent item set {d} are further determined, and then the first frequent probability of each first frequent item set can be determined in turn according to formula (1). It should be noted that in this embodiment, the first probability threshold τ=0.4, and the frequent probability of each item set can be calculated according to the above recursive formula.
[0091] The following uses formula (1) to determine the first frequent probability of the first frequent item set {a} as an example to introduce the application of formula (1):
[0092] P F (a) = P ≥i,j (a) = P ≥2,4 (a)
[0093] Wherein, i=minSup=2, j is the number of uncertain database transactions in Table 4, therefore, j=4.
[0094] The calculation process of the first frequent probability of the first frequent item set {a} is as follows:
[0095]
[0096] In the above calculation process, due to transaction T 4 If a is not included, then it can be determined Similarly, formula P ≥2,3 (a) Expand to get P ≥0,1 (a) represents the probability that item set a may occur 0 times in the previous transaction, and its value is 0 because this event is inevitable.
[0097] The above calculation process can be referred to Figure 4 , where P ≥2,4 (a) indicates that the value of the area (4, 2) in the figure is obtained by adding (3, 2) and (3, 1), and so on.
[0098] According to the above method, it can be determined that the first frequent probability of the first frequent item set {a} is 0.788, where P F (a)=0.788>τ, then the first frequent item set {a} can be further determined as the second frequent item set {a}; accordingly, according to the above calculation process, P F (b) = 0.48, P F (c)=0.834, P F (d) = 0.788. Since the first frequent probability of the first frequent item set {b}, the first frequent probability of the first frequent item set {c}, and the first frequent probability of the first frequent item set {d} are all greater than the first probability threshold, it can be determined that the first frequent item set {b}, the first frequent item set {c}, and the first frequent item set {d} are all the second frequent item set {b}, the second frequent item set {c}, and the second frequent item set {d}.
[0099] Furthermore, after the second frequent item set is obtained, the second frequent probability of the second frequent item set can be determined according to formula (2).
[0100] In practical applications, if it is necessary to determine the second frequent probability of the second frequent itemset, it is necessary to first determine the frequent non-maximum probability of the second frequent itemset, and then subtract the frequent non-maximum probability from the first frequent probability corresponding to the second frequent itemset to obtain the second frequent probability of the second frequent itemset. If the second frequent probability meets the second probability threshold, the second frequent itemset corresponding to the second frequent probability can be determined as the uncertain maximum frequent itemset.
[0101] In the embodiment of the present invention, according to the definition of uncertain maximum frequent itemsets, if the parent sets {ab} and {ac} of the second frequent itemset {a} have a certain probability of occurring, then when {ab} or {ac} occurs, the second frequent itemset {a} must not be an uncertain frequent maximum itemset. Therefore, the frequent non-maximum probability P of the second frequent itemset {a} is FNM (a) By P F (ab∪ac∪ad∪abd∪acd), where P F (ab∪ac∪ad∪abd∪acd represents the frequent probability of {ab} or {ac} or {ad} or {abd} or {acd} in the database. According to the recursive formula of frequent probability, when {ab} or {ac} or {ad} or {abd} or {acd} meets the minSup times in the dynamic programming process, the probability calculation is completed. Therefore, P is calculated in sequence. FNM (a)= P F (ab∪ac∪ad∪abd∪acd)=0.788, P FNM (b) = P F (ab∪bd∪abd)=0.48, P FNM (c) = P F (ac∪cd∪acd)=0.42,P FNM (d) = P F (ad∪bd∪cd∪abd∪ acd=0.788.
[0102] The following formula is based on P FNM (b) = P F Taking (ab∪bd∪abd)=0.48 as an example, the calculation details of the frequent non-maximum probability are introduced. The parameter settings are still the same, minSup=2, so i1=2, i2=2, i3=2, these three parameters are the counting variables of ab, bd and abd, j=4 (the total number of transactions in the database).
[0103] P FNM (b) = P i1,i2,i3,j (ab∪bd∪abd)=P ≥2,2,2,4 (ab∪bd∪abd)
[0104] =P ≥2,2,2,3 (ab∪bd∪abd)=P ≥2,2,2,2 (ab∪bd∪abd)
[0105] =0.6P ≥1,1,1,1 (ab∪bd∪abd)+0.4P ≥2,2,2,1 (ab∪bd∪abd)
[0106] =0.6[0.8P≥0,0,0,0 (ab∪bd∪abd)+0.2P ≥1,1,1,0 (ab∪bd∪abd)]=0.48(12)
[0107] From the recursive formula 4, we can know that in formula 9 ab, bd and abd are not in transaction T4, so Similarly, formula 10 is naturally established, and finally P FNM (b) = 0.48.
[0108] After calculating the frequent probability and frequent non-maximum probability of the item set, it is necessary to further calculate the frequent maximum probability of the item set. M (X) = P F (X)-P FNM (X), P M (c) = P F (c)-P FNM (c) = 0.414, only {c} is the uncertain maximum frequent itemset, and the maximum frequent probabilities of {a}, {b}, and {d} do not meet the threshold condition, so they are not uncertain maximum frequent itemsets. Further calculation Figure 3 The maximum frequent probability of the middle and lower level item sets, referring to the method described above, P M (ab)=P M (ac) = P M (bd)= P M (cd)=0,P M (ad)=0.224<τ,P M (abd) = 0.48, P M (acd) = 0.42, so only {c}, {acd} and {abd} are uncertain maximum frequent itemsets.
[0109] Table 5. The meanings of the items included in the uncertain maximum frequent itemset
[0110]
[0111] According to the uncertain maximum frequent itemsets in the above table, the following conclusions can be drawn:
[0112] 1. When the vibration is high, the frequency is low and the acceleration is high, the probability that the aircraft may fail is 0.414;
[0113] 2. When the frequency is low and the engine vibration is low, and the aircraft acceleration is low, the probability of the aircraft being fault-free is 0.48.
[0114] 3. When the frequency is low vibration and the aircraft acceleration is high acceleration, the probability of the aircraft being fault-free is 0.42.
[0115] According to the above conclusions, we can get every factor that affects the flight failure law of a certain type of aircraft, including engine vibration, frequency, takeoff, landing acceleration, etc. The factor is an item of the uncertain maximum frequent item set, and an uncertain maximum frequent item set represents a type of aircraft flight failure law (composed of various factors). Therefore, the uncertain maximum frequent item set obtained through the flight record of the aircraft determines the various flight failure laws of this type of aircraft. When such an aircraft is preparing to take off or is already in flight, by locating the factors of its flight on that day and determining which uncertain maximum frequent item set it is, that is, which type of flight failure law it corresponds to, and then through the recorded longitude and latitude information, we can get the probability of the aircraft having a flight failure during the flight and the main factors leading to the probability.
[0116] In summary, an embodiment of the present invention provides a method and device for determining the law of aircraft flight failures. The method includes: sorting multiple first frequent item sets included in a frequent item set set according to the number of item sets, and determining the first frequent probability of each of the first frequent item sets; determining the first frequent item set corresponding to the first frequent probability greater than the first probability threshold as the second frequent item set, and determining the second frequent probability of the second frequent item set; determining the second frequent item set corresponding to the second frequent probability greater than the second probability threshold as the uncertain maximum frequent item set; and determining the law of aircraft flight failures according to the meaning of the items included in each of the uncertain maximum frequent item sets. The method combines various types of associated information of aircraft perception data, extracts text, and converts data modes to uniformly construct an uncertain transaction database model, thereby making it easier to locate the influencing factors of aircraft flight failures. The uncertain maximum frequent item set is mined for the uncertain transaction database, thereby improving the simplicity and authenticity of the frequent item set. Due to the complexity of generating possible worlds, the maximum frequent probability is calculated by using the inclusion-exclusion theorem to calculate the frequent non-maximum probability of the item set, thereby avoiding the exponential calculation amount of the possible world and improving the efficiency of mining the law of aircraft flight failures. By improving the efficiency of aircraft flight failure law mining, the real-time performance of aircraft flight failure law in uncertain environments is increased, making flight failure law warning more real and reliable. This method takes into account the uncertainty of item sets, the integrity of frequent item sets and the calculation efficiency of maximum frequent probability, and can effectively solve the problem of mining maximum frequent item sets in uncertain environments, so that the aircraft flight failure law method based on uncertain maximum frequent item sets can be better applied to the scenario of aircraft flight failure warning.
[0117] Based on the same inventive concept, an embodiment of the present invention provides a device for determining the law of aircraft flight failures. Since the principle of solving the technical problem of the device is similar to that of a method for determining the law of aircraft flight failures, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0118] like Figure 5 As shown, the device mainly includes a first determining unit 31 , a second determining unit 32 , a third determining unit 33 , a fourth determining unit 34 and a fifth determining unit 35 .
[0119] A first determining unit 31 is used to sort the multiple first frequent item sets included in the frequent item set set according to the number of item sets, and determine a first frequent probability of each of the first frequent item sets;
[0120] A second determining unit 32 is configured to determine the first frequent item set corresponding to the first frequent probability greater than a first probability threshold as a second frequent item set, and determine a second frequent probability of the second frequent item set;
[0121] A third determining unit 33 is configured to determine the second frequent item set corresponding to the second frequent probability greater than a second probability threshold as an uncertain maximum frequent item set;
[0122] The fourth determining unit 34 is used to determine the aircraft flight failure law according to the meaning of the items included in each of the uncertain maximum frequent itemsets.
[0123] Preferably, the first determination unit 31 is specifically used to: obtain flight record information of the aircraft in a set area and a set time period through a sensor arranged on the aircraft, wherein the flight record information includes acceleration, vibration amount, vibration cycle, pressure, throttle angle, aircraft fault status and probability;
[0124] Converting the flight record information into a set data format, wherein the set data format includes vibration, frequency, state, acceleration and probability;
[0125] According to the set data format, an uncertain data set is obtained;
[0126] The uncertain data set obtains the frequent itemset set according to the Apriori algorithm.
[0127] Preferably, the first frequent probability of the first frequent item set is determined according to the following formula:
[0128]
[0129] Where i represents the number of times the first frequent item set X occurs at least in the transaction database, T j represents the jth transaction in the transaction database; P ≥i,j(X) represents the first frequent probability that the first frequent item set X occurs at least i times in the first j transactions. If the value of i is equal to minSup, then P ≥i,j (X) is the first frequent probability of the first frequent item set X.
[0130] Preferably, the second frequent probability of the second frequent item set is determined by the following formula:
[0131] P M (X) = P F (X)-P FNM (X)
[0132] Among them, P M (X) represents the second frequent probability of the second frequent item set X, P F (X) represents the first frequent probability of the first frequent item set X, P FNM (X) = P F (X 1 ∪…∪X n );P FNM (X) represents the frequent non-maximum probability of the second frequent item set X.
[0133] It should be understood that the units included in the above-mentioned device for determining the regularity of urban travel are only logical divisions based on the functions implemented by the device. In practical applications, the above-mentioned units can be superimposed or split. In addition, the functions implemented by the device for determining the regularity of urban travel provided in this embodiment correspond to the method for determining the regularity of aircraft flight failures provided in the above-mentioned embodiment. The more detailed processing flow implemented by the device has been described in detail in the above-mentioned method embodiment 1, and will not be described in detail here.
[0134] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0135] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0136] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0137] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0138] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0139] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for determining the law of aircraft flight failures, characterized in that: include: By means of sensors installed on the aircraft, the flight record information of the aircraft in a set area and a set time period is obtained, wherein the flight record information includes acceleration, vibration amount, vibration cycle, pressure, throttle angle, aircraft flight fault status and probability; Converting the flight record information into a set data format, wherein the set data format includes vibration, frequency, state, acceleration and probability; According to the set data format, an uncertain data set is obtained; The uncertain data set obtains a frequent itemset set according to the Apriori algorithm; The multiple first frequent item sets included in the frequent item set set are sorted according to the number of item sets, and the first frequent probability of each of the first frequent item sets is determined according to the following formula: Among them, i represents the number of times the first frequent item set X occurs at least in the transaction database, Represents the jth transaction in the transaction database; represents the first frequent probability that the first frequent item set X occurs at least i times in the first j transactions. If the value of i is equal to minSup, then is the first frequent probability of the first frequent item set X; The first frequent item set corresponding to the first frequent probability greater than the first probability threshold is determined as the second frequent item set, and the second frequent probability of the second frequent item set is determined by the following formula: in, Represents the second frequent itemset The second most frequent probability of Represents the first frequent itemset The first frequent probability of ; Represents the second frequent itemset The frequent non-maximum probability of ; Determine the second frequent item set corresponding to the second frequent probability greater than the second probability threshold as the uncertain maximum frequent item set; According to the meaning of the items included in each of the uncertain maximum frequent itemsets, the law of aircraft flight failure is determined.
2. A device for determining the law of aircraft flight failures, characterized in that: include: A first determination unit is used to obtain flight record information of the aircraft in a set area and a set time period through a sensor arranged on the aircraft, wherein the flight record information includes acceleration, vibration amount, vibration period, pressure, throttle angle, aircraft flight fault state and probability; convert the flight record information into a set data format, wherein the set data format includes vibration, frequency, state, acceleration and probability; obtain an uncertain data set according to the set data format; and obtain a frequent item set set from the uncertain data set according to an Apriori algorithm; The multiple first frequent item sets included in the frequent item set set are sorted according to the number of item sets, and the first frequent probability of each of the first frequent item sets is determined according to the following formula: Among them, i represents the number of times the first frequent item set X occurs at least in the transaction database, Represents the jth transaction in the transaction database; represents the first frequent probability that the first frequent item set X occurs at least i times in the first j transactions. If the value of i is equal to minSup, then is the first frequent probability of the first frequent item set X; The second determining unit is configured to determine the first frequent item set corresponding to the first frequent probability greater than the first probability threshold as a second frequent item set, and determine the second frequent probability of the second frequent item set by using the following formula: in, Represents the second frequent itemset The second most frequent probability of Represents the first frequent itemset The first frequent probability of ; Represents the second frequent itemset The frequent non-maximum probability of ; A third determining unit, configured to determine the second frequent item set corresponding to the second frequent probability greater than a second probability threshold as an uncertain maximum frequent item set; The fourth determining unit is used to determine the aircraft flight failure law according to the meaning of the items included in each of the uncertain maximum frequent itemsets.
