Service rule engine execution system and method
An execution system and execution method technology, applied in the direction of instruments, data processing applications, office automation, etc., can solve the problems of complex use, no additional support for calls, high server configuration requirements, etc., to facilitate maintenance and development, and reduce machine configuration requirements. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] see figure 1 , the present embodiment provides a business rule engine execution system, including a SpringBoot architecture and a Mysql database, the SpringBoot architecture is connected to the Mysql database, and the SpringBoot architecture includes a Drools rule engine, a Javascript engine, a database operation layer, a Spring boot web layer and Log module, this system integrates two engines of Drools and Javascript based on the SpringBoot framework to realize the overall business framework, and the Drools rule engine and the Javascript engine are connected to the Mysql database through the database operation layer.
[0035] Principle: Store the corresponding rule script in the Mysql database, obtain the corresponding rule script from the Mysql database when receiving a request, and judge whether the corresponding rule belongs to the Drools rule engine or the Javascript engine, then perform corresponding interpretation and execution, and return the corresponding conten...
Embodiment 2
[0040] see figure 2 , a method for executing a business rule engine in this embodiment, comprising the following steps:
[0041] (1) External call input;
[0042] (2) Get the corresponding rules from the database;
[0043] (3) Determine whether the corresponding rule belongs to the Drools rule engine or the Javascript engine;
[0044] (4) Drools interpretation execution or Javascript interpretation execution;
[0045] (5) Return the execution result.
[0046] Wherein, the database is a Mysql database.
[0047] The overall principle: store the corresponding rule script in the Mysql database, obtain the corresponding rule script from the Mysql database when receiving a request, and judge whether the corresponding rule belongs to the Drools rule engine or the Javascript engine, then perform corresponding interpretation and execution, and return the corresponding content.
[0048] The Mysql database is provided with an interface for configuring rules. When the user configu...
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