Pre-allocated Backup Connections for Mobile Download Efficiency
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In mobile platforms, the instability of network states leads to increased time consumption in DNS query and socket connection initialization, reducing download efficiency and affecting the overall downloading experience due to the limitations of mobile gateways.
Innovation Solution
Creating backup pre-allocated connections based on the quantity of concurrent connections, allowing for direct selection and use of these connections during file downloads, thereby reducing the need for repeated network initialization and shortening connection times.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If breakpoint continuing transmission is implemented by creating connections on demand, then download efficiency is improved through effective use of broadband, but connection initialization time increases due to repeated DNS queries and socket creation in unstable network conditions
Solution Approach 1:
The patent applies preliminary action by creating backup pre-allocated connections in advance before the actual download task begins. These connections are established and maintained in a ready state, so when download needs arise, the connections can be immediately activated without performing DNS queries or socket creation operations at that moment. This resolves the contradiction by shifting the connection initialization work to an earlier time when network conditions may be more favorable, thereby reducing the time loss during actual download operations.
Solution Approach 2:
The patent creates backup connections as copies of the primary download connection. Instead of creating new connections each time a download task is needed, the system maintains multiple connection copies that have already been established. When download operations need to occur, these pre-created connection copies can be directly used, avoiding the time-consuming process of creating new connections in unstable network conditions while still maintaining download efficiency through multiple available connection channels.
2Use of energy by moving object
If connections are created and initialized immediately before use, then device resources are conserved by not maintaining idle connections, but transmission rate decreases due to time consumed in network initialization operations
Solution Approach 1:
The system performs preliminary action by establishing backup connections in advance and maintaining them in a ready state. Although this consumes some device resources to maintain idle connections, it eliminates the need to perform time-consuming network initialization operations (DNS queries, socket creation) when actual download tasks occur. The trade-off resolves the contradiction by accepting moderate resource consumption for idle connections in exchange for significantly improved transmission rate when downloads are actually performed, as the connections are already initialized and ready for immediate data transfer.
Data Source
AI summary
Method and device for network connection download are provided. The method includes: creating, by a terminal device, at least one backup pre-allocated connection; and before a pre-allocated connection is used, performing a corresponding network initialization operation to allow the terminal device, while downloading a file, to select the pre-allocated connection needed for downloading the file directly from the at least one backup pre-allocated connection, thereby obviating the need to re-perform the corresponding network initialization operation.


