CN117669540A - Product standard file processing method based on XML language - Google Patents

Product standard file processing method based on XML language Download PDF

Info

Publication number
CN117669540A
CN117669540A CN202311660037.2A CN202311660037A CN117669540A CN 117669540 A CN117669540 A CN 117669540A CN 202311660037 A CN202311660037 A CN 202311660037A CN 117669540 A CN117669540 A CN 117669540A
Authority
CN
China
Prior art keywords
product
technical
xml
index
standard
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.)
Pending
Application number
CN202311660037.2A
Other languages
Chinese (zh)
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.)
Shenyang Aircraft Design and Research Institute Aviation Industry of China AVIC
Original Assignee
Shenyang Aircraft Design and Research Institute Aviation Industry of China AVIC
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 Shenyang Aircraft Design and Research Institute Aviation Industry of China AVIC filed Critical Shenyang Aircraft Design and Research Institute Aviation Industry of China AVIC
Priority to CN202311660037.2A priority Critical patent/CN117669540A/en
Publication of CN117669540A publication Critical patent/CN117669540A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application belongs to the technical field of product standard file processing, and particularly relates to a product standard file processing method based on an XML language.

Description

Product standard file processing method based on XML language
Technical Field
The application belongs to the technical field of product standard file processing, and particularly relates to a product standard file processing method based on an XML language.
Background
In general, in product standard documents, standard clauses require conciseness and refinement, resulting in a large number of cross-references and secondary references between standard documents.
The standard files of the current product mainly exist in a simple text form, interoperability is lacking among the standard files, technicians are faced with great challenges in searching required contents, tracking the latest version of the standard files, choosing to implement correct standards in work and the like, and under the condition that the technicians do not know the general view of the standard of the product, lack knowledge of relevant standard information and have no clear association relation among the standards, the selection of the standards is at great risk.
The present application has been made in view of the existence of the above-mentioned technical drawbacks.
It should be noted that the above disclosure of the background art is only for aiding in understanding the inventive concept and technical solution of the present application, which is not necessarily prior art to the present application, and should not be used for evaluating the novelty and creativity of the present application in the case where no clear evidence indicates that the above content has been disclosed at the filing date of the present application.
Disclosure of Invention
It is an object of the present application to provide a method for processing standard documents of products based on XML language, which overcomes or alleviates the technical drawbacks of at least one aspect known to exist.
The technical scheme of the application is as follows:
a method for processing a product standard file based on XML language comprises the following steps:
step one, building a product technical index data model:
technical indexes of products are combed and analyzed, and an XML editing tool is used for establishing a product technical index data model;
the information composition, attribute relation, necessity, constraint and value range of the product technical index are defined in the product technical index data model, and the product technical index data model comprises standard file information and product information, wherein the standard file information comprises a standard file number and a standard file name, and the product information comprises a product name, a higher-level product name and a technical index;
step two, extracting technical contents from the product standard file:
extracting technical contents in aspects of product capability/function, performance, general quality characteristics, interfaces, verification information, packaging, transportation, storage and the like in each product standard file one by one, and sequentially inputting the technical contents into corresponding XML labels in a product technical index data model to form an instantiated XML document;
step three, checking the instantiated XML document:
checking the instantiated XML document to verify whether the XML document is valid in data and good in format;
if the verification is not passed, the instantiated XML document is revised again;
step four, creating a product technical index database:
and importing the instantiated XML documents into the relational data in batches to form a structured, parameterized and patterned technical index database.
According to at least one embodiment of the present application, in the above method for processing a product standard file based on XML, in step one, a product technical index data model is established, where the technical index includes an index name, an associated superior index name, an index chapter number, an index technical requirement, an index numerical value, an index measurement unit, a verification method chapter number, an identification test method, a first-part inspection method, a quality consistency inspection method, and the like.
According to at least one embodiment of the present application, in the above method for processing a product standard file based on XML, in step three, an instantiated XML document is checked, and an instantiated XML document is automatically checked using a file definition rule in XSD format, where the check content includes a structure of elements and attributes, an order of elements, data values (ranges) of elements and attributes, and uniqueness of values in an instance.
The application has at least the following beneficial technical effects:
the method for processing the standard document of the product based on the XML language is provided, the structural analysis and extraction of standard data are carried out, and the form of standard specification is improved, so that the standard specification can be matched with the existing informatization technology, the interoperability of the standard specification can be improved, the application mode of the standard specification is changed, the structure of the dataized standard specification is uniform, the use is convenient, and the implementation efficiency and effect of the standard specification can be improved. The technical staff can adopt standard data according to the required format at any time, the standard data can be conveniently combined with the requirement definition and the product design data and transmitted step by step along a supply chain, and the standard digitization and intelligent application is realized.
Drawings
FIG. 1 is a schematic diagram of a method for processing a product standard file based on XML language according to an embodiment of the present application;
fig. 2 is a schematic diagram of a product technical index database according to an embodiment of the present application.
Detailed Description
In order to make the technical solution of the present application and the advantages thereof more apparent, the technical solution of the present application will be more fully described in detail below with reference to the accompanying drawings, it being understood that the specific embodiments described herein are only some of the embodiments of the present application, which are for explanation of the present application, not for limitation of the present application. It should be noted that, for convenience of description, only the portion relevant to the present application is shown in the drawings, and other relevant portions may refer to a general design, and without conflict, the embodiments and technical features in the embodiments may be combined with each other to obtain new embodiments.
Furthermore, unless defined otherwise, technical or scientific terms used in the description of this application should be given the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs. The terms "first," "second," "third," and the like, as used in the description herein, are used for descriptive purposes only and are not to be construed as indicating or implying any particular importance to the various components. The use of the terms "a," "an," or "the" and similar referents in the description of the invention are not to be construed as limited in number to the precise location of at least one. The use of the terms "comprising" or "including" and the like in the description of this application is intended to mean that the concepts preceding the term encompass the concepts listed after the term and equivalents thereof, without excluding other concepts.
In order to enable the product standard file to be used as technical requirement data for item making, support technician to use quickly, the standard clause must be semantically processed, and for this purpose, the application provides a method for processing the product standard file based on XML language, which is described in further detail below with reference to fig. 1-2.
Step one, building a product technical index data model:
and analyzing the common technical indexes of the product, and establishing a product technical index data model by using an XML editing tool.
The product technical index data model is used as a master file for index digital processing, and defines the information composition, attribute relation, necessity, constraint and value range of the product technical index, and can mainly comprise standard file information and product information, wherein the standard file information further comprises a standard file number, a standard file name, the product information further comprises a product name, an affiliated superior product name and a technical index, wherein the technical index further comprises an index name, an affiliated superior index name, an index chapter number, an index technical requirement, an index numerical value (range), an index metering unit, a verification method chapter number, an identification test method, a first part inspection method, a quality consistency inspection method and the like.
Step two, extracting technical contents from the product standard file:
technical contents in aspects of product capability/function, performance, general quality characteristics, interfaces, verification information, packaging, transportation, storage and the like in each product standard file are extracted piece by piece and item by item, and are sequentially input into corresponding XML labels in a product technical index data model to form an instantiated XML document.
A new XML document is created for each product standard file, and one product standard file can contain a plurality of products, and one product also contains a plurality of index information.
Step three, checking the instantiated XML document:
and verifying the instantiated XML document based on the rule defined by the product technical index data model to verify whether the XML document is valid in data and good in format.
The product technical index data model can verify the structure of elements and attributes, the sequence of the elements, the data value range of the elements and the attributes, the uniqueness of the instance value and the like.
If the verification is not passed, the instantiated XML document is modified again according to the rules defined by the data model until the instantiated XML document is verified.
The instantiated XML document may be automatically checked using file definition rules in XSD format.
Step four, creating a product technical index database:
and importing the instantiated XML documents into the relation data in batches according to the corresponding mapping rules to form a structured, parameterized and modeled technical index database.
The product technical index database is created and can be constructed according to the general design rules of the relational database.
According to the method for processing the product standard file based on the XML language, disclosed by the embodiment, the technical indexes of the product are analyzed, an XML editing tool is used for establishing a product technical index data model, the product standard is used as a master file for index semantically processing, the standard can be used as technical requirement knowledge for item formation, the standard can be read, identified and processed by a computer, the technical requirements on the aspects of product capability/function, performance, general quality characteristics, interfaces, verification information, packaging, transportation, storage and the like in the product standard file are extracted item by item, semantic tags are marked on the technical requirements, and relatively minimized structured data items are formed, so that a structured, parameterized and patterned database is obtained.
The method for processing the standard document of the product based on the XML language disclosed by the embodiment analyzes and extracts the standard data structure, improves the form of the standard specification, enables the standard specification to be matched with the existing informatization technology, can improve the interoperability of the standard specification, changes the application mode of the standard specification, has uniform structure of the standard specification of the data, is convenient to use, and can improve the implementation efficiency and effect of the standard specification. The technical staff can adopt standard data according to the required format at any time, the standard data can be conveniently combined with the requirement definition and the product design data and transmitted step by step along a supply chain, and the standard digitization and intelligent application is realized.
Having thus described the technical aspects of the present application with reference to the preferred embodiments illustrated in the accompanying drawings, it should be understood by those skilled in the art that the scope of the present application is not limited to the specific embodiments, and those skilled in the art may make equivalent changes or substitutions to the relevant technical features without departing from the principles of the present application, and those changes or substitutions will now fall within the scope of the present application.

Claims (5)

1. The method for processing the product standard file based on the XML language is characterized by comprising the following steps of:
step one, building a product technical index data model:
analyzing the common technical indexes of the product, and establishing a product technical index data model by using an XML editing tool;
information composition, attribute relation, necessity, constraint and value range of the product technical index are defined in the product technical index data model;
step two, extracting technical contents from the product standard file:
extracting technical contents in terms of product capability/function, performance, general quality characteristics, interfaces, verification information, packaging, transportation and storage in each product standard file piece by piece, and sequentially inputting the technical contents into corresponding XML labels in a product technical index data model to form an instantiated XML document;
step three, checking the instantiated XML document:
checking the instantiated XML document to verify whether the XML document is valid in data and good in format;
if the verification is not passed, the instantiated XML document is revised again;
step four, creating a product technical index database:
and importing the instantiated XML documents into the relational data in batches to form a structured, parameterized and patterned technical index database.
2. The method for processing XML-based product standard document according to claim 1, wherein,
in the first step, a product technical index data model is established, wherein the technical index comprises an index name, an index name of the superior level, an index chapter number, an index technical requirement, an index numerical value, an index metering unit, a verification method chapter number, an identification test method, a first piece inspection method and a quality consistency inspection method.
3. The method for processing XML-based product standard document according to claim 1, wherein,
in the first step, a product technical index data model is established, wherein the information composition, attribute relation, necessity, constraint and value range of the product technical index are defined in the product technical index data model, the standard file information and the product information are included, the standard file information includes a standard file number and a standard file name, and the product information includes a product name, an affiliated superior product name and a technical index.
4. The method for processing XML-based product standard document according to claim 1, wherein,
extracting technical contents from the product standard files, extracting the technical contents of the products in each product standard file one by one, and sequentially inputting the technical contents into corresponding XML labels in a product technical index data model to form an instantiated XML document, wherein the instantiated XML document comprises technical contents of the product capability/function, performance, general quality characteristics, interfaces, verification information, packaging, transportation and storage in each product standard file.
5. The method for processing XML-based product standard document according to claim 1, wherein,
and thirdly, checking the instantiated XML document, automatically checking the instantiated XML document by using file definition rules in an XSD format, wherein the check content comprises the structure of elements and attributes, the sequence of the elements, the data values of the elements and the attributes and the uniqueness of the values of the examples.
CN202311660037.2A 2023-12-05 2023-12-05 Product standard file processing method based on XML language Pending CN117669540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311660037.2A CN117669540A (en) 2023-12-05 2023-12-05 Product standard file processing method based on XML language

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311660037.2A CN117669540A (en) 2023-12-05 2023-12-05 Product standard file processing method based on XML language

