Packet Processing With GRE Decapsulation for Single-Layer CAPWAP

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional packet transmission between customer premises equipment (CPE) and an access controller (AC) involves double encapsulation using Generic Routing Encapsulation (GRE) and Control and Provisioning of Wireless Access Points (CAPWAP) protocols, leading to reduced efficiency.

Innovation Solution

A method to set a target identifier in the packet header to facilitate decapsulation, allowing for single-layer encapsulation, thereby improving transmission efficiency by eliminating the need for multiple layers of encapsulation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If double encapsulation (GRE and CAPWAP) is used for packet transmission between CPE and AC, then packet transmission compatibility and protocol compliance are improved, but packet transmission efficiency deteriorates

Engineering Contradiction:
Improveprotocol complianceVSAvoidpacket transmission efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent extracts the GRE encapsulation layer from the double encapsulation structure, retaining only the necessary CAPWAP encapsulation. The AP device detects the GRE protocol type in the received packet and selectively removes the GRE header, keeping only the essential CAPWAP tunnel encapsulation for transmission to the AC, thereby eliminating redundant encapsulation overhead

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent restructures the encapsulation hierarchy by nesting the original packet directly within the CAPWAP tunnel instead of having GRE encapsulated within CAPWAP. The AP device repackages the original packet with a simplified CAPWAP header that contains necessary tunnel identification information, creating a single-layer nested structure that maintains protocol compliance while reducing complexity

Inventive Principle:
Principle #7Nested doll (Nesting)

2Reliability

If two layers of encapsulation (GRE by CPE and CAPWAP by AP) are performed, then transparent packet transmission is enabled, but device complexity and processing overhead increase

Engineering Contradiction:
Improvetransparent transmissionVSAvoidencapsulation processing complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent merges the functions of GRE encapsulation and CAPWAP encapsulation into a single streamlined process at the AP device. Instead of performing separate GRE and CAPWAP encapsulation operations, the AP device performs a unified encapsulation that achieves both tunneling and transport functions in one step, reducing processing complexity

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The patent implements preliminary detection of the GRE protocol type in the received packet header before performing encapsulation. The AP device identifies the packet type in advance and prepares the appropriate simplified CAPWAP encapsulation format, avoiding the need for complex multi-stage processing and reducing overall device complexity

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12388746B2Packet processing method, apparatus, and system, device, and computer-readable storage medium
Publication Date: 2025.08.12 HUAWEI TECH CO LTD
  • US12388746B2 patent drawing
  • US12388746B2 patent drawing
  • US12388746B2 patent drawing

AI summary

The technology of this application relates to a packet processing method, apparatus, and system, a device, and a computer-readable storage medium, and pertains to the field of communication technologies. The technology provides a manner of setting, in a packet header of a second packet, a target identifier that indicates to decapsulate the packet. In this way, after the second packet is obtained from a first packet, a first original packet is obtained from the second packet when it is determined that the packet header of the second packet includes the target identifier. Then, a layer of encapsulation is directly performed on the first original packet, to obtain a first target packet used for sending. In this case, there is no need to perform a plurality of layers of encapsulation. Therefore, packet transmission efficiency is improved.