Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Rule matching method and device, electronic equipment and storage medium

A matching method and rule technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of reduced operating efficiency of the rule engine, low timeliness of loading and updating, limiting the performance of the rule engine, etc., to reduce the system Overhead and time overhead, improving operating efficiency, and improving search efficiency

Active Publication Date: 2020-06-12
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF7 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Existing rule engines usually support a relatively small number of rules. The common processing method is to store business data in relational data tables, such as two-dimensional data tables. This data organization limits the performance of rule engines.
The reason is that for all business data, it is necessary to traverse all the rules to find the corresponding adaptation rules. In the case of a large number of rules, the timeliness of rule loading and updating is low, resulting in the running of the rule engine Significant drop in efficiency

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 matching method and device, electronic equipment and storage medium
  • Rule matching method and device, electronic equipment and storage medium
  • Rule matching method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] The following describes exemplary embodiments of the present application with reference to the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and should be regarded as merely exemplary. Therefore, those of ordinary skill in the art should realize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present application. Likewise, for clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0051] figure 1 It is a flowchart of a rule matching method according to an embodiment of the present application. See figure 1 , The rule matching method includes:

[0052] Step S110, obtaining an identification code from the business data;

[0053] Step S120, based on the identification code, perform a layer-by-layer search in a pre-stored balanced search tree, w...

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 matching method and device, electronic equipment and a storage medium, and relates to the technical field of rule engines. According to the specific implementation scheme, the method comprises the steps of obtaining an identity identification code from service data; performing layer-by-layer search in a pre-stored balanced search tree based on the identity identification code, the balanced search tree being generated according to a specified identity identification code and being used for searching a service rule corresponding to the specified identity identification code; and determining the service rule corresponding to the searched identity identification code as the service rule corresponding to the service data. The embodiment of the invention can improve the timeliness of rule search and improve the system operation efficiency.

Description

Technical field [0001] This application relates to the field of information technology, in particular to the field of rule engine technology. Background technique [0002] Generally, a rule engine is a component embedded in an application that separates business decisions from application code. The functions implemented by the rule engine may include accepting data input, interpreting business rules, and making business decisions based on business rules. Existing rule engines usually support a relatively small number of rules. The common processing method is to store business data in relational data tables, such as two-dimensional data tables. This form of data organization limits the performance of the rule engine . The reason is that for all business data, it is necessary to traverse all the rules to find the corresponding adaptation rules. In the case of a large number of rules, the timeliness of rule loading and updating is low, resulting in the operation of the rule engine...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/2455G06F16/22G06F16/23
CPCG06F16/24564G06F16/2246G06F16/23Y02D10/00
Inventor 季昆鹏郑灿祥
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products