Bluetooth BLE MTU Detection via Adaptive Packet Exchange
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current methods for determining the maximum transmission unit (MTU) value in data transmission, particularly in Bluetooth BLE scenarios, often result in packet loss due to compatibility issues, leading to inefficient data transmission and poor user experience.
Innovation Solution
A method and apparatus for detecting the MTU value by forming and sending detection packets between data sending and receiving ends, adjusting packet sizes based on preset rules, and using timers to ensure successful transmission, thereby accurately determining the optimal MTU value for efficient data transfer.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Device complexity
If the MTU value is determined only based on simple interaction between data transmitter and receiver, then the determination process is simple, but packet loss occurs due to compatibility issues
Solution Approach 1:
The patent applies preliminary action by performing MTU detection before actual data transmission. The detection process sends test packets with different sizes to pre-determine the optimal MTU value, ensuring compatibility and preventing packet loss during subsequent data transmission. This advance preparation resolves the contradiction by adding a preliminary detection step that improves reliability without making the overall system complex.
2Ease of operation
If the MTU value is determined based on simple interaction, then the interaction process is simple, but transmission efficiency is poor due to packet loss
Solution Approach 1:
The patent implements feedback by having the receiver send acknowledgment packets indicating whether the transmitted packet size was successfully received. The transmitter uses this feedback to adjust and optimize the MTU value iteratively. This feedback mechanism improves transmission efficiency by eliminating packet loss while maintaining operational simplicity through automated adjustment.
3Ease of manufacture
If a default MTU value is used for packet formation, then packet formation is straightforward, but user experience deteriorates due to poor transmission performance
Solution Approach 1:
The patent applies dynamics by making the MTU value adaptive rather than fixed. The system starts with a default MTU value for straightforward packet formation, then dynamically adjusts the MTU based on detected network conditions and compatibility requirements. This dynamic adjustment maintains ease of packet formation while significantly improving transmission performance and user experience.
Data Source
Figure 1~3
Figure 4~5
Figure 6~9
AI summary
The present disclosure relates to a method and an apparatus for detecting a maximum transmission unit (MTU) value. The data sender forms a first detection packet according to a first preset rule based on its MTU value. The data sender sends the first detection packet to a data receiver. The data sender receives a second detection packet from the data receiver. The data sender determines an MTU value included in the second detection packet as an MTU value of data transmission between the data sender and the data receiver.