当前位置>主页 > 期刊在线 > 信息技术 >

信息技术2020年5期

​基于规则引擎的机票售后系统设计
黄烈甫
(上海千杉网络技术发展有限公司,上海 201203)

摘  要:机票售后系统中费用的计算与航空公司销售策略紧密结合,业务相对稳定,规则调整频繁,规则数量逐年增大,管理和维护比较困难。结合系统原始规则运算机制,参考主流的 Drools 规则引擎特点,重新设计了适合业务要求的机票售后管理引擎。系统通过规则元数据的配置,树形结构的规则存储,结合规则执行流程,利用 JVM 对 Groovy 代码的支持得以实现。该系统实现了方便、高效、灵活的机票售后业务更新,降低了售后规则管理难度,提高了工作效能。


关键词:机票售后管理;规则引擎;信息系统



中图分类号:TP311.5         文献标识码:A         文章编号:2096-4706(2020)05-0008-04


Design of Air Tickets After-sales System Based on Rule Engine

HUANG Liefu

(Shanghai Qianshan Network Technology Development Co.,Ltd.,Shanghai 201203,China)

Abstract:The calculation of the cost in the civil aviation after-sales system is closely combined with sales strategy of the airline companies. The business is relatively stable,the rules are adjusted frequently,the number of rules is increased year by year,so that the management and maintenance of the rules are difficult. This paper redesigns the management engine suitable for the business requirements of the airline companies,combining the original rule mechanism of the system,refering to characteristics of the popular rule engine Drools. The redesigned air ticket after-sales management engine is suitable for the business requirements. Through the configuration of rule metadata,the rule storage of tree structure,and the rule execution process,the system uses the JVM to support Groovy code. The system realizes convenient,efficient and flexible after-sales business update of air tickets,reduces the difficulty of after-sales rule management,and improves work efficiency.

Keywords:after-sales management of air ticket;rule engine;information system


参考文献:

[1] 宋加强 . 我国民航客运机票定价研究 [D]. 北京:对外经济贸易大学,2014.

[2] 李国乐 .Java 规则引擎与其 API(JSR-94) [EB/OL].(2005-07-01)[2019-12-26].https://www.ibm.com/developerworks/cn/java/j-java-rules/.

[3] 张宁 . 从 0 到 1:构建强大且易用的规则引擎 [EB/OL].(2017-06-09)[2019-12-22].https://tech.meituan.com/maze_framework.html.

[4] 汪成亮,温鑫 . 智能环境下分布式 Rete 算法 [J]. 计算机应用,2016,36(7):1893-1898.

[5] 周里程,熊碧辉,裘瑞清,等 .Drools 规则引擎的发展及应用 [J]. 电子技术与软件工程,2017(21):62-63.

[6] 孙新,严西敏,尚煜茗,等 . 一种基于共享度模型的改进Rete 算法 [J]. 自动化学报,2017,43(9):1571-1579.

[7] 余军阳,曹世华,朱骏,等 . 基于权重优先的业务规则引擎应用 [J]. 计算机应用,2015,35(S1):174-177+182.

[8] 李春芳,谭庆平 . 面向业务的 Drools 规则引擎改进 [J].计算机应用与软件,2015,32(5):20-23+29.


作者简介:黄烈甫(1982.09-),男,汉族,四川隆昌人,软件工程师,硕士,研究方向:大数据应用、分布式计算、软件工程。