Method, Mobile Device and System for Transmitting Files

Wang; Qing ;   et al.

Patent Application Summary

U.S. patent application number 15/613305 was filed with the patent office on 2017-09-21 for method, mobile device and system for transmitting files. The applicant listed for this patent is TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED. Invention is credited to Yunfeng Dai, Haoran Guo, Zefeng Huang, Pengtao Li, Chunyou Lin, Zhanghu Luo, Jiashun Song, Qing Wang, Quanhao Xiao, Yixia Yuan, Xunchang Zhan.

Application Number20170272502 15/613305
Document ID /
Family ID49258201
Filed Date2017-09-21

United States Patent Application 20170272502
Kind Code A1
Wang; Qing ;   et al. September 21, 2017

Method, Mobile Device and System for Transmitting Files

Abstract

A method, a mobile device, system for transmitting files are disclosed, which relate to a field of communication. The method includes: a first mobile device transmits a file to a second mobile device in a first transmission mode when receiving a file transmission request for transmitting the file to the second terminal from a user. In the process of transmitting the file, the first mobile device judges in real-time whether the size of the remaining part of the file is greater than or equal to a preconfigured threshold; if yes, judges whether the first mobile device is able to establish a connection with the second mobile device with a higher transmission rate than that in the first transmission mode. On condition that the above condition is satisfied, the first mobile device switches the transmission mode and adopting the second transmission mode to transmit the remaining part of the file. The mobile device disclosed includes a receiving module, a transmitting module, a judging module and a switching module, thereby improving file transmission efficiency.


Inventors: Wang; Qing; (Shenzhen, CN) ; Luo; Zhanghu; (Shenzhen, CN) ; Huang; Zefeng; (Shenzhen, CN) ; Guo; Haoran; (Shenzhen, CN) ; Xiao; Quanhao; (Shenzhen, CN) ; Yuan; Yixia; (Shenzhen, CN) ; Song; Jiashun; (Shenzhen, CN) ; Li; Pengtao; (Shenzhen, CN) ; Dai; Yunfeng; (Shenzhen, CN) ; Zhan; Xunchang; (Shenzhen, CN) ; Lin; Chunyou; (Shenzhen, CN)
Applicant:
Name City State Country Type

TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED

Shenzhen

CN
Family ID: 49258201
Appl. No.: 15/613305
Filed: June 5, 2017

Related U.S. Patent Documents

Application Number Filing Date Patent Number
14496075 Sep 25, 2014 9705961
15613305
PCT/CN2013/072996 Mar 21, 2013
14496075

Current U.S. Class: 1/1
Current CPC Class: H04L 67/06 20130101; H04W 36/26 20130101
International Class: H04L 29/08 20060101 H04L029/08; H04W 36/26 20060101 H04W036/26

Foreign Application Data

Date Code Application Number
Mar 27, 2012 CN 201210084393.X

Claims



1. A method for transmitting files performed at a first mobile device, the method comprising: receiving a request for transmitting a file to a second mobile device from a user; transmitting the file to the second mobile device in a first transmission mode; determining 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; switching the transmission mode of the first mobile device to the second transmission mode to transmit 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; and displaying the remaining part of the file in real-time on a screen in the process of transmitting the file until the entire file transmission is complete.

2. The method according to claim 1, wherein the method further comprising: determining whether the size of the remaining part of the file is greater than or equal to a preconfigured threshold in the process of transmitting the file before switching the transmission mode of the first mobile device to the second transmission mode to transmit the file; and proceeding to the process of 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 size of the remaining part of the file is greater than or equal to the preconfigured threshold, 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; or transmitting the remaining part of the file to the second mobile device in the first transmission mode on condition that the size of the remaining part of the file is less than the preconfigured threshold, the first mobile device is not able to establish a connection with the second mobile device in the second transmission mode, or the transmission rate of the second transmission mode is not higher than that of the first transmission mode.

3. The method according to claim 1, wherein receiving the request for transmitting the file to the second mobile device from the user comprises: confirming the request for transmitting the file to the second mobile device is received when the first mobile device detects that the user has pressed a send file button to perform an operation of transmitting a file.

4. The method according to claim 1, wherein receiving the request for transmitting the file to the second mobile device from the user comprises: confirming the request for transmitting the file to the second mobile device is received when the first mobile device detects that the user has touched and dragged the file outside a display area of a screen and determines that an operation mode of the file is a sending mode.

5. The method according to claim 1, 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.

6. The method according to claim 1, wherein transmitting the file in the first transmission mode to the second mobile device comprises: using a transmission mode manually selected by the user to transmit the file to the second mobile device before the user sends the request.

7. The method according to claim 1, wherein transmitting the file in the first transmission mode to the second mobile device comprises: selecting automatically a transmission mode for the first mobile device to transmit the file to the second mobile device.

8. The method according to claim 1, wherein the method further comprising: determining whether the first mobile device could establish a connection with the second mobile device in the second transmission mode on condition that the first mobile device disconnects with the second mobile device in the first transmission mode, if yes, switching the transmission mode of the first mobile device to the second transmission mode to transmit the remaining part of the file.

9. A mobile device, wherein the mobile device comprising: a receiving module, to receive a request for transmitting a file to a second mobile device from a user; a transmitting module, to transmit the file to the second mobile device in a first transmission mode when the receiving module receives the request; a judging module, to determine 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 second transmission mode; a switching module, to switch the transmission mode of the mobile device to the second transmission mode to transmit the file after the judging module decides that the first mobile device is able to establish a connection with the second mobile device in a second transmission mode and the transmission rate of the second transmission mode is higher than that of the second transmission mode; and a display module, to display in real-time the remaining part of the file on a screen during the process of transmitting the file until the file transmission is complete.

10. The mobile device according to claim 9, wherein the judging module is further to determine in real-time whether the size of the remaining part of the file is greater than or equal to a preconfigured threshold when the transmitting module transmits the file; and the switching module is to switch the transmission mode of the mobile device to the second transmission mode to transmit the file after the judging module decides that the first mobile device is able to establish a connection with the second mobile device in a second transmission mode, the transmission rate of the second transmission mode is higher than that of the second transmission mode, and the size of the remaining part of the file is greater than or equal to the preconfigured threshold.

11. The mobile device according to claim 9, wherein the receiving module comprises: a first receiving unit, to detect that the user has pressed a send file button to perform an operation of transmitting the file, and confirm the request for transmitting the file to a second mobile device is received.

12. The mobile device according to claim 9, wherein the receiving module comprises: a second receiving unit, to detect that the user has touched and dragged the file outside a display area of a screen and judge whether an operation mode of the file is a sending mode or a browse mode; confirm the request for transmitting the file to the second mobile device is received on condition that the operation mode of the file is sending mode.

13. The mobile device according to claim 9, wherein the transmitting module comprises: a first transmission unit, configured to configured to transmit the file to the second mobile device in a default transmission mode of the first mobile device.

14. The mobile device according to claim 9, wherein the transmitting module comprises: a second transmission unit, configured to transmit the file to the second mobile device in a transmission mode manually selected by the user before the user sends the request.

15. The mobile device according to claim 9, wherein the transmitting module comprises: a third transmission unit, configured to automatically select a transmission mode for the first mobile device and transmit the file to the second mobile device in the transmission mode selected.

16. The mobile device according to claim 9, wherein the judging module is further to judge whether the first mobile device could establish a connection in the second transmission mode with the second mobile device when the first mobile device disconnects with the second mobile device; the switching module is further to switch the transmission mode of the mobile device to the second transmission mode to transmit the remaining part of the file on condition that the mobile device could establish a connection with the second mobile device in the second transmission mode.

17. A mobile device, comprising: one or more processors; a memory; and one or more programs stored in the memory and to be executed by the one or more processors, the one or more programs comprise instructions to: receive a request for transmitting a file to a second mobile device from a user; transmit the file to the second mobile device in a first transmission mode; judge 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; switch 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; and display the remaining part of the file in real-time on a screen in the process of transmitting the file until the entire file transmission is complete.

18. A non-transitory computer-readable storage medium, comprising a set of instructions for transmitting files, the set of instructions to direct at least one processor to perform acts of: receiving a request for transmitting a file to a second mobile device from a user; transmitting the file to the second mobile device in a first transmission mode; 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; 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; and displaying the remaining part of the file in real-time on a screen in the process of transmitting the file until the entire file transmission is complete.
Description



CROSS REFERENCE

[0001] The application is a continuation of a U.S. application Ser. No. 14/496,075, which is a continuation of an International application No PCT/CN2013/072996 and claims the benefit of a Chinese Patent Application No. 201210084393.X, filed on Mar. 27, 2012, the disclosure of which is incorporated herein in its entirety by reference.

TECHNICAL FIELD

[0002] The present disclosure relates to communication technology, and particularly to a method, mobile device and system for transmitting files.

BACKGROUND

[0003] With the development of wireless communication technology, nowadays mobile devices have enabled file transmission through wireless communication technology. However, existing solutions of file transmission have respective ranges of application. Therefore it is particularly important to choose suitable transmission modes according to the characteristics of files to be transmitted.

[0004] Conventionally, there are two technical solutions for file transmission between mobile devices. The first solution is to transmit files through Bluetooth. Turn on the Bluetooth on two mobile devices, search automatically, and transmit files after having found the opposite terminal. The second solution is by way of Wireless Fidelity (WIFI). Activate WIFI on both terminals, connect both terminals to a wireless local area network (WLAN) through WIFI, find the opposite terminal, and then transmit files to the opposite terminal through software such as Internet Protocol (IP) Messenger.

[0005] In the course of invention, the inventor found the following defects of the existing technical solutions. In the first solution, transmitting files through Bluetooth has a very limited rate, which extremely limits the efficiency of file transmission. While in the second solution, the rate is also low when the WIFI signal quality is poor, which also limit the efficiency of file transmission.

SUMMARY

[0006] To improve the transmission efficiency, embodiments of the present invention are to provide a method, mobile device and system for transmitting files. The technical scheme is as follows:

[0007] An example of the invention is implemented as a method for transmitting files performed by a first mobile device, and the method includes:

[0008] receiving a request for transmitting a file to a second mobile device from a user;

[0009] transmitting the file to the second mobile device in a first transmission mode;

[0010] judging whether the first mobile device is able to connect with the second mobile device in a second transmission mode, and whether the transmission rate in the second transmission mode is higher than that in the first transmission mode;

[0011] 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 connect with the second mobile device in a second transmission mode, and the transmission rate in the second transmission mode is higher than that in the first transmission mode; and

[0012] displaying in real-time the remaining part of the file on a screen during the process of transmitting the file until the file transmission is complete.

[0013] Another example of the present invention is to provide a mobile device which includes:

[0014] a receiving module, to receive a request for transmitting a file from a user;

[0015] a transmitting module, to send the file to a second mobile device after receiving the request;

[0016] a judging module, to determine whether the first mobile device is able to establish a connection with the second mobile device under the second transmission mode and whether the transmission rate of the second transmission mode is higher than that of the first transmission mode;

[0017] a switching module, to switch the transmission mode of the mobile device to the second transmission mode to transmit the remaining part of the file after the judging module decides that the first mobile device is able to connect with the second mobile device in a second transmission mode, and the transmission rate in the second transmission mode is higher than that in the first transmission mode; and

[0018] a display module, configured to display in real-time the remaining part of the file on the screen during the process of transmitting the file until the file transmission is complete.

[0019] Another example of the present invention is to provide a mobile device, which comprises:

[0020] one or more processors;

[0021] a memory; and

[0022] one or more programs stored in the memory and to be executed by the one or more processors, the one or more programs comprise instructions to:

[0023] receive a request for transmitting a file to a second mobile device from a user;

[0024] transmit the file to the second mobile device in a first transmission mode;

[0025] judge 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;

[0026] switch 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; and

[0027] display the remaining part of the file in real-time on a screen in the process of transmitting the file until the entire file transmission is complete.

[0028] Another example of the present invention is to provide a computer-readable storage medium, which contains one or more programs. These programs could be executed by one or more processors to carry out the methods in any of the embodiments.

[0029] Technical schemes provided by the embodiments have the following beneficial effects:

[0030] when the first mobile device is transmitting a file to the second mobile device in a first transmission mode, the first mobile device judges in real-time whether the size of the remaining part of the file is greater than or equal to the preconfigured threshold, and whether it could establish a connection in a second transmission mode with the second mobile device with a higher transmission rate than that in the first transmission mode. If yes, the first mobile device switches the transmission mode of the first mobile device and transmits the remaining part of the file in the second transmission mode, thus smart selection of transmission mode for file transmission according to the size of remaining file and transmission rate can be achieved and the transmission efficiency can be achieved.

[0031] This automatic selection of transmission mode for the user simplifies the user's operation procedures and increases convenience for the users. Furthermore, the request sent by the user by dragging the open and displayed file out of the screen to send the file can be supported and a real-time display of the remaining part of the file on the screen which visualizes the process of file transmission for users can also be supported. Therefore, user experiences would be enhanced.

BRIEF DESCRIPTION OF DRAWINGS

[0032] In order to illustrate the technical scheme of the present disclosure, hereafter a brief introduction would be given to the figures used in the detailed description of embodiments. Obviously, figures below are merely some of the embodiments of the present disclosure. For those skilled in the art, they could obtain other figures basing on the current figures without any creative work.

[0033] FIG. 1 illustrates a flow chart of a method for transmitting files in Embodiment I of the present disclosure.

[0034] FIG. 2 illustrates a flow chart of a method for transmitting files in Embodiment II of the present disclosure.

[0035] FIG. 3 illustrates an interface sketch of transmitting files between mobile devices in Embodiment II of the present disclosure.

[0036] FIG. 4 illustrates a flow chart of a second method for transmitting files in Embodiment II of the present disclosure.

[0037] FIG. 5 illustrates a structure diagram of a mobile device provided in Embodiment III of the present disclosure.

[0038] FIG. 6 illustrates a structure diagram of a second mobile device provided in Embodiment III of the present disclosure.

DETAILED DESCRIPTION

[0039] Examples will now be described more fully with reference to the accompanying drawings.

[0040] File transmitting in the present disclosure in particular refers to file transmitting between mobile devices. The referred mobile devices include but not limited to mobile phones, tablet PC, PDA and so forth. The referred types of mobile devices could be either a keyboard type or a touch screen type. The present disclosure has no particular limits. When transmitting file between two mobile devices, we could define one mobile device as a first mobile device and the other as a second mobile device. Different designation has nothing to do with the quality of mobile devices, and this will not be further clarified hereinafter. The file transmitted between mobile devices could be any type, including but not limited to pictures, documents, audios, videos and so forth. The present disclosure has no particular limits.

Embodiment I

[0041] Referring to FIG. 1, the embodiment provides a method for transmitting files, specific steps as follows:

[0042] 101: a first mobile device transmits a file to a second mobile device when the first mobile device receives a request for transmitting the file to the second mobile device from a user.

[0043] 102: the first mobile device judges in the process of transmitting the file whether the size of the remaining part of the file is greater than or equal to a preconfigured threshold.

[0044] 103: on condition that the size of the remaining part of the file is greater or equal to a preconfigured threshold, the first mobile device judges whether the following conditions can be satisfied: the first mobile device is able to connect with the second mobile device in a second transmission mode, and the transmission rate in the second transmission mode is higher than that in the first transmission mode.

[0045] 104: the first mobile device switches the transmission mode of the first mobile device and adopts the second transmission mode to transmit the remaining part of the file on condition that the above conditions can be satisfied.

[0046] In the above method, the first mobile device may confirm to have received the request for transmitting the file to the second mobile device sent by the user:

[0047] when the first mobile device detects that the user has pressed a send file button to perform an operation of transmitting a file, the request for transmitting the file to the second mobile device is confirmed; or

[0048] when the first mobile device detects that the user has touched and dragged the file outside a display area of a screen, the first mobile device judges whether an operation mode of the file is a sending mode or a browse mode; and if the operation mode of the file is the sending mode, the request for transmitting the file to the second mobile device is confirmed.

[0049] In the above method, the step of transmitting the file to the second mobile device in the first transmission mode may include:

[0050] the first mobile device transmits the file to the second mobile device in a default transmission mode of the first mobile device, i.e. the first transmission mode;

[0051] the first mobile device transmits the file to the second mobile device in a manually selected transmission mode (i.e. the first transmission mode) before the user send the request of file transmission; or

[0052] the first mobile device selects automatically a transmission mode as the first transmission mode and transmits the file to the second mobile device in the first transmission mode selected.

[0053] Preferably, the method may further include:

[0054] displaying in real-time the remaining part of the file on a screen during the process of transmitting the file until the file transmission is complete on condition that the file is opened and displayed when the user send the request.

[0055] To further illustrate, the first transmission mode can be Bluetooth and the second transmission mode can be WIFI or WAPI.

[0056] Optionally, the step of the first mobile device judging in the process of transmitting the file whether the size of the remaining part of the file is greater than or equal to a preconfigured threshold may include:

[0057] judging in the process of transmitting the file whether the first mobile device keeps a connection with the second mobile device, and whether the size of the remaining part of the file is greater than or equal to the preconfigured threshold;

[0058] on condition that the first mobile device keeps connection with the second mobile device in the first transmission mode and the size of the remaining part of the file is greater than or equal to the preconfigured threshold, proceeding to the step of judging whether the above conditions can be satisfied;

[0059] on condition that the first mobile device disconnect with the second mobile device in the first transmission mode, judging whether the first mobile device could establish a connection with the second mobile device in the second transmission mode; and on condition that the first mobile device can establish a connection with the second mobile device in the second transmission mode, switching the first transmission mode to the second transmission mode to transmit the remaining part of the file.

[0060] In the method provided in the embodiment, when the first mobile device is transmitting a file to the second mobile device in the first transmission mode, the first mobile device judges in real-time whether the size of the remaining part of the file is greater than or equal to the preconfigured threshold, and whether it could establish a connection in the second transmission mode. If yes, the first mobile device switches the transmission mode and transmits the remaining part of the file in the second transmission mode, thus smart selection of transmission mode for file transmission according to the size of remaining part of the file and transmission rate can be achieved and the transmission efficiency can be achieved.

[0061] In addition, the automatic selection of transmission mode for the user simplifies the user's operation procedures and increases convenience for the users. Furthermore, the request sent by the user by dragging the open and displayed file out of the screen to send the file can be supported and a real-time display of the remaining part of the file on the screen which visualizes the process of file transmission for users can also be supported. Therefore, user experiences would be enhanced.

Embodiment II

[0062] Referring FIG. 2, the embodiment provides a method for transmitting files, and specific steps as follows:

[0063] 201: the first mobile device detects that the user has touched and dragged the file outside a display area of a screen, and the first mobile device judges whether an operation mode of the file is a sending mode or a browse mode; and if the operation mode of the file is the sending mode, the request for transmitting the file to the second mobile device is confirmed.

[0064] In the embodiment, a touchscreen mobile device is cited as example for the first mobile device. In practical applications, the first mobile device can also be keyboard mobile device, in which scenario step 201 could be replaced by the following steps:

[0065] when the first mobile device detects that the user has pressed a send file button to perform an operation of transmitting a file, the request for transmitting the file to the second mobile device is confirmed. Specifically, the first mobile device could provide a send file button in the menu of the request file for the user, and on condition that the user has pressed the send file button, then transmit the file to the second mobile device. The present disclosure will not further elaborate on the specific implementation process.

[0066] In the embodiment, the browse mode and the sending mode refer to two modes of operation provided by the first mobile device to the user. The browse mode refers to a mode that the user browses the file. In the mode, touching and dragging the file are deemed as an operation of page turning. For example, when an iPhone user browses pictures in a browse mode, sliding finger to the right turns a page and continues browsing. The sending mode refers to a mode that the user executes a file sending operation. In the mode, touching and dragging the file are deemed as a request of transmitting the file. For example, when an iPhone user opens a picture and chooses the sending mode, the operation of sliding finger to the edges triggers a file transmitting operation.

[0067] Wherein the first mobile device could let the user choose between the browse mode and the sending mode by setting virtual keys at the interface. For example, setting two virtual keys, one for the browse mode and the other for the sending mode, the user chooses according to his/her actual needs; or, setting a mode switching virtual key, clicking to choose the browse mode and clicking again to switch to the sending mode and so forth. The present disclosure has no particular limits.

[0068] 202: the first mobile device transmits the file to the second mobile device in a first transmission mode.

[0069] Specifically, the first mobile device establishes a connection with the second mobile device in the first transmission mode, and transmits the file to the second mobile device in the first transmission mode. When the first mobile device establishes a connection with the second mobile device, the first mobile device has to search and identify the second mobile device. The first mobile device can establish a connection with the second mobile device in various ways like setting a password. The present disclosure has no particular limits on that.

