CN103107895A - Billing business rule engine combined system based on configuration analysis application rules and method thereof - Google Patents

Billing business rule engine combined system based on configuration analysis application rules and method thereof Download PDF

Info

Publication number
CN103107895A
CN103107895A CN2013100095609A CN201310009560A CN103107895A CN 103107895 A CN103107895 A CN 103107895A CN 2013100095609 A CN2013100095609 A CN 2013100095609A CN 201310009560 A CN201310009560 A CN 201310009560A CN 103107895 A CN103107895 A CN 103107895A
Authority
CN
China
Prior art keywords
regulation engine
rule
node
regular
regulation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013100095609A
Other languages
Chinese (zh)
Other versions
CN103107895B (en
Inventor
许兆然
陈义鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou City Biceng Technology Co., Ltd.
KUNSHAN ESEALSBB TECHNOLOGY CO., LTD.
Original Assignee
GUANGZHOU CITY BICENG TECHNOLOGY Co Ltd
KUNSHAN BAIRUN TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GUANGZHOU CITY BICENG TECHNOLOGY Co Ltd, KUNSHAN BAIRUN TECHNOLOGY Co Ltd filed Critical GUANGZHOU CITY BICENG TECHNOLOGY Co Ltd
Priority to CN201310009560.9A priority Critical patent/CN103107895B/en
Publication of CN103107895A publication Critical patent/CN103107895A/en
Application granted granted Critical
Publication of CN103107895B publication Critical patent/CN103107895B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a billing business rule engine combined system based on configuration analysis application rules and a method thereof. The rule engine system comprises a rule management unit, a billing item node management unit, a rule converter, a rule engine database and a rule engine. The billing business rule engine system and the combined method thereof realize decoupling separation of business processes and rules. Further, the system and method has the advantages of being small, flexible, and good in expansibility, difficulty and operation of rule management are simplified, and the system and method can be used in the fields of billing and charging.

Description

A kind of call charge service regulation engine combined system and method thereof based on the Command Line Parsing application rule
Technical field
The present invention relates to computer science software information technical field, relate in particular to a kind of based on the call charge service regulation engine combined system of Command Line Parsing application rule and the method that realizes this combined system.
Background technology
follow developing by leaps and bounds of Computer Network Informatization technology, in order to satisfy industry development, promote the needs of operating efficiency, it is different that computer science and technology is widely used in constructing function in social every field, the Enterprise Informatization system that kind is numerous and diverse, moved at present the operation system that service processing function is provided for the user in a large number on computer network, the user can carry out the multiple business operation in these systems, due among the life cycle of information system, the business demand of enterprise inevitably can change, this in time carries out upgrade maintenance or secondary development to software product with regard to needs.In order to address that need, the business rule assembly, be that Business Rule Engine arises at the historic moment, regulation engine is developed by inference engine, it is a kind of assembly that is embedded in application program, realized operational decision making is separated from application code, and used predefined semantic module to write operational decision making.Accept the data input, explain business rule, and make operational decision making according to business rule.Business Rule Engine can be realized by reduction the complexity of the assembly of complicated business logic, reduces the maintenance and expansion cost of application program, thereby has separation business decision person's business decision logic and the technology decision-making of application developer; Effectively improve the maintainability of the code of realizing complex logic; Repair the code defective between development period or after disposing; Deal with special status, namely the client does not mention at the beginning and service logic will be taken into account; Meet tissue to the multiple technologies advantages such as use of agility or iterative development process.
the above-mentioned many merits of rule-based assembly, diversified regulation engine has been born, as: the ILOG of IBM Corporation, the Drools of JBOSS, Mandarax, JLisa, OpenRules, JEOPS, InfoSapient, JRuleEngine, Roolie etc., the regulation engine of wherein mainly using in this area at present is jboss-rule, the engine of namely explaining based on script, this Business Rule Engine has a technical defective that is difficult to overcome, if namely occur new business in operation system, the developer need to write new business rule and it is joined in Business Rule Engine according to new service needed, because jboss-rule is only a kind of script edit standard, can't be directly used in the expansion of Business Rule Engine rule, cause this regulation engine very flexible, a little less than autgmentability, construction cycle is longer.
For the problems referred to above, some improvement appearred in this area, the service dynamic composition method of the disclosed rule-based engine of Chinese patent application CN201110091936 for example, this technical scheme can improve flexibility and the agility of system aspect new technological process development and maintenance and old system business rules modification two.Although it is convenient and quick that above-mentioned patent has been brought to development and maintenance really, " according to the context data of business rule and rule execution needs; infer the service processing strategy of this service " but for institute's foundation in its technical scheme is subject to " reasoning ", therefore reasoning algorithm is depended in the control of the precision of " reasoning ", perhaps depends on certain several specific strategy.Based on the present situation of present computer realm as can be known, rely on the conclusion that algorithm infers also need check for a long time and prove in true environment fully.
At present, the many new most framework of regulation engine that occurs in the art is comparatively huge and carry XML secretly, introduces XML and has brought convenient and flexibly, still operated XML and relatively easily make mistakes, strengthen formulation, disposed regular difficulty, as regular engines such as JLisa, JBoss Drools; Some regulation engine, used " deduction ", used simultaneously common multiple Design Mode, as MVC, Visitor, Strategy, Facade, FactoryMethod, Observer, the Design Modes such as Iterator (InfoSapient), " backward chaining " (Mandarax) etc., this has just strengthened exploitation or attendant's requirement and technology burden, has increased technical complexity and development cost; The InfoSapient regulation engine of increasing income comparatively widely during at present business is used provides numerous interfaces, makes exploitation and use the technical staff to be required relatively high, is difficult for applying.
In sum, although existing general regulation engine assembly can effectively reduce exploitation, safeguard size of code, the efficient of the regular computing of assurance.It is precipitous that but these regulation engine assembly ubiquities learning curve, the drawback of performance optimization difficulty, and this has just affected the application of regulation engine assembly at industrial circle.
In addition, above-mentioned regulation engine mostly has the generality in use, lacks a regulation engine that is specifically designed to call charge service.The large-scale companies such as China Telecom, China Mobile, CHINAUNICOM are all to adopt the corresponding charge system of independent research, do not possess in the general character in call charge service field.And the network bar paying management system of main flow in the market is also that the business that is planted in the network bar paying business is used, and only supports the Window system not possess flexible, general attribute specification simultaneously.
Summary of the invention
Needs based on prior art, the invention discloses a kind of call charge service regulation engine combined system based on the Command Line Parsing application rule and realize the method for this combined system, it is a kind of charging regulation engine of small and exquisite, light weight, need not numerous and diverse api interface calls, do not rely on reasoning algorithm and draw service strategy, succinct rule invocation is provided, rewrites interface, both satisfied routine use, provide simultaneously comparatively light weight to expand flexibly.Simple and convenient due to what develop, use, safeguard, therefore require relatively low for use, developer.Service dynamic composition method based on the custom rule engine is provided, realizes that operation flow separates with regular decoupling zero.In conjunction with actual needs in social production life, can be widely used in charging, the field of paying the fees.
For achieving the above object, the present invention is achieved through the following technical solutions:
A kind of call charge service regulation engine combined system based on the Command Line Parsing application rule comprises regulation management unit, charging project node administration unit, regular transducer, regulation engine database, regulation engine; Wherein said charging project node administration unit is used for newly-built charging item self-defined according to operation flow and toll amount corresponding to definition; Described regulation management unit is used for defining each charge node according to different operation flows, generates simultaneously the nodename of each charge node, carries out the User-defined Node combination with this title; Described regular transducer is used for the interim rules that the above-mentioned man-machine interaction of Preliminary Analysis produces, the rule that the regulation engine of generation standard can be resolved; Described regulation engine database, the context data that produces when being used for the storage custom rule; Described regulation engine is used for resolution rules, returns to result of calculation.
Above-mentioned regulation management unit, the application both of charging project node administration unit have realized dynamically real-time management maintenance regulation of regulation management personnel, that is to say and can increase and decrease rule timely according to actual needs and revise.
Wherein, described regular transducer writes the regulation engine database with business rule in the mode of JSON; The regular data form that described regulation engine is resolved is the JSON form of standard.
Compare with other data format, JSON (JavaScript Object Notation) is a kind of data interchange format of lightweight, employing is totally independent of the text formatting of language, used simultaneously the custom that is similar to the C family of language (to comprise C, C++, C#, Java, JavaScript, Perl, Python etc.), it is a kind of desirable exchanges data language, be easy to the people and read and write, also be easy to machine simultaneously and resolve and generate, regulation engine adopts this kind data format significantly to reduce development difficulty and maintenance cost in the present invention.
Wherein, the node of described regulation management unit definition is a plurality of, and its concrete number is not restricted, expanding node number as required when concrete application and development.
Further, for the ease of the analytical algorithm to regulation engine modify, the improvement such as optimization, described regulation engine has routine interface, is used for the rewriting of regulation engine analytical algorithm.
When described regulation engine is that when resolving above-mentioned JSON data format, above-mentioned routine interface is the java applet interface.
Wherein, described context data has comprised that all relate in rule parsing the information that can occur, the nodename that includes but not limited to define, toll amount, rule name, principle combinations and the whole regular page info that generates through regular transducer etc.
Accordingly, the invention also discloses the combined method for above-mentioned call charge service regulation engine based on the Command Line Parsing application rule, comprise the steps:
1) newly-built charging item self-defined according to operation flow and toll amount corresponding to definition;
2) define each charge node according to different operation flows, dynamically generate simultaneously the nodename of each charge node, and carry out self-defined combination with this title;
3) carry out Mapping and Converting according to the combination of User-defined Node name and regular Transformation Service;
4) rule application after changing to the operation flow of appointment, manages maintenance.
As mentioned above, owing to having used regulation management unit, charging project node administration unit, capable of dynamic generates charge nodename, charged content, and business rule dynamically adds in the Business Rule Engine database, thereby dynamic generation and the maintenance of implementation rule, and log is consulted in order to manage.
Wherein, described business rule writes regulation engine in the mode of JSON, that is to say that the data format that regulation engine is resolved is the JSON form of standard.
By the way, the rule that the rule of man-machine interaction and regulation engine are resolved is to link together by rule conversion, and the rule that regulation engine is corresponding is transparent with respect to the user.
Wherein, described charging item and toll amount are the relations of secondary linkage, namely select charging item automatically to load the amount of money, can not revise, and have guaranteed Security of the system.
Wherein, described regular transitional information includes but not limited to the conversion between nodename that need to replace and corresponding actual node key-value pair, arithmetic and/or the attached discount information between each node.
By above-mentioned technological improvement, system and method for the present invention provides simply friendly regulation engine mode of operation, is user-friendly to management, and this System and method for is small and exquisite, flexible, has good autgmentability; Adopt man-machine interaction rule schemata and regulation engine to resolve the mode that form transforms mutually, effectively alleviated difficulty and the operating procedure of regulation management.
Description of drawings
Fig. 1 is system construction drawing of the present invention;
Fig. 2 a, 2b are procedure schematic diagram of the present invention, dynamic programming combination flow chart.
Embodiment
With reference to figure 1 and Fig. 2 a, system of the present invention comprises regulation management unit, charging project node administration unit, regular transducer, regulation engine database, regulation engine; Wherein charging project node administration unit is used for newly-built charging item self-defined according to operation flow and toll amount corresponding to definition; The regulation management unit is used for defining each charge node according to different operation flows, generates simultaneously the nodename of each charge node, carries out the User-defined Node combination with this title; The rule transducer is used for the interim rules that the above-mentioned man-machine interaction of Preliminary Analysis produces, the rule that the regulation engine of generation standard can be resolved; The regulation engine database, the context data that produces when being used for the storage custom rule; Regulation engine is used for resolution rules, returns to result of calculation.
With reference to figure 2a, 2b, shown the concrete technical step in the constructive process of rule, wherein Fig. 2 a is corresponding with Fig. 1, Fig. 2 b has shown the link of inspection rule legitimacy in rule creation, for illegal charging item, the interlock of for example charging project and the charging amount of money is modified, and is verified as illegally and returns, the configuration of getting back to charging item creates link, readjusts.

