DMA Checksum Switching for Payload Length Changes

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing communication protocols face inefficiencies in checksum calculation during DMA transfer, particularly when payload length changes, leading to increased processing load and reduced communication speed.

Innovation Solution

A DMA transfer apparatus with dual checksum calculation units allows selection between payload sum and Internet checksum calculations, enabling efficient checksum processing based on payload length changes, thereby maintaining communication speed.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If payload sum calculation is performed during DMA transfer, then communication speed is improved, but when payload length changes, the payload sum becomes invalid requiring recalculation which increases processing load

Engineering Contradiction:
Improvecommunication speedVSAvoidprocessing load
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent implements a dynamic selection mechanism that switches between payload sum calculation mode and Internet checksum calculation mode based on whether payload length changes occur. The control unit determines the appropriate calculation method in real-time, allowing the system to adapt its processing approach to match the actual data transfer conditions, thereby maintaining high communication speed while avoiding unnecessary recalculation overhead

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the checksum calculation parameter based on payload length stability. When payload length is stable, the system uses payload sum calculation (faster method). When payload length changes, the system switches to Internet checksum calculation (more robust method). This parameter change allows the system to optimize between speed and accuracy based on actual operating conditions

Inventive Principle:
Principle #35Parameter changes

2Reliability

If Internet checksum calculation is performed for all data transfers, then checksum accuracy is improved, but processing time increases reducing communication speed

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

Solution Approach 1:

The patent applies partial action by performing only payload sum calculation when payload length remains unchanged, rather than always performing the complete Internet checksum calculation. This partial approach maintains sufficient accuracy for stable payload scenarios while significantly reducing processing time. The full Internet checksum calculation is reserved only for cases where payload length changes require higher accuracy verification

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS10833703B2DMA transfer apparatus, method of controlling the same, communication apparatus, method of controlling the same, and non-transitory computer-readable storage medium
Publication Date: 2020.11.10 CANON KK
  • US10833703B2 patent drawing
  • US10833703B2 patent drawing
  • US10833703B2 patent drawing

AI summary

A DMA (Direct Memory Access) transfer apparatus acquires information including a transfer source address and a transfer destination address based on a received transfer instruction, selects whether to perform first checksum calculation for data from an area of a memory corresponding to the transfer source address or perform second checksum calculation different from the first checksum calculation, and transfers data obtained via the checksum calculation selected in the selecting to an area of the memory corresponding to the transfer destination address.