CN111694988B - Analysis method and equipment for AE300 aeroengine event record file - Google Patents

Analysis method and equipment for AE300 aeroengine event record file Download PDF

Info

Publication number
CN111694988B
CN111694988B CN202010516279.4A CN202010516279A CN111694988B CN 111694988 B CN111694988 B CN 111694988B CN 202010516279 A CN202010516279 A CN 202010516279A CN 111694988 B CN111694988 B CN 111694988B
Authority
CN
China
Prior art keywords
sector
index
byte
bytes
byte array
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010516279.4A
Other languages
Chinese (zh)
Other versions
CN111694988A (en
Inventor
蒋平清
李光耀
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Civil Aviation Flight University of China
Original Assignee
Civil Aviation Flight University of China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Civil Aviation Flight University of China filed Critical Civil Aviation Flight University of China
Priority to CN202010516279.4A priority Critical patent/CN111694988B/en
Publication of CN111694988A publication Critical patent/CN111694988A/en
Application granted granted Critical
Publication of CN111694988B publication Critical patent/CN111694988B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/81Indexing, e.g. XML tags; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/83Querying
    • G06F16/835Query processing

Abstract

The embodiment of the invention provides an analysis method and equipment for an AE300 aeroengine event record file. The method comprises the following steps: acquiring a first state node or a second state node in an xmlns attribute in an event record file; bytes of a predetermined range segment in a sector having a sector ID within a predetermined interval and a sector type of a predetermined sector type; searching forward from a second index of the updated first byte array; and continuously analyzing the event record file according to the mode of obtaining the event group until the index Mx is zero. According to the method and the device for analyzing the AE300 aeroengine event record file, provided by the embodiment of the invention, the complete analysis of the AE300 aeroengine event record file can be realized.

Description

Analysis method and equipment for AE300 aeroengine event record file
Technical Field
The embodiment of the invention relates to the technical field of data analysis, in particular to an analysis method and equipment for an AE300 aeroengine event record file.
Background
The AE300 series Engine is an aviation piston type aviation kerosene Engine manufactured by Austro Engine corporation. The electronic high-pressure common rail technology is adopted, four-cylinder in-line compression ignition is adopted, the fuel is economical and oil-saving, the power is sufficient, the operation and the control of the whole engine are finished by an EECU (engine electronic control unit), the EECU can record the operation data of the engine in real time in the process of controlling the engine, and can record the 'event information' of the engine, such as: event 7697 represents engine over-run and event 7171 represents propeller governor jam. These events are important to the health management of the engine, and the change of the occurrence frequency of a certain event in a certain period of time can be continuously monitored, and can represent the current operation overrun trend of the engine to a certain extent. AE300 Wizard software provided by Austro Engine company can read EventRec files, but can only view events on a crude event list, but cannot derive the events, perform deeper analysis and processing, and cannot realize Engine health management of large-scale fleet. Therefore, developing a method for analyzing the event record file of the AE300 aircraft engine, which can effectively overcome the above-mentioned defects in the related art, is an urgent technical problem in the industry.
Disclosure of Invention
Aiming at the problems in the prior art, the embodiment of the invention provides an analysis method and equipment for an AE300 aeroengine event record file.
In a first aspect, an embodiment of the present invention provides an AE300 aeroengine event record file parsing method, including: acquiring a first state node or a second state node in an xmlns attribute in an event record file, if a predetermined attribute of the first state node or the second state node is not zero, acquiring a first sector node set or a second sector node set in the xmlns attribute, and sequentially acquiring a sector ID and sector data of each sector node in the first sector node set or the second sector node set; sequentially storing bytes of a preset range section in a sector with a sector ID in a preset interval and a sector type of a preset sector type into a first byte array from small to large according to the sector ID, if the sector type is an Active sector type, acquiring a first index of the Active sector type in the first byte array, copying the bytes of the first preset range in the first byte array into the bytes of a second preset range in a second byte array according to the first index, copying the bytes of a third preset range in the first byte array into the bytes of a fourth preset range in the second byte array, emptying the first byte array, and copying the content in the current second byte array into the emptied first byte array to obtain an updated first byte array; searching forward from the second index of the updated first byte array, and if the lower eight bits of the total of the bytes of the indexes Mx-11 to Mx-1, which are continuously twelve bytes from the index Mx, are equal to the byte of the index Mx and a predetermined interval of the index Mx is met, defining the first twelve continuous bytes with the index Mx as the starting point as an event group; and continuously analyzing the event record file according to the mode of obtaining the event group until the index Mx is zero.
On the basis of the content of the above method embodiment, in the method for analyzing the AE300 aeroengine event log file provided in the embodiment of the present invention, the first state node is the data group state of the ECU a, and the second state node is the data group state of the ECU B.
On the basis of the content of the embodiment of the method, the AE300 aeroengine event log file analysis method provided by the embodiment of the invention has the predetermined intervals of [0,15] and [140,154].
On the basis of the content of the embodiment of the method, the type of the predetermined sector is a Locked sector, an Active sector or an Unknown sector according to the analysis method for the AE300 aeroengine event record file provided by the embodiment of the invention.
On the basis of the content of the above method embodiment, in the method for analyzing the AE300 aircraft engine event record file provided in the embodiment of the present invention, the predetermined interval of the index Mx includes: byte <165,1 with index Mx-11 of 0, byte 12,1 with index Mx-10, byte 31,0 with index Mx-9, byte 23,0 with index Mx-8, byte 59,0 with index Mx-7, byte 59 with index Mx-6, and byte upper five bits with index Mx-3 all being 0.
On the basis of the content of the embodiment of the method, in the method for analyzing the event record file of the AE300 aircraft engine provided by the embodiment of the invention, the predetermined attribute is an ENTRY _ CNT attribute.
On the basis of the content of the above embodiment of the method, in the method for parsing the event record file of the AE300 aircraft engine provided in the embodiment of the present invention, the bytes of the segment in the predetermined range are the second byte to the 65533 bytes.
In a second aspect, an embodiment of the present invention provides an AE300 aeroengine event record file parsing apparatus, including:
a sector information obtaining module, configured to obtain a first state node or a second state node in an xmlns attribute in an event record file, and if a predetermined attribute of the first state node or the second state node is not zero, obtain a first sector node set or a second sector node set in the xmlns attribute, and sequentially obtain a sector ID and sector data of each sector node in the first sector node set or the second sector node set;
the byte copying module is used for sequentially storing bytes of a preset range section in a sector with a sector ID in a preset interval and a sector type of a preset sector type into a first byte array from small to large according to the sector ID, if the sector type is an Active sector type, acquiring a first index of the Active sector type in the first byte array, copying the bytes of the first preset range in the first byte array into the bytes of a second preset range in a second byte array according to the first index, copying the bytes of the third preset range in the first byte array into the bytes of a fourth preset range in the second byte array, emptying the first byte array, and copying contents in the current second byte array into the emptied first byte array to obtain an updated first byte array;
an event group defining module, configured to search forward from the second index of the updated first byte array, and if the lower eight bits of the twelve consecutive bytes from the index Mx, which satisfy the sum of the bytes of the indexes Mx-11 to Mx-1, are equal to the byte of the index Mx and satisfy a predetermined interval of the index Mx, define the first twelve consecutive bytes with the index Mx as the starting point as an event group;
and the complete analysis module is used for continuously analyzing the event record file according to the mode of obtaining the event group until the index Mx is zero.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor to invoke the program instructions to perform the AE300 aeroengine event log file parsing method provided by any of the various possible implementations of the first aspect.
In a fourth aspect, embodiments of the present invention provide a non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the AE300 aeroengine event log file parsing method provided in any of the various possible implementations of the first aspect.
According to the method and the device for analyzing the AE300 aeroengine event record file, provided by the embodiment of the invention, the complete analysis of the AE300 aeroengine event record file can be realized by acquiring the information of the sector node, copying and recombining the indexed byte content of the Active type sector, searching the copied and recombined content and further defining an event group until the whole event record file is analyzed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description will be given below to the drawings required for the description of the embodiments or the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a flowchart of an AE300 aeroengine event record file parsing method provided by an embodiment of the invention;
FIG. 2 is a schematic structural diagram of an AE300 aircraft engine event record file parsing device according to an embodiment of the present invention;
fig. 3 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention. In addition, technical features of various embodiments or individual embodiments provided by the invention can be arbitrarily combined with each other to form a feasible technical solution, but must be realized by a person skilled in the art, and when the technical solution combination is contradictory or cannot be realized, the technical solution combination is not considered to exist and is not within the protection scope of the present invention.
The embodiment of the invention provides an analysis method for an AE300 aeroengine event record file, and referring to FIG. 1, the method comprises the following steps:
101. acquiring a first state node or a second state node in an xmlns attribute in an event record file, if a predetermined attribute of the first state node or the second state node is not zero, acquiring a first sector node set or a second sector node set in the xmlns attribute, and sequentially acquiring a sector ID and sector data of each sector node in the first sector node set or the second sector node set;
102. sequentially storing bytes of a preset range segment in a sector with a sector ID in a preset interval and a sector type as a preset sector type into a first byte array from small to large according to the sector ID, if the sector type is an Active sector type, acquiring a first index of the Active sector type in the first byte array, copying bytes of a first preset range in the first byte array into bytes of a second preset range in a second byte array according to the first index, copying bytes of a third preset range in the first byte array into bytes of a fourth preset range in the second byte array, emptying the first byte array, and copying contents in the current second byte array into the emptied first byte array to obtain an updated first byte array;
103. searching forward from the second index of the updated first byte array, and if the lower eight bits of the total of the bytes of the indexes Mx-11 to Mx-1, which are continuously twelve bytes from the index Mx, are equal to the byte of the index Mx and a predetermined interval of the index Mx is met, defining the first twelve continuous bytes with the index Mx as the starting point as an event group;
104. and continuously analyzing the event record file according to the mode of obtaining the event group until the index Mx is zero.
Based on the content of the above method embodiment, as an optional embodiment, in the method for analyzing the AE300 aircraft engine event record file provided in the embodiment of the present invention, the first state node is a data group state of the ECU a, and the second state node is a data group state of the ECU B. Specifically, a STATUS node (i.e., a first STATUS node or a second STATUS node) of the event log file xmlns as a or B is read, the a and B represent the data group states of the ECU a and the ECU B in the EECU, respectively, and the ENTRY _ CNT attribute (i.e., the predetermined attribute) of the a and the B is greater than 0, the analysis is continued, otherwise, the event log file (EventRec file) is considered to have no engine operation data, and the analysis is ended. Continuously reading SECTOR nodes (namely a first SECTOR node set or a second SECTOR node set) with the xmlns attribute of A or B, wherein A and B respectively represent ECU A and ECU B in the EECU, and sequentially reading the respective SECTOR sub-nodes, the ID sub-nodes of the SECTOR nodes are SECTOR IDs, the DATA sub-nodes of the SECTOR nodes are SECTOR DATA, and each SECTOR has 65538 bytes. The first two bytes of each sector are fixed, 0x61 and 0xF6, respectively, and the last 4 bytes are of sector type, 6 types in total, and the meaning and whether parsing is required are shown in table 1.
TABLE 1
Figure GDA0003802482690000061
Based on the content of the above method embodiment, as an optional embodiment, in the method for parsing an AE300 aircraft engine event record file provided in the embodiment of the present invention, the predetermined intervals are [0,15] and [140,154].
Based on the content of the above method embodiment, as an optional embodiment, in the method for analyzing the event record file of the AE300 aircraft engine provided in the embodiment of the present invention, the predetermined sector type is a Locked sector, an Active sector, or an Unknown sector.
Specifically, on the basis of table 1, the sector ID is in the intervals [0,15] and [140,154] (i.e., the predetermined interval), and the 2 nd byte (the first byte index is defined as 0) to 65533 th byte (defined as the sector payload) in the sector (i.e., the predetermined sector type) whose sector type is Locked, active, unknown type are sequentially stored in the byte array D1 (i.e., the first byte array) from small to large according to the sector ID, so that the storage indexes of the first byte of each sector payload in the byte array D1 are T0, T1, and T2 … Tn, respectively. Then for n > =1, there are (Tn) - (Tn-1) =65532. Further (corresponding to step 102), if the sector type is Active, recording that the index of the first byte of the sector payload in the byte array D1 (i.e. the first byte array) is Tx (i.e. the first index), and the total length of the D1 array is m, then copying the bytes in the D1 array with the index ranging from Tx +63352 to Tm-1 (i.e. the first predetermined range) to the bytes in the byte array D2 array (i.e. the second byte array) with the index ranging from 0 to m-Tx-65532-1 (i.e. the second predetermined range), and copying the bytes in the D1 array with the index ranging from 0 to Tx +65532-1 (i.e. the third predetermined range) to the bytes in the D2 array with the index ranging from m-Tx-65532 to m-1 (i.e. the fourth predetermined range). The D1 array (i.e., the first byte array) is cleared and the D2 array is completely copied to the D1 array.
Based on the content of the foregoing method embodiment, as an optional embodiment, in the method for parsing an AE300 aircraft engine event record file provided in the embodiment of the present invention, the predetermined interval of the index Mx includes: byte <165,1 with index Mx-11 of 0, byte 12,1 with index Mx-10, byte 31,0 with index Mx-9, byte 23,0 with index Mx-8, byte 59,0 with index Mx-7, byte 59 with index Mx-6, and byte upper five bits with index Mx-3 all being 0. Specifically (corresponding to step 103), starting from the D1 array (i.e. the first byte array) index m-1 (i.e. the second index), searching forward if it is found that the lower eight bits of the sum of the bytes satisfying Mx-11 to Mx-1 starting from the index Mx are equal to the byte with index Mx, and 0< = byte with index Mx-11 <165,1< = byte with index Mx-10 =12,1< = byte with index Mx-9 < = byte < =31,0< = index Mx-8 = byte < =23,0< = with index Mx-7 is 59,0< = byte with index Mx-6, the upper 5 bits of index Mx-3 are all 0 ", and then it must be considered as a group of contiguous bytes before each table of 12", namely, 2 bytes.
TABLE 2
Figure GDA0003802482690000071
Based on the content of the above method embodiment, as an optional embodiment, in the method for analyzing the AE300 aircraft engine event record file provided in the embodiment of the present invention, the predetermined attribute is an ENTRY _ CNT attribute.
Based on the content of the above method embodiment, as an alternative embodiment, in the AE300 aircraft engine event record file parsing method provided in the embodiment of the present invention, the bytes of the predetermined range segment are the second byte to the 65533 th byte. Specifically, it can be known from the analysis result in table 2 that an event whose ID is eventred occurs in a certain time, a certain minute, and a certain second in a certain month, a certain ECU generates an event whose ID is eventred, the specific meaning of the event represented by the event ID can be obtained by combining with the latest valid manual provided by Austro Engine company, and then the EventRec file (event record file) is continuously analyzed according to the rule until Mx is 0, until the EventRec file is completely analyzed.
According to the analysis method for the AE300 aeroengine event record file provided by the embodiment of the invention, the complete analysis of the AE300 aeroengine event record file can be realized by acquiring the information of the sector node, copying and recombining the indexed byte content of the Active type sector, searching the copied and recombined content and further defining an event group until the whole event record file is analyzed.
The implementation basis of the various embodiments of the present invention is realized by programmed processing performed by a device having a processor function. Therefore, in engineering practice, the technical solutions and functions thereof of the embodiments of the present invention can be packaged into various modules. Based on the practical situation, on the basis of the above embodiments, the embodiment of the present invention provides an AE300 aeroengine event log file parsing device, which is used for executing the AE300 aeroengine event log file parsing method in the above method embodiments. Referring to fig. 2, the apparatus includes:
a sector information obtaining module 201, configured to obtain a first state node or a second state node in an xmlns attribute in an event record file, and if a predetermined attribute of the first state node or the second state node is not zero, obtain a first sector node set or a second sector node set in the xmlns attribute, and sequentially obtain a sector ID and sector data of each sector node in the first sector node set or the second sector node set;
a byte copying module 202, configured to sequentially store, in a first byte array, bytes of a predetermined range segment in a sector with a sector ID within a predetermined interval and a sector type of a predetermined sector type from small to large according to the sector ID, if the sector type is an Active sector type, obtain a first index of the Active sector type in the first byte array, copy, according to the first index, the bytes of the first predetermined range in the first byte array to the bytes of a second predetermined range in a second byte array, copy, in the first byte array, the bytes of a third predetermined range to the bytes of a fourth predetermined range in the second byte array, clear the first byte array, and copy, in the current second byte array, contents to the cleared first byte array, so as to obtain an updated first byte array;
an event group defining module 203, configured to search forward from the second index of the updated first byte array, and if the lower eight bits of the twelve consecutive bytes from the index Mx, which satisfy the sum of the bytes of the indexes Mx-11 to Mx-1, are equal to the byte of the index Mx and satisfy a predetermined interval of the index Mx, define the first twelve consecutive bytes with the index Mx as the starting point as an event group;
and the complete analysis module 204 is configured to continue to analyze the event record file according to the manner of obtaining the event group until the index Mx is zero.
According to the analysis device for the AE300 aeroengine event record file, provided by the embodiment of the invention, the sector information acquisition module, the byte copying module, the event group definition module and the complete analysis module are adopted, the information of sector nodes is acquired, the indexed byte content of the Active type sector is copied and recombined, the copied and recombined content is searched and the event group is further defined until the whole event record file is analyzed, and the complete analysis of the AE300 aeroengine event record file can be realized.
It should be noted that, the apparatus in the apparatus embodiment provided by the present invention may be used for implementing methods in other method embodiments provided by the present invention, except that corresponding function modules are provided, and the principle of the apparatus embodiment provided by the present invention is basically the same as that of the apparatus embodiment provided by the present invention, so long as a person skilled in the art obtains corresponding technical means by combining technical features on the basis of the apparatus embodiment described above, and obtains a technical solution formed by these technical means, on the premise of ensuring that the technical solution has practicability, the apparatus in the apparatus embodiment described above may be modified, so as to obtain a corresponding apparatus class embodiment, which is used for implementing methods in other method class embodiments. For example:
based on the content of the above device embodiment, as an optional embodiment, the AE300 aeroengine event record file parsing device provided in the embodiment of the present invention further includes: and the predetermined interval defining module is used for defining the predetermined intervals to be [0,15] and [140,154].
The method of the embodiment of the invention is realized by depending on the electronic equipment, so that the related electronic equipment is necessarily introduced. To this end, an embodiment of the present invention provides an electronic apparatus, as shown in fig. 3, including: at least one processor (processor) 301, a communication Interface (Communications Interface) 304, at least one memory (memory) 302 and a communication bus 303, wherein the at least one processor 301, the communication Interface 304 and the at least one memory 302 are configured to communicate with each other via the communication bus 303. The at least one processor 301 may call logic instructions in the at least one memory 302 to perform the following method: acquiring a first state node or a second state node in an xmlns attribute in an event record file, if the preset attribute of the first state node or the second state node is not zero, acquiring a first sector node set or a second sector node set in the xmlns attribute, and sequentially acquiring a sector ID and sector data of each sector node in the first sector node set or the second sector node set; sequentially storing bytes of a preset range section in a sector with a sector ID in a preset interval and a sector type of a preset sector type into a first byte array from small to large according to the sector ID, if the sector type is an Active sector type, acquiring a first index of the Active sector type in the first byte array, copying the bytes of the first preset range in the first byte array into the bytes of a second preset range in a second byte array according to the first index, copying the bytes of a third preset range in the first byte array into the bytes of a fourth preset range in the second byte array, emptying the first byte array, and copying the content in the current second byte array into the emptied first byte array to obtain an updated first byte array; searching forward from the second index of the updated first byte array, and if the lower eight bits of the total of the bytes of the indexes Mx-11 to Mx-1, which are continuously twelve bytes from the index Mx, are equal to the byte of the index Mx and a predetermined interval of the index Mx is met, defining the first twelve continuous bytes with the index Mx as the starting point as an event group; and continuously analyzing the event record file according to the mode of obtaining the event group until the index Mx is zero.
Furthermore, the logic instructions in the at least one memory 302 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. Examples include: acquiring a first state node or a second state node in an xmlns attribute in an event record file, if a predetermined attribute of the first state node or the second state node is not zero, acquiring a first sector node set or a second sector node set in the xmlns attribute, and sequentially acquiring a sector ID and sector data of each sector node in the first sector node set or the second sector node set; sequentially storing bytes of a preset range section in a sector with a sector ID in a preset interval and a sector type of a preset sector type into a first byte array from small to large according to the sector ID, if the sector type is an Active sector type, acquiring a first index of the Active sector type in the first byte array, copying the bytes of the first preset range in the first byte array into the bytes of a second preset range in a second byte array according to the first index, copying the bytes of a third preset range in the first byte array into the bytes of a fourth preset range in the second byte array, emptying the first byte array, and copying the content in the current second byte array into the emptied first byte array to obtain an updated first byte array; searching forward from the second index of the updated first byte array, and if the lower eight bits of the total of the bytes of the indexes Mx-11 to Mx-1, which are continuously twelve bytes from the index Mx, are equal to the byte of the index Mx and a predetermined interval of the index Mx is met, defining the first twelve continuous bytes with the index Mx as the starting point as an event group; and continuously analyzing the event record file according to the mode of obtaining the event group until the index Mx is zero. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. Based on this recognition, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In this patent, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (9)

1. An analysis method for an AE300 aeroengine event record file is characterized by comprising the following steps:
acquiring a first state node or a second state node in an xmlns attribute in an event record file, if a predetermined attribute of the first state node or the second state node is not zero, acquiring a first sector node set or a second sector node set in the xmlns attribute, and sequentially acquiring a sector ID and sector data of each sector node in the first sector node set or the second sector node set;
sequentially storing bytes of a preset range section in a sector with a sector ID in a preset interval and a sector type of a preset sector type into a first byte array from small to large according to the sector ID, if the sector type is an Active sector type, acquiring a first index of the Active sector type in the first byte array, copying the bytes of the first preset range in the first byte array into the bytes of a second preset range in a second byte array according to the first index, copying the bytes of a third preset range in the first byte array into the bytes of a fourth preset range in the second byte array, emptying the first byte array, and copying the content in the current second byte array into the emptied first byte array to obtain an updated first byte array;
searching forward from the second index of the updated first byte array, and if the lower eight bits of the total of the bytes of the indexes Mx-11 to Mx-1, which are continuously twelve bytes from the index Mx, are equal to the byte of the index Mx and a predetermined interval of the index Mx is met, defining the first twelve continuous bytes with the index Mx as the starting point as an event group;
continuously analyzing the event record file according to the mode of obtaining the event group until the index Mx is zero;
the first state node is the data group state of the ECUA, and the second state node is the data group state of the ECU B.
2. The AE300 aeroengine event log file parsing method of claim 1, wherein the predetermined intervals are [0,15] and [140,154].
3. The AE300 aeroengine event log file parsing method according to claim 1, wherein the predetermined sector type is a Locked sector, an Active sector, or an Unknown sector.
4. The AE300 aeroengine event log file parsing method of claim 1, wherein the predetermined interval of the index Mx comprises: byte <165,1 > with index Mx-11 0 ≦ byte ≦ 12,1 ≦ byte ≦ 31,0 ≦ byte ≦ 23,0 with index Mx-8 of byte ≦ 59,0 of index Mx-7 of byte ≦ 59,0 of index Mx-6 of byte ≦ 59, and byte upper five bits with index Mx-3 are all 0.
5. The AE300 aeroengine event log file parsing method of claim 1, wherein the predetermined attribute is an ENTRY _ CNT attribute.
6. The AE300 aeroengine event record file parsing method of claim 1, wherein the bytes of the predetermined range segment are second byte to 65533 bytes.
7. An AE300 aeroengine event record file analysis device is characterized by comprising the following components:
a sector information obtaining module, configured to obtain a first state node or a second state node in an xmlns attribute in an event record file, and if a predetermined attribute of the first state node or the second state node is not zero, obtain a first sector node set or a second sector node set in the xmlns attribute, and sequentially obtain a sector ID and sector data of each sector node in the first sector node set or the second sector node set;
the byte copying module is used for sequentially storing bytes of a preset range section in a sector with a sector ID in a preset interval and a sector type of a preset sector type into a first byte array from small to large according to the sector ID, if the sector type is an Active sector type, acquiring a first index of the Active sector type in the first byte array, copying the bytes of the first preset range in the first byte array into the bytes of a second preset range in a second byte array according to the first index, copying the bytes of the third preset range in the first byte array into the bytes of a fourth preset range in the second byte array, emptying the first byte array, and copying contents in the current second byte array into the emptied first byte array to obtain an updated first byte array;
an event group defining module, configured to search forward from the second index of the updated first byte array, and if the lower eight bits of the twelve consecutive bytes from the index Mx, which satisfy the sum of the bytes of the indexes Mx-11 to Mx-1, are equal to the byte of the index Mx and satisfy a predetermined interval of the index Mx, define the first twelve consecutive bytes with the index Mx as the starting point as an event group;
the complete analysis module is used for continuously analyzing the event record file according to the mode of obtaining the event group until the index Mx is zero;
the first state node is the data group state of the ECUA, and the second state node is the data group state of the ECU B.
8. An electronic device, comprising:
at least one processor, at least one memory, and a communication interface; wherein the content of the first and second substances,
the processor, the memory and the communication interface are communicated with each other;
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 6.
9. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 6.
CN202010516279.4A 2020-06-09 2020-06-09 Analysis method and equipment for AE300 aeroengine event record file Active CN111694988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010516279.4A CN111694988B (en) 2020-06-09 2020-06-09 Analysis method and equipment for AE300 aeroengine event record file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010516279.4A CN111694988B (en) 2020-06-09 2020-06-09 Analysis method and equipment for AE300 aeroengine event record file

Publications (2)

Publication Number Publication Date
CN111694988A CN111694988A (en) 2020-09-22
CN111694988B true CN111694988B (en) 2022-10-28

Family

ID=72479859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010516279.4A Active CN111694988B (en) 2020-06-09 2020-06-09 Analysis method and equipment for AE300 aeroengine event record file

Country Status (1)

Country Link
CN (1) CN111694988B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102622357A (en) * 2011-01-27 2012-08-01 赛酷特(北京)信息技术有限公司 Method for single write-in on basis of fat32 file system format
AU2015264961A1 (en) * 2010-03-31 2015-12-24 Security First Corp. Systems and Methods for Securing Data

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102968422B (en) * 2011-08-31 2015-06-17 中国航天科工集团第二研究院七0六所 System and method for controlling streaming data storage
CN105004526A (en) * 2015-07-08 2015-10-28 中国民用航空飞行学院 Fault detection system based on engine storage parameters
CN106776752B (en) * 2016-11-22 2020-10-23 南京拓攻自动驾驶技术研究院有限公司 Embedded file storage system and method applied to flight data of unmanned aerial vehicle
US10430585B2 (en) * 2017-01-06 2019-10-01 Crowdstrike, Inc. Binary search of byte sequences using inverted indices
CN107239418B (en) * 2017-06-02 2021-06-18 中国航发南方工业有限公司 Data storage module read-write device and I2C communication method
CN107480541B (en) * 2017-07-28 2020-04-28 中国航空无线电电子研究所 Microminiature machine carries record system
CN109003352B (en) * 2018-07-02 2020-11-06 南京兴鼎升电气设备有限公司 Storage recording method of train event recorder
CN109491660B (en) * 2018-09-30 2021-10-29 大连莱克科技发展有限公司 Locomotive event data dynamic analysis method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2015264961A1 (en) * 2010-03-31 2015-12-24 Security First Corp. Systems and Methods for Securing Data
CN102622357A (en) * 2011-01-27 2012-08-01 赛酷特(北京)信息技术有限公司 Method for single write-in on basis of fat32 file system format

Also Published As

Publication number Publication date
CN111694988A (en) 2020-09-22

Similar Documents

Publication Publication Date Title
US11288231B2 (en) Reproducing datasets generated by alert-triggering search queries
DE112012005037B4 (en) Manage redundant immutable files using deduplications in storage clouds
EP3243305B1 (en) Distributed storage and distributed processing query statement reconstruction in accordance with a policy
EP3251031B1 (en) Techniques for compact data storage of network traffic and efficient search thereof
US7856436B2 (en) Dynamic holds of record dispositions during record management
US9594794B2 (en) Restoring records using a change transaction log
CN108959359B (en) Uniform Resource Locator (URL) semantic deduplication method, device, equipment and medium
CN109684290B (en) Log storage method, device, equipment and computer readable storage medium
CN113468199B (en) Index updating method and system
CN104424202A (en) Method and system for performing duplication checking on customer information in customer relationship management (CRM) system
US20090106216A1 (en) Push-model based index updating
CN112307318B (en) Content publishing method, system and device
CN110245297B (en) Book keyword search-oriented user subject privacy protection method and system
CN103823902A (en) Safe search method for electronic file
CN108073641B (en) Method and device for querying data table
CN111694988B (en) Analysis method and equipment for AE300 aeroengine event record file
US20140143215A1 (en) Assured federated records management
Raghavan A framework for identifying associations in digital evidence using metadata
KR102253841B1 (en) Apparatus for Processing Transaction with Modification of Data in Large-Scale Distributed File System and Computer-Readable Recording Medium with Program
Li et al. A data lake architecture for monitoring and diagnosis system of power grid
US10061654B1 (en) Depth first search of summary change log records for backup
McGregor et al. Indexing ai risks with incidents, issues, and variants
CN111694989B (en) Analysis method and equipment for AE300 aeroengine data log file
CN114911872A (en) Intranet and extranet data synchronization method, device and system, extranet server and storage medium
CN110196793B (en) Log analysis method and device for plug-in database

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant