File transferring method and apparatus
A transmission method and file transmission technology, applied in electrical components, network traffic/resource management, wireless communication, etc., can solve the problems of high failure rate of file transmission and insufficient utilization of network resources, and achieve the effect of improving the success rate and efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] figure 1 The implementation process of the file transmission method provided by the embodiment of the present invention is shown, and the details are as follows:
[0028] S101. Detect the network type connected to the mobile terminal.
[0029] The types of networks that the mobile terminal can connect to include but are not limited to Wi-Fi networks, mobile networks, and the like. The mobile network includes but not limited to the second generation mobile communication network (Second Generation, 2G), the general packet radio network (General Packet Radio Service, GPRS), the third generation mobile communication network (Third-generation, 3G) and so on.
[0030] When the mobile terminal needs to perform file transfer, the type of the network to which the mobile terminal is currently connected is detected.
[0031] S102. Determine the size of each subsequent data segment according to the network type and the transmission status of the previously transmitted data segmen...
Embodiment 2
[0048] figure 2 The specific process of determining the size of the first data fragment as the first initial value or the second initial value provided by the embodiment of the present invention is shown, and the details are as follows:
[0049] S201, judging whether the type of network connected to the mobile terminal is a Wi-Fi network, if yes, skip to S202, otherwise, skip to S203.
[0050] S202, the size S of the first data fragment 1 determined as the first initial value.
[0051] S203, the size S of the first data fragment 1 determined as the second initial value.
[0052] S204, judging whether the total size of the files to be transferred is less than the small data transfer threshold, if yes, jump to S205, otherwise the size of the first data fragment is S 1 Make sure the process is over.
[0053] S205, when the network type is a Wi-Fi network, adjust the size of the first data fragment to the product of the first initial value and the small data growth multiple,...
Embodiment 3
[0056] image 3 The specific process of determining the size of the first data fragment as the first initial value or the second initial value provided by another embodiment of the present invention is shown, and the details are as follows:
[0057] S301, judging whether the type of network connected to the mobile terminal is a Wi-Fi network, if yes, jump to S302, otherwise, jump to S303.
[0058] S302, the size S of the first data fragment 1 determined as the first initial value.
[0059] S303, the size S of the first data fragment 1 determined as the second initial value.
[0060] S304, judging whether the total size of the files to be transferred is smaller than the small data transmission threshold, if yes, jump to S305, otherwise, jump to S306.
[0061] S305, when the network type is a Wi-Fi network, adjust the size of the first data fragment to the product of the first initial value and the small data growth multiple, and when the network type is other networks, adju...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


