摘要
分析了传统以代码为中心的嵌入式数控系统(computer numeric control,CNC)开发的缺点之后,提出了融合模型驱动和特定领域建模的优点的基于模型驱动的嵌入式系统开发(embedded CNC development based on model driven,ENDED)方法,该方法以模型为中心,主要包括领域建模语言构建、模型转换和代码自动生成三个部分。随后介绍了基于多视角的元模型建模方法,用该方法构建的领域建模语言能对CNC系统以全面和真实的描述。最后详细介绍了基于领域类库的代码自动生成器技术,并以一个实例演示了ENDED方法的正确性和可行性。
After the shortcomings of traditional code-centric development process for embedded computer numeric control(CNC) was analyzed, a new approach embedded CNC development based on model driven (ENDED) was presented, which enjoyed the advantages of model-driven development (MDD) and domain specific modeling (DSM). Three parts of this model-based methodology was then introduced including construction of domain modeling language, model transformation and code auto-generation from domain model. Multi-view based meta-modeling method was employed to construct the domain modeling language, which was used to describe a comprehensive and truthful description of CNC system. In the end, code auto generator based on domain library to improve the productivity was described in details and an illustrative example shows the feasibility of ENDED.
出处
《仲恺农业技术学院学报》
2008年第4期36-40,共5页
Journal of Zhongkai Agrotechnical College
基金
Supported by the research fund of Zhongkai University of Agriculture and Engineering(G3081804)
关键词
模型驱动
特定领域建模
数控系统
建模语言
model-driven
domain specific modeling
computer numeric control
modeling language