Claims (10)

1. call charge service regulation engine combined system based on the Command Line Parsing application rule is characterized in that comprising regulation management unit, charging project node administration unit, regular transducer, regulation engine database, regulation engine; Wherein said charging project node administration unit is used for newly-built charging item self-defined according to operation flow and toll amount corresponding to definition; Described regulation management unit is used for defining each charge node according to different operation flows, generates simultaneously the nodename of each charge node, carries out the User-defined Node combination with this title; Described regular transducer is used for the interim rules that the above-mentioned man-machine interaction of Preliminary Analysis produces, the rule that the regulation engine of generation standard can be resolved; Described regulation engine database, the context data that produces when being used for the storage custom rule; Described regulation engine is used for resolution rules, returns to result of calculation.
2. call charge service regulation engine according to claim 1 is characterized in that described regular transducer writes the regulation engine database with business rule in the mode of JSON; The regular data form that described regulation engine is resolved is the JSON form of standard.
3. call charge service regulation engine according to claim 1, is characterized in that the node of described regulation management unit definition is a plurality of.
4. call charge service regulation engine according to claim 1, is characterized in that described regulation engine has routine interface, is used for the rewriting of regulation engine analytical algorithm.
5. call charge service regulation engine according to claim 1, is characterized in that described context data comprises nodename, toll amount, rule name, the principle combinations of definition and the whole regular page info that generates through regular transducer.
6. a combined method that is used for the call charge service regulation engine based on the Command Line Parsing application rule claimed in claim 1, comprise the steps:
1) newly-built charging item self-defined according to operation flow and toll amount corresponding to definition;
2) define each charge node according to different operation flows, dynamically generate simultaneously the nodename of each charge node, and carry out self-defined combination with this title;
3) carry out Mapping and Converting according to the combination of User-defined Node name and regular Transformation Service;
4) rule application after changing to the operation flow of appointment, manages maintenance.
7. method according to claim 6, is characterized in that described business rule writes regulation engine in the mode of JSON.
8. method according to claim 6, is characterized in that described charging item and toll amount are the relations of secondary linkage, namely selects charging item automatically to load the amount of money, can not revise.
9. method according to claim 6 is characterized in that the conversion between nodename that described regular transitional information comprises that needs replace and corresponding actual node key-value pair, arithmetic and/or the attached discount information between each node.
10. method according to claim 6 is characterized in that: the data format that regulation engine is resolved is the JSON form of standard.
CN201310009560.9A 2013-01-10 2013-01-10 A kind of call charge service regulation engine combined system and method thereof based on Command Line Parsing application rule Active CN103107895B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310009560.9A CN103107895B (en) 2013-01-10 2013-01-10 A kind of call charge service regulation engine combined system and method thereof based on Command Line Parsing application rule

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310009560.9A CN103107895B (en) 2013-01-10 2013-01-10 A kind of call charge service regulation engine combined system and method thereof based on Command Line Parsing application rule

