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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com