Decision Tree Generation Using Weighted Graph Rule Encoding

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The decision-tree-based traffic classification method experiences a high occurrence probability of rule replication, leading to increased storage occupancy and inefficiencies in traffic classification processes.

Innovation Solution

A method involving encoding rules into encoded rule sets and generating weighted undirected graphs to reduce rule replication by combining vertices based on maximum or minimum weight thresholds, resulting in fewer rule subsets with lower replication probabilities.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If rule sets are divided into multiple rule subsets using traditional cutting methods, then decision tree search efficiency is improved, but rule replication occurs frequently leading to increased storage occupancy

Engineering Contradiction:
Improvesearch efficiencyVSAvoidstorage occupancy
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The patent applies parameter changes by transforming the rule representation from binary format to weighted undirected graph format. Each rule is encoded with weights representing the number of matching packets, and the cutting process uses these weight parameters to make more informed decisions about where to split rule sets, thereby reducing unnecessary rule replication while maintaining search efficiency.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent implements feedback mechanisms by calculating and using weight values (number of matching packets) to guide the cutting process. The system continuously evaluates the impact of potential cuts on rule replication and storage occupancy, adjusting the cutting strategy based on this feedback to minimize rule replication while preserving search performance.

Inventive Principle:
Principle #23Feedback

2Quantity of substance

If more rule subsets are created to reduce rule replication, then storage occupancy decreases, but decision tree complexity and generation time increase

Engineering Contradiction:
Improvestorage occupancyVSAvoiddecision tree complexity
Core Design Contradiction:
Quantity of substanceVSDevice complexity

Solution Approach 1:

The patent transforms the rule set representation to include weight parameters that enable more efficient cutting strategies. By using weighted undirected graphs where edge weights represent rule relationships and packet matching counts, the system can identify optimal cut points that reduce storage occupancy without creating excessive decision tree complexity, as the weight information guides merges of compatible rules.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent applies merging by combining rules into weighted undirected graph structures where compatible rules can be grouped together. The cutting process merges rules that share common characteristics identified through weight analysis, reducing the overall number of rule subsets needed while maintaining low storage occupancy and avoiding excessive decision tree complexity.

Inventive Principle:
Principle #5Merging (Combining)

3Ease of manufacture

If traditional cutting methods are used to divide rule sets, then decision tree generation is straightforward, but rule replication probability increases reducing classification efficiency

Engineering Contradiction:
Improvedecision tree generation simplicityVSAvoidclassification efficiency
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The patent changes the parameters used in decision tree generation from simple binary rule matching to weighted graph-based matching. By incorporating weight parameters that represent packet matching counts and rule relationships, the system maintains relatively straightforward generation processes while significantly reducing rule replication probability, thereby improving classification efficiency without sacrificing ease of generation.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent introduces weighted undirected graphs as an intermediary structure between the rule set and the decision tree. This intermediary representation with weight parameters enables more intelligent cutting decisions that reduce rule replication, while the graph structure itself serves as a bridge that maintains the relative simplicity of decision tree generation processes.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10026039B2Method and apparatus for generating decision tree
Publication Date: 2018.07.17 HUAWEI TECH CO LTD
  • US10026039B2 patent drawing
  • US10026039B2 patent drawing
  • US10026039B2 patent drawing

AI summary

Embodiments of the present invention provide a method and an apparatus for generating a decision tree. The method includes generating an encoded rule set according to a rule set, generating a first weighted undirected graph, and calculating a weight of each side in the first weighted undirected graph. If a weight of a side with a maximum weight in the first weighted undirected graph is greater than a first threshold, a first operation is cyclically performed until a weight of a side with a maximum weight in a newly generated weighted undirected graph is less than or equal to the first threshold and a decision tree is generated for a rule subset corresponding to each vertex respectively in the newly generated weighted undirected graph.