Publications (2)

Publication Number Publication Date
CN103107895A true CN103107895A (en) 2013-05-15
CN103107895B CN103107895B (en) 2016-05-18

Family

ID=48315479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310009560.9A Active CN103107895B (en) 2013-01-10 2013-01-10 A kind of call charge service regulation engine combined system and method thereof based on Command Line Parsing application rule

Country Status (1)

Country Link
CN (1) CN103107895B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016177167A1 (en) * 2015-07-08 2016-11-10 中兴通讯股份有限公司 Control method for application feature rules and application feature server
CN106598830A (en) * 2015-10-16 2017-04-26 阿里巴巴集团控股有限公司 Mobile terminal webpage script debugging method and system
CN106682978A (en) * 2016-12-30 2017-05-17 深圳南北互联网金融服务有限公司 Clearing and settling rule generating method and device
CN106992870A (en) * 2017-03-31 2017-07-28 苏州乐麟无线信息科技有限公司 Compatible charging method based on json
CN107220757A (en) * 2017-05-23 2017-09-29 上海最会保网络科技有限公司 A kind of system and method for rule configuration and parsing
CN107451846A (en) * 2016-05-31 2017-12-08 北京京东尚科信息技术有限公司 The management method and managing device of business rule
CN108536437A (en) * 2018-03-30 2018-09-14 上海嘉银金融科技股份有限公司 A kind of generation method and device of business rule
CN110019651A (en) * 2019-03-01 2019-07-16 广州亚美信息科技有限公司 A kind of streaming regulation engine and business data processing method
US10574526B2 (en) 2015-07-08 2020-02-25 Xi'an Zhongxing New Software Co., Ltd. Control method for application feature rules and application feature server
CN110941420A (en) * 2019-11-22 2020-03-31 绿漫科技有限公司 Rule engine system and method based on Actor model
CN112464620A (en) * 2020-09-23 2021-03-09 航天信息股份有限公司企业服务分公司 Implementation method and implementation system of financial rule engine
CN114022962A (en) * 2021-10-28 2022-02-08 深圳市科漫达智能管理科技有限公司 JSON format-based parking lot charging standard generation method and related device
CN115296942A (en) * 2022-07-22 2022-11-04 中电信数智科技有限公司 Combined API (application program interface) counting charging device based on weighted response

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6138156A (en) * 1998-10-05 2000-10-24 International Business Machines Corporation Selecting and applying content-reducing filters based on dynamic environmental factors
CN101582776A (en) * 2008-05-15 2009-11-18 浙江大学 Service charging method and service charging system
CN101763261A (en) * 2009-12-28 2010-06-30 山东中创软件商用中间件股份有限公司 Method, system and device for extracting, converting and loading data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6138156A (en) * 1998-10-05 2000-10-24 International Business Machines Corporation Selecting and applying content-reducing filters based on dynamic environmental factors
CN101582776A (en) * 2008-05-15 2009-11-18 浙江大学 Service charging method and service charging system
CN101763261A (en) * 2009-12-28 2010-06-30 山东中创软件商用中间件股份有限公司 Method, system and device for extracting, converting and loading data

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王文彬: "基于产生式规则的电信计费引擎的研究与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》, 15 October 2008 (2008-10-15), pages 136 - 100 *

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016177167A1 (en) * 2015-07-08 2016-11-10 中兴通讯股份有限公司 Control method for application feature rules and application feature server
US10574526B2 (en) 2015-07-08 2020-02-25 Xi'an Zhongxing New Software Co., Ltd. Control method for application feature rules and application feature server
CN106598830B (en) * 2015-10-16 2019-06-07 阿里巴巴集团控股有限公司 The page script adjustment method and system of mobile terminal
CN106598830A (en) * 2015-10-16 2017-04-26 阿里巴巴集团控股有限公司 Mobile terminal webpage script debugging method and system
CN107451846A (en) * 2016-05-31 2017-12-08 北京京东尚科信息技术有限公司 The management method and managing device of business rule
CN106682978A (en) * 2016-12-30 2017-05-17 深圳南北互联网金融服务有限公司 Clearing and settling rule generating method and device
CN106992870A (en) * 2017-03-31 2017-07-28 苏州乐麟无线信息科技有限公司 Compatible charging method based on json
CN107220757A (en) * 2017-05-23 2017-09-29 上海最会保网络科技有限公司 A kind of system and method for rule configuration and parsing
CN107220757B (en) * 2017-05-23 2020-07-07 上海最会保网络科技有限公司 System and method for rule configuration and analysis
CN108536437A (en) * 2018-03-30 2018-09-14 上海嘉银金融科技股份有限公司 A kind of generation method and device of business rule
CN110019651A (en) * 2019-03-01 2019-07-16 广州亚美信息科技有限公司 A kind of streaming regulation engine and business data processing method
CN110941420A (en) * 2019-11-22 2020-03-31 绿漫科技有限公司 Rule engine system and method based on Actor model
CN112464620A (en) * 2020-09-23 2021-03-09 航天信息股份有限公司企业服务分公司 Implementation method and implementation system of financial rule engine
CN114022962A (en) * 2021-10-28 2022-02-08 深圳市科漫达智能管理科技有限公司 JSON format-based parking lot charging standard generation method and related device
CN115296942A (en) * 2022-07-22 2022-11-04 中电信数智科技有限公司 Combined API (application program interface) counting charging device based on weighted response

