首页 | 本学科首页   官方微博 | 高级检索  
     

面向MDA的业务逻辑模型到代码的转换方法研究
引用本文:王金恒,王普,李亚芬.面向MDA的业务逻辑模型到代码的转换方法研究[J].计算机技术与发展,2012(11):36-40.
作者姓名:王金恒  王普  李亚芬
作者单位:北京工业大学电子信息与控制工程学院,北京100124
基金项目:国家自然科学基金(61174109)
摘    要:业务逻辑自动生成是代码自动生成领域中一个匾待解决的问题。为了解决这个问题,分析了业务逻辑难于生成的原因,在MDA的基础上引入产生式规则的思想,研究PSM模型到代码的转换过程。提出一种基于产生式规则的建模方法对逻辑中业务规则及业务流程进行建横,并基于产生式系统原理,对代码生成器进行设计与实现。基于本方法实现的代码生成器,实现了业务规则及业务流程模型到代码的转换,使目标代码业务逻辑与数据分离,一定程吱上解决了业务逻辑代码自动生成问题。

关 键 词:代码转换  业务逻辑  产生式规则

Research on Conversion Method of Business Logic Model to Code Faced MDA
WANG Jin-heng,WANG Pu,LI Ya-fen.Research on Conversion Method of Business Logic Model to Code Faced MDA[J].Computer Technology and Development,2012(11):36-40.
Authors:WANG Jin-heng  WANG Pu  LI Ya-fen
Affiliation:(Electronic Information and Control Engineering College, Beijing University of Technology,Beijing 100124, China)
Abstract:Generating business logic automatically is an urgent problem in code automatically generated fields. In order to solve the prob- lem of business logic generated automatically, analyze the reason of the difficulty to generate the business logic, and introduce the thought of production rules based on MDA to study the transformation process of PSM to code. Propose a modeling method based on production rules to the business rules and workflow of business logic, and design and implement code generator based on the principle of the produc tion rule systems. Code generator based on this method achieves the transformation of business rules and workflow model to the code, re- alize the target code generation of business logic and data separation, solve the business logic code generated automaticalLy to a certain extent.
Keywords:code conversion  business logic  production rules
本文献已被 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号