規(guī)則自動生成技術(shù)研究及其在醫(yī)保審核中的應用
本文選題:規(guī)則引擎 切入點:規(guī)則描述語言 出處:《電子科技大學》2017年碩士論文 論文類型:學位論文
【摘要】:目前,越來越多的軟件系統(tǒng)使用規(guī)則引擎技術(shù)來實現(xiàn)業(yè)務功能,將業(yè)務規(guī)則從業(yè)務邏輯中分離出來,作為軟件系統(tǒng)的動態(tài)可配置腳本。但是多數(shù)軟件的業(yè)務規(guī)則必須由開發(fā)人員翻譯為相應規(guī)則描述語言之后,才能被規(guī)則引擎理解和執(zhí)行,因此新規(guī)則仍要通過開發(fā)人員學習理解,并編碼、測試通過之后才能生效,同時業(yè)務規(guī)則也失去了保密性,于是業(yè)務用戶更加希望實現(xiàn)規(guī)則的自動生成——即無需開發(fā)人員直接參與,通過簡單易用的人機界面獨立完成業(yè)務規(guī)則的生成和維護。本文基于Drools規(guī)則引擎設計了一種服務于業(yè)務人員的Ginkgo規(guī)則生成框架,作為業(yè)務系統(tǒng)中規(guī)則生成界面與規(guī)則引擎的中間件。Ginkgo框架由一種專用的規(guī)則描述語言GRL和解釋器,以及一套用于提高Drools易用性的規(guī)則服務API組成。GRL基于抽象語法樹和JSON數(shù)據(jù)交換格式設計實現(xiàn),支持文本、數(shù)值、布爾、日期、時間和時間戳等6種數(shù)據(jù)格式,定義了常量、變量、函數(shù)、規(guī)則動作、規(guī)則和規(guī)則包等語法元素。GRL負責業(yè)務規(guī)則的表達和存儲,但在運行時仍需解析為Drools原生規(guī)則描述語言DRL才能由引擎編譯和執(zhí)行,這一解析工作由GRL解釋器完成。解釋器基于JSON工具軟件實現(xiàn),首先按照GRL語法提取出全部規(guī)則元素,再根據(jù)DRL語法將它們組合為規(guī)則腳本,并補充必要的DRL語言成份。規(guī)則服務API對Drools的相關(guān)功能進行了封裝,以簡化業(yè)務規(guī)則的加載、編譯和執(zhí)行等操作。Ginkgo框架被實際應用于某醫(yī)保審核項目,完成了全部元規(guī)則和復合規(guī)則的實現(xiàn),經(jīng)過實際測試,其功能邏輯和可用性得到了驗證。其中,元規(guī)則是指條件中只含有單一邏輯的規(guī)則,復合規(guī)則的條件則由任意嵌套的組合邏輯構(gòu)成。審核業(yè)務中還存在流程性的規(guī)則,Ginkgo框架能夠支持線性的規(guī)則流,但尚無法實現(xiàn)包含復雜分支的規(guī)則流,這是后續(xù)研究待突破的主要方向。同時Ginkgo框架對Drools功能的支持仍不夠全面,也有待進一步提高。
[Abstract]:At present, more and more software systems use rule engine technology to achieve business functions, separating business rules from business logic. As dynamic configurable scripts for software systems, however, most business rules of software must be translated by developers into the corresponding rule description language before they can be understood and executed by the rules engine. So the new rules still have to be learned by developers, coded, tested before they come into effect, and business rules lose confidentiality. So business users want to automate the generation of rules-that is, without the direct involvement of developers, The generation and maintenance of business rules are accomplished independently by a simple and easy-to-use man-machine interface. Based on the Drools rule engine, a framework of Ginkgo rule generation for business people is designed in this paper. As a rule generation interface and rule engine in business system, the middleware. Ginkgo framework consists of a special rule description language (GRL) and an interpreter. And a set of rule service API components used to improve the usability of Drools. GRL based on abstract syntax tree and JSON data exchange format design implementation, support text, numeric value, Boolean, date, time and time stamp, 6 data formats, defined constant, The syntax elements, such as variables, functions, rule actions, rules and rules packages, are responsible for the representation and storage of business rules, but at runtime they still need to be parsed into the Drools native rule description language DRL to be compiled and executed by the engine. This parsing is done by the GRL interpreter, which is based on the JSON tool software. Firstly, all the rule elements are extracted according to the GRL syntax, and then combined into regular scripts according to the DRL syntax. The rule service API encapsulates the related functions of Drools to simplify the operation of loading, compiling and executing business rules. The framework of Ginkgo is applied to a medical insurance audit project. The implementation of all meta-rules and composite rules has been completed, and the functional logic and usability of the meta-rules have been verified by practical tests. Among them, meta-rules refer to rules that contain only a single logic in a condition. The condition of composite rules is composed of arbitrary nested combinational logic. The Ginkgo framework can support linear rule flow, but it can not implement rule flow with complex branches. At the same time, the support of Ginkgo framework for Drools function is still not comprehensive enough, and need to be further improved.
【學位授予單位】:電子科技大學
【學位級別】:碩士
【學位授予年份】:2017
【分類號】:F842.684;R197.1;TP311.52
【相似文獻】
相關(guān)期刊論文 前10條
1 吳勇軍;李勇;甘路明;李玲鞠;;基于規(guī)則引擎的智能決策支持系統(tǒng)開發(fā)[J];電腦學習;2009年01期
2 劉理樵;;二叉比較樹實現(xiàn)規(guī)則引擎的實踐[J];程序員;2010年08期
3 劉亞琴;譚一兵;;基于規(guī)則引擎的應用程序開發(fā)[J];邵陽學院學報(自然科學版);2006年02期
4 彭磊;;規(guī)則引擎原理分析[J];福建電腦;2006年09期
5 陶曉俊;朱敏;;基于規(guī)則引擎的企業(yè)服務開發(fā)模式[J];計算機技術(shù)與發(fā)展;2008年02期
6 王文平;唐磊;;規(guī)則引擎及其在審批業(yè)務中應用[J];計算機與信息技術(shù);2008年10期
7 王曉光;楊丹;;規(guī)則引擎在分布式環(huán)境下應用的研究[J];計算機應用研究;2009年05期
8 吳素全;;市場營銷規(guī)則引擎的分析與設計[J];現(xiàn)代計算機(專業(yè)版);2009年12期
9 丁淵;;規(guī)則引擎技術(shù)分析及在電信計費系統(tǒng)中的應用[J];郵電設計技術(shù);2011年07期
10 張哲;李敏波;陳光雨;;基于規(guī)則引擎的電子采購逆向競拍的研究[J];計算機工程與科學;2012年03期
相關(guān)會議論文 前10條
1 高小明;葉茂盛;李紅燕;楊冬青;;面向信息系統(tǒng)的業(yè)務規(guī)則引擎[A];第二十屆全國數(shù)據(jù)庫學術(shù)會議論文集(技術(shù)報告篇)[C];2003年
2 鄒正武;譚慶平;徐建軍;;基于規(guī)則引擎的柔性工作流管理系統(tǒng)[A];2006年全國開放式分布與并行計算機學術(shù)會議論文集(三)[C];2006年
3 Ophelia QPYin;Brian Tomlinson;Mary MY Waye;Albert HL Chow;Moses SS Chow;;Application of a pharmacokinetic-genomic approach to study herb-drug interactions: preliminary investigation using ginkgo biloba[A];中國藥理學會第八次全國代表大會暨全國藥理學術(shù)會議論文摘要匯編[C];2002年
4 Ophelia QP Yin;Brian Tomlinson;Mary MY Waye;Albert HL Chow;Moses SS Chow;;Application of a pharmacokinetic - genomic approach to study herb - drug interactions: preliminary investigation using ginkgo biloba[A];中國藥理學會第八次全國代表大會論文摘要集(第一部分)[C];2002年
5 王,
本文編號:1561272
本文鏈接:http://www.sikaile.net/jingjilunwen/bxjjlw/1561272.html