Data processing method and system based on rule engine, terminal and storage medium

Through the data processing method based on the rules engine, business rules in the Internet finance field are scenario-based and matched, solving the problem of difficulty in rule matching in financial product development, and achieving rapid development and cost savings.

CN119830073APending Publication Date: 2025-04-15SHENZHEN WEIYAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411912580.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-24
Publication Date
2025-04-15

AI Technical Summary

Technical Problem

In the field of Internet finance, when facing the development of new financial products, it is difficult to match the rules of existing surrounding neighboring businesses, resulting in an increase in repetitive labor.

Method used

The data processing method based on the rules engine is adopted, and by obtaining the business rule engine associated with the financial products to be developed, the rules are scenarioized, the scenario database is generated, and the application scenarios are simulated and generated according to the functional needs of the financial products, and matching and rule adjustments are performed.

Benefits of technology

Quickly obtain a high-matching rule engine, reduce the labor load of developers, shorten the development cycle, and save costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119830073A_ABST
    Figure CN119830073A_ABST
Patent Text Reader

Abstract

The invention relates to a rule engine-based data processing method and system, a terminal and a storage medium, and the method comprises the following steps: obtaining a rule engine corresponding to a business associated with a to-be-developed financial product, carrying out scene processing on rules in the rule engine, obtaining element features in an application scene, and generating a first data set; establishing a mapping relationship between rules in the rule engine and the first data sets, and summarizing all the first data sets to obtain a scene database; simulating and generating a plurality of application scenes according to the function requirements of the financial product to be developed, acquiring element features in the application scenes, matching in the scene database, adaptively adjusting the obtained rules, and establishing a new rule engine according to the adjusted rules; by applying the method provided by the invention, the rule engine with better matching degree can be quickly obtained, so that the development labor load of developers is greatly reduced, the development period is shortened, and the cost is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart banking technology, and more specifically, to a data processing method, system, terminal and storage medium based on a rule engine. Background Art

[0002] The main characteristics of Internet finance include: 1. Networking: Internet finance has realized the online and networked financial services through network technologies such as the Internet and mobile Internet, making financial services more convenient and efficient, and not restricted by time and region. 2. Digitalization: Internet finance uses digital technology to transform traditional financial services into digital forms, realizes the rapid processing and analysis of financial data, and improves the intelligence level of financial services. 3. Intelligence: Internet finance has realized the intelligence of financial services through emerging technologies such as big data and artificial intelligence, providing customers with more personalized and accurate financial services.

[0003] With the diversification of Internet finance, the number and level of rules involved are becoming increasingly rich. When developing a new financial product, it is often difficult to match and apply the existing rules of some adjacent businesses, which often leads to more repetitive work. In order to solve this problem, a data processing method, system, terminal and storage medium based on a rule engine are needed. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a data processing method based on a rule engine in view of the above-mentioned defects of the prior art, and also provide a data processing system based on a rule engine, a data processing terminal based on a rule engine and a computer-readable storage medium.

[0005] The technical solution adopted by the present invention to solve its technical problem is:

[0006] A data processing method based on a rule engine is constructed, which includes the following steps:

[0007] Obtain a rule engine corresponding to a business associated with the financial product to be developed, and scenario-based the rules in the rule engine to obtain element features in the application scenario to generate a first data set;

[0008] Establishing a mapping relationship between the rules in the rule engine and the first data set, and aggregating all the first data sets to obtain a scenario database;

[0009] According to the functional requirements of the financial products to be developed, multiple application scenarios are simulated and generated, where each application scenario corresponds to only one function;

[0010] Analyze each application scenario, obtain element features in the application scenario, and generate a second data set;

[0011] Perform matching in the scene database, and if a first data set with a matching degree higher than a set value is obtained, the corresponding rule is called, otherwise no action is taken;

[0012] Adaptively adjust the obtained rules and establish a new rule engine based on the adjusted rules.

[0013] The data processing method based on the rule engine of the present invention, wherein the rules in the rule engine are scenario-based, and the element features in the application scenario are obtained by:

[0014] Divide the elements of the rules according to their actual content;

[0015] Configure scene elements for each divided rule element;

[0016] Combine multiple configured scene elements to form a scene.

[0017] The data processing method based on the rule engine described in the present invention, wherein the rule elements include one or more of the triggering conditions of the rule, the execution actions of the rule and the result processing of the rule.

[0018] The data processing method based on the rule engine of the present invention, wherein, according to the functional requirements of the financial product to be developed, multiple application scenarios are simulated and generated, wherein each application scenario corresponds to only one function:

[0019] Divide the functions of the financial products to be developed and generate multiple basic functions;

[0020] Conduct scenario simulation on the implementation conditions, processing methods and results of basic functions.

[0021] In the data processing method based on the rule engine of the present invention, the analysis of each application scenario to obtain the element features in the application scenario adopts:

