Business rule engine mode matching system based on compiling technology and implementation method
A technology of pattern matching and compiling technology, which is applied in the field of business rule engine pattern matching system based on compiling technology, can solve the problem of not being equal, achieve good business support flexibility, and ensure the effect of business continuity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0051] as attached figure 1 As shown, the business rule engine pattern matching system based on compilation technology of the present invention mainly includes an application program API module, a rule library module, a rule language compiler and an inference engine module. Among them, the application program API module is used to encapsulate the interaction details between internal modules, and provides a unified interface method to the application program; the rule library module is used to store rules and the calling conditions of the rules; the rule library module includes a rule database and a management access module; The rule database is used to store product rules, and the transaction mechanism of the database ensures the consistency of concurrent access data; the management access module is used to encapsulate the system call to the rule database, and provides internal interfaces for internal modules in the system except the management access module. as attached Figur...
Embodiment 2
[0068] The business rule engine pattern matching implementation method based on compilation technology of the present invention, the method steps are as follows:
[0069] S1. The PLN network data structure accepts a set of fact objects, and the root node does not perform a direction matching action, but directly sends it to all child nodes;
[0070] S2. Perform rule matching on each PLN network node:
[0071] (1) If the current matching node is an H node, calculate the HASH key value of the fact object set, and activate the child node of the key value;
[0072] (2) If the current matching node is an L node, calculate the logical value of the logical expression of the fact object set, and judge whether the logical value is true or false:
[0073] ①If true, activate all child nodes;
[0074] ②If it is false, return;
[0075] (3) If the current node is a P node, it means that the rule matching is successful, and the P node is added to the execution agenda, and returns to the u...
Embodiment 3
[0078] The definition of a tariff product rule is simulated. This tariff product is only for mobile voice services. Different approval rates are implemented according to different call areas and cumulative call durations. The rules language is used to define the billing approval rules for the above tariff products, as shown in the following table:
[0079]
[0080] The key codes of the rule language of telecom tariff products are as follows:
[0081]
[0082]
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