Method and device for rule optimization in cloud environment

An optimization method and technology for optimizing devices, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as no theoretical framework, and achieve the effect of providing services well

Inactive Publication Date: 2011-12-21
TSINGHUA UNIV
View PDF2 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this theory still does not have a complete theoretical framework, so it is par

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 and device for rule optimization in cloud environment
  • Method and device for rule optimization in cloud environment
  • Method and device for rule optimization in cloud environment

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0081] Example 1 shows a specific example of merging rules based on the same data table.

[0082] Example 1: Example of merging rules of the same data table

[0083] In this example, there are two rules R1, R2.

[0084] Rule 1: (in figure 2 (Indicated by R1)

[0085] in case

[0086] Account number = 100008 (conditions are figure 2 (Indicated by C1)

[0087] Then

[0088] Perform A1 action

[0089] Rule 2: (in figure 2 (Indicated by R2)

[0090] in case

[0091] Deposit balance> 50000 (conditions are figure 2 (Indicated by C2)

[0092] Then

[0093] Perform A2 action

[0094] The above two rules R1 and R2 have a common feature. Both rules are set for the same data table "bank customer table", so they are passed directly figure 2 Combining these two rules in the manner described, the result is figure 2 The right part.

[0095] 4) Optimization based on equivalent merger of rule conditions, such as image 3 Shown. Combine and optimize all rules with th...

example 2

[0102] Example 2: Optimization example based on equivalence merge of rule conditions

[0103] In this example, there are two rules R1, R2.

[0104] Rule 1: (in image 3 (Indicated by R1)

[0105] in case

[0106] Account = "Shanghai Stock Exchange" (conditions are image 3 (Indicated by C1)

[0107] and

[0108] Industry = "Electricity" (conditions are image 3 (Indicated by C2)

[0109] Then

[0110] Perform A1 action

[0111] Rule 2: (in image 3 (Indicated by R2)

[0112] in case

[0113] Account = "Shanghai Stock Exchange" (conditions are image 3 (Indicated by C3)

[0114] and

[0115] Industry = "Chemical" (conditions are image 3 (Indicated by C2)

[0116] Then

[0117] Perform A2 action

[0118] There are two conditions in the above two rules R1 and R2, but one of the two rules is the same, that is: C1=C3, they are the same (account = "Shanghai stock market"), so pass directly image 3 The description method combin...

example 3

[0137] Example 3: Optimization example based on equivalent replacement of rule modules

[0138] In this example, there are two rules R1, R2.

[0139] Rule 1: (in Figure 4 (Indicated by R1)

[0140] in case

[0141] Manufacturer = "FAW" (conditions are Figure 4 (Indicated by C1)

[0142] and

[0143] Price>15,0000 (conditions are Figure 4 (Indicated by C2)

[0144] Then

[0145] Perform A1 action

[0146] Rule 2: (in Figure 4 (Indicated by R2)

[0147] in case

[0148] Price>15,0000 (conditions are Figure 4 (Indicated by C2)

[0149] and

[0150] Manufacturer = "FAW" (conditions are Figure 4 (Indicated by C1)

[0151] Then

[0152] Perform action A2.

[0153] There are two conditions in the above two rules R1 and R2, and the two conditions in the two rules are the same, but the position of the conditions has changed, according to the commutative law:

[0154] C1∩C2=C2∩C1, they are equivalent.

[0155] So go st...

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 optimization method and device in a cloud environment. The optimization method includes: step 1, the user sets rules in the cloud environment, and the rules include a condition part and an action part; step 2, collects the rules set by the user and generates a rule set; step 3, merges rules based on the same data table. The present invention realizes a massive rule optimization scheme in a cloud environment including cloud user setting rules, massive rule generation, rule merging based on the same data table, optimization based on rule condition equivalent merging and optimization based on rule module equivalent replacement , which realizes the optimization of massive rules in the cloud environment, so as to provide better services for users.

Description

Technical field [0001] The invention relates to the field of massive rule processing, in particular to a method and device for optimizing rules in a cloud environment. Background technique [0002] The massive rule processing in the cloud environment is to process massive rules set by cloud users to increase the processing speed. In recent years, with the development of science and technology, the amount of data available in various fields has grown rapidly, and business systems in the cloud environment will handle various rules set by tens of millions or even hundreds of millions of users. The future national security early warning system, national active e-government system, and traffic early warning system, etc., will have to deal with massive rules set by users every day. With the emergence of these massive rules, dealing with such a huge network of massive rules has become increasingly powerless. Due to the huge amount of calculation for the massive rules in the cloud envi...

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): H04L29/08G06F17/30
Inventor 张桂刚李超张勇邢春晓
Owner TSINGHUA UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products