Adaptive Upload Protocol Selection for Variable Network Conditions
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Using a single fixed uploading protocol for data transmission is ineffective under varying network conditions, leading to reduced upload performance and user experience.
Innovation Solution
A method and apparatus for dynamically switching data uploading protocols based on performance tests, selecting the optimal protocol for current network conditions to ensure efficient data transmission.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a single fixed uploading protocol is used, then the system is simple and easy to implement, but the uploading performance cannot be effectively guaranteed under different network conditions
Solution Approach 1:
The patent implements dynamic protocol selection by testing multiple uploading protocols (e.g., HTTP, HTTPS, FTP) and automatically selecting the one with the best performance for the current network conditions. This transforms the static protocol selection into a dynamic, adaptive process that responds to changing network environments, thereby improving uploading reliability without requiring manual intervention.
Solution Approach 2:
The patent changes the protocol parameter based on network conditions by performing performance tests on different protocols and selecting the optimal one. This involves varying the protocol type (HTTP, HTTPS, FTP) as a key parameter to adapt to different network environments, thus resolving the contradiction between maintaining simplicity and achieving reliable uploading performance.
2Reliability
If multiple uploading protocols are tested, then the optimal protocol can be selected for current network conditions, but the time and resources required for protocol selection increase
Solution Approach 1:
The patent performs protocol performance tests in advance before actual data uploading begins. By conducting these tests preliminarily and caching the results, the system prepares the optimal protocol selection ahead of time, reducing the time impact during actual uploading operations. This preliminary action allows the system to quickly switch to the pre-determined optimal protocol without significant delay.
Solution Approach 2:
The patent implements a balanced approach by testing a limited set of protocols (not all possible protocols) and using performance thresholds to determine when testing is sufficient. This partial action approach tests only the necessary protocols with reasonable depth, avoiding excessive testing while still identifying the optimal protocol, thus balancing reliability improvement with time consumption.
Data Source
AI summary
Embodiments of the present disclosure disclose a data uploading method and apparatus, a device, and a medium. The method includes: in response to a preset operation triggered by a user before uploading application data, obtaining at least two data uploading protocols; performing data uploading performance testing on each data uploading protocol on the basis of a preset performance testing means, and determining a target uploading protocol that matches with a current network on the basis of a performance testing result; and in response to an application data uploading operation triggered by the user, uploading current target application data to be uploaded on the basis of the target uploading protocol.


