Packet Encapsulation Field Modification Using Parallel VLIW Instructions

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The existing methods for modifying packet encapsulation information in Ethernet forwarding systems under Openflow architecture require serial execution of multiple instructions, leading to increased execution cycles and operational delays.

Innovation Solution

The method involves dividing the field to be modified into M containers, extracting N groups of initial instructions from a very long instruction word, processing these instructions to obtain source operands and configuration information, and modifying the matched containers in parallel, reducing the execution time to a single cycle.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If serial execution of multiple instructions is used to modify packet encapsulation information, then the modification process is simple to implement, but the execution cycle increases and operational delay increases

Engineering Contradiction:
Improvesimplicity of implementationVSAvoidexecution cycle
Core Design Contradiction:
Ease of operationVSLoss of time

Solution Approach 1:

The field to be modified is divided into M containers, and the very long instruction word is extracted to obtain N groups of initial instructions (2≤N≤M). These N groups of instructions are processed to obtain N groups of source operands and N groups of modification field configuration information, enabling parallel modification of N containers simultaneously rather than sequential modification

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transitions from one-dimensional serial instruction execution to multi-dimensional parallel execution by utilizing multiple instruction units that can operate simultaneously on different containers. The system architecture enables parallel processing across multiple dimensions, reducing the execution cycle from multiple sequential cycles to a single parallel execution cycle

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Ease of manufacture

If serial execution of instructions is used, then the instruction processing is straightforward, but the productivity decreases due to increased execution cycles

Engineering Contradiction:
Improvestraightforwardness of processingVSAvoidmodification speed
Core Design Contradiction:
Ease of manufactureVSProductivity

Solution Approach 1:

The modification process is segmented into distinct phases: instruction extraction from very long instruction word, processing to obtain source operands and configuration information, and parallel modification of N containers. This segmentation enables efficient pipeline processing while maintaining straightforward implementation through clear phase boundaries

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system performs preliminary extraction of N groups of initial instructions from the very long instruction word and processes them to obtain source operands and modification field configuration information before the actual modification occurs. This preliminary preparation enables the subsequent parallel modification to execute efficiently in a single cycle

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS12452348B2Packet modification method and apparatus, computer device, and storage medium
Publication Date: 2025.10.21 SANECHIPS TECH CO LTD
  • US12452348B2 patent drawing
  • US12452348B2 patent drawing
  • US12452348B2 patent drawing

AI summary

The present disclosure provides a packet modification method and apparatus, a computer device, and a storage medium. The method includes: dividing a field to be modified that is related to packet encapsulation information into M containers; performing instruction extraction on a very long instruction word executing a modification command, to obtain N groups of initial instructions, where 2≤N≤M; processing the N groups of initial instructions to obtain N groups of source operands and N groups of modification field configuration information; determining, according to the N groups of modification field configuration information, N containers matched with the N groups of source operands, respectively; and modifying, according to the N groups of source operands, the N matched containers, respectively.