CN108173574A - A kind of method and terminal for controlling file transmission - Google Patents

A kind of method and terminal for controlling file transmission Download PDF

Info

Publication number
CN108173574A
CN108173574A CN201810089171.4A CN201810089171A CN108173574A CN 108173574 A CN108173574 A CN 108173574A CN 201810089171 A CN201810089171 A CN 201810089171A CN 108173574 A CN108173574 A CN 108173574A
Authority
CN
China
Prior art keywords
transmission
file
terminal
size
nfc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810089171.4A
Other languages
Chinese (zh)
Other versions
CN108173574B (en
CN108173574B9 (en
Inventor
王淼
常新苗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Device Co Ltd
Original Assignee
Huawei Device Dongguan Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Device Dongguan Co Ltd filed Critical Huawei Device Dongguan Co Ltd
Priority to CN201810089171.4A priority Critical patent/CN108173574B9/en
Publication of CN108173574A publication Critical patent/CN108173574A/en
Publication of CN108173574B publication Critical patent/CN108173574B/en
Application granted granted Critical
Publication of CN108173574B9 publication Critical patent/CN108173574B9/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/72Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for local intradevice communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

This application provides a kind of terminals and the method for control file transmission, this method to include:Terminal receives the operational order of user's selection target transmission file;The terminal determines the object transmission file according to the operational order;The size of terminal object transmission file according to the determined property of the object transmission file;The terminal selection and the matched transmission mode of size of the object transmission file, wherein, the terminal supports at least two wireless transmission methods;The terminal transmits the object transmission file by the matched transmission mode of size with the object transmission file.In the embodiment of the present invention, which allows the terminal to save energy consumption and raising efficiency of transmission when transmit the object transmission file according to the size of the object transmission file, selection and the matched transmission mode of object transmission file size.

Description

A kind of method and terminal for controlling file transmission
Technical field
The present invention relates to fields of communication technology, more particularly to a kind of to control the method for file transmission and control file transmission Terminal.
Background technology
With the rapid development of mobile communication, the function of terminal becomes increasingly abundant, such as:Mobile phone, tablet computer, individual digital The terminals such as assistant (Personal Digital Assistant, PDA), most intelligentized terminals carry multiple channel radios Letter mode, such as:3G/GPRS, WIFI are direct-connected, bluetooth, short-distance wireless communication (Near Field Communication, letter Claim NFC) etc., user can access internet by these wireless communication techniques, can also be transmitted in two or more terminal rooms File, shared resource, usual WIFI is direct-connected, the transmission mode of bluetooth and NFC become the master of short-range terminal room transmission file Want technological means.
Existing short-range terminal room carries out file transmission, and the WIFI selected by user is direct-connected or the transmission side of bluetooth Formula is transmitted, and transmission mode is single, and efficiency of transmission is limited, direct-connected using bluetooth or WIFI to the file for transmitting little data Power consumption is also compared in transmission.
Invention content
An embodiment of the present invention provides a kind of terminal and the methods of control file transmission, can save energy during transmission file Consumption and raising efficiency of transmission.In a first aspect, a kind of method for controlling file transmission is provided, including:Terminal receives user and selects mesh The operational order of mark transmission file;The terminal determines the object transmission file according to the operational order;The terminal root According to the size of object transmission file described in the determined property of the object transmission file;The terminal selection and the object transmission The matched transmission mode of size of file, wherein, the terminal supports at least two wireless transmission methods;The terminal by with The matched transmission mode of size of the object transmission file, transmits the object transmission file.
In the first possible realization method of first aspect, user's selection target transmission file is received in the terminal Operational order before, including:
The terminal is established and recipient's short range wireless transmission NFC and Bluetooth wireless transmission;Or the terminal is established The direct-connected wireless transmission with recipient NFC and WIFI;Or sender establishes the nothing direct-connected with recipient NFC, bluetooth and WIFI Line transmits.
In second of possible realization method of first aspect, the terminal passes through big with the object transmission file Small matched wireless transmission method transmits the object transmission file, including:When terminal selection NFC transmission, then open NFC transmission modules transmit the object transmission file;When the terminal selects the Bluetooth transmission and/or the direct-connected biographies of WIFI Defeated mode then opens Bluetooth communication modules and/or the direct-connected transmission modules of WIFI, transmits the object transmission file.
The first or second of possible realization method with reference to first aspect, in the third possible realization method, when After the terminal transmits the object transmission file by NFC, including judging that the terminal and the distance of the recipient exceed The transmission range of the NFC, then interrupt the NFC connections, and passes through the Bluetooth transmission and/or the direct-connected transmission of the WIFI Transmission mode continues to transmit the object transmission file.
With reference to first aspect the first or second of possible realization method, in the 4th kind of possible realization method, When the terminal passes through the direct-connected transmission mode of the Bluetooth transmission and/or WIFI, after transmitting the object transmission file, packet It includes, judges that the battery capacity of the terminal less than threshold values, then interrupts the Bluetooth communication modules and/or the direct-connected transmission moulds of WIFI Block, and continue by the NFC transmission modules to transmit the object transmission file.
With reference to first aspect or any of the above-described possible realization method of first aspect, in the 5th kind of possible realization method In, the terminal judges that the size of the object transmission file is not up to preset range;Or the terminal judges the target Transmit the size of file within a predetermined range;Or the terminal judges that the size of the object transmission file is more than predetermined model It encloses.
The 5th kind of possible realization method with reference to first aspect, in the 6th kind of possible realization method, the terminal Preset range is not up to according to the size of the object transmission file, selects NFC transmission;Or the terminal is according to the target The size of transmission file reaches preset range, selects Bluetooth transmission and/or the direct-connected transmission modes of WIFI.
With reference to first aspect or any of the above-described possible realization method of first aspect, in the 7th kind of possible realization method In, the terminal selection and the matched wireless transmission method of size of the object transmission file, including the terminal is according to institute The size for stating object transmission file reaches preset range, and the object transmission file is divided at least two data groups, and select It selects and the matched transmission mode of the size of each data group.
The 7th kind of possible realization method with reference to first aspect, in the 8th kind of possible realization method,
The terminal selection and the matched transmission mode of size of each data group, including the terminal will be not up to pre- Determine the data group of range, select NFC transmission modes;Be up to preset range data group selection Bluetooth transmission mode and/or Transmission mode direct-connected WIFI.
The 7th kind of possible realization method with reference to first aspect, in the 9th kind of possible realization method, the terminal With after the matched transmission mode of size of each data group, further including, each data group is divided multiple numbers by the terminal for selection According to piece, wherein, the corresponding transmission mode of each data slice transmission mode corresponding with the data group that the data slice belongs to is consistent.
Second fermentation, provides a kind of terminal, and the terminal includes receiving module, determining module, judgment module, selecting module And transmission control module, the receiving module, receive the operational order that user's selection target transmits file;The determining module, The object transmission file is determined according to the operational order;The judgment module, according to the attribute of the object transmission file Judge the size of the object transmission file;The selecting module, selection and the matched biography of size of the object transmission file Defeated mode, wherein, the terminal supports at least two wireless transmission methods;The transmission control module, by with the target The matched transmission mode of size of file is transmitted, transmits the object transmission file.
In the first possible realization method of second aspect, the receiving module receives the transmission of user's selection target Before the operational order of file, including:The terminal is established and recipient's short range wireless transmission NFC and Bluetooth wireless transmission; Or the terminal is established and recipient NFC and WIFI direct-connected wireless transmission;Or establish with recipient NFC, bluetooth and Wireless transmission direct-connected WIFI.
In second of possible realization method of second aspect, the transmission control module, by being passed with the target The matched wireless transmission method of size of defeated file, transmits the object transmission file, including:When the selecting module selects NFC is transmitted, and the transmission control module then opens NFC transmission modules, transmits the object transmission file;When the selection mould Block, selects Bluetooth transmission and/or the direct-connected transmission modes of WIFI, the transmission control module then open Bluetooth communication modules and/ Or the direct-connected transmission modules of WIFI, transmit the object transmission file.
With reference to any of the above-described possible realization method of second aspect, in the third possible realization method, when described After transmission control module transmits the object transmission file by NFC transmission modes, further include, the judgment module judges institute The distance of terminal and recipient are stated beyond the transmission range of NFC, the transmission control module then interrupts the NFC connections, and leads to The Bluetooth transmission and/or the transmission mode of the direct-connected transmission of WIFI are crossed, continues to transmit the object transmission file.
With reference to the first or second of possible realization method of second aspect, in the 4th kind of possible realization method, After the transmission control module transmits the object transmission file by the direct-connected transmission mode of bluetooth and/or WIFI, also wrap It includes, the judgment module, judges the battery capacity of the terminal less than threshold values, the transmission control module then interrupts the indigo plant Tooth and/or the direct-connected transmission modes of WIFI, and pass through the NFC transmission modes and transmit the object transmission file.
With reference to any of the above-described possible realization method of second aspect or second aspect, in the 5th kind of possible realization method In, the judgment module judges the size of the object transmission file, including the judgment module judges the object transmission The size of file is not up to preset range;Or the judgment module, judge the size of the object transmission file described pre- Determine in range;Or the judgment module, the size for judging the object transmission file are more than the preset range.
With reference to the 5th kind of possible realization method of second aspect, in the 6th kind of possible realization method, the selection Module, selection and the matched transmission mode of size of the object transmission file, including:The selecting module is according to the target The size of transmission file is not up to preset range, selects NFC transmission;Or the selecting module is according to the object transmission file Size reach preset range, select Bluetooth transmission and/or the direct-connected transmission modes of WIFI.
In the embodiment of the present invention, which selects big with the object transmission file according to the size of the object transmission file Small corresponding transmission mode allows the terminal to save energy consumption when transmitting the object transmission file and improves efficiency of transmission.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment Attached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present invention, For those of ordinary skill in the art, without having to pay creative labor, it can also be obtained according to these attached drawings Take other attached drawings.
Fig. 1 is terminal of the embodiment of the present invention and the file transmission schematic diagram of recipient.
Fig. 2 is the structure diagram of terminal of the embodiment of the present invention.
Fig. 3 is the structure diagram of another embodiment of the present invention terminal.
Fig. 4 is the flow chart that the embodiment of the present invention controls data transmission method.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is the part of the embodiment rather than whole embodiments of the present invention.Based on this hair Embodiment in bright, the every other reality that those of ordinary skill in the art are obtained under the premise of creative work is not made Example is applied, should all belong to the scope of protection of the invention.
Fig. 1 is that terminal of the embodiment of the present invention 100 and the file of recipient 300 transmit schematic diagram.
The present embodiments relate to a kind of terminals 100 and the method for control file transmission, the terminal 100 to pass through wireless transmission Mode transmits file to recipient 300, which can be mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal) or vehicle-mounted computer etc..The terminal 100 can Using the sender as file or the recipient of file.In the embodiment of the present invention, sender of the terminal 100 as file.
Fig. 2 is the structure diagram of terminal of the embodiment of the present invention 100.
With reference to figure 2, a kind of terminal 100 of the embodiment of the present invention, including Wireless Transmitter 110, processor 120 and input Unit 130;The input unit 130 receives the operational order of user's selection target transmission file, and the processor 120 is according to the operation Instruction, determines the object transmission file, and the size of the object transmission file, selection and the mesh are judged according to the target file attributes The mark transmission matched transmission mode of file size, wherein, which supports at least two wireless transmission methods;It should Processor 120 by with the matched transmission mode of the size of the object transmission file, control the Wireless Transmitter 110 transmit the mesh Mark transmission file.
In the embodiment of the present invention, which selects and the object transmission file according to the size of the object transmission file The matched transmission mode of size allows the terminal 100 to save energy consumption when transmitting the object transmission file and improves transmission effect Rate.
The Wireless Transmitter 110 can include NFC (Near Field Communication, short-distance transmission) and transmit mould Block 111, Bluetooth communication modules 112, and/or direct-connected (the wireless fidelity direct) transmission modules 113 of WIFI.
The Wireless Transmitter 110 can also include antenna 115 (such as 3G antennas or LTE antenna), and wherein the antenna 115 can For receive and send messages or communication process in, information sends and receivees, and particularly, the downlink information of the base station of reception is given The processor 120 is handled;In addition, uplink information is sent to base station.In addition, the Wireless Transmitter 110 can also be by wireless Communication communicates with network and other equipment.The wireless communication can use any communication standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, code Point multiple access), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
The input unit 130 can be used for receiving the number inputted or character information and the user of generation and terminal 100 sets It puts and the input of signal that function control is related.Specifically, in the embodiment of the present invention, which can include touch-control Panel 131.Touch panel 131, also referred to as touch screen, collect user on it or neighbouring touch operation (for example user makes With the operation of any suitable object such as finger, stylus or attachment on touch panel 131 or in touch panel 131), and according to Preset formula drives corresponding attachment device.Optionally, touch panel 131 may include touch detecting apparatus and touch to control Two parts of device processed.Wherein, the touch orientation of touch detecting apparatus detection user, and the signal that touch operation is brought is detected, it will Signal sends touch controller to;Touch controller receives touch information from touch detecting apparatus, and is converted into contact Coordinate, then the processor 120 is given, and the order that processor 120 is sent can be received and performed.Furthermore, it is possible to using electricity The multiple types such as resistive, condenser type, infrared ray and surface acoustic wave realize touch panel 131.In addition to touch panel 131, input Unit 130 can also include other input equipments 132, other input equipments 132 can include but is not limited to physical keyboard, function It is one or more in key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc..
The terminal 100 can also include display unit 140 and memory 150, the display unit 140 can be used for display by with The information of family input is supplied to the information of user and the various menu interfaces of terminal 100.The display unit 140 may include showing Show panel 141, optionally, LCD (Liquid Crystal Display, liquid crystal display) or OLED (Organic may be used Light-Emitting Diode, Organic Light Emitting Diode) etc. forms be configured display panel 141.
The memory 150 can be used for storage software program and module, and processor 120 is stored in the memory by operation 150 software program and module, so as to perform the various function application of the terminal 100 and data processing.The memory 140 Storing program area and storage data field can mainly be included, wherein, storing program area can storage program area, at least one function institute Application program (such as sound-playing function, image playing function etc.) needed etc.;Storage data field can be stored according to the terminal 100 Use created data (such as text data, audio data, phone directory etc.) etc..In addition, the memory 140 can include High-speed random access memory can also include nonvolatile memory, for example, at least disk memory, a flash memories Part or other volatile solid-state parts.
The terminal 100 can also include the components such as voicefrequency circuit 170 and power supply 190.Those skilled in the art can manage Solution, terminal structure shown in Figure 2 do not form the restriction to the terminal 100, can include more more or fewer than shown in Fig. 2 Component, such as certain components or different component cloth can either be combined without voicefrequency circuit 170 for a part of terminal It puts.
The transformed electric signal of the audio data received can be transferred to loud speaker, by loud speaker by the voicefrequency circuit 170 Be converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone, by voicefrequency circuit 170 Audio-frequency information is converted to after reception, then audio-frequency information exported to RF circuits to be sent to such as another mobile phone.
The power supply 190 can be logically contiguous by power-supply management system and the processor 120, so as to pass through power management system System realizes the functions such as management charging, electric discharge and power consumption.
The processor 120 is the control centre of terminal 100, utilizes various interfaces and each portion of connection whole mobile phone Point, it is stored in the storage by running or performing the software program being stored in the memory 150 and/or module and call The data of device 150 perform the various functions of terminal 100 and processing data, so as to carry out integral monitoring to terminal 100.Optionally, The processor 120 may include one or more processing units.
Specifically, which controls the Wireless Transmitter 110 to establish and is wirelessly passed at least two of recipient 300 Defeated mode, including,
The processor 120 control the Wireless Transmitter 110 establish with the NFC short range wireless transmissions of the recipient 300 and Bluetooth wireless transmission;Alternatively, establish the wireless transmission direct-connected with the NFC short range wireless transmissions of the recipient 300 and WIFI;Or Person establishes the wireless transmission direct-connected with the NFC short range wireless transmissions, bluetooth and WIFI of the recipient 300.Optionally, at this Reason device 120 according to the wireless transmission method of selection, can be then turned on the corresponding transmission module of wireless transmission method of the selection.
Further, which receives the operational order of user's selection target transmission file, according to the operational order Determine the object transmission file, including,
The processor 120 generates command signal, the processor 120 according to the selection operation of user's operation input unit 130 Object transmission file is determined according to the command signal, wherein, which can be picture file, text file, regard Frequency file or audio file.
Further, the processor 120 is according to the size of the determined property of the object transmission file object transmission file, Including,
The processor 120 judges that the size of the object transmission file is not up to preset range;Or judge the object transmission The size of file is in the preset range;Or judge the size of the object transmission file more than the preset range.
For example, pre-define the object transmission file size preset range for (1M, 2M], following embodiment is related to pre- Determine range, refer both to the preset range (1M, 2M].The processor 120 judges the mesh according to the attribute information of the object transmission file The size of mark transmission file is 0.5M, then judges that the size of the object transmission file is not up to the preset range;Judge the target The size of file is 1.5M or 5M, then judges that the size of the object transmission file reaches the preset range.
Further, which selects transmission mode corresponding with the object transmission file size, including,
The processor 120 is not up to preset range according to the size of the object transmission file, selects NFC transmission modes;Or Person's processor 120 reaches preset range according to the size of the object transmission file, selects bluetooth and/or the direct-connected transmission of WIFI Mode.
Optionally, which selects transmission mode corresponding with the object transmission file size, can also include,
The processor 120 reaches preset range according to the size of the object transmission file, can be by the object transmission file At least two data groups are divided into, and select the matched transmission mode of size with each data group.
Further, which selects NFC transmission modes by the data group of not up to preset range;It is up to pre- Determine the data group selection bluetooth of range and/or the transmission mode that WIFI is direct-connected.
It, can be by the target for example, if the processor 120 judges that the size of the object transmission file reaches preset range Transmission file is divided into two data groups or three data groups, and selects transmission side corresponding with the size of each data group Formula, wherein, the size of those data groups can be different.In the present embodiment, the object transmission file is divided with the processor 120 To be illustrated for three data groups.
This is not up to one of data group of the preset range for the processor 120 selection, selects NFC transmission modes; The processor 120 is by remaining data group selection Bluetooth transmission mode and/or the direct-connected transmission modes of WIFI.
Three data groups in the present embodiment, NFC transmission modes, Bluetooth transmission are corresponded to according to the size of the data group respectively Mode and the direct-connected transmission modes of WIFI.
As shown in table 1, which judges the size of the object transmission file for 6M, the preset range for (1M, 2M], then the data of the object transmission file can be divided into three data groups to differ in size by the processor 120, wherein, number Size according to group 1 is 1M, and the size of data group 2 is 2M, and the size of data group 3 is 3M, this is selected to be not up to the preset range Data group 1 corresponds to the NFC transmission modes, and the data group 2 in the preset range is selected to correspond to Bluetooth transmission mode, selects data Group 3 corresponds to the direct-connected transmission modes of WIFI.
Further or optional, the processor 120 selection is with after the matched transmission mode of size of each data group, going back Each data group can be divided multiple data slices, wherein, the corresponding transmission mode of each data slice and data slice ownership The corresponding transmission mode of data group is consistent, and referring to table 1, the data slice which divides each data group is in varying numbers.
Data group The size of data group Data slice number Transmission mode
Data group 1 1M 5 NFC
Data group 2 2M 4 Bluetooth
Data group 2 3M 3 WIFI is direct-connected
Table 1
Optionally, which can also be divided into the object transmission file data group of the sizes such as multiple, by this Multiple data groups correspond to above-mentioned three kinds of transmission modes, wherein, the size of each data group for the not up to preset range (1M, 2M]。
For example, as shown in table 2, the size of the object transmission file is 3M, can the object transmission file be divided into 3 Size is the data group of 1M, and each data group corresponds to NFC transmission modes, Bluetooth transmission mode and the direct-connected transmission sides of WIFI respectively Formula.
Data group The size of data group Number Transmission mode
Data group 1 1M 5 NFC
Data group 2 1M 5 Bluetooth
Data group 2 1M 5 WIFI is direct-connected
Table 2
It is understood that the processor 120 can select NFC transmission modes and Bluetooth transmission according to the size of the data Mode can also select NFC transmission modes and the direct-connected transmission modes of WIFI, it is also an option that Bluetooth transmission mode and WIFI are straight Transmission mode even.
Further, the processor 120 by with the matched wireless transmission method of the size of the object transmission file, transmission The object transmission file, including:When the processor 120 selection NFC transmission, then NFC transmission modules are opened, transmit target biography Defeated file;When the processor 120 selects Bluetooth transmission and/or the direct-connected transmission modes of WIFI, then open Bluetooth communication modules and/ Or the direct-connected transmission modules of WIFI, transmit the object transmission file.
Optionally, it when the processor 120 selection NFC transmission, then can be transmitted by the NFC transmission modules opened in advance The object transmission file;It, then can be by pre- when the processor 120 selects Bluetooth transmission and/or the direct-connected transmission modes of WIFI The direct-connected transmission module of Bluetooth communication modules and/or WIFI first opened, transmits the object transmission file.It is further or optional , after the processor 120 transmits the object transmission file by NFC transmission modes, including the processor 120 judges should The distance of terminal 100 and the recipient 300 whether transmission range connect beyond the NFC, if exceeding the transmission range, interrupt The NFC transmission modes, and pass through bluetooth or the direct-connected transmission modes of WIFI continue to transmit the object transmission file to the recipient 300, otherwise, which is transmitted to the recipient 300 by the NFC.
It should be understood that the processor 120 judges that the distance of the terminal 100 and the recipient 300 exceed the transmission of the NFC Distance, the then transmission that the distance of user's terminal 100 and the recipient 300 with display the prompt box, can be prompted to be connect beyond the NFC Distance, which close to the recipient 300 is continued to transmit the object transmission file or prompting user select bluetooth or WIFI is direct-connected to be continued to transmit the object transmission file, which continues to transmit the mesh according to the transmission mode that user selects Mark transmission file.
Optionally, the processor 120 can not also display the prompt box, automatically select bluetooth or WIFI it is direct-connected continue transmission should Object transmission file.
It is further or optional, when the processor 120 judges that current transmission mode is direct-connected for bluetooth and/or WIFI Transmission mode, and judge the battery capacity of the terminal 100 less than threshold values, when the terminal 100 and the distance of the recipient 300 are at this In the transmission range of NFC, then the bluetooth and/or the direct-connected transmission modes of WIFI can be interrupted, pass through the NFC transmission modes and continue The object transmission file is transmitted to the recipient 300.
It is further or optional, when the processor 120 judges that current transmission mode is direct-connected for bluetooth and/or WIFI Transmission mode, and judge that the battery capacity of the terminal 100 is less than threshold values, when the terminal 100 and the distance of the recipient 300 exceed The transmission range of the NFC can prompt user by the terminal 100 close to the recipient 300, thus be transmitted by NFC, and Selection interrupt WIFI it is direct-connected/transmission mode of bluetooth.
It is further or optional, when the processor 120 judges that current transmission mode is direct-connected for bluetooth and/or WIFI Transmission mode, and judge the battery capacity of the terminal 100 less than threshold values can continue to using WIFI is direct-connected and/or the biography of bluetooth Defeated mode transmits the object transmission file.
It is further or optional, when the processor 120 judges that current transmission mode is direct-connected for bluetooth and/or WIFI Transmission mode, and judge the battery capacity of the terminal 100 less than threshold values can also interrupt the bluetooth and/or the direct-connected biographies of WIFI Defeated mode, so as to the transmission of interrupt targets transmission file.In the embodiment of the present invention, the terminal 100 is according to the object transmission file Size, select corresponding with object transmission file size transmission mode, make the terminal 100 in the transmission object transmission file When can save energy consumption and improve efficiency of transmission.
Fig. 3 is the structure diagram of another embodiment of the present invention terminal 200.
The terminal 200 includes receiving module 210, determining module 220, judgment module 230, selecting module 240 and transmission control Molding block 250, the receiving module 210 receive the operational order that user's selection target transmits file;The determining module 220, according to The operational order determines the object transmission file;The judgment module 230, according to the determined property of the object transmission file target Transmit the size of file;The selection module 240, selection and the matched transmission mode of size of the object transmission file, wherein, it should Terminal 200 supports at least two wireless transmission methods;The transmission control module 250, passes through the size with the object transmission file Matched transmission mode transmits the object transmission file.
In the embodiment of the present invention, which selects and the object transmission file according to the size of the object transmission file The matched transmission mode of size allows the terminal 200 to save energy consumption when transmitting the object transmission file and improves transmission effect Rate.
Wherein, which can control at least two wireless transmission sides of foundation and recipient 300 in advance Formula, including,
The transmission control module 250 controls the terminal 200 to establish NFC (the Near Field with the recipient 300 Communication, short-distance transmission) and Bluetooth wireless transmission;Alternatively, establish the NFC short-distance wireless with the recipient 300 Transmission and wireless transmission direct-connected WIFI;Alternatively, establish NFC short range wireless transmissions, bluetooth and the WIFI with the recipient 300 Direct-connected wireless transmission.
Optionally, after which can also be according to the wireless transmission method that the selection module 240 selects, It is then turned on the corresponding transmission module of wireless transmission method of the selection.
Further, which receives the operational order of user's selection target transmission file, is referred to according to the operation It enables and determines the object transmission file, including,
The receiving module 210 generates command signal according to the selection operation of user's operation input unit 130.This determines mould Block 220,
Object transmission file is determined according to the command signal, wherein, which can be picture file, text File, video file or audio file.
Further, the judgment module 230 is according to the big of the determined property of the object transmission file object transmission file It is small, including,
The judgment module 230 judges that the size of the object transmission file is not up to preset range;Or judge that the target passes The size of defeated file is in the preset range;Or judge the size of the object transmission file more than the preset range.
For example, pre-define the object transmission file size preset range for (1M, 2M], following embodiment is related to pre- Determine range, refer both to the preset range (1M, 2M].The judgment module 230 judges that the size of the object transmission file for 0.5M, is then sentenced The size of the disconnected object transmission file is not up to the preset range;Judge that the size of the file destination for 1.5M or 5M, then judges The size of the object transmission file reaches the preset range.
Further, the selection module 240 selects transmission mode corresponding with the object transmission file size, including,
The selection module 240 is not up to preset range according to the size of the object transmission file, selects NFC transmission modes; Or the selection module 240 reaches preset range according to the size of the object transmission file, selects bluetooth and/or WIFI direct-connected Transmission mode.
Optionally, the selection module 240 selects transmission mode corresponding with the object transmission file size, can also wrap It includes,
The selection module 240 reaches preset range according to the size of the object transmission file, can be by object transmission text Part is divided at least two data groups, and selects the matched transmission mode of size with each data group.
Further, the selection module 240 transmits the data group of not up to preset range, selection NFC;It is up to predetermined Bluetooth transmission described in the data group selection of range and/or the direct-connected transmission modes of WIFI.
For example, the selection module 240 be up to the object transmission file of preset range be divided into two data groups or Three data groups of person, and select corresponding with the size of each data group transmission mode, wherein, the sizes of those data groups can be with It is different.In the present embodiment, illustrated so that the object transmission file is divided into three data groups by the selection module 240 as an example.
The selection module 240 selects this to be not up to one of data group of the preset range, corresponding NFC transmission sides Formula;The selection module 240 selects remaining data group to correspond to Bluetooth transmission mode and/or the direct-connected transmission modes of WIFI.
Three data groups in the present embodiment, the selection module 240 divide the write data groups according to the size of the data group It Xuan Ze not NFC transmission modes, Bluetooth transmission mode and the direct-connected transmission modes of WIFI.
As shown in table 1, the size of the object transmission file is 6M, the preset range for (1M, 2M], then the selection module 240 can be divided into the data of the object transmission file three data groups to differ in size, wherein, the size of data group 1 is 1M, the size of data group 2 is 2M, and the size of data group 3 is 3M, this is selected to be not up to the correspondence of the data group of the preset range 1 should NFC transmission modes select the data group 2 in the preset range to correspond to Bluetooth transmission mode, data group 3 are selected to correspond to WIFI straight Transmission mode even.
It is further or optional, after the matched transmission mode of size of the selection of the selection module 240 and each data group, Each data group can also be divided multiple data slices, wherein, each corresponding transmission mode of data slice and the data slice belong to The corresponding transmission mode of data group it is consistent, referring to table 1, data slice quantity that the selection module 240 divides each data group Differ.
Data group The size of data group Data slice number Transmission mode
Data group 1 1M 5 NFC
Data group 2 2M 4 Bluetooth
Data group 2 3M 3 WIFI is direct-connected
Table 1
Optionally, which can also be divided into the data group of the sizes such as multiple by the selection module 240, will Multiple data group corresponds to above-mentioned three kinds of transmission modes, wherein, the size of each data group for the not up to preset range (1M, 2M]。
For example, as shown in table 2, the size of the object transmission file is 3M, can the object transmission file be divided into 3 Size is the data group of 1M, and each data group corresponds to NFC transmission modes, Bluetooth transmission mode and the direct-connected transmission sides of WIFI respectively Formula.
Data group The size of data group Number Transmission mode
Data group 1 1M 5 NFC
Data group 2 1M 5 Bluetooth
Data group 2 1M 5 WIFI is direct-connected
Table 2
It is understood that the selection module 240 can select NFC transmission modes and bluetooth to pass according to the size of the data Defeated mode can also select NFC transmission modes and the direct-connected transmission modes of WIFI, it is also an option that Bluetooth transmission mode and WIFI Direct-connected transmission mode.
Further, the transmission control module 250 by with the matched wireless transmission side of the size of the object transmission file Formula transmits the object transmission file, including:When the selection module 240 select NFC transmission, the transmission control module 250, then NFC transmission modules 111 are opened, transmit the object transmission file;When the selection module 240 selects Bluetooth transmission and/or WIFI straight Transmission mode even, the transmission control module 250 then open Bluetooth communication modules 112 and/or the direct-connected transmission modules 113 of WIFI, Transmit the object transmission file.
Optionally, when the selection module 240 selects NFC transmission, which can be by opening in advance NFC transmission modules 111 transmit the object transmission file, when the selection module 240 selects Bluetooth transmission and/or the direct-connected biographies of WIFI Defeated mode, the transmission control module 250 can pass through the direct-connected transmission mould of the Bluetooth communication modules 112 and/or WIFI opened in advance Block 113 transmits the object transmission file.It is further or optional, when the transmission control module 250 passes through NFC transmission modes After transmitting the object transmission file, which judges whether the terminal 200 and the distance of the recipient 300 exceed The transmission range of the NFC connections, if beyond the transmission range, which interrupts the NFC connections, and passes through Bluetooth or the direct-connected transmission modes of WIFI continue to transmit the object transmission file to the recipient 300, otherwise, transmission control mould Block 250 transmits the object transmission file to the recipient 300 by the NFC.
It should be understood that the judgment module 230 judges that the distance of the terminal 100 and the recipient 300 exceed the biography of the NFC Defeated distance, the then biography that the distance of user's terminal 200 and the recipient 300 with display the prompt box, can be prompted to be connect beyond the NFC The terminal 200 is continued to transmit the object transmission file or prompting user selects bluetooth by defeated distance close to the recipient 300 Or WIFI is direct-connected continues to transmit the object transmission file, which continues according to the transmission mode that user selects Transmit the object transmission file.
Optionally, the judgment module 230 can not also display the prompt box, automatically select bluetooth or WIFI be direct-connected continues to transmit The object transmission file.
It is further or optional, when the judgment module 230 judges that current transmission mode is direct-connected for bluetooth and/or WIFI Transmission mode, and the battery capacity of the terminal 200 is judged less than threshold values, when the judgment module 230 judges the terminal 200 with connecing For debit 300 in NFC transmission ranges, which can then interrupt the bluetooth and/or the direct-connected transmission sides of WIFI Formula continues to transmit the object transmission file to the recipient 300 by the NFC transmission modes.
It is further or optional, when the judgment module 230 judges that current transmission mode is direct-connected for bluetooth and/or WIFI Transmission mode, and the battery capacity of the terminal 200 is judged less than threshold values, when the terminal 200 and the distance of the recipient 300 surpass Go out the transmission range of the NFC, which can then interrupt the bluetooth and/or the direct-connected transmission modes of WIFI, lead to It crosses the NFC transmission modes and continues to transmit the object transmission file to the recipient 300.
It is further or optional, when the judgment module 230 judges that current transmission mode is direct-connected for bluetooth and/or WIFI Transmission mode, and judge the battery capacity of the terminal 200 less than threshold values, which can continue to use WIFI is direct-connected and/or the transmission mode of bluetooth transmits the object transmission file.
It is further or optional, when the judgment module 230 judges that current transmission mode is direct-connected for bluetooth and/or WIFI Transmission mode, and judge the battery capacity of the terminal 200 less than threshold values, which can also interrupt the indigo plant Tooth and/or the direct-connected transmission modes of WIFI, so as to the transmission of interrupt targets transmission file.
In the embodiment of the present invention, which selects and the object transmission file according to the size of the object transmission file The corresponding transmission mode of size allows the terminal 200 to save energy consumption when transmitting the object transmission file and improves transmission effect Rate.
Fig. 4 is the flow chart that the embodiment of the present invention controls data transmission method.
The method of the control data transmission of the embodiment of the present invention, including:
Step 10:Terminal receives the operational order of user's selection target transmission file.
Specifically, it before which receives the operational order of user's selection target transmission file, establishes with recipient extremely Few two kinds of wireless transmission methods, including,
The terminal establishes the NFC (Near Field Communication, short-distance transmission) and bluetooth with the recipient Wireless transmission;Alternatively, establish the wireless transmission direct-connected with the NFC short range wireless transmissions of the recipient and WIFI;Alternatively, it establishes The direct-connected wireless transmission with the NFC short range wireless transmissions, bluetooth and WIFI of the recipient.Optionally, which can be with root According to the wireless transmission method of selection, it is then turned on the corresponding wireless transport module of wireless transmission method of the selection.
Step 20:The terminal determines the object transmission file according to the operational order.
Specifically, which generates command signal, and according to this according to the selection operation of user's operation input unit 130 Command signal determines object transmission file, wherein, the object transmission file can be picture file, text file, video file, Or audio file.
Step 30:The terminal judges the size of the object transmission file according to the target file attributes.
Specifically, which judges that the size of the object transmission file is not up to preset range;Or judge that the target passes The size of defeated file is in the preset range;Or judge the size of the object transmission file more than the preset range.
For example, pre-define the object transmission file size preset range for (1M, 2M], following embodiment is related to pre- Determine range, refer both to the preset range (1M, 2M].The processor 120 judges that the size of the object transmission file for 0.5M, then judges The size of the object transmission file is not up to the preset range;The size of the file destination is judged for 1.5M or 5M, then judging should The size of object transmission file reaches the preset range.
Step 40:The terminal select with the matched transmission mode of object transmission file size, wherein, the terminal support to Few two kinds of wireless transmission methods.
Specifically, which is not up to preset range according to the size of the object transmission file, selects NFC transmission modes; Or preset range is reached according to the size of the object transmission file, select bluetooth and/or the direct-connected transmission modes of WIFI.
Optionally, which reaches preset range according to the size of the object transmission file, can be by object transmission text Part is divided at least two data groups, and selects the matched transmission mode of size with each data group.
Specifically, which transmits the data group of not up to preset range, selection NFC;It is up to the number of preset range According to the transmission mode that Bluetooth transmission described in group selection and/or WIFI are direct-connected.
It, can be by the object transmission for example, if the terminal judges that the size of the object transmission file reaches preset range File is divided into two data groups or three data groups, and selects transmission mode corresponding with the size of each data group, In, the size of those data groups can be different.In the present embodiment, which is divided by three data with the terminal It is illustrated for group.
The terminal selects this to be not up to one of data group of the preset range, corresponding NFC transmission modes;Select it Remaining data group corresponds to Bluetooth transmission mode and/or the direct-connected transmission modes of WIFI.
Three data groups in the present embodiment, NFC transmission modes, Bluetooth transmission are corresponded to according to the size of the data group respectively Mode and the direct-connected transmission modes of WIFI.
As shown in table 1, which judges the size of the object transmission file for 6M, the preset range for (1M, 2M], then may be used The data of the object transmission file are divided into three data groups to differ in size, wherein, the size of data group 1 is 1M, is counted Size according to group 2 is 2M, and the size of data group 3 is 3M, this is selected to be not up to the data group of the preset range 1 and corresponds to NFC biographies Defeated mode selects the data group 2 in the preset range to correspond to Bluetooth transmission mode, data group 3 is selected to correspond to WIFI direct-connected Transmission mode.
It is further or optional, terminal selection with after the matched transmission mode of size of each data group, can be with Each data group is divided into multiple data slices, wherein, the data of each corresponding transmission mode of data slice and data slice ownership The corresponding transmission mode of group is consistent, and referring to table 1, the data slice which divides each data group is in varying numbers.
Data group The size of data group Data slice number Transmission mode
Data group 1 1M 5 NFC
Data group 2 2M 4 Bluetooth
Data group 2 3M 3 WIFI is direct-connected
Table 1
Optionally, which can also be divided into the object transmission file data group of the sizes such as multiple, will be multiple Data group corresponds to above-mentioned three kinds of transmission modes, wherein, the size of each data group for the not up to preset range (1M, 2M].
For example, as shown in table 2, the size of the object transmission file is 3M, can the object transmission file be divided into 3 Size is the data group of 1M, and each data group corresponds to NFC transmission modes, Bluetooth transmission mode and the direct-connected transmission sides of WIFI respectively Formula.
Data group The size of data group Number Transmission mode
Data group 1 1M 5 NFC
Data group 2 1M 5 Bluetooth
Data group 2 1M 5 WIFI is direct-connected
Table 2
It is understood that the terminal can select NFC transmission modes and Bluetooth transmission mode according to the size of the data, NFC transmission modes and the direct-connected transmission modes of WIFI can also be selected, it is also an option that Bluetooth transmission mode and WIFI are direct-connected Transmission mode.
Step 50:The terminal by with the matched transmission mode of the size of the object transmission file, transmit the object transmission File.
Specifically, when terminal selection NFC transmission, then NFC transmission modules is opened, transmit the object transmission file;It is elected Bluetooth transmission and/or the direct-connected transmission modes of WIFI are selected, then opens Bluetooth communication modules and/or the direct-connected transmission modules of WIFI, is passed The defeated object transmission file.
Optionally, when terminal selection NFC transmission, can target biography be transmitted by the NFC transmission modules opened in advance Defeated file;It, then can be by the Bluetooth communication modules opened in advance when selection Bluetooth transmission and/or the direct-connected transmission modes of WIFI And/or the direct-connected transmission modules of WIFI, transmit the object transmission file.
It is further or optional, when the terminal is by NFC wireless transmission methods, after transmitting the object transmission file, sentence Break the terminal and recipient 300 distance whether the transmission range being connect beyond the NFC, if exceeding the transmission range, interrupt The NFC connections, and pass through and bluetooth or the direct-connected transmission modes of WIFI is selected to continue to transmit the object transmission file to the recipient 300, otherwise, which is transmitted to the recipient 300 by the NFC.
It should be understood that the terminal judges that the distance of the terminal and the recipient 300 exceed the transmission range of the NFC, then The distance of user's terminal 100 and the recipient 300 with display the prompt box, can be prompted to exceed the transmission range that the NFC is connect, general The terminal close to the recipient 300 continues to transmit the object transmission file or prompting user select bluetooth or WIFI it is direct-connected after The defeated object transmission file is resumed, which continues to transmit the object transmission file according to the transmission mode that user selects.
Optionally, the terminal can not also display the prompt box, automatically select bluetooth or the direct-connected transmission modes of WIFI continue Transmit the object transmission file.
It is further or optional, when the terminal judges current transmission mode for bluetooth and/or the direct-connected transmission of WIFI Mode, and judge the battery capacity of the terminal less than threshold values, then can be with when the terminal and recipient 300 are in NFC transmission ranges The bluetooth and/or the direct-connected transmission modes of WIFI are interrupted, continues to transmit the object transmission file by the NFC transmission modes.
It is further or optional, when the terminal judges current transmission mode for bluetooth and/or the direct-connected transmission of WIFI Mode, and judge that the battery capacity of the terminal is less than threshold values, when the distance of the terminal and the recipient exceeds the transmission distance of the NFC From can then interrupt the bluetooth and/or the direct-connected transmission modes of WIFI, continue to transmit the target passing by the NFC transmission modes Defeated file is to the recipient 300.
It is further or optional, when the terminal judges current transmission mode for bluetooth and/or the direct-connected transmission of WIFI Mode, and judge the battery capacity of the terminal less than threshold values, the terminal can continue to using WIFI is direct-connected and/or the biography of bluetooth Defeated mode transmits the object transmission file.
It is further or optional, when the terminal judges current transmission mode for bluetooth and/or the direct-connected transmission of WIFI Mode, and judge the battery capacity of the terminal less than threshold values, the terminal can also interrupt the bluetooth and/or the direct-connected transmission of WIFI Mode, so as to the transmission of interrupt targets transmission file.
In the embodiment of the present invention, which selects big with the object transmission file according to the size of the object transmission file Small corresponding transmission mode allows the terminal to save energy consumption when transmitting the object transmission file and improves efficiency of transmission.
It, can be with it should be noted that with reference to various method steps and module described in the embodiments described herein The combination of electronic hardware or computer software and both hardware realizes, in the above description according to function in general manner The step of describing each embodiment and composition.These functions are performed in a manner of the hardware or software and hardware actually, are depended on In the specific application and design constraint of technical solution.Those of ordinary skill in the art can make each specific application Differently realize described function, but this realization is it is not considered that beyond the scope of this invention.
The software journey that can be performed with reference to the method or step that the embodiments described herein describes with hardware, processor The combination of sequence or the two is implemented.Software program can be placed in random access memory (RAM), memory, read-only memory (ROM), Institute is public in electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field In any other form of storage medium known.
Although by reference to the mode of attached drawing and combination preferred embodiment to the present invention have been described in detail, the present invention It is not limited to this.Without departing from the spirit and substance of the premise in the present invention, those of ordinary skill in the art can be to the present invention Embodiment carry out various equivalent modifications or substitutions, and these modifications or substitutions all should be in the covering scope of the present invention.

