Database function-based rule implementation and application method and device

A database and rule technology, applied in special data processing applications, electrical digital data processing, instruments, etc., can solve problems such as high secondary development costs, complex implementation, and difficult integration, so as to improve responsiveness and processing performance, meet Application requirements and the effect of reducing development difficulty

Inactive Publication Date: 2013-07-03
BEIJING BOCO COMM TECH
View PDF3 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, as an open source product, Drools focuses on the implementation of the rule engine and the extension of the rule language, and has not done very in-depth research on the rule configurator.
Currently, the configurator embedded in Eclipse provided by Drools is only a tool designed and developed for programmers; in addition, since Drools is based on the rete algorithm, it is necessary to learn the rete algorithm and the rule description language before understanding and configuring rules. The rete algorithm is more difficult to learn and understand for general programmers.
[0004] Existing commercial engines usually allow the use of a dedicated English-like language to express rules, but commercial engines require high personnel capabilities and are usually relatively expensive. For small and medium-scale software integration, especially for relatively simple rule logic Processing applications, introducing a complex and expensive rule engine is a bit overkill, and the gain outweighs the gain
[0005] It can be seen that although the existing rule engines have independent frameworks and grammars

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Database function-based rule implementation and application method and device
  • Database function-based rule implementation and application method and device
  • Database function-based rule implementation and application method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0064] see figure 1 , which shows a flow chart of Embodiment 1 of a method for realizing and applying a database function-based rule according to the present invention, which may include the following steps:

[0065] Step 101: According to rule application requirements, establish a business rule model including one or more key elements of the ru...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a database function-based rule implementation and application method and a database function-based rule implementation and application device. The method comprises the following steps of: establishing a business rule model comprising one or more rule key elements according to rule application requirements; establishing a plurality of rules which conform to the business rule model; converting the rules into rule description language and saving in a rule base; implementing the rules in the rule base as corresponding database functions; configuring incidence relation of source data and the applied rule according to application requirements; and acquiring values of the key elements in the configured rule input by a user, executing the rule by calling the database function associated with the rule, and returning an execution result. By using the method or the device provided by the embodiment of the invention, the implementation of a complex algorithm is realized by means of a simple database function based on the implementation result of a rule engine implemented by the database function, the development difficulty of the rule engine is reduced, the cost is saved, and the rule processing efficiency is increased.

Description

technical field [0001] The invention relates to the technical field of database data processing, in particular to a method and device for implementing and applying rules based on database functions. Background technique [0002] The rule engine is a component embedded in the application program. It is developed from the reasoning engine. The rule engine accepts data input, reads business rules, and obtains business decisions that conform to the business rules through reasoning. Using a rules engine reduces the complexity of implementing complex business logic components and lowers the scalability cost of your application. There are several rule engines available for running applications, the most common of which include commercial rule engines and open source rule engines. Business rule engines typically allow rules to be expressed in a dedicated English-like language, and others allow rules to be written in a scripting language. [0003] The existing JAVA rule engine perf...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F17/30
Inventor 商艳丽王鹤琪杜大江刘兴宗
Owner BEIJING BOCO COMM TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products