[0070] In addition, in the present step, the first mobile device could transmit the file to the second mobile device through any of the following three modes:

[0071] the first mobile device sets the first transmission mode as a default transmission mode in advance, and transmits the file to the second mobile device in the default transmission mode; or,

[0072] the first mobile device user manually selects a transmission mode as the first transmission mode before the user sends the request of file transmission, transmits the file to the second mobile device in the manually selected transmission mode; or

[0073] the first mobile device automatically selects a transmission mode as the first transmission mode and transmits the file to the second mobile device accordingly; in this case, the first mobile device sets the automatic selection rules in advance, including automatically select a transmission mode with a higher transmission rate, or automatically select the Bluetooth on condition that the distance between two mobile devices is less than the assigned distance and so forth. The present disclosure has no particular limits on that.

[0074] When transmitting files, the first mobile device would encode the file into binary data stream and transmit the binary data stream to the second mobile device; the second mobile device receives the binary data stream and decodes the binary data stream.

[0075] 203: the first mobile device judges in the process of transmitting the file whether the size of the remaining part of the file is greater than or equal to a preconfigured threshold. If yes, proceed to step 204; otherwise, proceed to step 206.

[0076] In the embodiment, the preconfigured threshold refers to a pre-assigned critical value of file size. When the size of the remaining part of the file in the transmitting process is greater than or equal to the preconfigured threshold, it means the remaining part of the file is still large and requires a faster transmission mode so as to improve transmission efficiency; when the size of the remaining part of the file in the transmitting process is smaller than the preconfigured threshold, it means the remaining part of the file is small and transmission could be soon completed under the current transmission mode, and transmission mode does not need to be switched.

[0077] For example, for some small files, transmission can be completed very quickly in Bluetooth, and then WIFI transmission does not need to be switched on thus avoiding unnecessary switching process.

[0078] 204: the first mobile device judges whether it could establish a connection with the second mobile device under a second transmission mode, and whether the transmission rate in the second transmission mode is higher than that in the first transmission. If yes, proceed to step 205; otherwise, proceed to step 206.

[0079] In the embodiment, the first transmission mode and the second transmission mode include but not limited to: Bluetooth, WIFI or WAPI, in which the transmission rate of the second transmission mode is higher than that of the first transmission mode. The present disclosure has no particular limits on that. Preferably, the first transmission mode can be Bluetooth, and the second transmission mode can be WIFI or WAPI.

[0080] Bluetooth is a short-range wireless communication technology with a communication range of about 10 meters. It adopts a decentralized network structure, fast frequency-hopping technology and short package technology, which support point-to-point and point-to-multipoint communications. For the reason that Bluetooth automatically searches available Bluetooth terminals in current environment, in order to define the identity of the Bluetooth terminal, we have to establish a connection with the Bluetooth terminal before transmitting a file through Bluetooth, which means a personal identification code need to be utilized to ensure the security of connection, for example, setting digital code to match and connect.

[0081] WIFI is a short-range wireless communication technology with a high transmission rate and a wide signal coverage range, but is relatively poor in terms of data security.

[0082] WAPI is a short-range wireless communication technology. Comparing with WIFI, WAPI has replaced the original identification mechanism and security mechanism with pre-shared keys and certificates as well as SMS4 encryption (sectionalized encryption) to enhance the wireless LAN security.

[0083] 205: the first mobile device switches the first transmission mode to the second transmission mode and transmits the remaining part of the file. The above process completes.

[0084] Specifically, if the second transmission mode is WIFI or WAPI, the first mobile device would obtain the IP address of the second mobile device after the first mobile device establishes a connection with the second mobile device through WIFI or WAPI. The first mobile device would analyze the IP address based on ARP (Address Resolution Protocol) and convert the IP address to a MAC address, and transmits the remaining part of the file according to the MAC address.

[0085] 206: the first mobile device transmits the remaining part of the file under the first transmission mode. Till now the above process completes.

[0086] In the embodiment, the method can further include the following steps:

[0087] the first mobile device displays in real-time the remaining part of the file on the screen during the process of transmitting the file until the file transmission is complete on condition that the file is opened and displayed when the user send the request.

[0088] Specifically, pictures are used as an example of file to explain the process. See also in FIG. 3. If a picture is opened and displayed when the user send the picture, and one third of the picture has been dragged out of the screen of the first mobile device, the first mobile device encodes the one third of the picture into binary data stream and transmits to the second mobile device. Simultaneously, the first mobile device would display in real-time the remaining two thirds of the picture. On the other hand, after receiving the one third of the picture, the second mobile device could decode the binary data stream and display the one third of the picture in real-time. Therefore, user experience would be enhanced.

[0089] Now an example is cited by using Bluetooth as the first transmission mode and WIFI as the second transmission mode for transmitting files to give a more detailed description. See also FIG. 4. The embodiment provides a method of transmitting file, specific steps as follows:

[0090] 401: the first mobile device transmits a file to the second mobile device through Bluetooth when the first mobile device receives a request from the user for transmitting the file to the second mobile device and establishes a connection with the second mobile device through Bluetooth.