Publications (1)

Publication Number Publication Date
CN117669540A true CN117669540A (en) 2024-03-08

Family

ID=90084041

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311660037.2A Pending CN117669540A (en) 2023-12-05 2023-12-05 Product standard file processing method based on XML language

Country Status (1)

Country Link
CN (1) CN117669540A (en)

Similar Documents

Publication Publication Date Title
US8005815B2 (en) Search engine
US6889223B2 (en) Apparatus, method, and program for retrieving structured documents
CN101957816B (en) Webpage metadata automatic extraction method and system based on multi-page comparison
US7840891B1 (en) Method and system for content extraction from forms
US20050183002A1 (en) Data and metadata linking form mechanism and method
US20060218160A1 (en) Change control management of XML documents
CN113987212A (en) Knowledge graph construction method for process data in numerical control machining field
CN103440232A (en) Automatic sScientific paper standardization automatic detecting and editing method
WO2010129025A1 (en) Method and system for verifying a citation
CN113177125B (en) Standard knowledge graph construction and standard query method and device
CN106502991B (en) Publication treating method and apparatus
CN113190687B (en) Knowledge graph determining method and device, computer equipment and storage medium
CN103440233A (en) Automatic sScientific paper standardization automatic detecting and editing system
CN111401014A (en) Multi-index multi-dimensional analysis method, system and construction method based on report
CN114330284A (en) Rule model-based automatic insurance clause analysis method
WO2005076900A2 (en) Data and metadata linking form mechanism and method
CN116303641B (en) Laboratory report management method supporting multi-data source visual configuration
CN117669540A (en) Product standard file processing method based on XML language
Cook XML sets stage for efficient knowledge management
CN116010439A (en) Visual Chinese SQL system and query construction method
CN106649219B (en) A kind of telecommunication satellite design document automatic generation method
CN114118098A (en) Contract review method, equipment and storage medium based on element extraction
JP2002297662A (en) Method and device for editing structured document, terminal, and program
CN116976683B (en) Automatic auditing method, system, storage medium and device for contract clauses
CN113760913B (en) Elasticity-extensible equipment cost acquisition method

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