Network Data Packet Recording via Binary Storage

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current network systems face challenges in efficiently recording and replaying interaction data between a front apparatus and a server without requiring significant storage space, especially in applications like online games, where space-consuming image data is unnecessary and existing methods are complex.

Innovation Solution

A data processing method and apparatus that collect and record data packets at a socket interface of a network system in chronological order, storing them in a binary file, allowing for playback without re-establishing network communication, thus reducing storage needs and maintaining universality across different network systems.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If image data and audio data are recorded during network connection, then complete playback information is obtained, but storage space occupied increases significantly

Engineering Contradiction:
Improveplayback information completenessVSAvoidstorage space occupied
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The patent extracts only the essential data packets transmitted between front apparatus and server during network connection, separating them from other data such as image and audio files. By recording only these data packets in binary format, the solution achieves playback functionality while minimizing storage space consumption.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent segments the recording process into two distinct phases: during network connection, only data packets are recorded; during playback, network connection is disconnected and the recorded data packets are parsed and sent to upper-layer logic processing. This segmentation eliminates the need to store large image and audio files while preserving essential interaction data.

Inventive Principle:
Principle #1Segmentation

2Reliability

If complex recording and playback methods are used to capture all interaction data, then accurate reproduction is achieved, but processing complexity increases

Engineering Contradiction:
Improveinteraction data reproduction accuracyVSAvoidprocessing method complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent creates a simplified copy of the network interaction by recording only the essential data packets exchanged between front apparatus and server. During playback, these recorded packets are parsed and fed to the upper-layer logic processing module without requiring actual network connection, achieving accurate reproduction through a simplified copying mechanism.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The patent changes the parameter of data representation by storing interaction data in binary format rather than human-readable formats. This parameter change simplifies the processing methodology while maintaining complete information, as binary format efficiently captures the essential structure of network packets without requiring complex encoding or decoding procedures.

Inventive Principle:
Principle #35Parameter changes

3Ease of operation

If data packets are stored in text format with timestamps, then data readability is improved, but file size increases and processing efficiency decreases

Engineering Contradiction:
Improvedata readabilityVSAvoidfile size
Core Design Contradiction:
Ease of operationVSQuantity of substance

Solution Approach 1:

The patent changes the parameter of data storage format from human-readable text with timestamps to compact binary format. This parameter change significantly reduces file size while maintaining complete information about the interaction data packets. The binary format preserves all essential data while eliminating the space-consuming text representation and timestamp annotations.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS10569169B2Data processing method and apparatus for network system
Publication Date: 2020.02.25 TENCENT TECHNOLOGY (SHENZHEN) CO LTD
  • US10569169B2 patent drawing
  • US10569169B2 patent drawing
  • US10569169B2 patent drawing

AI summary

Data processing method and apparatus for a network system are provided. The method includes collecting, by a recording module at a socket interface of a front apparatus of the network system, data packets transmitted between the front apparatus and a server, sequentially recording the collected data packets in a binary file in chronological order, and saving the binary file; and disconnecting, by a playback module, transmission communication between the front apparatus and the server, sequentially parsing the data packets in the binary file in chronological order, and sending the data packets to an upper-layer logic processing module of the front apparatus without using the socket interface. The present disclosure can implement a demonstration (Demo) technology of a network system in a simple processing manner, thereby reducing system complexity and storage space occupied, and improving universality.