Checksum Calculator for Low Latency Network Packets

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing network communication systems face challenges in efficiently calculating checksums for network packets, particularly in applications requiring low latency, such as automotive systems, where distinguishing between constant and variable header values and calculating checksums in real-time is crucial for reliable data transmission.

Innovation Solution

A packet generator with a checksum calculator that separates constant and variable header values, calculates partial checksums independently, and inserts the final checksum into packets, enabling efficient hardware implementation and low latency transmission.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If checksum calculation is performed on entire packet header and payload together, then checksum accuracy is ensured, but calculation time increases and latency is not optimized

Engineering Contradiction:
Improvechecksum accuracyVSAvoidcalculation time
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent divides the checksum calculation into three independent segments: constant header partial checksum, variable header partial checksum, and payload partial checksum. Each segment is calculated separately and then combined to form the final checksum. This segmentation allows parallel computation of multiple partial checksums simultaneously, significantly reducing total calculation time while maintaining the accuracy of the complete packet checksum verification.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The constant header partial checksum is pre-calculated and stored in a register before packet transmission begins. This preliminary action eliminates the need to recalculate constant portions for each packet, reducing redundant computations and lowering latency for subsequent packets in the same communication stream.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If constant header values are recalculated for each packet, then checksum consistency is maintained, but computational redundancy increases processing time

Engineering Contradiction:
Improvechecksum consistencyVSAvoidprocessing throughput
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The constant header partial checksum is calculated once during initialization and stored in a dedicated register. This pre-computed value remains valid for all packets sharing the same constant header fields, eliminating repeated calculations and significantly improving processing throughput while ensuring consistency across all packets in the stream.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The header checksum is segmented into constant and variable portions. The constant portion is isolated and pre-calculated, while only the variable portion requires recalculation for each packet. This segmentation strategy maintains checksum consistency for the stable portions while minimizing redundant computations, thereby enhancing overall processing efficiency.

Inventive Principle:
Principle #1Segmentation

3Loss of time

If checksum calculation is performed in parallel with packet transmission, then latency is reduced, but hardware complexity increases

Engineering Contradiction:
Improvetransmission latencyVSAvoidhardware complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The checksum calculation is divided into independent parallel segments that can be computed simultaneously: constant header partial checksum from a register, variable header partial checksum from current packet data, and payload partial checksum from incoming data stream. These parallel computations converge to produce the final checksum without requiring complex sequential processing, thus reducing latency while keeping hardware architecture manageable.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Multiple partial checksum calculations are merged into a final checksum value through a combination operation. The hardware architecture integrates separate calculation units for different packet portions, with their results combined in a final summation stage. This merging approach enables parallel processing of multiple packet components while maintaining a relatively simple overall hardware structure compared to computing the complete checksum sequentially.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS10560357B2Distributed checksum calculation for communication packets
Publication Date: 2020.02.11 INFINEON TECHNOLOGIES AMERICAS CORP
  • US10560357B2 patent drawing
  • US10560357B2 patent drawing
  • US10560357B2 patent drawing

AI summary

A packet generator includes a checksum calculator configured to distinguish, in a communication packet belonging to a sequence of packets, between (i) one or more constant values of a header of the packet, the one or more constant values remaining unchanged across the packets in the sequence, (ii) a payload of the packet, and (iii) one or more variable values of the header, the one or more variable values changing among the packets in the sequence, to determine a constant-values partial checksum calculated over the constant values of the header, to calculate a payload partial checksum over the payload, to calculate a final checksum value for the packet based on (i) the constant-values partial checksum, (ii) the payload partial checksum and (iii) the variable values of the header, and to insert the final checksum value into the packet. An egress interface transmits the packet over a network.