Patent ID: 9705961
Date: 2017-07-11
CPC Classifications: H04L,H04W

Claim:
1. A method for transmitting files, the method comprising: receiving, by a first mobile device, a request for transmitting a file to a second mobile device from a user; transmitting, by the first mobile device, the file to the second mobile device in a first transmission mode; judging in real-time whether the size of a remaining part of the file is greater than or equal to a preconfigured threshold in the process of transmitting the file; judging whether the first mobile device is able to establish a connection with the second mobile device in a second transmission mode and whether the transmission rate of the second transmission mode is higher than that of the first transmission mode, on condition that the size of the remaining part of the file is greater than or equal to the preconfigured threshold; and switching the transmission mode of the first mobile device to the second transmission mode to transmit the remaining part of the file on condition that the first mobile device is able to establish a connection with the second mobile device in the second transmission mode and the transmission rate of the second transmission mode is higher than that of the first transmission mode; wherein transmitting the file in the first transmission mode to the second mobile device comprises: using a default transmission mode of the first mobile device to transmit the file to the second mobile device; using a transmission mode manually selected by the user to transmit the file to the second mobile device before the user sends the request; or selecting automatically a transmission mode for the first mobile device to transmit the file to the second mobile device.