Segmented Message Header Parsing With Configurable Stage Skipping

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing data packet parsing methods in multi-layer networks are inflexible, require multiple parsing modules for different data types, and reduce parsing speed due to processing entire data messages at each layer, making them unsuitable for complex communication systems.

Innovation Solution

A staged parsing method that skips unnecessary parsing stages based on parsing configuration information, using a single parsing module to parse headers in multiple stages, and utilizing offset addresses to proceed to the appropriate stage, allowing for flexible parsing of various data types.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If multiple parsing modules are introduced to handle different data packet types, then the system can process various data types, but the device complexity increases and parsing speed decreases

Engineering Contradiction:
Improvecapability to process various data packet typesVSAvoidnumber of parsing modules
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent implements a universal parsing module that can handle multiple data packet types through configuration files rather than requiring separate dedicated modules for each protocol type. The single module adapts to different packet formats by loading appropriate parsing rules from configuration files, thereby reducing system complexity while maintaining versatility across various data types

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The system changes operational parameters dynamically by loading different configuration files that define parsing rules for various protocol types. Instead of structurally changing the system architecture with multiple modules, it modifies parsing parameters and rules through configuration files, allowing one module to serve multiple functions

Inventive Principle:
Principle #35Parameter changes

2Loss of information

If entire data messages are processed at each layer, then complete data information is available for parsing, but the parsing speed is reduced due to longer data length

Engineering Contradiction:
Improvecompleteness of data informationVSAvoidparsing speed
Core Design Contradiction:
Loss of informationVSProductivity

Solution Approach 1:

The patent extracts only the necessary header information from data packets at each parsing layer rather than processing entire data messages. By selectively extracting relevant fields and skipping unnecessary data, the system maintains complete information for required parsing operations while significantly reducing the amount of data processed, thereby improving parsing speed

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The parsing process is segmented into multiple stages, where each stage processes only specific portions of the data message relevant to that layer. This staged approach divides the large data message into smaller manageable segments, allowing faster processing at each stage while preserving necessary information

Inventive Principle:
Principle #1Segmentation

3Device complexity

If a single parsing module is used for multiple stages, then device complexity is reduced, but the ability to handle different header types at different stages becomes limited

Engineering Contradiction:
Improvenumber of parsing modulesVSAvoidcapability to parse different header types
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The single parsing module achieves versatility by dynamically changing its operational parameters through configuration files. Each configuration file contains specific parsing rules for different protocol header types, allowing the module to adapt its behavior to handle various header formats without requiring structural modifications or multiple dedicated modules

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20250233932A1Message segmented parsing method, apparatus, and device, and storage medium
Publication Date: 2025.07.17 CHINA MOBILE (SUZHOU) SOFTWARE TECH CO LTD
  • US20250233932A1 patent drawing
  • US20250233932A1 patent drawing
  • US20250233932A1 patent drawing

AI summary

The present disclosure relates to a message segmented parsing method, apparatus, and device, and a storage medium. In the present disclosure, an n-stage parsing result is obtained by, according to parsing configuration information, performing n-stage parsing on a header comprised in a message; when a next-level header type to be parsed that is comprised in the n-stage parsing result is not the header type of n+1-stage parsing, the n+1-stage parsing of the header is skipped and n+2-stage parsing is entered; when the next-level header type to be parsed is the header type of n+1-stage parsing, the header undergoes n+1-stage parsing according to the offset address of the next stage comprised in the n-stage parsing result; and when N-stage parsing is completed or previous N-1 layer protocol parsing determines to skip N-stage parsing, the current segmented parsing of the header is stopped.