Also Published As

Publication number Publication date
CN103107895B (en) 2016-05-18

Similar Documents

Publication Publication Date Title
CN103107895B (en) A kind of call charge service regulation engine combined system and method thereof based on Command Line Parsing application rule
Kang et al. BIM perspective definition metadata for interworking facility management data
Casati et al. Deriving active rules for workflow enactment
CN104360859B (en) A kind of visual service development method and system
Avazpour et al. Engineering complex data integration, harmonization and visualization systems
US20220327006A1 (en) Process orchestration in enterprise application of codeless platform
CN104615617A (en) Dispatch monitoring information processing system for substation equipment
CN111127196A (en) Credit wind control characteristic variable management method and system
CN101609531A (en) Data processing method in a kind of enterprise resource planning and device
CN104216845A (en) Process-oriented complex product final assembly data information transmitting method
CN102520963A (en) Method and system for realizing service logic processing based on strongly-typed relation mapping
US20190347341A1 (en) Method and system for schema transformation
Missikoff et al. Querying semantically enriched business processes
CN103971225A (en) Workflow dynamic expanding method and system
Nemuraite et al. Representation of business rules in UML&OCL models for developing information systems
CN107203935B (en) XBRL technology-based proxy accounting system and method
US20200356570A1 (en) Interactive user interface having transform operators for schema transformation
CN102486731A (en) Method, device and system for enhancing visualization of software call stack of software
CN104699472A (en) Method for solving contradiction between frequent changes in business process and software maintenance by adopting rule engine
Gongzheng et al. An approach to check the consistency between the UML 2.0 dynamic diagrams
Chen et al. Distributed product knowledge service: model and system framework
Gogolla Tales of ER and RE Syntax and Semantics
Yongqing et al. Visual Construction and Source Code Transformation Model Technology Based on Interface Dynamic Arrangement Technology
Liu et al. A MBSE-based Approach for Architecting Concepts for Business Model Innovation of Smart Product Systems
Wafa et al. Migration of legacy systems to service oriented architecture

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 215300 22nd Floor, Zhongliao Plaza, 169 Huaan Road, Huaqiao Town, Kunshan City, Suzhou City, Jiangsu Province

Co-patentee after: Guangzhou City Biceng Technology Co., Ltd.

Patentee after: KUNSHAN ESEALSBB TECHNOLOGY CO., LTD.

Address before: 215300 Zhaofeng Road, Huaqiao Town, Kunshan City, Suzhou City, Jiangsu Province

Co-patentee before: Guangzhou City Biceng Technology Co., Ltd.

Patentee before: Kunshan Bairun Technology Co., Ltd.

CP03 Change of name, title or address