[0091] Specifically, the first mobile device searches a list of all the available Bluetooth terminals through Bluetooth, and finds the second mobile device and requests to establish a connection. Simultaneously, the first mobile device enters a user-defined code, and tells the code to the second mobile device. When the second mobile device receives the request of connection establishment, the second mobile device enters the code. After verifying that the codes entered in the two mobile devices are the same, the connection establishment completes.

[0092] 402: the first mobile device judges in the process of transmitting the file whether the size of the remaining part of the file is greater than or equal to a preconfigured threshold. If yes, proceed to step 403; otherwise, proceed to step 405.

[0093] 403: the first mobile device judges whether the first mobile device could connect with the second mobile device through WIFI, and whether the transmission rate of WIFI is higher than that of Bluetooth. If yes, proceed to step 404; otherwise, proceed to step 405.

[0094] The basic equipment of wireless LAN includes at least a WLAN card and an AP (Access Point). The first mobile device equals to a WLAN card. Hence, the first mobile device accesses to a wireless LAN through an AP, judging whether it could find the IP address of the second mobile device in the wireless LAN, and judge accordingly whether the first mobile device could establish a connection with the second mobile device through WIFI.

[0095] 404: the first mobile device switches Bluetooth into WIFI, and transmits the remaining parts of the file through WIFI. The above process completes.

[0096] 405: the first mobile device judges whether the first mobile device could connect with the second mobile device through WAPI, and whether the transmission rate of WAPI is higher than that of Bluetooth. If yes, proceed to step 406; otherwise, proceed to step 407.

[0097] Specifically, the first mobile device would obtain the IP address of the second mobile device after the first mobile device establishes a connection with the second mobile device. The first mobile device would analyze the IP address based on ARP and convert the IP address to a MAC address, and transmits the remaining part of the file according to the MAC address.

[0098] 406: the first mobile device switches Bluetooth into WAPI, and transmits the remaining parts of the file through WAPI. The above process completes.

[0099] 407: the first mobile device continues to transmit the remaining parts of the file through Bluetooth. The above process completes.

[0100] In the embodiment, in the step 203 or step 402, the step of the first mobile device judging in the process of transmitting the file whether the size of the remaining part of the file is greater than or equal to a preconfigured threshold in real-time specifically includes:

[0101] judging during the process of transmitting the file by the first mobile device whether the first mobile device keeps a connection with the second mobile device, and whether the size of the real-time remaining part of the file is greater than or equal to the preconfigured threshold; if the first mobile device keeps the connection with the second mobile device in the first transmission mode and the size of the remaining part of the file is greater than or equal to the preconfigured threshold, executing the step of judging whether the first mobile device could satisfy the conditions; if the first mobile device disconnect with the second mobile device in the first transmission mode, judging whether the first mobile device could establish a connection with the second mobile device in the second transmission mode; if yes, switches the first transmission mode to the second transmission mode for transmitting the remaining part of the file.

[0102] For example, the first mobile device transmits a file through WIFI, and it possesses both the functions of WAPI and Bluetooth. If the first mobile device could keep a connection with the second mobile device through WIFI, judge whether the size of the real-time remaining part of the file is greater than or equal to the preconfigured threshold and execute the corresponding step; if the first mobile device disconnect with the second mobile device in the mode of WIFI, judge whether the first mobile device could establish a connection with the second mobile device in another transmission mode, and since WAPI normally has a higher transmission rate than Bluetooth, preferably judge whether connection could be established with the second mobile device in WAPI mode. If the first mobile device could establish a connection with the second mobile device through WAPI, switch to WAPI for transmitting the remaining part of the file. If the first mobile device could not establish a connection with the second mobile device through WAPI, judging whether the first mobile device could establish a connection with the second mobile device through Bluetooth, and if yes, switch to WAPI for transmitting the remaining part of the file.

[0103] In the method of transmitting files in the embodiment, the first mobile device judges in real-time whether the size of the remaining part of the file is greater than or equal to the preconfigured threshold, and whether it could establish a connection in the second transmission mode and whether the transmission rate of the second transmission mode is higher than that of the first transmission mode when the first mobile device is transmitting a file to the second mobile device in the first transmission mode. If yes, the first mobile device switches the transmission mode and transmits the remaining part of the file in the second transmission mode, thus a smart selection of transmission mode for file transmission according to the size of remaining file and transmission rate can be achieved and the transmission efficiency can be enhanced.

[0104] In addition, the automatic selection of transmission mode for the user simplifies the user's operation procedures and increases convenience for the users. Furthermore, the request sent by the user by dragging the open and displayed file out of the screen to send the file can be supported and a real-time display of the remaining part of the file on the screen which visualizes the process of file transmission for users can also be supported. Therefore, user experiences would be enhanced.

Embodiment III

[0105] Referring to FIG. 5, the embodiment provides a mobile device, including:

[0106] a receiving module 501, configured to receive a request for transmitting a file from a user;

[0107] a transmitting module 502, configured to transmit a file to a second mobile device in a first transmission mode when the receiving module 501 receives a request;

[0108] a judging module 503, configured to judge in real-time whether the size of the remaining part of the file is greater than or equal to a preconfigured threshold when the transmitting module 502 transmits a file; on condition that the size of the remaining part of the file is greater than or equal to a preconfigured threshold, judge whether the following conditions can be satisfied: the first mobile device is able to establish a connection in a second mobile device, and the transmission rate in the second transmission mode is higher than that in a first transmission mode; and

[0109] a switching module 504, configured to switch the transmission mode of the mobile device after the judging module decides that the mobile device satisfies all the conditions, and adopt the second transmission mode to transmit the remaining part of the file.

[0110] Referring to FIG. 6, in the embodiment, the receiving module 501 includes:

[0111] a first receiving unit 501A, configured to detect that the user has pressed a send file button to perform an operation of transmitting the file, and confirm the request for transmitting the file to the second mobile device; or

[0112] a second receiving unit 501B, configured to detect that the user has touched and dragged the file outside an display area of an screen, judge the operation mode of the file to decide whether it is a sending mode or a browse mode; and on condition that it is the sending mode, confirm the request for transmitting the file to the second mobile device,

[0113] In the embodiment, the transmitting module 502 includes:

[0114] a first transmission unit 502A, configured to use a default transmission mode to transmit a file to a second mobile device;

[0115] a second transmission unit 502B, configured to adopt a user's manually selected transmission mode to transmit a file to a second mobile device before the user sends a request; or

[0116] a third transmission unit 502C, configured to automatically select a transmission mode for the first mobile device and transmit the file to the second mobile device in the transmission mode selected.

[0117] Referring to FIG. 6, in the embodiment, the mobile device may further include:

[0118] a display module 505, configured to display in real-time the remaining part of the file on the screen during the process of transmitting the file until the file transmission is complete on condition that the file is opened and displayed when the user sends the request.

[0119] In the embodiment, preferably, the first transmission mode can be Bluetooth and the second transmission mode can be WIFI or WAPI.

[0120] In the embodiment, the judging module 503 is configured to judge in real-time whether the mobile device could keep a connection with the second mobile device, and to judge in real-time whether the size of the remaining part of the file is greater than or equal to the preconfigured threshold.

[0121] On condition that the first mobile device could keep the connection with the second mobile device and the size of the remaining part of the file is greater than or equal to the preconfigured threshold, proceed to the step of judging whether the conditions can be satisfied.

[0122] On condition that the mobile device disconnects with the second mobile device in the first transmission mode, judge whether it is possible that the mobile device reconnects with a second mobile device in a second transmission mode. If yes, adopt a second transmission mode to transmit the remaining part of the file.

[0123] The aforementioned mobile device provided in the embodiment could perform any of the file transmission methods provided in the aforementioned method embodiments. For detailed process please refer to the description in method embodiment, and it will not be discussed again herein.

[0124] When transmitting a file in a first transmission mode to a second mobile device, the mobile device provided in the embodiment judges in real-time whether the size of the remaining part of the file is greater than or equal to a preconfigured threshold and whether it is possible to establish a connection in a second transmission mode with the second mobile device with a higher transmission rate than that in the first transmission mode; if yes, switch the transmission mode of the mobile device and adopt the second transmission mode to transmit the remaining part of the file, and thereby improving file transmission efficiency.

[0125] In addition, it simplifies the user's operation procedures and provides convenience for the users. Furthermore, the request sent by the user by dragging the opened and displayed file out of the screen to send the file can be supported and a real-time display of the remaining part of the file on the screen which visualizes the process of file transmission for users can also be supported. Therefore, the user experience could be enhanced.

Embodiment IV

[0126] The embodiment provides a file transmission system, including a mobile device described above in embodiment III and a second mobile device.

[0127] The second mobile device is configured to receive the file sent from the mobile device.

[0128] The functions of the mobile device in the embodiment are the same with that in embodiment III, which will not be discussed again herein.

[0129] The embodiment is able to perform the methods in any of the aforementioned method embodiments. For detailed process please refer to the description of the method embodiment.

[0130] The aforementioned system provided in the embodiment could judge in real-time whether the size of the remaining part of the file is greater than or equal to the preconfigured threshold when transmitting the file to the second mobile device in the first transmission mode, and whether it is possible to establish a connection with the second mobile device in the second transmission mode with a higher transmission rate than that in the first transmission mode; if yes, switch the transmission mode of the mobile device and adopt a second transmission mode to transmit the remaining part of the file. In this way, it improves the file transmission efficiency by selecting the file transmission mode in an intelligent manner according to the size of the remaining part of the file. In addition, it simplifies the user's operation procedures and provides convenience for the users. Furthermore, the request sent by the user by dragging the open and displayed file out of the screen to send the file can be supported and a real-time display of the remaining part of the file on the screen which visualizes the process of file transmission for users can also be supported. Therefore, the user experience could be enhanced.

Embodiment V

[0131] The embodiment provides a computer-readable storage medium, which contains one or more programs. These programs could be executed by one or more processors to carry out the methods as follows.

[0132] When a first mobile device receives a user's request for transmitting a file to a second mobile device, transmitting the file to the second mobile device in a first transmission mode.

[0133] In the process of transmitting the file, judging in real-time whether the size of the remaining part of the file is greater than or equal to a preconfigured threshold.

[0134] When the size of the remaining part of the file is greater than or equal to the preconfigured threshold, judging whether the following condition can be satisfied: the first mobile device is able to establish a connection in a second transmission mode with the second mobile device, and the transmission rate of the second transmission mode is higher than that in the second transmission mode.

[0135] On condition that the first mobile device satisfies the conditions, switch the transmission mode of the first mobile device and adopt the second transmission mode to transmit the remaining part of the file.

[0136] In one mode of execution, the first mobile device receives the request sent by the user for transmitting a file to a second mobile device, including:

[0137] when the first mobile device detects that the user has pressed a send file button, judging the user-initiated request for transmitting the file to a second mobile device; or

[0138] when the first mobile device detects that the user has touched and dragged the file outside a display area of a screen, an operation mode of the file needs to be judged and whether it is sending mode or browse mode needs to be decided; if it is sending mode, the request for transmitting the file to the second mobile device is confirmed.

[0139] In another mode of execution, the step of transmitting the file to the second mobile device in the first transmission mode includes:

[0140] transmitting the file to the second mobile device in a default transmission mode of the first mobile device; or

[0141] transmitting the file to the second mobile device in a manually selected transmission mode before the user send the request; or

[0142] selecting automatically a transmission mode for the first mobile device and transmitting the file to the second mobile device.

[0143] In another mode of execution, the method may further include:

[0144] displaying in real-time the remaining part of the file on the screen during the process of transmitting the file until the file transmission is complete on condition that the file is open and displayed when the user send the request.

[0145] In the embodiment, the first transmission mode can be Bluetooth and the second transmission mode can be WIFI or WAPI.

[0146] In another mode of execution, in the process of transmitting the file, judging in real-time whether the size of the remaining part of the file is greater than or equal to a preconfigured threshold, including:

[0147] judging in real-time during the process of transmitting the file whether the first mobile device could keep a connection with the second mobile device, and whether the size of the remaining part of the file is greater than or equal to the preconfigured threshold;

[0148] on condition that the first mobile device could keep the connection with the second mobile device in the first transmission mode and the size of the remaining part of the file is greater than or equal to the preconfigured threshold, the step of judging whether the mobile device satisfies all the conditions is executed.

[0149] In another mode of execution, the method further includes:

[0150] on condition that the first mobile device disconnects with the second mobile device in the first transmission mode, judging whether the first mobile device could establish a connection with the second mobile device in the second transmission mode; and on condition that the first mobile device could establish a connection with the second mobile device in the second transmission mode, switching the first transmission mode to the second transmission mode for transmitting the remaining part of the file.

[0151] According to another example of the present disclosure, a mobile device is provided, which includes: one or more processors; a memory; and one or more programs stored in the memory and to be executed by the one or more processors, the one or more programs comprise instructions to:

[0152] receive a request for transmitting a file to a second mobile device from a user;

[0153] transmit the file to the second mobile device in a first transmission mode;

[0154] judge 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;

[0155] judge 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

[0156] switch 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.

[0157] According to the above embodiments, when transmitting a file to a second mobile device in a first transmission mode, the aforementioned computer-readable storage medium provided in the embodiment judges in real-time whether the size of the remaining part of the file is greater than or equal to the preconfigured threshold, and whether it is possible to establish a connection with a second mobile device in a second transmission mode with a higher transmission rate than that in the first transmission mode; if yes, switch the first transmission mode to the second transmission mode for transmitting the remaining part of the file. In this way, it improves the file transmission efficiency by selecting the file transmission mode in an intelligent manner according to the size of the remaining part of the file. In addition It further simplifies the user operation procedures and provides convenience for the users. Furthermore, the request sent by the user by dragging the open and displayed file out of the screen to send the file can be supported and a real-time display of the remaining part of the file on the screen which visualizes the process of file transmission for users can also be supported. Therefore, user experiences would be enhanced.

[0158] It should be noted herein: when the aforementioned file transmission device provided in the embodiments transmits a file, the division of the functional modules is used to illustrate only. In real-life applications, these functions may be assigned to and completed by different functional modules as needed, i.e., divide the internal structure of the apparatus into different functional modules to complete all or part of the aforementioned functions. In addition, the mobile device and file transmission method provided in the aforementioned embodiment relate to the same idea, and the specific implementation process is detailed in method embodiment, which will not be discussed again herein.

[0159] The sequence number used to number the aforementioned embodiments of the present invention is for description purpose only, and does not indicate the merits of the embodiments.

[0160] All or part of the steps of the embodiments of the present invention may be implemented using software; the corresponding software program may be stored in a readable storage medium, such as a disc or a hard disk.

[0161] The aforementioned embodiments of the present invention are preferred embodiments, and are not intended to limit the present invention. Any modifications, equivalent replacement, improvement etc. within the spirit and principles of the present invention shall be included in the scope of protection of the present invention.

* * * * *


uspto.report is an independent third-party trademark research tool that is not affiliated, endorsed, or sponsored by the United States Patent and Trademark Office (USPTO) or any other governmental organization. The information provided by uspto.report is based on publicly available data at the time of writing and is intended for informational purposes only.

While we strive to provide accurate and up-to-date information, we do not guarantee the accuracy, completeness, reliability, or suitability of the information displayed on this site. The use of this site is at your own risk. Any reliance you place on such information is therefore strictly at your own risk.

All official trademark data, including owner information, should be verified by visiting the official USPTO website at www.uspto.gov. This site is not intended to replace professional legal advice and should not be used as a substitute for consulting with a legal professional who is knowledgeable about trademark law.

© 2024 USPTO.report | Privacy Policy | Resources | RSS Feed of Trademarks | Trademark Filings Twitter Feed