[0022] Taking a basic function as a basic unit, the element points in the scene corresponding to a basic unit are extracted to obtain the scene elements.

[0023] In the data processing method based on the rule engine described in the present invention, the basic function refers to a single function that cannot be further subdivided.

[0024] In the data processing method based on rule engine of the present invention, the rule engine for obtaining the business corresponding to the financial product to be developed adopts:

[0025] Classify banking services into multiple main categories, and each main category is further divided into multiple subcategories;

[0026] Obtain the main classification number of the classification of the financial product to be developed;

[0027] Other businesses included in the same main classification number are related businesses;

[0028] Get the existing rule engine for the associated business.

[0029] A data processing system based on a rule engine is applied to the data processing method based on a rule engine as described above, wherein the system comprises: a rule analysis processing unit, a scenario database and a product analysis processing unit;

[0030] The rule analysis and processing unit is used to obtain a rule engine corresponding to a business associated with the financial product to be developed, and to scenarioize the rules in the rule engine, obtain the element features in the application scenario, and generate a first data set; establish a mapping relationship between the rules in the rule engine and the first data set, and aggregate all the first data sets to obtain a scenario database;

[0031] The product analysis and processing unit is used to simulate and generate multiple application scenarios according to the functional requirements of the financial product to be developed, wherein each application scenario corresponds to only one function; analyze each application scenario, obtain the element features in the application scenario, and generate a second data set; match in the scenario database, and if a first data set with a matching degree higher than a set value is obtained, the corresponding rule is called, otherwise no action is taken; adaptively adjust the obtained rules, and establish a new rule engine based on the adjusted rules.

[0032] A data processing terminal based on a rule engine comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0033] A computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the above method when executed by a processor.

[0034] The beneficial effect of the present invention is that by applying the method of the present application, the existing related business rules are scenario-based to form a scenario database. When developing new business functions, the functions are guided to perform scenario matching and map the corresponding rules. A rule engine with a better matching degree can be quickly obtained, thereby greatly reducing the development workload of developers, shortening the development cycle, and saving costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention will be further described below in conjunction with the accompanying drawings and embodiments. The drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work:

[0036] Figure 1 It is a flow chart of a data processing method based on a rule engine according to a preferred embodiment of the present invention;

[0037] Figure 2 It is a principle block diagram of a data processing system based on a rule engine according to a preferred embodiment of the present invention. DETAILED DESCRIPTION

[0038] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the following will be described clearly and completely in combination with the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are partial embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the protection scope of the present invention.

[0039] The data processing method based on the rule engine of the preferred embodiment of the present invention is as follows: Figure 1 As shown, the following steps are included:

[0040] S01: Obtain a rule engine corresponding to a business associated with the financial product to be developed, and scenarioize the rules in the rule engine to obtain element features in the application scenario, and generate a first data set;

[0041] Classify banking business into multiple main categories. The main categories can adopt the conventional banking business classification table. Each main category is further divided into multiple subcategories. Subcategories can be customized. Obtain the main classification number of the category where the financial product to be developed is located. Obtain other businesses included in the same main classification number, that is, related businesses. Obtain the existing rule engine for related businesses.

[0042] Then, according to the actual content of the rule, the rule elements are divided; the scene elements are configured for each divided rule element; the configured multiple scene elements are integrated to form a scene; the rule elements include one or more of the triggering conditions of the rule, the execution actions of the rule, and the result processing of the rule;

[0043] S02: Establishing a mapping relationship between the rules in the rule engine and the first data set, and aggregating all the first data sets to obtain a scenario database;

[0044] The scene database can be increased, decreased or modified according to actual needs in later applications;

[0045] S03: Based on the functional requirements of the financial products to be developed, simulate and generate multiple application scenarios, where each application scenario corresponds to only one function;

[0046] Divide the functions of the financial products to be developed and generate multiple basic functions;

[0047] Conduct scenario simulation on the implementation conditions, processing methods and processing results of basic functions;

[0048] For more complex functions, try to split them into the most basic functions to facilitate a higher matching degree in the later matching;

[0049] S04: Analyze each application scenario, obtain element features in the application scenario, and generate a second data set;

[0050] Taking a basic function as a basic unit, extract the element points in the scene corresponding to a basic unit to obtain the scene elements;

[0051] Basic functions refer to single functions that cannot be further divided;

[0052] S05: Perform matching in the scene database. If a first data set with a matching degree higher than a set value is obtained, the corresponding rule is called, otherwise no action is taken;

[0053] S06: Adaptively adjust the obtained rules, and establish a new rule engine based on the adjusted rules;

[0054] By applying the methods of this application, the existing related business rules are scenario-based to form a scenario database. When developing new business functions, the functions are guided to perform scenario matching and map the corresponding rules. A rule engine with a better match can be quickly obtained, thereby greatly reducing the development workload of developers, shortening the development cycle, and saving costs.

[0055] A data processing system based on a rule engine is applied to the data processing method based on a rule engine as described above, such as Figure 2 As shown, the system includes: a rule analysis processing unit 100, a scenario database 101 and a product analysis processing unit 102;

[0056] The rule analysis and processing unit 100 is used to obtain a rule engine corresponding to a business associated with the financial product to be developed, and to scenarioize the rules in the rule engine, obtain the element features in the application scenario, and generate a first data set; establish a mapping relationship between the rules in the rule engine and the first data set, and aggregate all the first data sets to obtain a scenario database 101;

[0057] The product analysis processing unit 102 is used to simulate and generate multiple application scenarios according to the functional requirements of the financial product to be developed, wherein each application scenario corresponds to only one function; analyze each application scenario, obtain the element features in the application scenario, and generate a second data set; match in the scenario database, and if the first data set with a matching degree higher than a set value is obtained, call the corresponding rule, otherwise do not take action; adaptively adjust the obtained rules, and establish a new rule engine based on the adjusted rules;

[0058] By applying the system of the present application, the existing related business rules are scenario-based to form a scenario database. When developing new business functions, the functions are guided to perform scenario matching and map the corresponding rules. A rule engine with a better match can be quickly obtained, thereby greatly reducing the development workload of developers, shortening the development cycle, and saving costs.

[0059] A data processing terminal based on a rule engine comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0060] A computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the above method when executed by a processor.

[0061] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the appended claims of the present invention.

Claims

1. A data processing method based on a rule engine, characterized in that: The following steps are involved: Obtain a rule engine corresponding to a business associated with the financial product to be developed, and scenario-based the rules in the rule engine to obtain element features in the application scenario to generate a first data set; Establishing a mapping relationship between the rules in the rule engine and the first data set, and aggregating all the first data sets to obtain a scenario database; According to the functional requirements of the financial products to be developed, multiple application scenarios are simulated and generated, where each application scenario corresponds to only one function; Analyze each application scenario, obtain element features in the application scenario, and generate a second data set; Perform matching in the scene database, and if a first data set with a matching degree higher than a set value is obtained, the corresponding rule is called, otherwise no action is taken; Adaptively adjust the obtained rules and establish a new rule engine based on the adjusted rules.

2. The data processing method based on rule engine according to claim 1, characterized in that: The rules in the rule engine are scenario-based, and the element features in the application scenario are obtained by: Divide the elements of the rules according to their actual content; Configure scene elements for each divided rule element; Combine multiple configured scene elements to form a scene.

3. The data processing method based on rule engine according to claim 2, characterized in that: The rule elements include one or more of the triggering conditions of the rule, the execution actions of the rule, and the result processing of the rule.

4. The data processing method based on rule engine according to claim 1, characterized in that: According to the functional requirements of the financial products to be developed, multiple application scenarios are simulated and generated, where each application scenario corresponds to only one function: Divide the functions of the financial products to be developed and generate multiple basic functions; Conduct scenario simulation on the implementation conditions, processing methods and results of basic functions.

5. The data processing method based on rule engine according to claim 4, characterized in that: The analysis of each application scenario to obtain the element features in the application scenario is carried out by: Taking a basic function as a basic unit, the element points in the scene corresponding to a basic unit are extracted to obtain scene elements.

6. The data processing method based on rule engine according to claim 4, characterized in that: The basic function refers to a single function that cannot be further subdivided.

7. The data processing method based on rule engine according to claim 1, characterized in that: The rule engine for obtaining the business associated with the financial product to be developed adopts: Classify banking services into multiple main categories, and each main category is further divided into multiple subcategories; Obtain the main classification number of the classification of the financial product to be developed; Other businesses included in the same main classification number are related businesses; Get the existing rule engine for the associated business.

8. A data processing system based on a rule engine, applied to the data processing method based on a rule engine as claimed in any one of claims 1 to 7, characterized in that: The system comprises: a rule analysis processing unit, a scenario database and a product analysis processing unit; The rule analysis and processing unit is used to obtain a rule engine corresponding to a business associated with the financial product to be developed, and to scenarioize the rules in the rule engine, obtain the element features in the application scenario, and generate a first data set; establish a mapping relationship between the rules in the rule engine and the first data set, and aggregate all the first data sets to obtain a scenario database; The product analysis and processing unit is used to simulate and generate multiple application scenarios according to the functional requirements of the financial product to be developed, wherein each application scenario corresponds to only one function; analyze each application scenario, obtain the element features in the application scenario, and generate a second data set; match in the scenario database, and if a first data set with a matching degree higher than a set value is obtained, the corresponding rule is called, otherwise no action is taken; adaptively adjust the obtained rules, and establish a new rule engine based on the adjusted rules.

9. A data processing terminal based on a rule engine, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.