Claims (17)

  1. A kind of 1. method for controlling file transmission, which is characterized in that including:
    Terminal receives the operational order of user's selection target transmission file;
    The terminal determines the object transmission file according to the operational order;
    The size of terminal object transmission file according to the determined property of the object transmission file;
    The terminal selection and the matched transmission mode of size of the object transmission file, wherein, the terminal is supported at least Two kinds of wireless transmission methods;
    The terminal transmits the object transmission file by the matched transmission mode of size with the object transmission file.
  2. 2. the method as described in claim 1, which is characterized in that receive the behaviour of user's selection target transmission file in the terminal Before instructing, including:
    The terminal is established and recipient's short range wireless transmission NFC and Bluetooth wireless transmission;Or the terminal is established with connecing Wireless transmission direct-connected debit NFC and WIFI;Or the terminal is established and direct-connected wireless of recipient NFC, bluetooth and WIFI Transmission.
  3. 3. the method as described in claim 1, which is characterized in that the terminal passes through the size with the object transmission file The wireless transmission method matched transmits the object transmission file, including:When terminal selection NFC transmission, then NFC biographies are opened Defeated module transmits the object transmission file;When the terminal selects the Bluetooth transmission and/or the direct-connected transmission sides of WIFI Formula then opens Bluetooth communication modules and/or the direct-connected transmission modules of WIFI, transmits the object transmission file.
  4. 4. method as claimed in claim 2 or claim 3, which is characterized in that when the terminal is passed by target described in NFC transmission modes After defeated file, including, judge that the distance of the terminal and the recipient exceed the transmission range of the NFC, then interrupt described in NFC connections, and continue to transmit the object transmission by the transmission mode of the Bluetooth transmission and/or the direct-connected transmission of the WIFI File.
  5. 5. method as claimed in claim 2 or claim 3, which is characterized in that when the terminal passes through the Bluetooth transmission and/or WIFI Direct-connected transmission mode, after transmitting the object transmission file, including,
    Judge that the battery capacity of the terminal less than threshold values, then interrupts the Bluetooth communication modules and/or the direct-connected transmission moulds of WIFI Block, and continue by the NFC transmission modules to transmit the object transmission file.
  6. 6. the method as described in claim 1-5 is any, which is characterized in that the terminal judges the big of the object transmission file It is small, including,
    The terminal judges that the size of the object transmission file is not up to preset range;Or the terminal judges the target Transmit the size of file within a predetermined range;Or the terminal judges that the size of the object transmission file is more than predetermined model It encloses.
  7. 7. method as claimed in claim 6, which is characterized in that the terminal selection and the size of the object transmission file The transmission mode matched, including:
    The terminal is not up to preset range according to the size of the object transmission file, selects NFC transmission;Or the terminal Preset range is reached according to the size of the object transmission file, selects Bluetooth transmission and/or the direct-connected transmission modes of WIFI.
  8. 8. the method as described in claim 1-7 any claims, which is characterized in that the terminal selection is passed with the target The matched wireless transmission method of size of defeated file, including the terminal reaches pre- according to the size of the object transmission file Determine range, the object transmission file is divided at least two data groups, and select matched with the size of each data group Transmission mode.
  9. 9. method as claimed in claim 8, which is characterized in that the terminal selection and the matched biography of size of each data group Defeated mode including, the terminal by the data group of not up to preset range, selects NFC transmission modes;It is up to preset range Data group selection Bluetooth transmission mode and/or the direct-connected transmission modes of WIFI.
  10. 10. method as claimed in claim 8, which is characterized in that the terminal selection is matched with the size of each data group After transmission mode, further including, each data group is divided multiple data slices by the terminal, wherein, the corresponding biography of each data slice Defeated mode transmission mode corresponding with the data group that the data slice belongs to is consistent.
  11. 11. a kind of terminal, the terminal includes receiving module, determining module, judgment module, selecting module and transmission control mould Block,
    The receiving module receives the operational order of user's selection target transmission file;
    The determining module determines the object transmission file according to the operational order;
    The judgment module, according to the size of object transmission file described in the determined property of the object transmission file;
    The selecting module, selection and the matched transmission mode of size of the object transmission file, wherein, the terminal is supported At least two wireless transmission methods;
    The transmission control module by the matched transmission mode of size with the object transmission file, transmits the target Transmit file.
  12. 12. terminal as claimed in claim 11, which is characterized in that the receiving module receives user's selection target transmission text Before the operational order of part, including:
    The terminal is established and recipient's short range wireless transmission NFC and Bluetooth wireless transmission;Or the terminal is established with connecing Wireless transmission direct-connected debit NFC and WIFI;Or the terminal is established and direct-connected wireless of recipient NFC, bluetooth and WIFI Transmission.
  13. 13. terminal as claimed in claim 11, which is characterized in that the transmission control module, by with the object transmission The matched wireless transmission method of size of file, transmits the object transmission file, including:When the selecting module selects NFC Transmission, the transmission control module then open NFC transmission modules, transmit the object transmission file;When the selecting module, choosing It selects Bluetooth transmission and/or the direct-connected transmission modes of WIFI, the transmission control module then opens Bluetooth communication modules and/or WIFI Direct-connected transmission module transmits the object transmission file.
  14. 14. terminal as described in claim 12 or 13, which is characterized in that when the transmission control module passes through NFC transmission sides After formula transmits the object transmission file, further include, the judgment module, judge that the distance of the terminal and recipient exceed The transmission range of NFC, the transmission control module then interrupt the NFC connections, and straight by the Bluetooth transmission and/or WIFI The even transmission mode of transmission, continues to transmit the object transmission file.
  15. 15. terminal as described in claim 12 or 13, which is characterized in that when the transmission control module by bluetooth and/or After transmission mode direct-connected WIFI transmits the object transmission file, further include,
    The judgment module judges the battery capacity of the terminal less than threshold values, and the transmission control module then interrupts the indigo plant Tooth and/or the direct-connected transmission modes of WIFI, and pass through the NFC transmission modes and transmit the object transmission file.
  16. 16. the terminal as described in claim 11-15 is any, which is characterized in that the judgment module judges the object transmission The size of file, including,
    The judgment module judges that the size of the object transmission file is not up to preset range;Or the judgment module, sentence The size of the disconnected object transmission file is in the preset range;Or the judgment module, judge the object transmission text The size of part is more than the preset range.
  17. 17. the terminal as described in claim 16 any claim, which is characterized in that the selecting module, selection with it is described The matched transmission mode of size of object transmission file, including:
    The selecting module is not up to preset range according to the size of the object transmission file, selects NFC transmission;It is or described Selecting module reaches preset range according to the size of the object transmission file, selects Bluetooth transmission and/or the direct-connected biographies of WIFI Defeated mode.
CN201810089171.4A 2012-10-19 2012-10-19 Method and terminal for controlling file transmission Active CN108173574B9 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810089171.4A CN108173574B9 (en) 2012-10-19 2012-10-19 Method and terminal for controlling file transmission

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810089171.4A CN108173574B9 (en) 2012-10-19 2012-10-19 Method and terminal for controlling file transmission
CN201210400729.9A CN103781187B (en) 2012-10-19 2012-10-19 A kind of method and terminal for controlling file transmission

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201210400729.9A Division CN103781187B (en) 2012-10-19 2012-10-19 A kind of method and terminal for controlling file transmission

Publications (3)

Publication Number Publication Date
CN108173574A true CN108173574A (en) 2018-06-15
CN108173574B CN108173574B (en) 2021-09-28
CN108173574B9 CN108173574B9 (en) 2021-11-12

Family

ID=50487505

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201210400729.9A Active CN103781187B (en) 2012-10-19 2012-10-19 A kind of method and terminal for controlling file transmission
CN201810089171.4A Active CN108173574B9 (en) 2012-10-19 2012-10-19 Method and terminal for controlling file transmission

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201210400729.9A Active CN103781187B (en) 2012-10-19 2012-10-19 A kind of method and terminal for controlling file transmission

Country Status (2)

Country Link
CN (2) CN103781187B (en)
WO (1) WO2014059753A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769274A (en) * 2018-08-27 2018-11-06 优视科技新加坡有限公司 A kind of dialog mode document transmission method, device and equipment/terminal/server
CN112073811A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 File transmission scheduling method and display device

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6217731B2 (en) * 2015-02-04 2017-10-25 カシオ計算機株式会社 Data processing system and data processing method
CN104731066B (en) * 2015-02-11 2018-08-10 珠海格力电器股份有限公司 Intelligent domestic system and its control method
US9844065B2 (en) * 2015-06-30 2017-12-12 Qualcomm Incorporated Optimizing the reach of a message beacon device
CN105072560B (en) * 2015-07-07 2019-05-17 魅族科技(中国)有限公司 A kind of data transmission method and device
CN105635839B (en) * 2015-12-28 2019-03-29 深圳Tcl数字技术有限公司 Smart television method for switching network and device
KR102148273B1 (en) * 2016-02-29 2020-08-26 후아웨이 테크놀러지 컴퍼니 리미티드 Data transmission method, system and terminal equipment in unlicensed spectrum
CN106550492B (en) * 2016-10-27 2019-07-30 广东欧珀移动通信有限公司 The method and mobile terminal of data transfer between a kind of mobile terminal
CN107995247B (en) * 2016-10-27 2020-07-14 腾讯科技(深圳)有限公司 File transmission method, server and system
CN106681437B (en) * 2016-12-30 2020-03-24 联想(北京)有限公司 Carrying equipment and electronic equipment accessory
CN106790639B (en) * 2017-01-11 2020-07-10 杭州腾展科技股份有限公司 Data transmission method and system
CN110392364B (en) * 2018-04-18 2021-02-26 Oppo广东移动通信有限公司 Data transmission method, device, storage medium and electronic equipment
CN109617928B (en) * 2019-01-31 2021-10-26 南宁学院 Method and system for sharing data between devices
CN110281874B (en) * 2019-06-19 2021-04-23 浙江吉利控股集团有限公司 Vehicle control method and device based on mobile terminal
CN111930509A (en) * 2020-08-18 2020-11-13 Oppo广东移动通信有限公司 Data processing method and device for intelligent glasses, storage medium and electronic equipment
CN112291601B (en) * 2020-10-28 2023-03-14 Oppo广东移动通信有限公司 Data transmission method, electronic equipment and storage medium
CN113613218A (en) * 2021-08-04 2021-11-05 江西科技学院 Interaction method and device for wearable equipment and wearable equipment
CN114040146B (en) * 2021-11-29 2023-10-24 京东方科技集团股份有限公司 Data transmission method, central control terminal, mobile terminal and data transmission system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877604A (en) * 2010-06-22 2010-11-03 中兴通讯股份有限公司 Method and system for transmitting files
WO2011105695A2 (en) * 2010-02-26 2011-09-01 엘지전자 주식회사 Electronic device and method for operating an electronic device
CN102315864A (en) * 2011-09-07 2012-01-11 百度在线网络技术(北京)有限公司 Method of point-to-point data transmission for mobile device and device
EP2434721A1 (en) * 2010-09-23 2012-03-28 Research In Motion Limited Communications system providing data transfer using selective wireless communications formats and related methods
US20120258660A1 (en) * 2011-04-11 2012-10-11 Texas Instruments Incorporated Using a same antenna for simultaneous transmission and/or reception by multiple transceivers

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7821472B2 (en) * 2007-03-19 2010-10-26 Broadcom Corporation Method and system for FM transmit and FM receive using a transformer as a duplexer
US8036598B1 (en) * 2007-09-19 2011-10-11 Sprint Communications Company L.P. Peer-to-peer transfer of files with back-office completion
CN101807945B (en) * 2010-04-06 2014-11-26 珠海市魅族科技有限公司 Wireless data transmission system and data transmission method utilizing same
CN102404093A (en) * 2010-09-10 2012-04-04 中国移动通信集团公司 Management method of data transmission modes and data transmission equipment
CN102209369B (en) * 2011-05-20 2014-03-19 北京航空航天大学 Method based on wireless network interface selection to improve a smart phone user experience

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011105695A2 (en) * 2010-02-26 2011-09-01 엘지전자 주식회사 Electronic device and method for operating an electronic device
CN101877604A (en) * 2010-06-22 2010-11-03 中兴通讯股份有限公司 Method and system for transmitting files
EP2434721A1 (en) * 2010-09-23 2012-03-28 Research In Motion Limited Communications system providing data transfer using selective wireless communications formats and related methods
US20120258660A1 (en) * 2011-04-11 2012-10-11 Texas Instruments Incorporated Using a same antenna for simultaneous transmission and/or reception by multiple transceivers
CN102315864A (en) * 2011-09-07 2012-01-11 百度在线网络技术(北京)有限公司 Method of point-to-point data transmission for mobile device and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108769274A (en) * 2018-08-27 2018-11-06 优视科技新加坡有限公司 A kind of dialog mode document transmission method, device and equipment/terminal/server
CN108769274B (en) * 2018-08-27 2021-12-24 优视科技新加坡有限公司 Conversational file transmission method and device, and equipment/terminal/server
CN112073811A (en) * 2019-06-10 2020-12-11 海信视像科技股份有限公司 File transmission scheduling method and display device
CN112073811B (en) * 2019-06-10 2023-02-28 海信视像科技股份有限公司 File transmission scheduling method and display device

Also Published As

Publication number Publication date
CN103781187A (en) 2014-05-07
CN108173574B (en) 2021-09-28
CN108173574B9 (en) 2021-11-12
WO2014059753A1 (en) 2014-04-24
CN103781187B (en) 2018-05-11

Similar Documents

Publication Publication Date Title
CN103781187B (en) A kind of method and terminal for controlling file transmission
CN109962719B (en) Antenna control method and system, electronic device, and computer-readable storage medium
CN103414982B (en) A kind of method and apparatus that sound is provided
CN104618440A (en) Intelligent equipment control method and device
CN105007543B (en) Intercommunication method, device, equipment and system
CN106775323A (en) Method, device and the mobile communication terminal of application program have been adjusted in communication process
CN104426963A (en) Terminal associating method and terminal
CN112187435A (en) Method for activating bandwidth part BWP and related product
CN107172671A (en) A kind of channel switching method, device, storage medium and terminal
CN105471704A (en) Multi-user conversation realization method, device and system
CN106658623A (en) Hotspot network switching method and terminal equipment
CN106791084A (en) The synchronous method and mobile terminal of personalizing parameters
CN106793010A (en) A kind of method for network access and equipment
CN106453908A (en) Double-card network switching method and apparatus based on call and mobile terminal
CN108366388A (en) Antenna switching method, device, storage medium and electronic equipment
CN108391277A (en) Signal connection method, device, mobile terminal and computer readable storage medium
CN107977261A (en) Method, equipment, mobile terminal and the computer-readable storage medium of limiting process
CN106550484A (en) A kind of straight-through call communication method and terminal
CN106331302A (en) Method and equipment for adding contact
CN109391379A (en) A kind of HARQ indicating means, apparatus and system
CN105282330B (en) The method and device of automatic connection network
CN108260213A (en) A kind of data transmission method, base station and terminal
CN106713386A (en) Projection equipment binding communication method, projection equipment and intelligent terminal
CN106792434A (en) A kind of focus method for building up and terminal device
CN108282857B (en) Adjust transmission power method and Related product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Applicant after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Applicant before: HUAWEI terminal (Dongguan) Co., Ltd.

GR01 Patent grant
GR01 Patent grant
CI03 Correction of invention patent
CI03 Correction of invention patent

Correction item: Claims

Correct: Claims submitted on September 11, 2021

False: Claims submitted on August 10, 2021

Number: 40-01

Page: ??

Volume: 37