计算机工程 ›› 2012, Vol. 38 ›› Issue (04): 55-57.doi: 10.3969/j.issn.1000-3428.2012.04.018

• 软件技术与数据库 • 上一篇    下一篇

基于用户定义规则的软件平台研究与设计

肖立中,刘云翔,胡 婷,吴雁林   

  1. (上海应用技术学院计算机科学与信息工程学院,上海 200235)
  • 收稿日期:2011-08-04 出版日期:2012-02-20 发布日期:2012-02-20
  • 作者简介:肖立中(1981-),男,副教授、博士,主研方向:网络异
  • 基金项目:
    上海应用技术学院计算机科学与技术重点学科基金资助项目;上海应用技术学院校内科技发展基金资助项目(KJ2011-03)

Research and Design of Software Platform Based on User-defined Rule

XIAO Li-zhong, LIU Yun-xiang, HU Ting, WU Yan-lin   

  1. (School of Computer Science & Information Engineering, Shanghai Institute of Technology, Shanghai 200235, China)
  • Received:2011-08-04 Online:2012-02-20 Published:2012-02-20

摘要: 软件中的逻辑规则和数据多,对其定义和修改的工作量大。为此,提出一种基于用户定义规则的软件平台。从业务逻辑规则的角度出发,结合软件需求变更的特点,以数据字典、知识仓库和解释器为核心,以软件业务规则灵活化为主要目的,实现不同数据来源和类型规则的管理和解释功能,设计随需应变的软件平台。实验结果表明,该平台的开发和维护效率均较好。

关键词: 用户定义规则, 数据字典, 知识仓库, 解释器, 工厂方法, 软件平台

Abstract: There are lots of rules and data in the logic of software, whose definition and modification are consuming. To overcome the above problems, a software platform based on user-defined rule is proposed in the paper, which can manage and interpret rules in different styles and data from different resources. Aiming at flexibility of software business rules, the platform thinks of rules of business logic, combines the characteristics of changing of software demands and orients modules including data dictionary, knowledge base and interpreter. Through the above research, a software platform convenient for demand changing is implemented which improves the efficiency of development and maintenance for software.

Key words: user-defined rule, data dictionary, knowledge base, interpreter, factory method, software platform

中图分类号: