Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, device, system and readable medium of java-based dynamic configuration rules

A dynamic configuration and rule technology, applied in the field of data processing, can solve the problem that business personnel cannot dynamically configure or change rules

Active Publication Date: 2020-11-06
浙江太美医疗科技股份有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The hard-coded methods in the existing technology, programming component OSGI, static scripts (such as TypeScript to make the logic part modification take effect in real time), and developer-oriented rule engines (such as Urule, Drools, Easy-Rule) are all oriented to developers. Developers are required to configure rules in advance, and business personnel cannot dynamically configure or change rules

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
  • Method, device, system and readable medium of java-based dynamic configuration rules
  • Method, device, system and readable medium of java-based dynamic configuration rules
  • Method, device, system and readable medium of java-based dynamic configuration rules

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some examples or embodiments of the present application, and those skilled in the art can also apply the present application to other similar scenarios. Unless otherwise apparent from context or otherwise indicated, like reference numerals in the figures represent like structures or operations.

[0022] As indicated in this application and claims, the terms "a", "an", "an" and / or "the" do not refer to the singular and may include the plural unless the context clearly indicates an exception. Generally speaking, the terms "comprising" and "comprising" only suggest the inclusion of clearly identified steps and elements, and these steps and elements do not constitute an exclusive list, and ...

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 present application provides a Java-based method, apparatus, system and computer-readable medium for dynamically configuring rules. The method includes the following steps: receiving a RESTful invocation request from a terminal, wherein the RESTful invocation request contains a string of regular expressions; parsing the string based on a preset knowledge base; disassembling the parsed string into corresponding token and construct a corresponding abstract syntax tree; generate a corresponding bytecode file according to the abstract syntax tree; and load the bytecode file into the Java virtual machine and execute it. This method can generate and execute corresponding bytecode files according to the calling request containing the rule expression passed in by the terminal, thereby realizing the dynamic configuration of the rules by the terminal business personnel and the immediate implementation of the rules, without the need for developers to make rules in advance configuration.

Description

technical field [0001] The present application mainly relates to the technical field of data processing, and in particular to a Java-based method, device, system and computer-readable medium for dynamically configuring rules. Background technique [0002] The rule engine is a technical solution that emerges in response to a large number of rapidly changing business logics. It can execute reasoning logic according to certain algorithms based on established facts and knowledge bases to obtain correct results. The rule engine is mainly composed of three parts: knowledge base, established fact base (Fact Base) and inference engine. [0003] The hard-coded methods in the existing technology, programming component OSGI, static scripts (such as TypeScript makes the logic part modification take effect in real time), and developer-oriented rule engines (such as Urule, Drools, Easy-Rule) are all oriented to developers. Developers are required to configure rules in advance, and busine...

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 Patents(China)
IPC IPC(8): G06F8/41G06F8/71G06F8/30G06F9/445
CPCG06F8/37G06F8/427G06F8/71G06F9/44521
Inventor 杨涛刘丁源
Owner 浙江太美医疗科技股份有限公司