Rule-based data processing method and rule engine apparatus

A data processing and rule technology, applied in the field of data processing, can solve the problems of low efficiency, difficult rule configuration, storage and operation migration, limited computing power on the device side, etc., to achieve the effect of simple storage

Inactive Publication Date: 2018-08-14
ALIBABA GRP HLDG LTD
View PDF4 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 1. The rule storage structure needs the support of the database and can run on the server side, but the computing power of the device side (such as the Internet of Things setting side) is limited, and it is difficult to transplant the configuration, storage and operation of the rules on the device
[0007] 2. The rule ma

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
  • Rule-based data processing method and rule engine apparatus
  • Rule-based data processing method and rule engine apparatus
  • Rule-based data processing method and rule engine apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] This embodiment provides a rule-based data processing method.

[0028] In addition to defining trigger conditions and target actions, the rules in this embodiment also optionally define a data source and a data construction method, wherein the data source is used to indicate a data source. In this embodiment, the data to be processed is the message in the message queue, and the data source is identified by the message queue. The data structure mode is used to indicate what and how to structure the data to be used in the target action. The message queue identifier can be represented by the topic of the message queue, that is, Topic. After the message sender delivers to a topic, the message receiver can receive the message as long as he subscribes to the topic. When using the data source, the data from other data sources is not processed in any way, which can preliminarily filter out a large amount of unnecessary data and improve the processing efficiency.

[0029] The ...

Embodiment 2

[0079] This embodiment provides a rule engine device, such as image 3 shown, including:

[0080] The condition matching module 10 is configured to: match the received data based on the trigger condition defined in the rule, and the rule is represented by a sentence in text form;

[0081] The action execution module 20 is configured to execute the target action defined in the rule if the condition matching module successfully matches the received data.

[0082] In this example,

[0083] The rules also define data construction methods;

[0084] The action execution module includes:

[0085]The data construction unit is set to: if the condition matching module successfully matches the received data, analyze the data construction method defined in the rule, and construct the data to be used in the target action according to the data construction method and the successfully matched data The data;

[0086] The action execution unit is configured to: execute the target action d...

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 rule-based data processing method and a rule engine apparatus. A rule engine performs matching on received data based on a triggering condition defined in a rule, wherein therule is represented with a statement in a text form; and if the matching succeeds, the rule engine executes a target action defined in the rule. The rule configuration is easy to understand and the storage is simple.

Description

technical field [0001] The present invention relates to data processing, and more specifically, to a rule-based data processing method and a rule engine device. Background technique [0002] The rule engine is a component embedded in the application program or implanted on the chip, which realizes the separation of business decisions from the application code. This rule can be configured and implemented. A rule contains basic elements: trigger condition and target action. For example: the rule is: when someone fails to open the lock of my house for 3 times, an alarm message will be sent to my mobile phone. The trigger condition is: 3 consecutive failures to open the lock, and the target action is: send an alarm message to a certain mobile phone [0003] The rule engine needs to allow users to dynamically configure business rules when the system is running, and it can take effect in real time without deploying a server. The fields and attributes in the data structure of the ...

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
IPC IPC(8): G06F17/30
CPCG06F16/2433G06F16/24558
Inventor 吕建文
Owner ALIBABA GRP HLDG LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products