Rule Engine Segmentation for Massive Personalized Rule Processing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current open-source rule engines are limited in processing and loading large numbers of rules, leading to slower speeds and memory overruns, making them unsuitable for massive personalized rule applications, especially in scenarios like e-commerce where numerous rules need to be applied to large-scale groups.

Innovation Solution

The method involves classifying rules into general operators (general laws) to support massive customized actions for entities, improving initialization speed and allowing for dynamic hot loading, updating, and deleting of rules, thereby enabling efficient customization of personalized rules for massive entities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Quantity of substance

If traditional rule engines are used to process massive personalized rules, then rule processing capability is provided, but processing speed decreases and memory overruns occur

Engineering Contradiction:
Improvenumber of rulesVSAvoidprocessing speed
Core Design Contradiction:
Quantity of substanceVSProductivity

Solution Approach 1:

The patent segments the massive rule set into two distinct layers: general rules that apply to all entities and personalized rules that are specific to individual entities. This segmentation allows the system to process only relevant rules for each entity rather than loading and processing all rules, thereby maintaining high processing speed while supporting massive numbers of personalized rules.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts and separates personalized parameters from the general rule structure. By taking out the personalized components and storing them independently, the system avoids loading unnecessary personalized data into memory during general rule processing, preventing memory overruns while still enabling massive personalized rule customization.

Inventive Principle:
Principle #2Taking out (Extraction)

2Quantity of substance

If traditional rule engines are used to process massive personalized rules, then rule processing capability is provided, but memory capacity is exceeded

Engineering Contradiction:
Improvenumber of rulesVSAvoidmemory usage
Core Design Contradiction:
Quantity of substanceVSWeight of stationary object

Solution Approach 1:

The patent segments rule storage into multiple components: general rules stored in a rule engine and personalized rules stored separately in databases or configuration files. This segmentation allows the system to load only essential general rules into memory while keeping personalized rules available on-demand, thus supporting massive rule quantities without exceeding memory capacity.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts personalized parameters and rules from the core rule engine memory space and stores them in external storage. This extraction enables the system to reference massive numbers of personalized rules without loading them all into memory simultaneously, preventing memory overruns while maintaining full rule availability.

Inventive Principle:
Principle #2Taking out (Extraction)

3Adaptability or versatility

If massive personalized rules are customized for massive entities, then customization capability is achieved, but system complexity increases

Engineering Contradiction:
Improvecustomization capabilityVSAvoidsystem complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent creates a universal rule structure where general rules can apply to multiple entities across different domains, and personalized parameters can be added or removed based on specific needs. This universality allows the system to handle diverse customization requirements without proportionally increasing system complexity, as the same framework serves multiple purposes.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent introduces an intermediary layer that manages the mapping between general rules and personalized parameters. This intermediary abstraction simplifies the complexity by providing a standardized interface for rule customization, allowing users to configure personalized rules without directly managing the underlying complex data structures and processing logic.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20210248486A1Method, apparatus, device and storage medium for customizing personalized rules for entities
Publication Date: 2021.08.12 BEIJING BAIDU NETCOM SCI & TECH CO LTD
  • US20210248486A1 patent drawing
  • US20210248486A1 patent drawing
  • US20210248486A1 patent drawing

AI summary

The present application discloses a method, apparatus, device and storage medium for customizing personalized rules for entities, and relates to the fields of big data and cloud storage. The specific implementation scheme is: setting corresponding multiple fit conditions for entities which need to be fitted with personalized rules; where each fit condition includes a general law, a personalized parameter, and a corresponding customized action; loading data of multiple first entities corresponding to the multiple fit conditions; and for each first entity, acquiring a corresponding fit condition of the first entity; and extracting, from the data of the first entity, the personalized parameter in the corresponding fit condition, and determining a corresponding customized action according to the extracted personalized parameter and the general law in the corresponding fit condition.