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

A rule engine acceleration method and system based on thread-level speculative execution

A speculative execution and rule-based technology, applied in machine execution devices, concurrent instruction execution, etc., can solve problems such as no good solutions, achieve the effect of accelerating execution speed and shortening total execution time

Inactive Publication Date: 2019-05-31
TIANYI ELECTRONICS COMMERCE
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there is no good solution for parallel execution of rules with dependencies

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
  • A rule engine acceleration method and system based on thread-level speculative execution
  • A rule engine acceleration method and system based on thread-level speculative execution
  • A rule engine acceleration method and system based on thread-level speculative execution

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, in the case of no conflict, the following embodiments and features in the embodiments can be combined with each other.

[0027] It should be noted that the diagrams provided in the following embodiments are only schematically illustrating the basic ideas of the present invention, and only the components related to the present invention are shown in the diagrams rather than the number, shape and shape of the compo...

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 provides a rule engine acceleration method and system based on thread-level speculative execution. The method comprises the following steps: starting at least two threads to execute a rule with conditional judgment dependence in parallel; directly submitting the execution result of each dependent rule to a memory, and temporarily submitting the execution result of each dependent ruleto a register file; after all the depended rules and all the dependency rules are executed, checking whether the conditions of all the dependency rules are met or not; if yes, submitting the execution result of the dependency rule to a memory; otherwise, abandoning the execution result which is temporarily submitted to the register file by the dependency rule. According to the method, the rules with the mutual dependency relationship can be executed by the rule engine in parallel, so that the execution time of the rule engine is remarkably shortened, and the effect of accelerating optimization is achieved.

Description

technical field [0001] The invention relates to the technical field of rule engine acceleration optimization, in particular to a rule engine acceleration method and system based on thread-level speculative execution. Background technique [0002] Rule Engine (Rule Engine) is an embeddable application component that can receive data input, interpret business rules, and make business decisions based on business rules. The application based on the rule engine can realize the separation of business logic and application logic. Therefore, business rules can be established, modified and deleted without recompiling and deploying the application system, which greatly improves the response speed to market changes. At present, the rule engine has been widely used in many fields such as enterprise decision-making, financial risk control, and data analysis. [0003] Speculation Execution (Speculation Execution) is the main means in CPU dynamic execution technology. For example, the co...

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): G06F9/38
Inventor 王全福张璐波谢巍盛马骏杰鲍旭
Owner TIANYI ELECTRONICS COMMERCE
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