一种通用状态机引擎设计与应用  

Design and Application of a Universal State Machine Engine

在线阅读下载全文

作  者:李林[1] 代强[1] 段翰聪[1] 聂晓文[1] 

机构地区:[1]电子科技大学计算机科学与工程学院,成都611731

出  处:《实验科学与技术》2012年第6期26-30,共5页Experiment Science and Technology

基  金:国家科技重大专项项目资助(2010ZX03004-001-02;2011ZX03002-003-02;20122012ZX03002-004-004);广东省部产学研重大基金项目资助(2010A090200082)

摘  要:易复用的软件框架可降低软件维护成本并提高开发效率。基于层次状态机,设计并实现了一个面向对象的高扩展、易复用的状态机引擎。它采用基于事件驱动的状态驱动模型,提供资源管理、异常处理以及一个基于模版的代码生成器。文中首先介绍了状态机引擎的整体框架设计,然后描述并实现了引擎框架中采用的关键机制,最后将其应用到实际项目中。An easily reusable software framework can reduce software maintenance costs and improve development efficiency. Based on hierarchical state machine, a highly scalable, object-oriented, reusable state machine engine is designed and implemented which is based on event-driven model, with resources management, exception handling, and a template-based code generator. In this paper, the overall framework of the state machine engine and the key mechanism used are described in details. In the end, the framework is applied to a real project.

关 键 词:软件框架 复用技术 层次状态机 面向对象 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象