Method for nondestructively converting AADL (architecture analysis and design language) into XML (extensible markup language)

A conversion and model conversion technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve the problems of missing information, not conversion, etc.

Inactive Publication Date: 2014-05-14
NORTHWESTERN POLYTECHNICAL UNIV
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Moreover, these conversions have more or less lost the in...

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for nondestructively converting AADL (architecture analysis and design language) into XML (extensible markup language)
  • Method for nondestructively converting AADL (architecture analysis and design language) into XML (extensible markup language)
  • Method for nondestructively converting AADL (architecture analysis and design language) into XML (extensible markup language)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0051] Embodiment: Take the serialization of AADL as an example.

[0052] 1. General overview of the tools used: the overall framework of the model conversion tool is as follows figure 1 As shown, the conversion tool is based on the Xtext plug-in and EMF plug-in of eclipse. To complete the tool, it is necessary to define the main grammar of AADL in Xtext, define the ecore meta-model of AADL in EMF, and implement grammar-to-meta in the normal grammar defined by Xtext. Ecore model mapping, so as to convert the AADL model conforming to the AADL grammar into an object model conforming to the AADL ecore meta-model specification, and then use the EMF solidification mechanism to solidify the converted object model, thereby converting AADL into XML. The conversion process is as follows figure 2 shown.

[0053] 2. The ecore metamodel of AADL: AADL language is a language with a relatively complex grammatical structure. According to the characteristics of the conversion tool, the metam...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a method for nondestructively converting AADL (architecture analysis and design language) into XML (extensible markup language), and belongs to the field of language conversion technologies. The method includes converting an AADL description model into an XML format; describing grammar of the AADL by the aid of Xtext; describing a meta model of the AADL by the aid of an EMF (ellipse modeling framework); creating mapping relations among the grammar of the AADL and the meta model of the AADL in the Xtext so as to convert the AADL model into an object model; fixing the object model into an XML format by the aid of a fixing mechanism provided by the EMF and storing the XML format. The method has the advantages that a special tool for serializing models can be designed by the aid of the method step by step, so that model files represented by ASCII (American standard codes for information exchange) can be converted into XML files, model information can be conveniently read by other tools, and a foundation can be laid for heterogeneous model interaction, model analysis and simulation.

Description

technical field [0001] The invention relates to a method for converting AADL into XML losslessly, and belongs to the technical field of language conversion. Background technique [0002] Architecture Analysis and Design Language (AADL) is an aviation standard issued by the American Society of Automation Engineers - AS5506. AADL is widely used in the design and development of various complex embedded real-time systems, such as aerospace, automotive electronics, etc.; it is considered to be the basis for model-driven design and development of embedded real-time systems. However, the tools for analyzing and simulating directly for AADL are still very limited. If a developer wants to analyze and simulate a specific attribute of the AADL model, there are only two options: one is to write an analysis and simulation specifically for the AADL model. tools; the other is to convert the AADL model into other types of models, and then directly use the ready-made analysis and simulation...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30G06F9/44
CPCG06F16/88
Inventor 周兴社孙中豪杨刚高荣杨亚磊
Owner NORTHWESTERN POLYTECHNICAL UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products