File Transfer Timeout Adaptation via Upload Traffic Monitoring
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The high failure rate of file transfers over mobile networks due to inappropriate timeout periods, which are often set based on average network bandwidth, leading to excessive network traffic waste and inefficiency.
Innovation Solution
An electronic device and method that monitor upload traffic during a preset time period, sending an interrupt request if no traffic is produced, allowing for more accurate determination of file segment transfer success and reducing network traffic waste by dynamically adjusting the timeout period based on current network conditions.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If the timeout period is calculated based on average network bandwidth, then the timeout period can be determined using simple statistical methods, but the timeout period becomes too small for mobile networks with fluctuating bandwidth, leading to high failure rates
Solution Approach 1:
The patent applies dynamics by transitioning from a static timeout period (based on average bandwidth) to a dynamic timeout period that adapts to real-time network conditions. The system continuously monitors network status and adjusts the timeout period accordingly, allowing it to expand when network conditions deteriorate and contract when conditions improve, thus resolving the contradiction between efficiency and reliability.
Solution Approach 2:
The patent implements feedback by establishing a closed-loop system that monitors network bandwidth and transfer progress in real-time. The monitoring module continuously provides feedback about network conditions to the timeout period calculation module, which adjusts the timeout period based on this feedback. This feedback mechanism enables the system to respond to network fluctuations and maintain reliable file transfers.
2Loss of time
If the timeout period is set to a small value to avoid long waiting times, then user experience is improved, but the file transfer failure rate increases due to network fluctuations
Solution Approach 1:
The system dynamically adjusts the timeout period based on real-time network conditions rather than using a fixed small value. When network conditions are good, the timeout period remains short to provide quick feedback to users. When network conditions deteriorate, the timeout period automatically extends to prevent premature timeout failures, thus balancing user experience with transfer reliability.
Solution Approach 2:
The patent changes the timeout period parameter dynamically based on network conditions. The system monitors bandwidth fluctuations and adjusts the timeout period parameter accordingly, transforming it from a static small value to a flexible parameter that adapts to network state, thereby maintaining both responsiveness and reliability.
3Adaptability or versatility
If the timeout period is calculated based on recent actual bandwidth, then the timeout period adapts to current network conditions, but the bandwidth jump in mobile networks makes accurate estimation difficult, leading to high failure rates
Solution Approach 1:
The patent applies preliminary action by performing multiple bandwidth measurements and establishing a baseline before initiating the file transfer. The system pre-assesses network conditions and uses this preliminary information to set an initial timeout period, rather than relying solely on potentially inaccurate real-time measurements during the transfer process.
Solution Approach 2:
The system prepares for bandwidth fluctuations by establishing a cushioning mechanism through conservative timeout period estimation. Rather than relying on precise real-time bandwidth measurement which may be inaccurate due to network jumps, the system builds in a safety margin that accommodates unexpected bandwidth variations, preventing timeout failures.
4Productivity
If file segments are resent upon timeout, then the file transfer can continue, but network traffic is wasted due to the failed transferring process
Solution Approach 1:
The monitoring module provides continuous feedback about network conditions and transfer progress. This feedback enables the system to make informed decisions about whether to continue with the current transfer or abort and retry, minimizing unnecessary retransmissions and reducing network traffic waste while ensuring file transfer completion.
Solution Approach 2:
The patent applies skipping by allowing the file transfer to proceed through the adjusted timeout period without immediate interruption. The system rushes through potential network fluctuations by maintaining the transfer process with an adaptive timeout, avoiding premature aborts and subsequent wasteful retransmissions.
Data Source
AI summary
The present invention discloses an electronic device, a storage medium and a method for transferring a file. The method for transferring the file includes: submitting a file segment to be transferred to a target device to a transferring queue in a main process; waiting for an interrupt signal; monitoring whether the main process produces upload traffic during a preset time period, and if the main process does not produce the upload traffic during the preset time period, sending out an interrupt request which comprises information that the main process does not produce the upload traffic during the preset time period; stopping waiting for the interrupt signal when a response from the target device or the interrupt request are received.


