Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for realizing dynamic deployment of visual configuration of scheduling rule based on droos rule engine

A technology of dynamic deployment and rules, applied in the direction of program control device, structured data retrieval, program loading/starting, etc., can solve the problems of lack of centralized management of rules, repeated configuration of rules, inconsistent configuration, etc., to achieve the effect of convenient configuration of rules

Pending Publication Date: 2022-07-22
科大国创云网科技有限公司
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is: how to solve the situation that some systems have realized the configurability of business rules, but there are repeated configurations and inconsistent configurations of the rules; For problems such as possible inconsistencies, a method for realizing the dynamic deployment of dispatching rule visualization configuration based on the droos rule engine is provided. With the rule engine Drools as the core, through the extraction and abstraction of rule elements, the disassembly and configuration of rule logic, a visual configuration of set rules is built , rules platform that integrates centralized management of rules, unified capability exposure, hot deployment of rules, and diversification of rule support

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
  • Method for realizing dynamic deployment of visual configuration of scheduling rule based on droos rule engine
  • Method for realizing dynamic deployment of visual configuration of scheduling rule based on droos rule engine
  • Method for realizing dynamic deployment of visual configuration of scheduling rule based on droos rule engine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 2

[0092] like image 3 As shown, the flow diagram of the configuration and use of the rules in this embodiment, the present invention obtains the basic data of the rules from the application system, configures the basic data into rule elements by abstracting and refining the basic data, and uses the rule elements to configure the specific rules to form rules. library. Through the rule language algorithm, the rule content read from the rule base is converted into the drools language, written into the rule file, and finally deployed into the memory through the rule engine. By opening the unified API for the application system to call, the present invention opens the unified API, and the application system can provide rule parameters according to its own requirements, and obtain the specified rule result.

[0093] like Figure 4 As shown, the flow chart of constructing rule logic in this embodiment is shown. The present invention converts complex and abstract logic into visual co...

Embodiment 3

[0095] like Figure 5 As shown, the schematic diagram of the application example in this embodiment, the present invention reduces the cost and risk of hard-coded business rules based on the Drools rule engine, supports the visual configuration of rules, dynamically modifies business rules, quickly responds to demand changes, and supports hot deployment ( Business rules can be extended and maintained at any time without restarting the service).

[0096] like Figure 5 As shown, after the system receives the business order, it parses the parameters of the business order, extracts the parameters required by the present invention and stores them in the cache. The method of the present invention is invoked through the API developed by the present invention, the specific rule logic is executed, and the rule data related to the business is obtained through the configured rule logic for use, such as image 3 As shown, this business has identified two rules, one is the process ident...

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 invention discloses a method for realizing dynamic deployment of visual configuration of a scheduling rule based on a droos rule engine, and belongs to the technical field of droos rule engines, and the method comprises the following steps: S1, establishing a rule base; s2, rule deployment; and S3, calling the rule. The system is developed according to a micro-service architecture, modules of all parts are decoupled and do not depend on one another, and the system has the advantages of distributed deployment capacity, high concurrent processing capacity and simple code structure; the method supports conversion of complex logic operation into visual logic configuration, selects elements from element entities for recombination, and performs connection through condition operation and operation symbols, so that rule configuration is more convenient and simpler, rule configuration is completely separated from development, zero-code development is supported, and the development efficiency is improved. Code editing is not needed any more for configuration and release of the rule, simple configuration can be completed, rule change can take effect only by modifying the rule again and releasing the rule, hot deployment is supported, and production interruption is not needed.

Description

technical field [0001] The invention relates to the technical field of droos rule engine, in particular to a method for realizing dynamic deployment of scheduling rule visual configuration based on droos rule engine. Background technique [0002] With the development of business, the system becomes larger and larger, and the requirements for rules become more complex and change more frequently. The business rules of many systems are hard-coded, which is inconvenient to understand and maintain, and cannot be quickly supported with the changes of business rules; some systems have realized the configurable business rules, but the rules are repeatedly configured and the configuration is inconsistent. ; Lack of centralized management of the entire rules, and the values ​​of the same parameters may be inconsistent among systems. To this end, a method based on the droos rule engine to realize the dynamic deployment of scheduling rules visualization configuration is proposed. SUM...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/2455G06F16/28G06F16/25G06F9/445
CPCG06F16/24564G06F16/288G06F16/252G06F9/4451
Inventor 许磊陈高远张俊林
Owner 科大国创云网科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products