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

Distributed real-time rule reasoning method and distributed real-time rule reasoning device oriented to massive streaming data

A distributed real-time, streaming data technology, applied in reasoning methods, genetic rules, instruments, etc., can solve problems such as failure to consider rule deadlines, time constraints that cannot be met, and rule deadline misses

Inactive Publication Date: 2018-09-18
INST OF SOFTWARE - CHINESE ACAD OF SCI
View PDF1 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, these methods do not consider the rule deadline, which will lead to a large number of missed rule deadlines, so that the time constraints of upper-layer real-time Internet of Things applications cannot be met.

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
  • Distributed real-time rule reasoning method and distributed real-time rule reasoning device oriented to massive streaming data
  • Distributed real-time rule reasoning method and distributed real-time rule reasoning device oriented to massive streaming data
  • Distributed real-time rule reasoning method and distributed real-time rule reasoning device oriented to massive streaming data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0073] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments and accompanying drawings. It should be understood that the described embodiments are only a part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts belong to the protection scope of the present invention.

[0074] The present invention will be described below in conjunction with two specific rules and related data.

[0075] Rule1:

[0076]

[0077]

[0078] Rule2:

[0079]

[0080] (1) figure 1 is the RETE network structure of the above two rules, where Alpha Network represents the α network, AM forCi (i=1,2,3,4) represents the α memory that stores facts of type Ci, and the virtual node dummy top node is for convenience Introduced with no substantive effect. There are four β n...

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 relates to a distributed real-time rule reasoning method and a distributed real-time rule reasoning device oriented to massive streaming data. The method comprises the following steps: establishing a rule graph corresponding to a rule set; converting the rule graph into a data operation graph; generating reasoning operations according to the data operation graph; setting the priorities of the reasoning operations according to a deadline, and putting the reasoning operations into a reasoning operation ready queue according to the descending order of the priorities; selecting a reasoning operation with a highest priority, creating a reasoning task, distributing and executing the reasoning task; when the reasoning operation is completed, deleting the reasoning operation from thereasoning operation ready queue and judging whether the reasoning operation ready queue is an empty queue or not; if the empty queue is not an empty queue, continuing to execute the above operation;if the empty queue is the empty queue, representing that an input fact is matched with all rules. According to the method, mass real-time data can be matched with rules in a distributed environment and the rules can be completed as much as possible before the deadline. The method and the device can be applied to the application of the internet of things with the time constraint, so that the intelligentization of the real-time application of the internet of things is improved.

Description

technical field [0001] The invention belongs to the field of rule system and real-time technology, and in particular relates to a distributed real-time rule reasoning method and device for mass streaming data. Background technique [0002] Rule reasoning expresses domain knowledge as rules, triggers and executes rules by matching rules with facts, so as to make automatic decisions. It has been widely used in various expert systems such as medical diagnosis, geological exploration, and intelligent decision-making. [0003] In recent years, there has been an increasing demand for intelligence in real-time systems, which need to be able to sense the external environment and respond automatically to it. In this case, the real-time system needs to have a strong reasoning ability. It can collect external environmental data through a series of sensors, monitor the continuous event flow, identify the scenes that need attention, and make automatic decisions, so as to realize real-ti...

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): G06N5/04G06N3/00G06N3/12
CPCG06N3/006G06N3/126G06N5/04
Inventor 乔颖王孟玄王宏安
Owner INST OF SOFTWARE - CHINESE ACAD OF SCI
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