Document generation method and system based on XML aircraft technology data modular division
By using the XML aircraft technical data modularization method, the problems of high complexity and low accuracy in the compilation of aircraft technical data were solved, and efficient structured management and digitization of data were achieved.
Patent Information
- Application Number
- CN202510304587.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-14
- Publication Date
- 2025-08-01
AI Technical Summary
Existing technologies lack a systematic architecture when compiling aircraft technical data, resulting in high data compilation complexity, low accuracy, and difficulty in achieving efficient electronic and structured management.
An XML-based modular approach to aircraft technical data is adopted. By defining top-level elements and a tree structure model, aircraft technical data is subdivided, and target documents are generated using a multi-level element structure system and a multi-modal fusion model.
It improves the structuring and accuracy of data, reduces the complexity of data compilation, and enhances the efficiency of data storage, retrieval, and management.
Smart Images

Figure CN120406940A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of digital management of aviation technical materials, and particularly to a document generation method and system based on modular division of XML aircraft technical data. Background Art
[0002] XML (Extensible Markup Language) is a markup language for storing and transmitting data, with high flexibility and scalability, and has characteristics such as high standardization, structured data representation, easy parsing, and strong interoperability. Its technical background and application scenarios are as follows:
[0003] XML can represent data with a clear hierarchical structure, making information easy to understand and process. Many programming languages and platforms provide support for XML, including libraries and tools for parsing and generating XML documents. Due to its text format, XML can be conveniently transmitted between different operating systems and programming languages, making the integration between systems smoother. At the same time, XML is a standard recommended by the World Wide Web Consortium (W3C) to ensure its consistency and readability globally.
[0004] There are a wide variety of aircraft technical materials, among which the technical materials for guiding aircraft maintenance involve the most content and the largest amount of data. The writers of technical materials often need to spend a lot of time organizing, adjusting, modifying, and optimizing data, which is time-consuming and laborious. At present, with the continuous development of the Interactive Electronic Technical Manual (IETM) technology, higher requirements are put forward for the digitization and structuring of various types of aircraft technical materials. There is an urgent need for a time-saving and labor-saving method for dividing the program class data schema of aircraft technical materials based on the XML language. Using the XML language, the content structure in technical materials can be structured, improving the accuracy and reducing the complexity of technical material compilation. Summary of the Invention
[0005] Aiming at the deficiencies of the prior art, the present invention provides a document generation method and system based on modular division of XML aircraft technical data, which can define and subdivide elements in aspects such as common information, conditions that the main program elements should meet, main program information, and closing work requirements in the program class data of aircraft technical materials, and constructs as <cominf> 、 <prerqmts>A multi-level element structure system. According to these element structures, program data is classified into corresponding categories according to its functions and logical associations. Through this structured division step based on XML language, the accuracy and processing efficiency of data are improved, and the complexity of data compilation is reduced.
[0006] Specifically, in a first aspect, the present invention provides a document generation method based on modular division of XML aircraft technical data, which includes the following steps:
[0007] S1. Determine the top-level elements. The top-level elements include four types of elements, namely program general information <cominf>Conditions that elements and main program elements should satisfy <prerqmts>Element, main program information <maprodu>Element and closing work requirement information <clorqmts>Element;
[0008] S2. Construct a tree structure division model, divide the first three types of elements based on the tree structure division model, and define the XML element tree as a recursive structure T, where the node set V and the edge set E satisfy:
[0009]
[0010] Among them, V0 = T = {comInf, preRqmts, maProdu, cloRqmts} is the root node set, Sub(v) is the set of sub-elements of node v, and the depth of the XML tree is described by the recursive level K for dynamic expansion;
[0011] S3. For <clorqmts>The element application stage-specific conditional constraint model is clarified <clorqmts>The uniqueness of the element as the closing work condition information; the phase-specific conditional constraint model can perform complex phase nesting and dependency analysis, modeled as a topological space (X, τ), where: X = {prePhase, execPhase, cloPhase} is the set of phases, and τ is the open set family of phase relations, satisfying The validity determination is:
[0012]
[0013] S4. Dynamically generate the target document through the demand-driven mechanism.
[0014] Preferably, step S4 specifically includes the following sub-steps:
[0015] S41. Match the required top-level elements according to the document type, and dynamically screen the associated sub-elements based on the phase-specific conditional constraint model to determine the current phase;
[0016] S42. Traverse the XML data using the tree structure division model, call the multi-branch process model to select the optimal branch, and weighted integrate the text, picture, and table information through the multi-modal fusion model;
[0017] S43. Combine XSD to verify the data integrity, and rely on the unique identifier mapping model to ensure the number consistency, so that the structured data is converted into a normalized document to generate the target document.
[0018] Preferably, step S2 specifically includes the following sub-steps:
[0019] S21. For <cominf>The data of the elements is divided using a tree - structured partitioning model. <cominf>The element includes the program name <tle>, Picture <fig>, Picture group <figalts>And note information <not>;
[0020] S22. For <prerqmts>The data of the element is divided using a tree - structured division model. <prerqmts>The element includes the basic information required for program planning and preparatory tasks <promada>, Required condition information <rqcongr>, Information on the required personnel <rqper>, Required technical materials <rqtigr>, Information on all supported devices to be listed <rqsueq>, Required consumable information <rqsl>Information on all spare parts required for the process <rqsp>and the required safety requirement information <rqsy>;
[0021] S23. For <maprodu>The data of the element is divided using a tree - structured division model. <maprodu>The element includes first program step information <produste>, Second program step information <muldia>, Picture information of the main program <fig>and the table information in the main program <tab>。
[0022] Preferably, step S21 specifically includes the following sub-steps:
[0023] S211. Take the program name <tle>Divided into two sub-elements, namely the specific names <na>and the unique identification number <idnum>, the specific name of the program corresponds one-to-one with the unique identification number;
[0024] S212. Take the picture of the general information of the program <fig>Divided into three sub-elements, namely the picture title <tle>, External Entity Reference <grap>And the legend or list of explanations <leg>;
[0025] S213. The picture group of program general information <figalts>Expand the model using set elements;
[0026] S214. The remarks of the program general information <not>Divided into two sub-elements, namely additional symbol information <symbol>and explanatory information <notpar>;
[0027] S215. Describe the paragraph information of the program general information <par>Divided into two sub-elements, namely the first paragraph information <subsc>and second paragraph information <supsc>;
[0028] S216. Combine and describe the paragraph information of the program general information <comidp>Divided into three sub-elements, namely paragraph information <par>, Paragraph Picture <fig>And paragraph table <tab>。
[0029] Preferably, step S22 specifically includes the following sub-steps:
[0030] S221. The basic information required for the program plan and preparation tasks <promada>Subdivision is carried out using a functional decomposition model and divided into sub-elements <thint> 、 <workalgr>and <taskdur>, where <thint>Store threshold interval information related to the stored program task; <workalgr>Store working area information, <workalgr>Further divided into <zorf> 、 <acprf>and <acprf>Three sub-elements, storing partition, access point, and precise location information respectively; <taskdur>For program task duration information, <taskdur>Further divided according to the time information <uom> 、 <sudur> 、 <produr>And <clodur>;
[0031] S222. Include any required conditional information <rqcongr>Divided into sub-elements <nocd>And <rqcdnr>, use a conditional decision matrix model to mark and store the operation or condition information of the program;
[0032] S223. Store the information including the personnel required for the task <rqper>Divided into personnel grouping information <perl>Skills information required when specifying individuals separately <per>;
[0033] S224, Required technical materials <rqtigr>in <rqti>Associate and store the required technical data information using the information resource association model; the information including all the support devices to be listed <rqsueq>Divided into two sub-elements <nosueq>And <sueqdg>, and use the device status identification model to clarify whether the device needs to be supported and the detailed description of the device;
[0034] S225. Transfer the required consumable information <rqsl>Divided into two sub-elements <nosleq>and <sldg>, and use the consumable demand marking model to clarify the consumable demand and description; the information of all spare parts required for the process <rqsp>Divided into two sub-elements <nosp>And <spdg>, and adopt a spare part information marking model to clarify the requirements and relevant information of spare parts;
[0035] S226. Transfer the required safety requirement information <rqsy>Divided into four sub-elements <nosy> 、 <warn> 、 <caut>And <fnot>, and the security information hierarchical model is used to divide the security information into multiple levels.
[0036] Preferably, in step S221, the spatial position vector model is used to represent the work area information in the form of a three-dimensional space vector. The spatial position vector model can perform complex spatial operations and represent the work area information workALGr with a three-dimensional vector:
[0037]
[0038] where x zoRf , y acPRf , z acPRf correspond to the partition, access point, and precise position coordinates respectively. The subscripts zoRf and acPRf refer to the area reference and precise position reference respectively. This model can store spatial data and transform the original vector through the transformation matrix T ∈ R 4×4 into the spatial position vector
[0039] In step S223 <perl>The element is divided into two sub-elements <percg>and <persk>, and using the personnel grouping and skills matrix model, clarify the personnel categories and skill levels; using the personnel skills vector model, describe the skill requirements of individual personnel;
[0040] The multiple levels in step S226 include whether safety requirements, warning information, attention information, and footnotes are needed.
[0041] Preferably, step S23 specifically includes the following sub-steps:
[0042] S231. The first program step information <produste>Subdivide using the process node decomposition model, where <tle>For node title, <warn>And <caut>For the security information of the node, <cirbdgr>For checklist information, <muldia>For multimedia information, <par>For paragraph description, <fig>For picture information, <tab>For table information;
[0043] S232. Transfer the second program step information <muldia>of <tle>and <multimediaobject>The sub - element uses a multimedia information optimization model to provide a detailed description of the multimedia information, including the title, parameters, and reasons for changes; multiple alternatives for program steps with different applicability <produstea>in <produste>The sub-elements adopt a multi-branch process model to store program step information with different applicability;
[0044] S233. Picture information of the main program <fig>Multiple alternatives of images with different applicability <figalts>Use the image group management model to centrally manage and use different pictures; the folded picture group of program general information <foldt>of <tab>And <fig> / <figalts>The sub-elements use a collapsible information model to store and manage the table and picture information in the collapsible picture group;
[0045] S234. Transfer the table information in the main program <tab>of <tle> 、 <grap>And <tgr>The sub - elements define a model through table attributes, and define the title, external references and attributes of the table.
[0046] Preferably, in step S232, the multi - branch process model introduces time series and stochastic processes, which can optimize long - term decisions, specifically expressed as:
[0047]
[0048] Where:
[0049]
[0050] The optimal branch process index Branch(k) selected at the k - th step is determined by the maximum expected value among i alternative branches. In the formula, γ is the discount factor that controls the decay of the revenue weight, and the branch The revenue function at time t Achieves multi - objective balance of security, execution efficiency, and resource cost through weights α, β, and γ.
[0051] In a second aspect, the present invention also provides a document generation system for the above - mentioned document generation method based on XML aircraft technical data modular division, which includes a top - level element determination unit, a tree - structure division unit, <clorqmts>Element division unit and target document generation unit;
[0052] The top-level element determination unit is used to determine top-level elements, and the top-level elements include four types of elements, namely program general information <cominf>Conditions that elements and main program elements should satisfy <prerqmts>Element, main program information <maprodu>Element and closing work requirement information <clorqmts>Element;
[0053] The tree structure division unit is used to construct a tree structure division model, and based on the tree structure division model, the program general information <cominf>Conditions that elements and main program elements should satisfy <prerqmts>Element, main program information <maprodu>Divide the elements;
[0054] The <clorqmts>The element division unit is used to <clorqmts>The element application stage-specific conditional constraint model is defined <clorqmts>Uniqueness of the element as the tailoring work condition information;
[0055] The target document generation unit is used to realize the dynamic generation of the target document through a demand-driven mechanism.
[0056] Preferably, it further includes a computer device, and the computer device can store the top-level element determination unit, the tree structure division unit, <clorqmts>Element division unit and target document generation unit.
[0057] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0058] (1) The method of the present invention can improve the degree of data structuring: by defining, such as <cominf> 、 <prerqmts>A series of elements with clear hierarchies and logical relationships are used to classify the data of aircraft technical documentation procedures in detail. For example, in <cominf>Under the element, it is further divided into <t le>, <fig>Equal sub-elements make the organization of data more orderly. Compared with the existing methods lacking a systematic architecture, the present invention greatly improves the degree of data structuring, facilitating data storage, retrieval, and management.
[0059] (2) The method of the present invention can improve data accuracy: During the partitioning process, specific meanings and uses are defined for each element and its sub-elements, such as <prerqmts>under <promada>The element and its subelements are used to accurately represent the information required for program planning and preparation tasks. Such a standardized definition can reduce the ambiguity and errors in human understanding and processing of data, effectively improving the accuracy of data, while existing methods are prone to deviations during data compilation and modification.
[0060] (3) The method of the present invention can reduce the complexity of data compilation: by utilizing the characteristics of the XML language and the constructed element system, the compiler can compile data according to established rules. For example, in the main program information <maprodu>In the process of processing, each sub-element clearly guides the input of step information, picture information, etc., avoiding the time-consuming and laborious chaotic sorting process in the existing methods, significantly reducing the complexity of data compilation, and improving work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 is a schematic diagram of the overall process of the present invention;
[0062] Figure 2 is a schematic diagram of the overall method for dividing the data mode of the aircraft program class of the present invention;
[0063] Figure 3 is a schematic diagram of the general information structure of the method for dividing the data mode of the aircraft program class of the present invention;
[0064] Figure 4 is a schematic diagram of the preparation work structure of the method for dividing the data mode of the aircraft program class of the present invention;
[0065] Figure 5 is a schematic diagram of the basic information required for the planning and preparation tasks of the method for dividing the data mode of the aircraft program class of the present invention;
[0066] Figure 6 is a schematic diagram of the construction of the picture information of the general information of the data mode of the aircraft program class of the present invention;
[0067] Figure 7 is a schematic diagram of the construction of the picture group of the general information of the tasks of the data mode of the aircraft program class of the present invention;
[0068] Figure 8 is a schematic diagram of multiple alternative items of different common information description paragraphs of the data mode of the aircraft program class of the present invention;
[0069] Figure 9 is a schematic diagram of the main program structure of the method for dividing the data mode of the aircraft program class of the present invention;
[0070] Figure 10 is a schematic diagram of the program step information structure of the method for dividing the data mode of the aircraft program class of the present invention;
[0071] Figure 11 is a schematic diagram of the picture information of the general information of the main program of the data mode of the aircraft program class of the present invention;
[0072] Figure 12 is a schematic diagram of the picture group information of the general information of the main program of the data mode of the aircraft program class of the present invention;
[0073] Figure 13 is a schematic diagram of the table information structure in the main program of the data mode of the aircraft program class of the present invention;
[0074] Figure 14 Schematic diagram of the information structure requirements for the finalization work of the aircraft program data pattern of the present invention;
[0075] Figure 15 Schematic diagram of the output result of an embodiment of the present invention. Detailed implementation manners
[0076] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
[0077] Specifically, as Figures 1 to 14 shown, the present invention provides a document generation method based on modular division of XML aircraft technical data, which includes the following steps:
[0078] S1. Determine the top-level elements. The top-level elements include four types of elements, namely program general information <cominf>Conditions that elements and main program elements should satisfy <prerqmts>Element, main program information <maprodu>Element and closing work requirement information <clorqmts>Elements. Through a comprehensive analysis of aircraft technical data, key information categories are sorted out, providing a clear top-level architecture compared with the previous lack of systematic classification methods.
[0079] S2. Build a tree structure division model and divide the program general information based on the tree structure division model <cominf>Conditions that elements and main program elements should satisfy <prerqmts>Element, main program information <maprodu>Partition the elements. In the tree - shaped structure partitioning model, define the XML element tree as a recursive structure T, and the node set V and edge set E satisfy:
[0080]
[0081] Among them, V0 = T = {comInf, preRqmts, maProdu, cloRqmts} is the root node set, Sub(v) is the set of sub - elements of node v, and the depth of the XML tree is described by the recursive level K for dynamic expansion.
[0082] Specifically, it includes the following sub - steps:
[0083] S21. For <cominf>The data of the elements is divided using a tree structure. <cominf>The element includes the program name <tle>, Picture <fig>, Picture group <figalts>And remarks information <not>。
[0084] In a specific embodiment, step S21 specifically includes the following sub-steps:
[0085] S211. The program name <tle>Divided into two sub-elements, namely the specific names <na>and unique identification number
[0086] <idnum>, the specific name of the program corresponds one-to-one with the unique identification number. Using the unique identifier mapping model ensures that each program has a clear identifier to improve the accuracy of data retrieval. The unique identifier mapping model refers to establishing the program name and the unique number through a hash function:
[0087]
[0088] S212. The picture of the general program information <fig>Divided into three sub-elements, namely the picture title <tle>, External Entity Reference <grap>And the legend or list of explanations <leg>. Represent the image information as a vector, where each sub-element represents a dimensional information of the image, such as <tle>is the semantic dimension of the image, <grap>is the resource dimension of the image, <leg>It is the interpretive dimension of the image, making the image information more comprehensive and structured.
[0089] S213. Group the pictures of the program general information <figalts>Expand the model using set elements. Picture group of program general information ( <figalts>) It is the collective storage of multiple images, using set elements to expand the model, which facilitates the selection of different image information according to different situations to increase the flexibility and adaptability of the data.
[0090] S214. The remarks information of the program general information <not>Divided into two sub-elements, namely additional symbol information <symbol>and explanatory information <notpar>。Use an information annotation model to supplement the program information and avoid information ambiguity; the description paragraph information of the general program information ( <par>) in <subsc>and <supsc>Using a text position marking model to accurately process subscript and superscript information in the text and improve the expression accuracy of text information.
[0091] S215. The description paragraph information of the program general information <par>Divided into two sub-elements, namely the first paragraph information <subsc>and second paragraph information <supsc>。Accurately handle the superscript and subscript information in the text to improve the accuracy of text information expression.
[0092] S216. Combine and describe the paragraph information of the program general information <comidp>Divided into three sub-elements, namely paragraph information <par>, Paragraph Picture <fig>And paragraph table <tab>。This step comprehensively utilizes text, graphics, and table information. Through a multi-modal information fusion model, the program's common information is presented in a more abundant form, overcoming the limitations of a single information mode; multiple alternatives in different common information description paragraphs of the program's general information ( <comidpalts>)Through the alternative information set model, multiple description paragraph options are stored to support the diversity and adaptability of information, and can be flexibly selected in different usage scenarios. The multi-modal information fusion model introduces an attention mechanism to adaptively adjust the weights and eliminates the dimensional differences between modalities through normalization; the fusion weight is defined as the dynamic attention score:
[0093] α,β,γ=Softmax(W·[par;fig;tab])
[0094] where W is the trainable weight matrix, [·;·] represents vector concatenation, and the fusion score is further optimized as:
[0095]
[0096] S22. For <prerqmts>The data of the elements is divided using a tree structure, <prerqmts>The element includes the basic information required for program planning and preparatory tasks <promada>, Required conditional information <rqcongr>, Information of Required Personnel <rqper>, Required technical materials <rqtigr>, Information on all supporting devices to be listed <rqsueq>, Required Consumable Information <rqsl>, Information on all spare parts required for the process <rqsp>and the required safety requirement information <rqsy>。
[0097] Step S22 specifically includes the following sub-steps:
[0098] S221. The basic information required for the program plan and preparation tasks <promada>Subdivision is carried out using a functional decomposition model and divided into sub-elements <thint> 、 <workalgr>and <taskdur>, where <thint>Store the threshold interval information related to the stored program task; <workalgr>Store work area information, <workalgr>Further divided into <zorf> 、 <acprf>and <acprf>Three sub-elements, which store partition, access point, and precise location information respectively; <taskdur>Among the program task duration information, <taskdur>Further divided according to time information <uom> 、 <sudur> 、 <produr>and <clodur>; In this step, the working area information is represented in the form of a three-dimensional space vector using a spatial position vector model:
[0099] The spatial position vector model can perform complex spatial operations and represent the working area information workALGr as a three-dimensional vector:
[0100]
[0101] where x zoRf , y acPRf , z acPRf correspond to the partition, access point, and precise position coordinates respectively, and the subscripts zoRf and acPRf refer to the region reference and precise position reference respectively. This model can store spatial data and transform the original vector into a spatial position vector through a transformation matrix T ∈ R 4×4
[0102] S222. Include any necessary conditional information <rqcongr>Divided into sub-elements <nocd>and <rqcdnr>, using a conditional decision matrix model, mark and store the operation or condition information of the program.
[0103] S223. Include the information about the personnel required for the task <rqper>Divided into personnel grouping information <perl>Skills information required when specifying an individual separately <per>; In this step <perl>The element is divided into two sub-elements <percg>and <persk>, and use the personnel grouping and skills matrix model to clarify the personnel categories and skill levels; use the personnel skills vector model to describe the skill requirements of individual personnel;
[0104] S224. Required technical materials <rqtigr>in <rqti>Using the information resource association model, the required technical data information is associated and stored; including the information of all support devices that need to be listed <rqsueq>Divided into two sub-elements <nosueq>And <sueqdg>, use the device status identification model to clarify whether the device needs to be supported and the detailed description of the device.
[0105] S225. Transfer the required consumable information <rqsl>Divided sub-elements <nosleq>and <sldg>Use the consumable demand marking model to clarify the consumable demand and instructions; the information of all spare parts required for the process <rqsp>sub-elements <nosp>And <spdg>, and a spare part information marking model is adopted to clarify the requirements and relevant information of spare parts.
[0106] S226. Required safety requirement information <rqsy>sub-elements <nosy> 、 <warn> 、 <caut>and <fnot>Using a security information hierarchical model, the security information is divided into multiple levels. The multiple levels include whether security requirements are needed, warning information, caution information, and footnotes.
[0107] S23. For <maprodu>The data of the elements is divided using a tree structure, <maprodu>The element includes first program step information <produste>, Second program step information <muldia>, Picture information of the main program <fig>and the table information in the main program <tab>。
[0108] Step S23 specifically includes the following sub-steps:
[0109] S231. Transfer the first program step information <produste>Subdivide using the process node decomposition model, where <tle>Is the node title, <warn>And <caut>For the security information of the node, <cirbdgr>For checklist information, <muldia>is multimedia information, <par>For paragraph description, <fig>For picture information, <tab>It is table information.
[0110] S232. Transfer the second program step information <muldia>of <tle>And <multimediaobject>The sub-elements use a multimedia information optimization model to provide a detailed description of the multimedia information, including the title, parameters, and reasons for changes; multiple alternatives for program steps with different applicability <produstea>in <produste>The sub-elements adopt a multi-branch process model to store program step information with different applicability.
[0111] The multi-branch process model introduces time series and stochastic processes, which can optimize long-term decisions, specifically expressed as:
[0112]
[0113] Where:
[0114]
[0115] The optimal branch process index Branch(k) selected in the k-th step is determined by the maximum expected value among i alternative branches. In the formula, γ is the discount factor to control the decay of the revenue weight, and the branch The revenue function at time t Achieves the multi-objective balance of security, execution efficiency, and resource cost through the weights α, β, and γ.
[0116] S233. Picture information of the main program <fig>Multiple alternatives of images with different applicability <figalts>Use the image group management model to centrally manage and use different pictures; the collapsed picture group of program general information <foldt>of <tab>and <fig> / <figalts>The sub-elements use a collapsible information model to store and manage the table and picture information in the collapsible picture group.
[0117] S234. The table information in the main program <tab>of <tle> 、 <grap>And <tgr>The sub-elements define the model through table attributes, defining the title, external references, and attributes of the table.
[0118] S3. For <clorqmts>The element application stage-specific conditional constraint model is defined <clorqmts>The uniqueness of the element as the closing work condition information; the phase-specific conditional constraint model can perform complex phase nesting and dependency analysis, modeled as a topological space (X, τ), where: X = {prePhase, execPhase, cloPhase} is the set of phases, and τ is the open set family of phase relationships, satisfying The validity determination is:
[0119]
[0120] S4. Dynamically generate the target document through a demand-driven mechanism, specifically including the following sub-steps:
[0121] S41. Match the required top-level elements according to the document type, and dynamically screen the associated sub-elements based on the phase-specific conditional constraint model to determine the current phase.
[0122] S42. Traverse the XML data using the tree structure division model, call the multi-branch process model to select the optimal branch, and weighted integrate the text, picture, and table information through the multi-modal fusion model.
[0123] S43. Combine XSD to verify the data integrity, and rely on the unique identifier mapping model to ensure the number consistency, so that the structured data is converted into a normalized document to generate the target document.
[0124] On the other hand, the present invention also provides a document generation system for the above-mentioned document generation method based on XML aircraft technical data modular division, which includes a top-level element determination unit, a tree structure division unit, <clorqmts>Element division unit and target document generation unit.
[0125] The top-level element determination unit is used to determine top-level elements, and the top-level elements include four types of elements, namely program general information <cominf>Conditions that elements and main program elements should satisfy <prerqmts>Element, main program information <maprodu>Element and closing work requirement information <clorqmts>Element.
[0126] The tree structure division unit is used to construct a tree structure division model, and based on the tree structure division model, the program general information <cominf>Conditions that elements and main program elements should satisfy <prerqmts>Element, main program information <maprodu>Divide the elements.
[0127] <clorqmts>The element division unit is used to <clorqmts>The element application stage-specific conditional constraint model is defined <clorqmts>Uniqueness of the element as the closing work condition information.
[0128] The target document generation unit is used to realize the dynamic generation of the target document through a demand-driven mechanism.
[0129] It also includes a computer device, which can store the top-level element determination unit, the tree structure division unit, <clorqmts>Element division unit and target document generation unit. Specific embodiments
[0131] If it is necessary to generate an interactive electronic maintenance manual for a new type of aircraft engine, and the manual is required to include standard operation steps, safety specifications, diagrams of equipment locations, and multi-version maintenance processes. Based on the method of this patent, the technical materials are structurally processed and the target document is dynamically generated.
[0132] 2. Implementation steps and examples.
[0133] Step S1: Determine the top-level elements:
[0134] Define the top-level elements:
[0135] <cominf><!--General information of the program-->
[0136] <prerqmts><!-- Preparation requirements -->
[0137] <maprodu><!--Main program information-->
[0138] <clorqmts><! -- Requirements for finishing work -- >
[0139] Steps S2 - S4: Tree - structure division and model application:
[0140] Example of comInf division:
[0141]
[0142]
[0143] preRqmts condition determination:
[0144]
[0145] Step S5: Specific processing of finishing work:
[0146] Apply the specific - condition model in the application stage to ensure that cleaning and safety inspections are compulsorily included in the finishing stage:
[0147]
[0148] Step S6: Dynamically generate the target document:
[0149] Requirement matching: The IETM shall include the main program steps (maProdu), safety warnings (rqSy / warn), and equipment locations.
[0150] Branch selection:
[0151]
[0152]
[0153] Multimodal fusion:
[0154] Text (weight 0.6): Step descriptions and safety warnings.
[0155] Images (weight 0.3): Schematic diagrams of damage and illustrations of inspection tools.
[0156] Tables (weight 0.1): Tool lists and torque parameter tables.
[0157] Output and verification:
[0158] XSD verification: Ensure the completeness of required fields (such as idNum, warn).
[0159] Final output: Generate an interactive PDF manual that supports folding to view detailed steps. And embed hyperlinks to jump to the equipment location map as Figure 15 shown.
[0160] The embodiments described above are only descriptions of the preferred embodiments of the present invention, and do not limit the scope of the present invention. Without departing from the design spirit of the present invention, various deformations and improvements made by those of ordinary skill in the art to the technical solutions of the present invention shall fall within the protection scope determined by the claims of the present invention.< / clorqmts> < / maprodu> < / prerqmts> < / cominf> < / clorqmts> < / clorqmts> < / clorqmts> < / clorqmts> < / maprodu> < / prerqmts> < / cominf> < / clorqmts> < / maprodu> < / prerqmts> < / cominf> < / clorqmts> < / clorqmts> < / clorqmts> < / tgr> < / grap> < / tle> < / tab> < / figalts> < / fig> < / tab> < / foldt> < / figalts> < / fig> < / produste> < / produstea> < / multimediaobject> < / tle> < / muldia> < / tab> < / fig> < / par> < / muldia> < / cirbdgr> < / caut> < / warn> < / tle> < / produste> < / tab> < / fig> < / muldia> < / produste> < / maprodu> < / maprodu> < / fnot> < / caut> < / warn> < / nosy> < / rqsy> < / spdg> < / nosp> < / rqsp> < / sldg> < / nosleq> < / rqsl> < / sueqdg> < / nosueq> < / rqsueq> < / rqti> < / rqtigr> < / persk> < / percg> < / perl> < / per> < / perl> < / rqper> < / rqcdnr> < / nocd> < / rqcongr> < / clodur> < / produr> < / sudur> < / uom> < / taskdur> < / taskdur> < / acprf> < / acprf> < / zorf> < / workalgr> < / workalgr> < / thint> < / taskdur> < / workalgr> < / thint> < / promada> < / rqsy> < / rqsp> < / rqsl> < / rqsueq> < / rqtigr> < / rqper> < / rqcongr> < / promada> < / prerqmts> < / prerqmts> < / comidpalts> < / tab> < / fig> < / par> < / comidp> < / supsc> < / subsc> < / par> < / supsc> < / subsc> < / par> < / notpar> < / symbol> < / not> < / figalts> < / figalts> < / leg> < / grap> < / tle> < / leg> < / grap> < / tle> < / fig> < / idnum> < / na> < / tle> < / not> < / figalts> < / fig> < / tle> < / cominf> < / cominf> < / maprodu> < / prerqmts> < / cominf> < / clorqmts> < / maprodu> < / prerqmts> < / cominf> < / maprodu> < / promada> < / prerqmts> < / fig> < / cominf> < / prerqmts> < / cominf> < / clorqmts> < / clorqmts> < / clorqmts> < / clorqmts> < / maprodu> < / prerqmts> < / cominf> < / clorqmts> < / maprodu> < / prerqmts> < / cominf> < / clorqmts> < / tgr> < / grap> < / tle> < / tab> < / figalts> < / fig> < / tab> < / foldt> < / figalts> < / fig> < / produste> < / produstea> < / multimediaobject> < / tle> < / muldia> < / tab> < / fig> < / par> < / muldia> < / cirbdgr> < / caut> < / warn> < / tle> < / produste> < / persk> < / percg> < / perl> < / fnot> < / caut> < / warn> < / nosy> < / rqsy> < / spdg> < / nosp> < / rqsp> < / sldg> < / nosleq> < / rqsl> < / sueqdg> < / nosueq> < / rqsueq> < / rqti> < / rqtigr> < / per> < / perl> < / rqper> < / rqcdnr> < / nocd> < / rqcongr> < / clodur> < / produr> < / sudur> < / uom> < / taskdur> < / taskdur> < / acprf> < / acprf> < / zorf> < / workalgr> < / workalgr> < / thint> < / taskdur> < / workalgr> < / thint> < / promada> < / tab> < / fig> < / par> < / comidp> < / supsc> < / subsc> < / par> < / notpar> < / symbol> < / not> < / figalts> < / leg> < / grap> < / tle> < / fig> < / idnum> < / na> < / tle> < / tab> < / fig> < / muldia> < / produste> < / maprodu> < / maprodu> < / rqsy> < / rqsp> < / rqsl> < / rqsueq> < / rqtigr> < / rqper> < / rqcongr> < / promada> < / prerqmts> < / prerqmts> < / not> < / figalts> < / fig> < / tle> < / cominf> < / cominf> < / clorqmts> < / clorqmts> < / clorqmts> < / maprodu> < / prerqmts> < / cominf> < / prerqmts> < / cominf>
Claims
1. A document generation method based on modular division of XML aircraft technical data, characterized in that: It includes the following steps: S1. Determine the top-level elements. The top-level elements include four categories of elements, namely program general information <cominf>Conditions that elements and main program elements should satisfy <prerqmts>Element, main program information <maprodu>Element and closing work requirement information <clorqmts>Element;< / clorqmts> < / maprodu> < / prerqmts> < / cominf> S2. Construct a tree structure division model, divide the first three types of elements based on the tree structure division model, and define the XML element tree as a recursive structure T, where the node set V and the edge set E satisfy: Among them, V0 = T = {comInf, preRqmts, maProdu, cloRqmts} is the root node set, Sub(v) is the set of sub-elements of node v, and the depth of the XML tree is described by the recursive level K for dynamic expansion; S3. For <clorqmts>The element application stage-specific conditional constraint model is defined <clorqmts>Uniqueness of elements as closing work condition information; the stage-specific condition constraint model can perform complex stage nesting and dependency analysis, modeled as a topological space (X, τ), where: X = {prePhase, execPhase, cloPhase} is the set of stages, and τ is the open set family of stage relationships, satisfying The validity determination is:< / clorqmts> < / clorqmts> S4. Implement the dynamic generation of the target document through a requirement-driven mechanism.
2. The document generation method based on modular division of XML aircraft technical data according to claim 1, characterized in that: Step S4 specifically includes the following sub-steps: S41. Match the required top-level elements according to the document type, and determine the current stage based on the stage-specific condition constraint model, and dynamically screen the associated sub-elements; S42. Use the tree structure division model to traverse the XML data, call the multi-branch process model to select the optimal branch, and weighted integrate the text, picture and table information through the multi-modal fusion model; S43. Combine XSD to verify the data integrity, and rely on the unique identifier mapping model to ensure the number consistency, so that the structured data is converted into a normalized document to generate the target document.
3. The document generation method based on modular division of XML aircraft technical data according to claim 1, characterized in that: Step S2 specifically includes the following sub-steps: S21. For <cominf>The data of the elements is divided using a tree - structured partitioning model. <cominf>The element includes the program name <tle>, Picture <fig>, Picture group <figalts>And remarks information <not> ;< / not> < / figalts> < / fig> < / tle> < / cominf> < / cominf> S22. For <prerqmts>The data of the element is divided using a tree structure partitioning model. <prerqmts>The element includes the basic information required for program planning and preparatory tasks <promada>, Required conditional information <rqcongr>, Information of Required Personnel <rqper>, Required technical materials <rqtigr>, Information on all supported devices to be listed <rqsueq>, Required consumable information <rqsl>Information on all spare parts required for the process <rqsp>and the required safety requirement information <rqsy> ;< / rqsy> < / rqsp> < / rqsl> < / rqsueq> < / rqtigr> < / rqper> < / rqcongr> < / promada> < / prerqmts> < / prerqmts> S23. For <maprodu>The data of the elements is divided using a tree - structured partitioning model. <maprodu>The element includes first program step information <produste>, Second program step information <muldia>, Picture information of the main program <fig>and the table information in the main program <tab> 。< / tab> < / fig> < / muldia> < / produste> < / maprodu> < / maprodu> 4. The document generation method based on modular division of XML aircraft technical data according to claim 3, wherein: Step S21 specifically includes the following sub-steps: S211. Set the program name <tle>Divided into two sub-elements, namely the specific names <na>and unique identification number <idnum>, the specific name of the program corresponds to the unique identification number one by one;< / idnum> < / na> < / tle> S212. The picture of the program general information <fig>Divided into three sub-elements, namely the picture title <tle>, External entity reference <grap>And a legend or list of explanations <leg> ;< / leg> < / grap> < / tle> < / fig> S213. The picture group of program general information <figalts>Use the set element expansion model;< / figalts> S214. The remarks of the program general information <not>Divided into two sub-elements, namely additional symbol information <symbol>and explanatory information <notpar> ;< / notpar> < / symbol> < / not> S215. Describe the paragraph information of the program general information <par>Divided into two sub-elements, namely the first paragraph information <subsc>and second paragraph information <supsc> ;< / supsc> < / subsc> < / par> S216. Combine the description paragraphs of the program general information <comidp>Divided into three sub-elements, namely paragraph information <par>, Paragraph picture <fig>And paragraph table <tab> 。< / tab> < / fig> < / par> < / comidp> 5. The document generation method based on modular division of XML aircraft technical data according to claim 1, characterized in that: Step S22 specifically includes the following sub-steps: S221. The basic information required for the program plan and preparation tasks <promada>Subdivision is carried out using a functional decomposition model and divided into sub-elements <thint> 、 <workalgr>and <taskdur>, among which <thint>Store the threshold interval information related to the stored program task; <workalgr>Store working area information, <workalgr>Further divided into <zorf> 、 <acprf>and <acprf>Three sub-elements, storing partition, access point, and precise location information respectively; <taskdur>It is the duration information of the program task, <taskdur>Further divided according to time information <uom> 、 <sudur> 、 <produr>And <clodur> ;< / clodur> < / produr> < / sudur> < / uom> < / taskdur> < / taskdur> < / acprf> < / acprf> < / zorf> < / workalgr> < / workalgr> < / thint> < / taskdur> < / workalgr> < / thint> < / promada> S222. Include any necessary conditional information <rqcongr>Divided into sub-elements <nocd>And <rqcdnr>, use the condition decision matrix model to mark and store the operation or condition information of the program;< / rqcdnr> < / nocd> < / rqcongr> S223. Include information about the personnel required for the task <rqper>Divided into personnel grouping information <perl>Skills information required when specifying individuals separately <per> ;< / per> < / perl> < / rqper> S224. Required technical documents <rqtigr>in <rqti>Associate and store the required technical data information using the information resource association model; the information including all the support devices to be listed <rqsueq>Divided into two sub-elements <nosueq>And <sueqdg>, and use the device status identification model to clarify whether the device needs to be supported and the detailed description of the device;< / sueqdg> < / nosueq> < / rqsueq> < / rqti> < / rqtigr> S225. Provide the required consumable information <rqsl>Divided into two sub-elements <nosleq>And <sldg>, and use the consumable demand marking model to clarify the consumable demand and instructions; the information of all spare parts required for the process <rqsp>Divided into two sub-elements <nosp>And <spdg>, and use the spare part information marking model to clarify the requirements and related information of the spare parts;< / spdg> < / nosp> < / rqsp> < / sldg> < / nosleq> < / rqsl> S226. Provide the required safety requirement information <rqsy>Divided into four sub-elements <nosy> 、 <warn> 、 <caut>and <fnot>, and use the security information hierarchical model to divide the security information into multiple levels.< / fnot> < / caut> < / warn> < / nosy> < / rqsy> 6. The document generation method based on modular division of XML aircraft technical data according to claim 5, characterized in that: In step S221, the spatial position vector model is used to represent the work area information in the form of a three-dimensional spatial vector. The spatial position vector model can perform complex spatial operations and represent the work area information workALGr with a three-dimensional vector: Among them, x zoRf , y acPRf , z acPRf correspond to the partition, access point, and precise position coordinates respectively. The subscripts zoRf and acPRf refer to the zone reference and precise position reference respectively. This model can perform spatial data storage and transform the original vector through the transformation matrix T ∈ R 4×4 into a spatial position vector In step S223 <perl>The element is divided into two sub-elements <percg>And <persk>, and use the personnel grouping and skill matrix model to clarify the personnel category and skill level; use the personnel skill vector model to describe the skill requirements of individual personnel;< / persk> < / percg> < / perl> In step S226, the multiple levels include whether safety requirements, warning information, attention information and footnotes are required.
7. The document generation method based on modular division of XML aircraft technical data according to claim 3, wherein: Step S23 specifically includes the following sub-steps: S231. Transfer the first program step information <produste>Subdivide using the process node decomposition model, where <tle>For node title, <warn>And <caut>For the security information of the node, <cirbdgr>For checklist information, <muldia>For multimedia information, <par>For paragraph description, <fig>For picture information, <tab>For table information;< / tab> < / fig> < / par> < / muldia> < / cirbdgr> < / caut> < / warn> < / tle> < / produste> S232. Transfer the second program step information <muldia>of <tle>and <multimediaobject>The child element uses a multimedia information optimization model to provide a detailed description of the title, parameters, and reasons for changes to the multimedia information; multiple alternatives for program steps with different applicability <produstea>in <produste>The sub-elements adopt a multi-branch process model to store the program step information with different applicability;< / produste> < / produstea> < / multimediaobject> < / tle> < / muldia> S233. Picture information of the main program <fig>Multiple alternatives of images with different applicability <figalts>Use the image group management model to centrally manage and use different pictures; the folded picture group of program general information <foldt>of <tab>and <fig> / <figalts>The sub-elements use the folding information model to store and manage the table and picture information in the folding picture group;< / figalts> < / fig> < / tab> < / foldt> < / figalts> < / fig> S234. Transfer the table information in the main program <tab>of <tle> 、 <grap>And <tgr>The sub-elements define the title, external reference and attributes of the table through the table attribute definition model.< / tgr> < / grap> < / tle> < / tab> 8. The document generation method based on modular division of XML aircraft technical data according to claim 7, characterized in that: In step S232, the multi-branch process model introduces time series and stochastic processes, which can optimize long-term decisions, and is specifically expressed as: Among them: The optimal branch process index Branch(k) selected in the k-th step is determined by the maximum expected value among i alternative branches. Here, γ is the discount factor that controls the decay of the return weight, and the branch The return function at time t Achieve multi-objective balance of security, execution efficiency, and resource cost through weights α, β, and γ.
9. A document generation system for the document generation method based on modular division of XML aircraft technical data according to any one of claims 1-8, characterized in that: It includes a top-level element determination unit, a tree structure division unit, <clorqmts>Element division unit and target document generation unit;< / clorqmts> The top-level element determination unit is used to determine top-level elements, and the top-level elements include four types of elements, namely program general information <cominf>Conditions that elements and main program elements should satisfy <prerqmts>Element, main program information <maprodu>Element and closing work requirement information <clorqmts>Element;< / clorqmts> < / maprodu> < / prerqmts> < / cominf> The tree structure division unit is used to construct a tree structure division model, and based on the tree structure division model, the program general information <cominf>Conditions that elements and main program elements should satisfy <prerqmts>Element, main program information <maprodu>Divide the elements;< / maprodu> < / prerqmts> < / cominf> The <clorqmts>The element division unit is used to <clorqmts>The element application stage-specific conditional constraint model is defined <clorqmts>The uniqueness of the element as the closing work condition information;< / clorqmts> < / clorqmts> < / clorqmts> The target document generation unit is used to implement the dynamic generation of the target document through a requirement-driven mechanism.
10. A document generation system for the document generation method based on modular division of XML aircraft technical data as described in claim 9, characterized in that: It further includes a computer device, which is capable of storing the top-level element determination unit, the tree structure division unit, <clorqmts>Element division unit and target document generation unit.< / clorqmts>