Communication Device Buffer Management for Data Overflow Prevention
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing communication methods, such as those using TCP/IP, face inefficiencies when dealing with data transmission beyond the capacity of reception buffers, leading to potential data discard and reduced communication efficiency due to lack of memory resources or temporary buffers.
Innovation Solution
A communication device that determines whether an additional buffer can be secured to store data exceeding the reception buffer capacity, adjusts the window size based on available storage, and notifies the transmitting device to prevent data overflow or underflow, effectively utilizing memory resources and enhancing communication efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If the window size is increased to allow more data transmission, then communication throughput is improved, but data overflow and loss occur when the reception buffer capacity is exceeded
Solution Approach 1:
The patent segments the storage function into two distinct buffers: a reception buffer for normal data storage and a temporary buffer for overflow data storage. This segmentation allows the system to accept larger window sizes for improved throughput while reliably storing all received data by directing excess data to the temporary buffer when the reception buffer is full.
Solution Approach 2:
The temporary buffer acts as an intermediary storage area between the network input and the reception buffer. When the reception buffer is full, incoming data is redirected to the temporary buffer, preventing data loss and allowing the system to maintain high throughput without overflowing the reception buffer.
2Reliability
If a temporary buffer is allocated to store overflow data, then data loss is prevented, but memory resources are consumed and communication efficiency deteriorates when resources are insufficient
Solution Approach 1:
The patent implements dynamic buffer management where the window size is adjusted based on the availability of temporary buffer resources. When temporary buffer space is sufficient, the system accepts larger window sizes and routes overflow data to the temporary buffer. When temporary buffer resources are insufficient, the system reduces the window size to prevent data loss, thereby adapting communication efficiency to available memory resources.
Solution Approach 2:
The system dynamically changes the window size parameter based on temporary buffer availability. This parameter adjustment allows the system to optimize between reliability (preventing data loss) and productivity (maintaining communication efficiency) by matching the transmission rate to the available storage resources at any given time.
3Reliability
If the window size is set to match the reception buffer capacity, then data overflow is prevented, but communication efficiency deteriorates due to underutilization of available memory resources
Solution Approach 1:
The patent adds another dimension to the storage architecture by introducing a temporary buffer separate from the reception buffer. This dimensional expansion allows the system to exceed the reception buffer capacity for data transmission while maintaining reliability, as overflow data is directed to the temporary buffer rather than being lost or requiring window size reduction.
Data Source
AI summary
A communication device includes a reception unit configured to receive data transmitted from another communication device in response to a notification indicating an amount of data allowed to be transmitted, a storage unit configured to store the received data in a storage area, a determination unit configured to determine whether or not another buffer can be secured, in addition to a reception buffer having a capacity reserved upon establishment of a logical communication path between the communication device and the another communication device, the another buffer being configured to store data that cannot be stored in the reception buffer among the received data, a decision unit configured to decide the amount of data allowed to be transmitted from the another communication device based on a result of the determination, and a notification unit configured to send, to the other communication device, a notification indicating the decided amount of data.


