规则引擎在新型农村合作医疗系统中的应用研究
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着计算机技术的发展和用户对软件功能要求的提高,软件规模呈现出越来越大的趋势,迫切需要把应用系统中的业务规则逻辑从应用逻辑中分离出来,以提高软件系统的灵活性和易维护性。因此对基于规则引擎的软件系统的开发进行研究具有实际的意义。
     本文首先对规则引擎技术和当前主流的规则引擎产品进行了简单的介绍,其中重点介绍了JBoss Rules规则引擎。并分析了规则引擎的特点和优势,特别指出了现有规则引擎在业务规则的逻辑制定、维护和用户友好等方面存在的不足。
     然后作者提出了一种基于JBoss Rules的业务规则逻辑解析模型,以解决现有的规则引擎产品在具体应用中的不足。该解析模型利用了JBoss Rules规则引擎技术具有面向对象这一特性,把规则文件抽象为相互依赖的对象关系集,并利用关系数据库作为解析模型和规则文件的桥梁。
     本文最后设计并实现了新型农村合作医疗系统,介绍了系统的体系架构,描述了规则引擎在新农合系统中的应用实现,详细介绍了系统中医疗发票报销规则、解析模型、事实模型等的设计和实现。
With the development of the computer technology and stricter requirement of software, the scale of software is becoming larger and larger, it is urgent to separate the business rule from business logic layer in order to improve flexibility and convenience for maintaining of software. It's of high significance to study software application based on Rule Engine.
     Firstly, this thesis introduces technology and popular products of Rule Engine, and then focuses on JBoss Rules, pointing out advantages and characteristics of Rule Engine, as well as some shortcomings on making, maintaining and user-friendly operating of business rule.
     After that a model of business rule parser based on JBoss Rules is proposed to solve the existing problems in practical application of Rule Engine products. This parser model utilizes Object Oriented characteristic of JBoss Rules, which treats rule file of JBoss Rules as interdependent set of relations among objects, and bridges the gap between the parser model and rule file with relational database.
     At last, we design and realize the Application in the New Rural Areas Cooperative Medical System, introduce the architecture of the system and application of rule Engine in the system and particularly analyze the design and realization of applying for reimbursement of medical invoices, parser model and fact model.
引文
[1]Sun Microsystems,Inc.Java~(TM)Platform,Enterprise Edition 5 Specification.May 8 2006.
    [2]Java Rule Engine API~(TM)JSR-94 Java Community Process.http://java.sun.com/jcp/.
    [3]Ernest.Friedman-Hill.Jess in Action.Manning Pubns Co.
    [4]ILog Business Rules.Http://www.ilog.com.sg/products/businessrules.
    [5]黄皞,潘正运,梁冰等.业务规则引擎Ilog JRules工作引擎的工作机制分析.微计算机信息,2006,22(8):112-114,48.
    [6]ILog Jrules White Paper.Http://www.ilog.com.sg/products/rules/engines/jrules40/.
    [7]JBoss Rules.http://www.jboss.com/products/rules.
    [8]OpenRules.http://openrules.com.
    [9]Mandarax.http://mandarax.sourceforge.net/.
    [10]C.L.Forgy.Rete:A fast algorithm for the many pattern/many object pattern match problem.Artificial Intelligence,Volume 19,Number 1,1982.
    [11]Rete algorithm.http://encyclopedia.thefreedictionary.com/Rete%20algorithm.
    [12]张渊,夏清国.基于Rete算法的JAVA规则引擎.科学技术与工程,2006,6(11):1548-1550.
    [13]intelliRule.http://www.intelliflow.com.cn/Article_Show.asp?ArticleID=154.
    [14]VisualRules For Java.http://www.flagleader.com/cpjs/cpjs.htm.
    [15]Ronald G.Ross.Principles of the Business Rule Approach.Addison-Wesley Pub Co,February 5,2003.
    [16]Tony Morgan.Business Rules and information Systems.Person,3.2002.
    [17]ODL98 James J.Odell 1998.Advanced Object-Oriented Analysis & Design Using UML Cambridge University Press.
    [18]刘冉.基于EPABP业务规则系统的构建研究.山东大学,20060408.
    [19]MYCIN:A Quick Case Study.http://www.cee.hw.ac.uk/~alison/ai3notes/section2_5_5.html.
    [20]Malcolm Chisholm.How to Build a Business Rules Engine.BOSTON:ELSEVIER 2004.
    [21]Mark Proctor,Michael Neale,Michael Frandsen.Drools Documentation,JBoss Rules.
    [22]李德泉,刘远航,周毅等.一个基于Rete算法的可视化产生式系统.辽宁师范大学学报(自然科学版),2002,25(1):27-30.
    [23]庞伟正,金瑞琪,王成武.一种规则引擎的实现方法.哈尔滨工程大学学报,2005,26(3):385-389.
    [24]Ronald G.Ross.Expressing business rules.2000,29:515-516.
    [25]Terry Moriarty.Business Rules Grammar Part 1.The Data Administration Newsletter, April 1,2002.
    [26]Terry Moriarty.Business Rules Grammar Part 2.The Data Administration Newsletter,July 1,2002.
    [27]Terry Moriarty.Business Rules Grammar Part 3.The Data Administration Newsletter,January 1,2003.
    [28]Herbst H.Business Rules In Systems Analysis:A Meta-Model and Repository System,Information System,1996,21(2):147-166.
    [29]梁冰.业务规则成资产[N].计算机世界,2004,(14):84-85,B10.
    [30]何仁杰,梁冰.用规则引擎替换代码[N].计算机世界,2004,(14):B6-B7.
    [31]Von Halls.B.Making Business Rules Real[J].Database Programming Design 1993.
    [32]P.Browne.Using Drools in your enterprise java application.HTTP://www.onjava.corn/pub/a/onjava/2005/08/24/drools.html.08/005.
    [33]张剑,孟波.基于规则引擎的一种智能工作流系统研究.计算机工程与设计,2006,27(14):2591-2593.
    [34]刘伟.Java规则引擎-Drools的介绍及应用.微计算机应用,2005,26(6):717-721.
    [35]师艳辉,庄越挺,施坚强.基于Java的业务规则管理系统设计和开发.计算机应用与软件,2006,23(1):15-16,19.
    [36]刘君瑞,陈颖图,冯萍等.基于类自然语言的图形化工作流规则引擎.微电子学与计算机,2004,21(10):144-146.
    [37]张斌,高全杰,应保胜等.实例推理和规则推理在实例修改中的应用.计算机工程,2005,31(13):156-158.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700