Network Message Parsing via Configuration Files

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing network message parsing technologies face challenges in managing multiple protocols, requiring frequent software and hardware modifications for protocol switching, which hinders hitless upgrades and reliable operation.

Innovation Solution

A method that uses configuration files to identify and parse network messages by modifying only the section description information for changes in processing methods, allowing for hitless upgrades and improved flexibility.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If software and hardware are modified to support protocol switching, then the network server can process multiple protocols, but the complexity of the system increases and hitless upgrade cannot be implemented

Engineering Contradiction:
Improveprotocol switching capabilityVSAvoidsystem complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the protocol processing logic into separate configuration files, where each protocol has its own dedicated configuration section. This allows the system to support multiple protocols without mixing their processing logic, reducing overall system complexity while maintaining versatility.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements dynamic protocol switching by allowing the network server to load and unload protocol configuration files at runtime without requiring software or hardware modifications. This dynamic approach enables hitless upgrades while supporting multiple protocols.

Inventive Principle:
Principle #15Dynamics

2Adaptability or versatility

If software is modified to support new protocols, then the network server can handle protocol switching, but service interruption occurs during upgrades

Engineering Contradiction:
Improveprotocol supportVSAvoidservice continuity
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent prepares protocol configuration files in advance with complete processing logic for each protocol. When a new protocol needs to be supported, the configuration file is ready beforehand and can be loaded without service interruption, enabling hitless upgrades.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces a configuration file as an intermediary layer between the network server and protocol processing logic. This intermediary allows protocol updates to be made by replacing configuration files rather than modifying the server itself, maintaining service continuity during upgrades.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If implementation logic is reset for each protocol, then accurate parsing can be achieved, but the processing time increases

Engineering Contradiction:
Improveparsing accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent pre-compiles protocol processing logic into configuration files during system initialization or before processing begins. This preliminary preparation allows the network server to quickly reference pre-defined parsing rules during actual message processing, maintaining both accuracy and speed.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent creates copied instances of protocol processing logic in the form of configuration files for each protocol. Instead of resetting implementation logic from scratch for each protocol, the system uses pre-prepared copies of the logic, reducing processing time while maintaining parsing accuracy.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS9819719B2Method for parsing network message and communication device
Publication Date: 2017.11.14 HUAWEI TECH CO LTD
  • US9819719B2 patent drawing
  • US9819719B2 patent drawing
  • US9819719B2 patent drawing

AI summary

A method for parsing a network message and a communication device, which includes: receiving a network message, where the network message includes one or more sections; identifying that an application protocol type of the network message is a first application protocol; acquiring, from a current section that is in the network message and that is described by a piece of section description information in a configuration file corresponding to the first application protocol, interesting data indicated by interesting data indication information in the section description information; and executing a decision method in the section description information by using all or a part of the acquired interesting data as a decision condition, thereby obtaining a corresponding decision result, when the current section is a last section of the network message, the decision result includes a processing method of a next message of the network message.