CN105472038A - Control method, control apparatus and control system for file transmission - Google Patents
Control method, control apparatus and control system for file transmission Download PDFInfo
- Publication number
- CN105472038A CN105472038A CN201610011272.0A CN201610011272A CN105472038A CN 105472038 A CN105472038 A CN 105472038A CN 201610011272 A CN201610011272 A CN 201610011272A CN 105472038 A CN105472038 A CN 105472038A
- Authority
- CN
- China
- Prior art keywords
- transmitting equipment
- data transmitting
- data receiver
- communication device
- described data
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W52/00—Power management, e.g. TPC [Transmission Power Control], power saving or power classes
- H04W52/02—Power saving arrangements
- H04W52/0209—Power saving arrangements in terminal devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing 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)
Abstract
The invention discloses a control method, a control apparatus and a control system for file transmission. The method comprises the following steps that: a data transmitting device builds a first connection with a data receiving device through a first communication apparatus, and by the first connection, transmits a pairing request and receives a response information returned back by the data receiving device; the data transmitting device starts a second communication apparatus according to the response information to build a second connection with the data receiving device, and transmits a to-be-transmitted file to the data receiving device through the second connection; and after the data transmitting device successfully transmits the to-be-transmitted file, the second communication apparatus is turned off. The control method, the control apparatus and the control system, provided by the invention, solve the technical problem that, in related technologies, when realizing short-distance file transmission between mobile devices, a transmission apparatus used for realizing file transmission in the mobile devices consumes relatively high power, which causes relatively high power consumption of the mobile device.
Description
Technical field
The present invention relates to the communications field, in particular to a kind of control method of file transfer, device and system.
Background technology
Along with the fast development of the communication technology, between mobile device, near radio transfer files can be realized.File transfer can be carried out by multiple network agreement between mobile device in prior art, such as, bluetooth, WiFi etc.By bluetooth between mobile device during transfer files, file transfer speed is too slow, is not especially suitable for the transmission compared with large files.By WiFi between mobile device during transfer files, mobile device needs a direct-open WiFi function, although file transfer speed is improved, but the power consumption of WiFi is comparatively large, increases the power consumption of mobile device, shorten the stand-by time of mobile device, especially when not having file transfer, WiFi will consume the larger power consumption of mobile device, causes the stand-by time of mobile device greatly to shorten, seriously reduces the experience of user.
For when realizing short range transmission file in correlation technique between mobile device, due to larger power consumption can be consumed for the transmitting device realizing transfer files in mobile device, cause the problem that mobile device power consumption is larger, not yet propose effective solution at present.
Summary of the invention
Embodiments provide a kind of control method of file transfer, device and system, when realizing short range transmission file at least to solve in correlation technique between mobile device, due to larger power consumption can be consumed for the transmitting device realizing transfer files in mobile device, cause the technical problem that mobile device power consumption is larger.
According to an aspect of the embodiment of the present invention, provide a kind of control method of file transfer, comprise: data transmitting equipment is set up first by first communication device and data receiver and is connected, connect by first and send pairing request and receive the response message that data receiver returns; Data transmitting equipment is set up second according to response message startup secondary communication device with data receiver and is connected, and sends file waiting for transmission by described second connection to data receiver; After data transmitting equipment successfully sends file waiting for transmission, close secondary communication device.
According to the another aspect of the embodiment of the present invention, additionally provide a kind of control method of file transfer, comprise: data receiver is set up first by first communication device and data transmitting equipment and is connected, connect by first the pairing request the response message returned pairing request that receive data transmitting equipment transmission; Data receiver startup secondary communication device is set up second with data transmitting equipment and is connected, and connects by second the file receiving data transmitting equipment transmission; After data receiver successfully receives file, close secondary communication device.
According to the another aspect of the embodiment of the present invention, additionally provide a kind of control system of file transfer, comprising: data transmitting equipment, comprising: the first dispensing device and the second dispensing device, for initiating connection request by the first dispensing device; Data receiver, comprising: first receiving device and the second receiving system, for receiving connection request by first receiving device; Wherein, after data transmitting equipment and data receiver set up the first successful connection, data transmitting equipment starts the second dispensing device, data receiver starts the second receiving system, between data transmitting equipment with data receiver, set up second be connected, and connect to after data receiver successfully sends file waiting for transmission at data transmitting equipment by described second, close the second dispensing device, and after data receiver receives file by described second successful connection, close the second receiving system.
According to the another aspect of the embodiment of the present invention, additionally provide a kind of control device of file transfer, comprise: set up module, set up first for data transmitting equipment by first communication device and data receiver to be connected, connect by first and send pairing request and receive the response message that data receiver returns; Sending module, set up second according to response message startup secondary communication device with data receiver for data transmitting equipment and be connected, data transmitting equipment also sends file waiting for transmission by the second connection to data receiver; First closing module, after successfully sending file waiting for transmission at data transmitting equipment, closes secondary communication device.
According to the another aspect of the embodiment of the present invention, additionally provide a kind of control device of file transfer, comprise: set up module, set up first for data receiver by first communication device and data transmitting equipment to be connected, connect by first the pairing request the response message returned pairing request that receive data transmitting equipment transmission; Opening module, is connected for setting up second at data receiver startup secondary communication device with data transmitting equipment, and connects by second the file receiving data transmitting equipment transmission; First closing module, after successfully receiving file at data receiver, closes secondary communication device.
In embodiments of the present invention, adopt data transmitting equipment to set up first by first communication device and data receiver and be connected, connect transmission pairing request by first and receive the response message that data receiver returns, data transmitting equipment is set up second according to response message startup secondary communication device with data receiver and is connected, and sends file waiting for transmission by described second connection to data receiver, after data transmitting equipment successfully sends file waiting for transmission, close the mode of secondary communication device, open and close by effectively controlling secondary communication device in document transmission process, connect successfully at data transmitting equipment and data receiver and just open secondary communication device, second communication equipment is closed immediately after data transmitting equipment successfully sends file waiting for transmission, reach the object only having first communication device to consume energy in data transmitting equipment when non-transmitting scene, thus achieve the technique effect reducing data transmitting equipment power consumption, and then solve in correlation technique when realizing short range transmission file between mobile device, due to larger power consumption can be consumed for the transmitting device realizing transfer files in mobile device, cause the technical problem that mobile device power consumption is larger.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the hardware block diagram of the terminal of the control method of a kind of file transfer of the embodiment of the present invention;
Fig. 2 is the flow chart of the control method of file transfer according to the embodiment of the present invention one;
Fig. 3 is the flow chart of the control method of a kind of file transfer alternatively according to the embodiment of the present invention one;
Fig. 4 is the flow chart according to the another kind of the embodiment of the present invention one control method of file transfer alternatively;
Fig. 5 is the flow chart of the control method of file transfer according to the embodiment of the present invention two;
Fig. 6 is the flow chart of the control method of a kind of file transfer alternatively according to the embodiment of the present invention two;
Fig. 7 is the schematic diagram of the control device of file transfer according to the embodiment of the present invention three;
Fig. 8 is the schematic diagram of the control device of a kind of file transfer alternatively according to the embodiment of the present invention three;
Fig. 9 is the schematic diagram according to the another kind of the embodiment of the present invention three control device of file transfer alternatively;
Figure 10 is the schematic diagram according to the another kind of the embodiment of the present invention three control device of file transfer alternatively;
Figure 11 is the schematic diagram according to the another kind of the embodiment of the present invention three control device of file transfer alternatively;
Figure 12 is the schematic diagram of the control device of file transfer according to the embodiment of the present invention four;
Figure 13 is the schematic diagram of the control device of a kind of file transfer alternatively according to the embodiment of the present invention four;
Figure 14 is the schematic diagram according to the another kind of the embodiment of the present invention four control device of file transfer alternatively;
Figure 15 is the schematic diagram of the control system of file transfer according to the embodiment of the present invention;
Figure 16 is the schematic diagram of the control system of a kind of file transfer alternatively according to the embodiment of the present invention; And
Figure 17 is the structured flowchart of a kind of terminal according to the embodiment of the present invention.
Embodiment
The present invention program is understood better in order to make those skilled in the art person, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a part of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, should belong to the scope of protection of the invention.
It should be noted that, term " first ", " second " etc. in specification of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the data used like this can be exchanged in the appropriate case, so as embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, such as, contain those steps or unit that the process of series of steps or unit, method, system, product or equipment is not necessarily limited to clearly list, but can comprise clearly do not list or for intrinsic other step of these processes, method, product or equipment or unit.
First, the part noun occurred in the process be described the embodiment of the present invention or term are applicable to description below:
Bluetooth is a kind of wireless technology standard, and the short-range data that can realize between permanent plant, mobile device and building personal area network exchanges.
NFC (NearFieldCommunication, referred to as NFC), wireless near field communication is by non-contact radio-frequency identification and the Technology Integration that interconnects, combining induction card reader, induction type card and point-to-point function on one chip, can carry out identifying and exchanges data with compatible equipment in short distance.
First communication device, is mainly used in the annexation set up between data transmitting equipment and data receiver.
Secondary communication device, is mainly used in transfer files between data transmitting equipment and data receiver.
Third communication device, both may be used for the annexation set up between data transmitting equipment and data receiver, also may be used for transfer files between data transmitting equipment and data receiver.
Embodiment 1
According to the embodiment of the present invention, additionally provide a kind of embodiment of the method for control method of file transfer, it should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing, and, although show logical order in flow charts, in some cases, can be different from the step shown or described by order execution herein.
The embodiment of the method that the embodiment of the present application one provides can perform in mobile terminal, terminal or similar arithmetic unit.To run on computer terminals, Fig. 1 is the hardware block diagram of the terminal of the control method of a kind of file transfer of the embodiment of the present invention.As shown in Figure 1, terminal 10 can comprise one or more (only illustrating one in figure) processor 102 (processor 102 can include but not limited to the processing unit of Micro-processor MCV or programmable logic device FPGA etc.), for storing the memory 104 of data and the transmitting device 106 for communication function.One of ordinary skill in the art will appreciate that, the structure shown in Fig. 1 is only signal, and it does not cause restriction to the structure of above-mentioned electronic installation.Such as, terminal 10 also can comprise than assembly more or less shown in Fig. 1, or has the configuration different from shown in Fig. 1.
Memory 104 can be used for the software program and the module that store application software, program command/module that control method as the file transfer in the embodiment of the present invention is corresponding, processor 102 is by running the software program and module that are stored in memory 104, thus perform the application of various function and data processing, namely realize the control method of above-mentioned file transfer.Memory 104 can comprise high speed random asccess memory, also can comprise nonvolatile memory, as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, memory 104 can comprise the memory relative to the long-range setting of processor 102 further, and these remote memories can be connected to terminal 10 by network.The example of above-mentioned network includes but not limited to the Internet, intranet, local area network (LAN), mobile radio communication and combination thereof.
Transmitting device 106 for via a network reception or send data.The wireless network that the communication providers that above-mentioned network instantiation can comprise terminal 10 provides.In an example, transmitting device 106 comprises a network adapter (NetworkInterfaceController, NIC), and it to be connected with other network equipments by base station thus can to carry out communication with the Internet.In an example, transmitting device 106 can be radio frequency (RadioFrequency, RF) module, and it is for wirelessly carrying out communication with the Internet.
Under above-mentioned running environment, this application provides the control method of file transfer as shown in Figure 2.Fig. 2 is the flow chart of the control method of file transfer according to the embodiment of the present invention one.
As shown in Figure 2, the control method of the file transfer of this embodiment can comprise the following steps:
Step S12, data transmitting equipment is set up first by first communication device and data receiver and is connected, and connects send pairing request and receive the response message that data receiver returns by first;
Step S14, data transmitting equipment is set up second according to response message startup secondary communication device with data receiver and is connected, and sends file waiting for transmission by described second connection to data receiver;
Step S16, after data transmitting equipment successfully sends file waiting for transmission, closes secondary communication device.
By above-mentioned steps S12 to step S16, open and close by effectively controlling secondary communication device in document transmission process, connect successfully at data transmitting equipment and data receiver and just open secondary communication device, second communication equipment is closed immediately after data transmitting equipment successfully sends file waiting for transmission, reach the object only having first communication device to consume energy in data transmitting equipment when non-transmitting scene, thus achieve the technique effect reducing data transmitting equipment power consumption, and then solve in correlation technique when realizing short range transmission file between mobile device, due to larger power consumption can be consumed for the transmitting device realizing transfer files in mobile device, cause the technical problem that mobile device power consumption is larger.
In the technical scheme that step S12 provides, data transmitting equipment and data receiver can be smart mobile phone, panel computer or other mobile devices.Type or the model of data transmitting equipment and data receiver can be identical, also can be different.Include first communication device in data transmitting equipment and data receiver, first communication device is mainly used in the annexation set up between data transmitting equipment and data receiver.When data transmitting equipment detects data sending request, first can be set up by first communication device and data receiver to be connected, data transmitting equipment connects can send pairing request to data receiver by first, data receiver responds it after the pairing request receiving data transmitting equipment transmission, and to data transmitting equipment feedback response information.Wherein, first communication device can be Bluetooth chip, NFC chip or WIFI chip etc.Bluetooth is a kind of wireless technology standard, and the short-range data that can realize between permanent plant, mobile device and building personal area network exchanges.Wireless near field communication (NearFieldCommunication, referred to as NFC) be by non-contact radio-frequency identification and the Technology Integration that interconnects, combining induction card reader, induction type card and point-to-point function on one chip, can carry out identifying and exchanges data with compatible equipment in short distance.Bluetooth is different with transmission rate with the communication distance of NFC, and the communication distance of bluetooth is about 10 meters, transmission rate 721kbps, is operated on the frequency band of 2.4GHz, supports one-to-many data transmission and voice communication; The communication distance of NFC is about 20 centimetres, and transmission rate 106kbps, 212kbps or 424kbps, be operated on the frequency band of 13.56MHz.The transmission rate of WIFI chip and communication distance will far above Bluetooth chip and NFC chip, but, WIFI chip power-consumption relative to Bluetooth chip and NFC chip larger.In order to reduce the power consumption of data transmitting equipment, data transmitting equipment preferably utilizes the communication module of low speed low-power consumption, and such as Bluetooth chip or NFC chip are initiated to set up first with data receiver and be connected.
Alternatively, in this embodiment, data transmitting equipment simultaneously can be set up first with one or more data receiver and is connected, when data transmitting equipment set up with multiple data receiver simultaneously first be connected time, in data transmitting equipment, respective stored has the mark of described multiple data receiver, so that data transmitting equipment distinguishes different data receivers rapidly and accurately.
Data transmitting equipment is set up first by first communication device and data receiver and is connected, data transmitting equipment connects can send pairing request to data receiver by first, data receiver responds this pairing request, and concrete response process can be coupling pairing password.Alternatively, if the annexation between data transmitting equipment and data receiver is successfully established, data transmitting equipment can preserve the annexation between this data receiver, when carrying out follow-up file transfer like this between data transmitting equipment and this data receiver, the annexation both setting up need not be repeated again, thus effectively save the transmission time of file, improve the efficiency of transmission of file.
Take first communication device as Bluetooth chip be example, the process connected between smart mobile phone 1 and smart mobile phone 2 is described, wherein, smart mobile phone 1 is as data transmitting equipment, smart mobile phone 2 as data receiver, particularly: smart mobile phone 1 and smart mobile phone 2 all have bluetooth module, when smart mobile phone 1 detects data sending request, open the mobile device near bluetooth module search, and send pairing request to these mobile devices.Smart mobile phone 2, when the pairing request that smart mobile phone 1 sends being detected, also opens bluetooth module.When setting up the connection between smart mobile phone 1 and smart mobile phone 2 by respective bluetooth module, smart mobile phone 1 can send authorization information to smart mobile phone 2, this authorization information can be pairing password, when the pairing password of smart mobile phone 2 mates with the pairing password of smart mobile phone 1, then the annexation of smart mobile phone 1 and smart mobile phone 2 is successfully established.
In the scheme that step S14 provides, after data transmitting equipment receives the response message that data receiver returns according to pairing request, also namely after data transmitting equipment and data receiver set up the first successful connection, first communication device can generate triggering signal, wherein, this triggering signal is open the signal of secondary communication device for trigger data transmitting apparatus.Data transmitting equipment can open secondary communication device by trigger data transmitting apparatus according to this triggering signal.Data transmitting equipment can be set up second with data receiver by startup secondary communication device and be connected, and wherein, can realize data transmitting equipment send file waiting for transmission to data receiver by this second connection.
Data transmitting equipment and data receiver all have secondary communication device, and secondary communication device is mainly used between data transmitting equipment with data receiver, set up second and is connected, so that transfer files.Secondary communication device in this embodiment can be Bluetooth chip, NFC chip or WIFI chip etc., because the transmission rate of WIFI chip is much larger than Bluetooth chip, NFC chip, secondary communication device is preferably the communication module of the high power consumption of high speed by the control method of the file transfer of this embodiment, such as WIFI chip, to reach the technique effect improving file transmission efficiency.
The control method of the file transfer of this embodiment utilize first communication device set up first between data transmitting equipment with data receiver be connected time, data transmitting equipment and data receiver only open first communication device, and secondary communication device is in closed condition.Only after data transmitting equipment and data receiver set up the first successful connection, data transmitting equipment and data receiver just open secondary communication device, to utilize secondary communication device to set up the second connection, second be connected to transfer files between data transmitting equipment and data receiver by this.The control method of the file transfer of this embodiment only opens first communication device when non-file transfer scene, close secondary communication device, just secondary communication device is opened when file transfer scene, can file transfer rate be improved like this, the power consumption of data transmitting equipment and data receiver can be reduced again.
The file waiting for transmission that data transmitting equipment sends can be data file, and voice document or video file etc., file waiting for transmission is stored in the memory of data transmitting equipment with the form of packet.Alternatively, data transmitting equipment sends file waiting for transmission to data receiver and can adopt and copy file waiting for transmission in memory, the xcopy of file waiting for transmission is sent to data receiver, after file waiting for transmission is sent to data receiver, file waiting for transmission is also there is in data transmitting equipment, can ensure that data transmitting equipment is when file waiting for transmission sends unsuccessfully like this, this file waiting for transmission can also be resend once to data receiver.
Alternatively, data transmitting equipment can send file waiting for transmission by the second connection to data receiver, and wherein, the data receiver setting up the second annexation with data transmitting equipment can be one, also can be multiple.When data transmitting equipment sends file waiting for transmission to multiple data receiver, data transmitting equipment can adopt string originating party formula, also can adopt concurrent fashion.So-called string originating party formula, refers to that data transmitting equipment one by one repeats to send file waiting for transmission to multiple data receiver, so-called concurrent fashion, refers to that data transmitting equipment sends file waiting for transmission to multiple data receiver simultaneously.Adopt string originating party formula to send file waiting for transmission to data receiver and save Internet resources, but transmission rate is slower; Adopt concurrent fashion to send file transfer rate waiting for transmission to data receiver very fast, but the Internet resources taken are larger.
The control method employing first communication device of the file transfer of this embodiment is set up first between data transmitting equipment and data receiver and is connected, adopt secondary communication device to set up second between data transmitting equipment and data receiver to connect, transfer files between data transmitting equipment and data receiver is connected to by second, preferably, the power consumption of first communication device is lower than the power consumption of secondary communication device, the transmission rate of secondary communication device is higher than the transmission rate of first communication device, this embodiment can improve file transfer rate, equipment power dissipation can be reduced again, drastically increase the experience of user.
In the scheme that step S16 provides, data transmitting equipment, after detecting and file waiting for transmission being all sent to data receiver, can close secondary communication device immediately.Alternatively, data transmitting equipment sends file waiting for transmission to data receiver and can adopt the packet of file waiting for transmission is divided into multiple subdata bag, and carry out label in order to each subdata bag, and these labels are carried out being stored in label set.Multiple subdata bag is sent to data receiver according to label order by data transmitting equipment successively, in process of transmitting, data transmitting equipment often sends a sub-packet, the label of this subdata bag will be deleted from label set, when data transmitting equipment detects that label set is empty set, illustrate that file waiting for transmission is all sent to data receiver.
After file waiting for transmission is sent to data receiver by data transmitting equipment, can not illustrates that the file that data receiver receives must be effectively complete, also need data receiver to detect the file received.Alternatively, data receiver can adopt the label judging subdata bag whether to form complete label set, and mode the detects data transmitting equipment the such as whether order of subdata bag correct sends file waiting for transmission whether success to data receiver.If data receiver detects that the file received is effectively complete, can to data transmitting equipment feeding back confirmation message, this acknowledge message is used for notification data transmitting apparatus file waiting for transmission and sends successfully.If data receiver detects that the file received is not effectively complete, can to data transmitting equipment feeding back unsuccessful message, this failed message is used for notification data transmitting apparatus file waiting for transmission and sends unsuccessfully, now, data transmitting equipment will resend file waiting for transmission by the second connection to data receiver.
Receive the acknowledge message of data receiver feedback at data transmitting equipment after, data transmitting equipment will close secondary communication device immediately, also the object reducing data transmitting equipment power consumption when non-file transfer scene is reached, thus realize extending data transmitting equipment stand-by time, improve the technique effect of user's experience.
By above-mentioned steps S12 to step S16, data transmitting equipment only opens first communication device when initiating and data receiver connects, close secondary communication device, make the power consumption of data transmitting equipment only have first communication device, thus reduce the power consumption (power consumption due to first communication device is less than the power consumption of secondary communication device) of data transmitting equipment.When data transmitting equipment sends file waiting for transmission to data receiver, data transmitting equipment just opens secondary communication device, can improve file transfer rate (transmission rate due to secondary communication device is greater than the transmission rate of first communication device) like this.By this embodiment, solve in correlation technique when realizing short range transmission file between mobile device, due to larger power consumption can be consumed for the transmitting device realizing transfer files in mobile device, cause the technical problem that mobile device power consumption is larger, and then achieve reduction data transmitting equipment power consumption, improve the technique effect of user's experience.
As one embodiment alternatively, after step S12 data transmitting equipment and data receiver set up the first successful connection, the control method of the file transfer of this embodiment can also comprise: data transmitting equipment closes first communication device, until reopen first communication device after receiving data sending request next time.
The control method of the file transfer of this embodiment is only when data transmitting equipment detects data sending request, just first communication device can be opened, setting up utilizing first communication device after first between data transmitting equipment with data receiver be connected, closing first communication device immediately.The control method of the file transfer of this embodiment, just open when by controlling secondary communication device and transmit file waiting for transmission between data transmitting equipment and data receiver, and then reduce on the basis of equipment power dissipation, only just open when data transmitting equipment detects data sending request by controlling first communication device, the power consumption of data transmitting equipment can be reduced further, and then reach prolongation data transmitting equipment stand-by time, improve the technique effect of user's experience.
As one embodiment alternatively, third communication device can also be comprised in data transmitting equipment and data receiver, this third communication device can as first communication device and secondary communication device the alternative when breaking down, third communication device in this embodiment both may be used for the annexation set up between data transmitting equipment and data receiver, also may be used for transfer files between data transmitting equipment and data receiver.Alternatively, third communication device can be NFC chip, WIFI chip etc.
Step S12 data transmitting equipment to be set up by first communication device and data receiver first be connected before, the control method of the file transfer of this embodiment can also comprise: if detect that first communication device breaks down, and data transmitting equipment switches to and uses secondary communication device or third communication device to set up described first with described data receiver to be connected.Secondary communication device in this embodiment except for set up between data transmitting equipment with data receiver second be connected except, can also be used for the first annexation set up between data transmitting equipment and data receiver, therefore secondary communication device also can as the alternative of first communication device when breaking down.
Data transmitting equipment described in step S14 start secondary communication device and described data receiver set up second be connected after, the control method of the file transfer of this embodiment can also comprise: if detect that secondary communication device breaks down, and data transmitting equipment switches to and uses third communication device to set up second with described data receiver to be connected.
The control method of the file transfer of this embodiment passes through increase data transmitting equipment and data receiver first connects and the alternative of the second connection procedure, when avoiding the first communication equipment and/or second communication device fails, affect between data transmitting equipment and data receiver and set up the first connection and/or the second connection, fully ensure that the reliability of file transfer.Simultaneously, the control method of the file transfer of this embodiment adopts selects a way selection data transmitting equipment and sets up the first communicator being connected and using in the second connection procedure between data receiver, effectively can reduce the power consumption of data transmitting equipment and data receiver, prolongs standby time, and then the experience improving user.
As one embodiment alternatively, first communication device in this embodiment is low speed low power loss communication module, secondary communication device is the high power communications module of high speed, wherein, first communication device can comprise any one device following: Bluetooth chip, NFC chip, secondary communication device can comprise any one device following: NFC chip and WIFI chip, and third communication device can comprise any one device following: NFC chip and WIFI chip.
Can be obtained by the parameter of comparison Bluetooth chip, NFC chip and WIFI chip, the power consumption of Bluetooth chip is lower, and transmission rate is comparatively slow, compares when being applicable to connect between data transmitting equipment and secretary's transmitting apparatus and uses; The transmission rate of WIFI chip is very fast, but power consumption is comparatively large, compares when being applicable to transfer files between data transmitting equipment and data receiver and uses; The transmission rate of NFC chip and power consumption, can as alternatives when Bluetooth chip and WIFI chip failure between Bluetooth chip and WIFI chip.The control method of the file transfer of this embodiment according to transmission rate and power consumption choose reasonable data transmitting equipment with set up between data receiver first be connected and second connects time the communicator that uses, on the basis ensureing message transmission rate, the power consumption of mobile device can be reduced.
As one embodiment alternatively, Fig. 3 is the flow chart of the control method of a kind of file transfer alternatively according to the embodiment of the present invention one, as shown in Figure 3, step S12 data transmitting equipment and data receiver be made into merit set up first be connected after, the control method of the file transfer of this embodiment can also comprise the following steps:
Step S132, the distance between data transmitting equipment identification and data receiver.
In the scheme that step S132 provides, signal transmission/reception can be provided with in data transmitting equipment and data receiver, can distance between identification data transmitting apparatus and data receiver by signal transmission/reception, particularly: the sender unit in data transmitting equipment sends the first signal in data receiver, and to record this moment be the first moment, when the signal receiving device in data receiver receives the first signal, secondary signal is sent to data transmitting equipment by the sender unit in data receiver, signal receiving device in data transmitting equipment receives secondary signal, and to record this moment be the second moment, utilize the time difference in the first moment and the second moment and signal transmission rate just can calculate distance between data transmitting equipment and data receiver.It should be noted that, the distance between identification data transmitting apparatus and data receiver can also adopt other modes, and the present invention is to it and be not specifically limited.
Step S134, distance between data transmitting equipment and data receiver is in predeterminable range, data transmitting equipment receives the touching signals of user's input, wherein, the signal that the touch interface that touching signals is data transmitting equipment produces when receiving predetermined gesture operation, touching signals is used for trigger data transmitting apparatus and sends file waiting for transmission to data receiver.
In the scheme that step S134 provides, predeterminable range can adjust according to the actual requirements, and such as, predeterminable range can be 1 meter, also can be 2 meters.After recognized the distance between data transmitting equipment and data receiver by step S132, judge this distance whether in predeterminable range.If this distance is in predeterminable range, then data transmitting equipment can send file waiting for transmission by first kind of way to data receiver; If this distance is not in predeterminable range, then data transmitting equipment can send file waiting for transmission by the second way to data receiver.Particularly:
First kind of way can be: data transmitting equipment receives the touching signals of user's input, this touching signals is the signal that the touch interface of data transmitting equipment produces when receiving predetermined gesture operation, this touching signals is used for trigger data transmitting apparatus and sends file waiting for transmission to data receiver, namely, when data transmitting equipment receives this touching signals, file waiting for transmission is sent to data receiver immediately.Wherein, predetermined gesture operation can set according to user operation habits.Alternatively, predetermined operating gesture at least can comprise any one operation following: drag file waiting for transmission according to desired guiding trajectory, length exceedes Preset Time by file waiting for transmission, clicks file waiting for transmission and scaling file waiting for transmission etc. according to pre-determined number.
The second way can be: perform predetermined registration operation according to the information in the display interface of data transmitting equipment, such as clicks and shares button or file transmission button etc.
In the application scenarios of reality, when two mobile devices are in predeterminable range (such as 2 meters), after two mobile device successful matchings, in transmitting apparatus, directly can carry out predetermined gesture operation (such as two refer to upper drawing), the file transfer between mobile device can be realized.When two mobile devices exceed predeterminable range (such as 2 meters), adopt traditional sharing model transfer files.
The control method of the file transfer of this embodiment is by setting concrete file according to the distance between data transmitting equipment and data receiver, the gesture operation having set up user when distance is between devices in predeterminable range triggers and sends file waiting for transmission, by the interaction design between equipment and user, enhance the dynamic of file transfer, improve the experience of user.
As one embodiment alternatively, Fig. 4 is the flow chart according to the another kind of the embodiment of the present invention one control method of file transfer alternatively, and as shown in Figure 4, step S12 can comprise the following steps:
Step S122, at least one terminal equipment that data transmitting equipment is obtained in preset range by first communication device search.
In the scheme that step S122 provides, preset range can set according to actual conditions, and such as preset range can be a room, also can be in circumference 5 meters etc.Data transmitting equipment is by the terminal equipment in first communication device search preset range, and searching for the terminal equipment obtained is the terminal equipment that first communication device is in opening.The terminal equipment that data transmitting equipment search obtains can be one, also can be multiple.When data transmitting equipment search to terminal equipment be multiple time, data transmitting equipment can be multiple terminal equipment allocation identification ID, so that distinguish different terminal equipments rapidly and accurately.
Step S124, data transmitting equipment initiates pairing request by first communication device to the terminal equipment searched, and pairing request comprises: corresponding to the pairing password of terminal equipment.
In the scheme that step S124 provides, the pairing request of the terminal equipment initiation that data transmitting equipment is obtained to search by first communication device can comprise the pairing password corresponding to terminal equipment, the authorization information corresponding to terminal equipment can also be comprised, authorization information can be concrete keyword, or the answer etc. of certain problem.The pairing password that pairing request comprises can be set by the terminal use of data transmitting equipment.This embodiment, by arranging pairing password, can avoid the invasion of illegal file, is conducive to the fail safe ensureing data transmitting equipment.
Step S126, data transmitting equipment determines one or more data receiver according to pairing request from least one terminal equipment in preset range, and wherein, data receiver is response pairing request, and the successful terminal equipment of checking pairing password.
In the scheme that step S126 provides, the determination of data receiver needs the coupling requirement of the pairing password met in pairing request, namely pairing request can be responded in multiple terminal equipment, and the successful terminal equipment of checking pairing password just can as data receiver.Checking pairing password successfully refers to the password that terminal equipment is corresponding and the pairing code matches that data transmitting equipment sets.The control method of the file transfer of this embodiment can be one from established data receiving equipment in preset range, also can be multiple.
Step S128, the data receiver of data transmitting equipment and successful matching sets up communication link, and wherein, data receiver preserves the trust information of the data transmitting equipment of successful matching.
In the scheme that step S128 provides, data transmitting equipment is after the data receiver determining to match, can set up the communication link with data receiver, this communication link is for transmitting the file to be sent in data transmitting equipment and the interaction message between data transmitting equipment and data receiver.After communication link between data transmitting equipment and data receiver is successfully established first, the trust information of the data transmitting equipment of successful matching with it can be preserved, so that directly pass through checking according to this trust information when this data transmitting equipment initiates pairing request again in data receiver.Alternatively, in data transmitting equipment, also can storing the information of the data receiver of successful matching with it, without the need to carrying out repeated authentication when the annexation when is between the two set up again, and then reaching the object improving file transmission efficiency.
By above-mentioned steps S122 to step S128, this embodiment is when setting up the connection between data transmitting equipment and data receiver, by arranging pairing password, improve the reliability and fail safe that establish a connection between data transmitting equipment and data receiver, and then the invasion of illegal file in data transmitting equipment and data receiver can be avoided, be conducive to the fail safe ensureing file transfer.
The control method of the file transfer of this embodiment can be applied to the scene of carrying out closely file transfer under Android or IOS between mobile device.Utilize the control method of the file transfer of this embodiment can also design a kind of application program, this application program can be arranged in the mobile device with Android or IOS.In practical application scene, first communication device is preferably bluetooth 4.0, and secondary communication device is preferably WiFi module.Mobile device adopts bluetooth 4.0 when matching, and does not open WiFi module, and bluetooth 4.0 low-power consumption mode makes stand-by power consumption reduce 1/100 of normal Bluetooth.Only just open WiFi module when user initiates file transfer, use WiFiDirect to carry out file transfer, can 802.11kbps be reached, the speed of the file transfer greatly accelerated according to communication protocol theory transmission rate on the working frequency range of 5GHz.After file transfer success, close WiFi module immediately, and then reduce stand-by power consumption, extend stand-by time.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that can add required general hardware platform by software according to the method for above-described embodiment and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
Embodiment 2
According to the embodiment of the present invention, additionally provide the embodiment of the method for the control method of another kind of file transfer, it should be noted that, the embodiment of the method that the embodiment of the present application two provides also can perform in mobile terminal, terminal or similar arithmetic unit.Under the running environment shown in the application Fig. 1, the embodiment of the present application two provides the control method of file transfer as shown in Figure 5, and wherein, Fig. 5 is the flow chart of the control method of file transfer according to the embodiment of the present invention two.
As shown in Figure 5, the control method of the file transfer of this embodiment can comprise the following steps:
Step S22, data receiver is set up first by first communication device and data transmitting equipment and is connected, and connects by first the pairing request the response message returned pairing request that receive data transmitting equipment transmission;
Step S24, data receiver startup secondary communication device is set up second with data transmitting equipment and is connected, and connects by second the file receiving data transmitting equipment transmission;
Step S26, after data receiver successfully receives file, closes secondary communication device.
By above-mentioned steps S22 to step S26, data receiver only opens first communication device when setting up and being connected with first between data transmitting equipment, close secondary communication device, make the power consumption of data receiver only have first communication device, thus reduce the power consumption of data receiver.When data receiver receives the file of data transmitting equipment transmission, data receiver just opens secondary communication device, can improve file transfer rate like this.By this embodiment, solve in correlation technique when realizing short range transmission file between mobile device, due to larger power consumption can be consumed for the transmitting device realizing transfer files in mobile device, cause the technical problem that mobile device power consumption is larger, and then achieve reduction data receiver power consumption, improve the technique effect of user's experience.
In the technical scheme that step S22 provides, data transmitting equipment and data receiver can be smart mobile phone, panel computer or other mobile devices.Type or the model of data transmitting equipment and data receiver can be identical, also can be different.First communication device is included in data transmitting equipment and data receiver, first communication device is mainly used in setting up first between data transmitting equipment and data receiver and connects, can receive by this first connection data receiving equipment the pairing request sent by data transmitting equipment, and feed back to data transmitting equipment by the response message of this pairing request.When data transmitting equipment detects data sending request, can initiate to set up first with data receiver by the first communication device of self to be connected, after data receiver receives the pairing request of data transmitting equipment transmission, also can open the first communication device of self, utilize the first communication device of self to set up and be connected with first of data transmitting equipment.
Alternatively, first communication device can be Bluetooth chip, NFC chip or WIFI chip etc.Bluetooth is a kind of wireless technology standard, and the short-range data that can realize between permanent plant, mobile device and building personal area network exchanges.Wireless near field communication (NearFieldCommunication, referred to as NFC) be by non-contact radio-frequency identification and the Technology Integration that interconnects, combining induction card reader, induction type card and point-to-point function on one chip, can carry out identifying and exchanges data with compatible equipment in short distance.Bluetooth is different with transmission rate with the communication distance of NFC, and the communication distance of bluetooth is about 10 meters, transmission rate 721kbps, is operated on the frequency band of 2.4GHz, supports one-to-many data transmission and voice communication; The communication distance of NFC is about 20 centimetres, and transmission rate 106kbps, 212kbps or 424kbps, be operated on the frequency band of 13.56MHz.The transmission rate of WIFI chip and communication distance will far above Bluetooth chip and NFC chip, but, WIFI chip power-consumption relative to Bluetooth chip and NFC chip larger.In order to reduce the power consumption of data receiver, data receiver preferably utilizes low speed low power loss communication module, and such as Bluetooth chip or NFC chip and data transmitting equipment connect.
Alternatively, after data receiver receives the pairing request of data transmitting equipment initiation, the process that data receiver responds this pairing request can comprise: coupling authorization information, and authorization information can be pairing password, the answer etc. of keyword or particular problem.By mating authorization information between data transmitting equipment and data receiver, the reliability and fail safe that establish a connection between data transmitting equipment and data receiver can be increased.
Alternatively, be connected if data receiver successfully sets up first by first communication device and data transmitting equipment, authorization information required when data receiver will be preserved the annexation between this data transmitting equipment and set up this annexation, so that when data transmitting equipment initiates to connect with this data receiver again, need not the matching process of repeated authentication information and establishment of connection process, thus effectively save the transmission time of file, improve the efficiency of transmission of file.
Take first communication device as Bluetooth chip be example, the process connected between smart mobile phone 1 and smart mobile phone 2 is described, wherein, smart mobile phone 1 is as data transmitting equipment, smart mobile phone 2 as data receiver, particularly: smart mobile phone 1 and smart mobile phone 2 all have bluetooth module, when smart mobile phone 1 detects data sending request, open the mobile device near bluetooth module search, and send pairing request to these mobile devices.Smart mobile phone 2, when the pairing request that smart mobile phone 1 sends being detected, also opens bluetooth module.When setting up the connection between smart mobile phone 1 and smart mobile phone 2 by respective bluetooth module, smart mobile phone 1 can send authorization information to smart mobile phone 2, this authorization information can be pairing password, when the pairing password of smart mobile phone 2 mates with the pairing password of smart mobile phone 1, then the annexation of smart mobile phone 1 and smart mobile phone 2 is successfully established.
In the scheme that step S24 provides, when the first connection establishment between data receiver and data transmitting equipment is successful, data receiver can return response message to data transmitting equipment, and notification data transmitting apparatus annexation is successfully established.Meanwhile, the first communication device in data receiver can generate triggering signal, and wherein, this triggering signal is open the signal of secondary communication device for trigger data receiving equipment.Data receiver starts the second trigger equipment and is connected with second between data transmitting equipment to set up, and connects by second the file waiting for transmission realizing receiving data transmitting equipment transmission.
Data transmitting equipment and data receiver all have secondary communication device, secondary communication device is mainly used between data transmitting equipment with data receiver, set up second and is connected, by this second connect can between data transmitting equipment and data receiver transfer files.Secondary communication device in this embodiment can be Bluetooth chip, NFC chip or WIFI chip etc., because the transmission rate of WIFI chip is much larger than Bluetooth chip, NFC chip, secondary communication device is preferably the high power communications module of high speed by the control method of the file transfer of this embodiment, such as WIFI chip, to reach the technique effect improving file transmission efficiency.
The control method of the file transfer of this embodiment, when data receiver utilizes first communication device foundation to be connected with first between data transmitting equipment, data receiver and data transmitting equipment only open first communication device, and secondary communication device is in closed condition.Only data receiver and data transmitting equipment successfully set up first be connected after, data transmitting equipment and data receiver just open secondary communication device, set up second between data transmitting equipment with data receiver to utilize secondary communication device to be connected, second be connected to transfer files between data transmitting equipment and data receiver by this.The control method of the file transfer of this embodiment only opens first communication device when non-file transfer scene, close secondary communication device, just secondary communication device is opened when file transfer scene, can file transfer rate be improved like this, the power consumption of data transmitting equipment and data receiver can be reduced again.
The file transmitted by data transmitting equipment that data receiver receives can be data file, voice document or video file etc.Alternatively, file waiting for transmission can be stored in the memory of data transmitting equipment with the form of packet, data transmitting equipment sends file waiting for transmission to data receiver and can adopt and copy file waiting for transmission in memory, and the xcopy of file waiting for transmission is sent to data receiver.After file waiting for transmission is sent to data receiver, file waiting for transmission is also there is in data transmitting equipment, can ensure that data transmitting equipment is when file waiting for transmission sends unsuccessfully like this, this file waiting for transmission can also be resend once to data receiver.
Alternatively, data transmitting equipment can adopt to data receiver transfer files and the packet of file waiting for transmission is divided into multiple subdata bag, and for each subdata be responsible for assigning order label, multiple subdata bag is sent to data receiver according to label by data transmitting equipment sequentially one by one.Data receiver, when receiving subdata bag, can sort according to the label of subdata bag, to reach the object of reduction source file.This embodiment adopts form file data bag being divided into subdata bag, can reduce the consumption of the network bandwidth in document transmission process, and then reaches the effect improving file transfer rate.
The control method employing first communication device of the file transfer of this embodiment is set up first between data transmitting equipment and data receiver and is connected, adopt secondary communication device to set up second between data transmitting equipment and data receiver to connect, transfer files between data transmitting equipment and data receiver is connected to by second, preferably, the power consumption of first communication device is lower than the power consumption of secondary communication device, the transmission rate of secondary communication device is higher than the transmission rate of first communication device, file transfer rate can be improved like this, equipment power dissipation can be reduced again, drastically increase the experience of user.
In the scheme that step S26 provides, after data receiver detects successfully receive file, secondary communication device can be closed immediately.Alternatively, data receiver detect whether successfully receive file can in the following ways: judge whether the label of the subdata bag received forms complete label set, wherein, label set was before transfer files, and the packet of file that data transmitting equipment sends to data receiver, to be transmitted is divided into the set of the label of multiple subdata bag; Or judge that the order of subdata bag is whether correct, wherein, while data transmitting equipment sends label set to data receiver, also can the order of label of the multiple subdata bag of notification data receiving equipment.When data receiver detects that the label order of the multiple subdata bags received is correct, and multiple label can form complete label set, then illustrate that data receiver successfully receives file; The reception file otherwise data receiver fails.
Alternatively, when data receiver detect successfully receive file, data receiver can to data transmitting equipment feeding back confirmation message, and this acknowledge message is used for the success of notification data transmitting apparatus file transfer.When data receiver detect fail receive file, can to data transmitting equipment feeding back unsuccessful message, this failed message is used for the failure of notification data transmitting apparatus file transfer, now, data transmitting equipment will utilize the second connection to data receiver again transfer files, until when data transmitting equipment receives the acknowledge message of data receiver feedback, data transmitting equipment and data receiver just close secondary communication device.
After data receiver successfully receives file, also namely at data receiver after data transmitting equipment feeding back confirmation message, data receiver will close self secondary communication device immediately, data transmitting equipment also can close self secondary communication device upon receipt of the confirmation message immediately, to reach the object reducing data receiver and data transmitting equipment power consumption when non-file transfer scene, thus realize extending data receiver and data transmitting equipment stand-by time, improve the technique effect of user's experience.
By above-mentioned steps S22 to step S26, data receiver only opens first communication device when receiving the pairing request that data transmitting equipment is initiated, close secondary communication device, make the power consumption of data receiver only have first communication device, thus reduce the power consumption (power consumption due to first communication device is less than the power consumption of secondary communication device) of data receiver.When data receiver receives the file of data transmitting equipment transmission, data receiver just opens secondary communication device, can improve file transfer rate (transmission rate due to secondary communication device is greater than the transmission rate of first communication device) like this.By this embodiment, solve in correlation technique when realizing short range transmission file between mobile device, due to larger power consumption can be consumed for the transmitting device realizing transfer files in mobile device, cause the technical problem that mobile device power consumption is larger, and then achieve reduction data receiver power consumption, improve the technique effect of user's experience.
As one embodiment alternatively, after step S22 data receiver sets up the first successful connection by first communication device and data transmitting equipment, the control method of the file transfer of this embodiment can also comprise: data receiver closes first communication device, until reopen first communication device after receiving the pairing request of data transmitting equipment next time.
The data receiver of this embodiment, when receiving the pairing request that data transmitting equipment is initiated, just can open first communication device, utilize first communication device successfully set up between data transmitting equipment first be connected after, close first communication device immediately.The control method of the file transfer of this embodiment, just opening when data receiver receives the file of data transmitting equipment transmission by controlling secondary communication device, and then reduce on the basis of data receiver power consumption, only just open when receiving the pairing request that data transmitting equipment is initiated by controlling first communication device, the power consumption of data receiver can be reduced further, and then reach prolongation data receiver stand-by time, improve the technique effect of user's experience.
As one embodiment alternatively, Fig. 6 is the flow chart of the control method of a kind of file transfer alternatively according to the embodiment of the present invention two, as shown in Figure 6, after step S24 data receiver connects by second the file receiving data transmitting equipment transmission, the control method of the file transfer of this embodiment can also comprise the following steps:
Step S252, whether data receiver detects the file received complete;
Step S254, when detecting that file is complete, data receiver is to data transmitting equipment feeding back confirmation message, and wherein, acknowledge message is for representing that the file that data receiver receives is the message of complete file.
In the scheme that step S252 provides, data receiver can by judging whether the label of the subdata bag received can form complete label set, wherein, label set was before transfer files, and the packet of file that data transmitting equipment sends to data receiver, to be transmitted is divided into the set of the label of multiple subdata bag; Or judge that the order of subdata bag is whether correct, wherein, while data transmitting equipment sends label set to data receiver, also can the order of label of the multiple subdata bag of notification data receiving equipment, whether completely detect the file received.Wherein, when data receiver detects that the label order of the multiple subdata bags received is correct, and when multiple label can form complete label set, then illustrate that the file that data receiver receives is complete.
In the scheme that step S254 provides, when detecting that file is complete, data receiver is to data transmitting equipment feeding back confirmation message, and wherein, acknowledge message is for representing that the file that data receiver receives is the message of complete file; Detecting in the incomplete situation of file, data receiver is to data transmitting equipment feeding back unsuccessful, and wherein, failed message is for representing that file that data receiver receives is the message of imperfect file.Data transmitting equipment can close self secondary communication device upon receipt of the confirmation message, can connect transfer files again, until just close secondary communication device after receiving acknowledge message after receiving failed message by second.
Whether the data receiver in this embodiment is complete by detecting the file received, and adopt the mode to data transmitting equipment feeding back confirmation message or failed message, notification data transmitting apparatus file whether transmission success, be conducive to the shut-in time of secondary communication device in control data transmitting apparatus and data receiver exactly, and then reach the object reducing data transmitting equipment and data receiver power consumption.
The control method of the file transfer of this embodiment also can be applied to the scene of carrying out closely file transfer under Android or IOS between mobile device.Utilize the control method of the file transfer of this embodiment also can design a kind of application program, this application program can be arranged in the mobile device with Android or IOS.In practical application scene, first communication device is preferably bluetooth 4.0, and secondary communication device is preferably WiFi module.Mobile device adopts bluetooth 4.0 when matching, and does not open WiFi module, and bluetooth 4.0 low-power consumption mode makes stand-by power consumption reduce 1/100 of normal Bluetooth.Only just open WiFi module when user initiates file transfer, use WiFiDirect to carry out file transfer, can 802.11kbps be reached, the speed of the file transfer greatly accelerated according to communication protocol theory transmission rate on the working frequency range of 5GHz.After file transfer success, close WiFi module immediately, and then reduce stand-by power consumption, extend stand-by time.
It should be noted that, for aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that can add required general hardware platform by software according to the method for above-described embodiment and realize, hardware can certainly be passed through, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in a storage medium (as ROM/RAM, magnetic disc, CD), comprising some instructions in order to make a station terminal equipment (can be mobile phone, computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention.
Embodiment 3
According to the embodiment of the present invention, additionally provide a kind of control device of file transfer of the control method for implementing the transmission of embodiment one file.Fig. 7 is the schematic diagram of the control device of file transfer according to the embodiment of the present invention three, and as shown in Figure 7, this device comprises:
Set up module 72, set up first for data transmitting equipment by first communication device and data receiver and be connected, connect by first and send pairing request and receive the response message that data receiver returns; Sending module 74, sets up second according to described response message startup secondary communication device with data receiver for data transmitting equipment and is connected, and send file waiting for transmission by the second connection to data receiver; And first closing module 76, after successfully sending file waiting for transmission at data transmitting equipment, close secondary communication device.
It should be noted that, module 72 of setting up in this embodiment may be used for performing the step S12 in the embodiment of the present application one, sending module 74 in this embodiment may be used for performing the step S14 in the embodiment of the present application one, and the first closing module 76 in this embodiment may be used for performing the step S16 in the embodiment of the present application one.The example that above-mentioned module realizes with corresponding step is identical with application scenarios, but is not limited to the content disclosed in above-described embodiment one.It should be noted that, above-mentioned module may operate in the terminal 10 that embodiment one provides as the part of device, can pass through software simulating, also can pass through hardware implementing.
By above-mentioned module 72 to 76, data transmitting equipment only opens first communication device when initiating and data receiver connects, close secondary communication device, make the power consumption of data transmitting equipment only have first communication device, thus reduce the power consumption (power consumption due to first communication device is less than the power consumption of secondary communication device) of data transmitting equipment.When data transmitting equipment sends file waiting for transmission to data receiver, data transmitting equipment just opens secondary communication device, can improve file transfer rate (transmission rate due to secondary communication device is greater than the transmission rate of first communication device) like this.By this embodiment, solve in correlation technique when realizing short range transmission file between mobile device, due to larger power consumption can be consumed for the transmitting device realizing transfer files in mobile device, cause the technical problem that mobile device power consumption is larger, and then achieve reduction data transmitting equipment power consumption, improve the technique effect of user's experience.
As one embodiment alternatively, Fig. 8 is the schematic diagram of the control device of a kind of file transfer alternatively according to the embodiment of the present invention three, as shown in Figure 8, the control device of the file transfer of this embodiment can also comprise: the second closing module 731, first communication device is closed, until reopen first communication device after receiving data sending request next time for data transmitting equipment.
The control device of the file transfer of this embodiment is only when data transmitting equipment detects data sending request, just first communication device can be opened, setting up utilizing first communication device after first between data transmitting equipment with data receiver be connected, closing first communication device immediately.This embodiment is just opened when by controlling secondary communication device and transmit file waiting for transmission between data transmitting equipment and data receiver, and then reduce on the basis of equipment power dissipation, only just open when data transmitting equipment detects data sending request by controlling first communication device, the power consumption of data transmitting equipment can be reduced further, and then reach prolongation data transmitting equipment stand-by time, improve the technique effect of user's experience.
As one embodiment alternatively, Fig. 9 is the schematic diagram according to the another kind of the embodiment of the present invention three control device of file transfer alternatively, as shown in Figure 9, the control device of the file transfer of this embodiment can also comprise: the first handover module 721, for to be set up by first communication device and data receiver at data transmitting equipment first be connected before, if detect that first communication device breaks down, data transmitting equipment switches to and uses secondary communication device or third communication device to set up first with data receiver to be connected; Second handover module 741, for start at data transmitting equipment secondary communication device and data receiver set up second be connected after, if detect that secondary communication device breaks down, data transmitting equipment switches to and uses third communication device to set up second with data receiver to be connected.
Third communication device can also be comprised in data transmitting equipment and data receiver, this third communication device can as first communication device and secondary communication device the alternative when breaking down, the third communication device in this embodiment may be used for setting up first between data transmitting equipment and data receiver and connects and be connected with second.Alternatively, third communication device can be NFC chip, WIFI chip etc.The control device of the file transfer of this embodiment fully ensure that the reliability of file transfer by increasing third communication device.Simultaneously, the control device of the file transfer of this embodiment adopt select a way selection data transmitting equipment with set up between data receiver first be connected and second connect in the communicator that uses, effectively can reduce the power consumption of data transmitting equipment and data receiver, prolongs standby time, and then the experience improving user.
As one embodiment alternatively, first communication device in this embodiment is low speed low power loss communication module, secondary communication device is the high power communications module of high speed, wherein, first communication device can comprise any one device following: Bluetooth chip, NFC chip, secondary communication device can comprise any one device following: NFC chip and WIFI chip, and third communication device can comprise any one device following: NFC chip and WIFI chip.
The control device of the file transfer of this embodiment according to transmission rate and power consumption choose reasonable data transmitting equipment with set up between data receiver first be connected and second connects time the communicator that uses, on the basis ensureing message transmission rate, the power consumption of mobile device can be reduced.
As one embodiment alternatively, Figure 10 is the schematic diagram according to the another kind of the embodiment of the present invention three control device of file transfer alternatively, as shown in Figure 10, the control device of the file transfer of this embodiment can also comprise: identification module 732, for the distance between data transmitting equipment identification and data receiver; Receiver module 734, for the distance between data transmitting equipment and data receiver in predeterminable range, data transmitting equipment receives the touching signals of user's input, wherein, the signal that the touch interface that touching signals is data transmitting equipment produces when receiving predetermined gesture operation, touching signals is used for trigger data transmitting apparatus and sends file waiting for transmission to data receiver.Alternatively, predetermined operating gesture at least can comprise any one operation following: drag file waiting for transmission according to desired guiding trajectory, length exceedes Preset Time by file waiting for transmission, clicks file waiting for transmission and scaling file waiting for transmission etc. according to pre-determined number.
Identification module 732 corresponds to the step S132 in embodiment one, and receiver module 734 corresponds to the step S134 in embodiment one.The example that above-mentioned module realizes with corresponding step is identical with application scenarios, but is not limited to the content disclosed in above-described embodiment one.The control device of the file transfer of this embodiment is by setting concrete file according to the distance between data transmitting equipment and data receiver, the gesture operation having set up user when distance is between devices in predeterminable range triggers and sends file waiting for transmission, by the interaction design between equipment and user, enhance the dynamic of file transfer, improve the experience of user.
As one embodiment alternatively, Figure 11 is the schematic diagram according to the another kind of the embodiment of the present invention three control device of file transfer alternatively, as shown in figure 11, set up module 72 can comprise: search module 722, at least one terminal equipment that data transmitting equipment is obtained in preset range by first communication device search; Sub-initiation module 724, initiate pairing request by first communication device to the terminal equipment searched for data transmitting equipment, pairing request comprises: corresponding to the pairing password of terminal equipment; Determination module 726, determines data receiver according to pairing request for data transmitting equipment from least one terminal equipment in preset range, and wherein, data receiver is response pairing request, and the successful terminal equipment of checking pairing password; Son sets up module 728, and the data receiver for data transmitting equipment and successful matching sets up communication link, and wherein, data receiver preserves the trust information of the data transmitting equipment of successful matching.
Search module 722 corresponds to the step S122 in embodiment one, and sub-initiation module 724 corresponds to the step S124 in embodiment one, and determination module 726 corresponds to the step S126 in embodiment one, sets up module 728 corresponding to the step S128 in embodiment one.The example that above-mentioned module realizes with corresponding step is identical with application scenarios, but is not limited to the content disclosed in above-described embodiment one.The control device of the file transfer of this embodiment is when setting up the connection between data transmitting equipment and data receiver, by arranging pairing password, improve the reliability and fail safe that establish a connection between data transmitting equipment and data receiver, and then the invasion of illegal file in data transmitting equipment and data receiver can be avoided, be conducive to the fail safe ensureing file transfer.
Embodiment 4
According to the embodiment of the present invention, additionally provide a kind of control device of file transfer of the control method for implementing the transmission of embodiment two file.Figure 12 is the schematic diagram of the control device of file transfer according to the embodiment of the present invention four, and as shown in figure 12, this device comprises:
Set up module 82, set up first for data receiver by first communication device and data transmitting equipment and be connected, connect by first the pairing request the response message returned pairing request that receive data transmitting equipment transmission; Opening module 84, is connected for setting up second at data receiver startup secondary communication device with data transmitting equipment, and connects by second the file receiving data transmitting equipment transmission; And first closing module 86, after successfully receiving file at data receiver, close secondary communication device.
It should be noted that, module 82 of setting up in this embodiment may be used for performing the step S22 in the embodiment of the present application two, opening module 84 in this embodiment may be used for performing the step S24 in the embodiment of the present application two, and the first closing module 86 in this embodiment may be used for performing the step S26 in the embodiment of the present application two.The example that above-mentioned module realizes with corresponding step is identical with application scenarios, but is not limited to the content disclosed in above-described embodiment two.It should be noted that, above-mentioned module may operate in the terminal 10 that embodiment one provides as the part of device, can pass through software simulating, also can pass through hardware implementing.
By above-mentioned module 82 to 86, data receiver only opens first communication device when receiving the pairing request that data transmitting equipment is initiated, close secondary communication device, make the power consumption of data receiver only have first communication device, thus reduce the power consumption (power consumption due to first communication device is less than the power consumption of secondary communication device) of data receiver.When data receiver receives the file of data transmitting equipment transmission, data receiver just opens secondary communication device, can improve file transfer rate (transmission rate due to secondary communication device is greater than the transmission rate of first communication device) like this.By this embodiment, solve in correlation technique when realizing short range transmission file between mobile device, due to larger power consumption can be consumed for the transmitting device realizing transfer files in mobile device, cause the technical problem that mobile device power consumption is larger, and then achieve reduction data receiver power consumption, improve the technique effect of user's experience.
As one embodiment alternatively, Figure 13 is the schematic diagram of the control device of a kind of file transfer alternatively according to the embodiment of the present invention four, as shown in figure 13, the control device of the file transfer of this embodiment can also comprise: the second closing module 83, first communication device is closed, until reopen first communication device after receiving the pairing request of data transmitting equipment next time for data receiver.
The data receiver of this embodiment, when receiving the pairing request that data transmitting equipment is initiated, just can open first communication device, after the connection utilizing first communication device to set up between data transmitting equipment, closes first communication device immediately.The control device of the file transfer of this embodiment is just being opened when data receiver receives the file of data transmitting equipment transmission by controlling secondary communication device, and then reduce on the basis of data receiver power consumption, only just open when receiving the pairing request that data transmitting equipment is initiated by controlling first communication device, the power consumption of data receiver can be reduced further, and then reach prolongation data receiver stand-by time, improve the technique effect of user's experience.
As one embodiment alternatively, Figure 14 is the schematic diagram according to the another kind of the embodiment of the present invention four control device of file transfer alternatively, as shown in figure 14, the control device of the file transfer of this embodiment can also comprise: detection module 88, whether complete detects the file received for data receiver; Feedback module 90, for when detecting that file is complete, data receiver is to data transmitting equipment feeding back confirmation message, and wherein, acknowledge message is for representing that the file that data receiver receives is the message of complete file.
Step S252 in the corresponding embodiment two of detection module 88, the step S254 in the corresponding embodiment two of feedback module 90, the example that above-mentioned module realizes with corresponding step is identical with application scenarios, but is not limited to the content disclosed in above-described embodiment two.Whether the data receiver in this embodiment is complete by detecting the file received, and adopt the mode to data transmitting equipment feeding back confirmation message or failed message, notification data transmitting apparatus file whether transmission success, be conducive to the shut-in time of secondary communication device in control data transmitting apparatus and data receiver exactly, and then reach the object reducing data transmitting equipment and data receiver power consumption.
Embodiment 5
According to the embodiment of the present invention, additionally provide a kind of control system of file transfer of the control method for implementing the above-mentioned file transfer of the application, Figure 15 is the schematic diagram of the control system of file transfer according to the embodiment of the present invention, and as shown in figure 15, this system comprises:
Data transmitting equipment 1520, comprising: the first dispensing device 15201 and the second dispensing device 15203, for initiating connection request by the first dispensing device 15201, and data receiver 1540, comprise: first receiving device 15401 and the second receiving system 15403, for receiving connection request by first receiving device 15401, wherein, after data transmitting equipment 1520 sets up the first successful connection with data receiver 1540, data transmitting equipment 1520 starts the second dispensing device 15203, data receiver 1540 starts the second receiving system 15403, between data transmitting equipment 1520 with data receiver 1540, set up second be connected, and connect to after data receiver 1540 successfully sends file waiting for transmission at data transmitting equipment 1520 by second, close the second dispensing device 15203, and after data receiver 1540 receives file by the second successful connection, close the second receiving system 15403.
Alternatively, data transmitting equipment 1520 and data receiver 1540 can be smart mobile phone, panel computer or other mobile devices.Type or the model of data transmitting equipment 1520 and data receiver 1540 can be identical, also can be different.First dispensing device 15201 and first receiving device 15401 essence are the first communication device in the embodiment of the present application, can be low speed low power loss communication module, are mainly used in setting up first between data transmitting equipment 1520 with data receiver 1540 and are connected.Data transmitting equipment 1520 sends pairing request by the first connection to data receiver 1540, and data receiver 1540 feeds back the response message of this pairing request to data transmitting equipment 1520.First dispensing device 15201 and first receiving device 15401 can be Bluetooth chip, NFC chip or WIFI chip etc.The transmission rate of WIFI chip and communication distance will far above Bluetooth chip and NFC chip, but, WIFI chip power-consumption relative to Bluetooth chip and NFC chip larger.In order to reduce the power consumption of data transmitting equipment 1520 and data receiver 1540, the first dispensing device 15201 and first receiving device 15401 all preferably adopt Bluetooth chip or NFC chip.
Alternatively, after data transmitting equipment 1520 utilizes the first dispensing device 15201 to send connection request to data receiver 1540, data receiver 1540 utilizes first receiving device 15401 to respond this connection request, concrete response process can comprise: coupling authorization information, authorization information can be pairing password, the answer etc. of keyword or particular problem.By mating authorization information between data transmitting equipment 1520 and data receiver 1540, the reliability and fail safe that establish a connection between data transmitting equipment 1520 and data receiver 1540 can be increased.
Alternatively, if data transmitting equipment 1520 and data receiver 1540 successfully connect, authorization information required when will preserve this annexation in data receiver 1540 and set up this annexation, so that when data transmitting equipment 1520 initiates to connect with this data receiver 1540 again, need not the matching process of repeated authentication information and establishment of connection process, thus effectively save the transmission time of file, improve the efficiency of transmission of file.
After data transmitting equipment 1520 connects successfully with data receiver 1540, data transmitting equipment 1520 opens the second dispensing device 15203, data receiver 1540 opens the second receiving system 15403, between data transmitting equipment 1520 and data receiver 1540, set up the second connection, utilize this second connect can between data transmitting equipment 1520 and data receiver 1540 transfer files.Second dispensing device 15203 and the second receiving system 15403 essence are the secondary communication device in the embodiment of the present application, can be the high power communications module of high speed.Alternatively, second dispensing device 15203 and the second receiving system 15403 can be Bluetooth chip, NFC chip or WIFI chip etc., because the transmission rate of WIFI chip is much larger than Bluetooth chip, NFC chip, second dispensing device 15203 and the second receiving system 15403 are preferably WIFI chip by the control system of the file transfer of this embodiment, to reach the technique effect improving file transmission efficiency.
Alternatively, the file waiting for transmission that the second dispensing device 15203 sends can be data file, and voice document or video file etc., file waiting for transmission is stored in the memory of data transmitting equipment 1520 with the form of packet.Alternatively, data transmitting equipment 1520 sends file waiting for transmission to data receiver 1540 and can adopt and copy file waiting for transmission in memory, the xcopy of file waiting for transmission is sent to data receiver 1540, after file waiting for transmission is sent to data receiver 1540, file waiting for transmission is also there is in data transmitting equipment 1520, can ensure that data transmitting equipment 1520 is when file waiting for transmission sends unsuccessfully like this, this file waiting for transmission can also be resend once to data receiver 1540.
The control system of the file transfer of this embodiment utilizes the first dispensing device 15201 and first receiving device 15401 to set up first between data transmitting equipment 1520 and data receiver 1540 to connect, after the first connection establishment success, open the second dispensing device 15203 and the second receiving system 15403, , set up second between data transmitting equipment 1520 and data receiver 1540 to connect, utilization is connected to transfer files between data transmitting equipment 1520 and data receiver 1540, preferably, the power consumption of the first dispensing device 15201 and first receiving device 15401 is lower than the power consumption of the second dispensing device 15203 and the second receiving system 15403, the transmission rate of the second dispensing device 15203 and the second receiving system 15403 is higher than the transmission rate of the first dispensing device 15201 and first receiving device 15401, this embodiment can improve file transfer rate, equipment power dissipation can be reduced again, drastically increase the experience of user.
Connect to after data receiver 1540 successfully sends file waiting for transmission by second at data transmitting equipment 1520, close the second dispensing device 15203, and after data receiver 1540 successfully receives file, close the second receiving system 15403.
Alternatively, data transmitting equipment 1520 sends file waiting for transmission to data receiver 1540 and can adopt the packet of file waiting for transmission is divided into multiple subdata bag, and carry out label in order to each subdata bag, and these labels are carried out being stored in label set.Data transmitting equipment 1520 adopts the second dispensing device 15203 successively multiple subdata bag to be sent to data receiver 1540 according to label order, in process of transmitting, data transmitting equipment 1520 often sends a sub-packet, the label of this subdata bag will be deleted from label set, when data transmitting equipment 1520 detects that label set is empty set, illustrate that file waiting for transmission is all sent to data receiver 1540.
Alternatively, data receiver 1540 detect whether successfully receive file can in the following ways: judge whether the label of the subdata bag received forms complete label set, wherein, label set was before transfer files, and data transmitting equipment 1520 sends to data receiver 1540, packet file to be transmitted is divided into the set of the label of multiple subdata bag; Or judge that the order of subdata bag is whether correct, wherein, while data transmitting equipment 1520 sends label set to data receiver 1540, also can the order of label of notification data receiving equipment more than 1540 subdata bag.When data receiver 1540 detects that the label order of the multiple subdata bags received is correct, and multiple label can form complete label set, then illustrate that data receiver 1540 successfully receives file; The reception file otherwise data receiver 1540 fails.
Alternatively, when data receiver 1540 detect successfully receive file, data receiver 1540 can to data transmitting equipment 1520 feeding back confirmation message, and this acknowledge message is used for the success of notification data transmitting apparatus 1520 file transfer.When data receiver 1540 detect fail receive file, can to data transmitting equipment 1520 feeding back unsuccessful message, this failed message is used for the failure of notification data transmitting apparatus 1520 file transfer, now, data transmitting equipment 1520 will utilize the second connection to data receiver 1540 again transfer files, until when data transmitting equipment 1520 receives the acknowledge message of data receiver 1540 feedback, data transmitting equipment 1520 just closes the second dispensing device 15203, and data receiver 1540 just closes the second receiving system 15403.
By the control system of the file transfer of this embodiment, the first dispensing device 15201 and first receiving device 15401 is only opened when setting up the connection between data transmitting equipment 1520 and data receiver 1540, after connection establishment success, just open the second dispensing device 15203 and the second receiving system 15403, utilizing the second dispensing device 15203 and the second receiving system 15403 between data transmitting equipment 1520 and data receiver 1540, after transfer files, closes the second dispensing device 15203 and the second receiving system 15403.When this embodiment solves in correlation technique and realize short range transmission file between mobile device, due to larger power consumption can be consumed for the transmitting device realizing transfer files in mobile device, cause the technical problem that mobile device power consumption is larger, reach raising file transmission efficiency, reduce data transmitting equipment and data receiver power consumption, improve the technique effect of user's experience.
As one embodiment alternatively, data transmitting equipment 1520 is also for after setting up the first successful connection with data receiver 1540, close the first dispensing device 15201, until reopen the first dispensing device 15201 after receiving data sending request next time; Data receiver 1540, also for after setting up the first successful connection with data transmitting equipment 1520, closes first receiving device 15401, until reopen first receiving device 15401 after receiving the pairing request of data transmitting equipment 1520 next time.
The control system of the file transfer of this embodiment is only when setting up between data transmitting equipment 1520 and data receiver 1540 first and connecting, just can open the first dispensing device 15201 and first receiving device 15401, successfully setting up utilizing the first dispensing device 15201 and first receiving device 15401 after first between data transmitting equipment 1520 with data receiver 1540 be connected, closing the first dispensing device 15201 and first receiving device 15401 immediately.The control system of the file transfer of this embodiment, by control second dispensing device 15203 and the second receiving system 15403 in file transfer time just unlatching, close after file transfer, and then reduce on the basis of equipment power dissipation, by controlling the first dispensing device 15201 and the first receiving device 15401 only just unlatching when setting up the connection between data transmitting equipment 1520 and data receiver 1540, the power consumption of data transmitting equipment 1520 and data receiver 1540 can be reduced further, and then reach prolongation data transmitting equipment 1520 and data receiver 1540 stand-by time, improve the technique effect of user's experience.
As one embodiment alternatively, Figure 16 is the schematic diagram of the control system of a kind of file transfer alternatively according to the embodiment of the present invention, as shown in figure 16, the 3rd dispensing device 15205 can also be comprised in data transmitting equipment 1520, the 3rd receiving system 15405 can also be comprised in data receiver 1540, 3rd dispensing device 15205 can as the first dispensing device 15201 and the alternative of the second dispensing device 15203 when breaking down, 3rd receiving system 15405 can as first receiving device 15401 and the second receiving system 15403 alternative when breaking down.The 3rd dispensing device 15205 in this embodiment and the 3rd receiving system 15405 essence are the third communication device in the embodiment of the present application.Alternatively, the 3rd dispensing device 15205 and the 3rd receiving system 15405 can be NFC chip, WIFI chip etc.
If detect that the first dispensing device 15201 breaks down, data transmitting equipment 1520 switches to use second dispensing device 15203 or connection request initiated by the 3rd dispensing device 15205, and data transmitting equipment 1520 and data receiver 1540 are connected.If detect that the second dispensing device 15203 breaks down, data transmitting equipment 1520 switches to use the 3rd dispensing device 15205 and sends file waiting for transmission to data receiver 1540.
The control system of the file transfer of this embodiment is by setting up the 3rd dispensing device 15205 and the 3rd receiving system 15405, avoid the first transmitting apparatus 15201 or the second transmitting apparatus 15203 when breaking down, affect the problem set up the first connection between data transmitting equipment 1520 and data receiver 1540 and set up the second connection, fully ensure that the reliability of file transfer.Simultaneously, the control system of the file transfer of this embodiment adopt select a way selection data transmitting equipment 1520 with set up between data receiver 1,540 first be connected and second connect in the communicator that uses, effectively can reduce the power consumption of data transmitting equipment 1520 and data receiver 1540, prolongs standby time, and then the experience improving user.
As one embodiment alternatively, this embodiment data transmitting equipment 1520 can also be used for data receiver 1540 successful connection after, identify the distance between the data receiver 1540 that self and success are matched, and when the distance recognized is in predeterminable range, receive the touching signals of user's input, wherein, the signal that the touch interface that touching signals is data transmitting equipment 1520 produces when receiving predetermined gesture operation, touching signals is used for trigger data transmitting apparatus 1520 and sends file waiting for transmission to data receiver 1540.
Alternatively, signal transmission/reception can be provided with in data transmitting equipment 1520 and data receiver 1540, can distance between identification data transmitting apparatus 1520 and data receiver 1540 by signal transmission/reception, particularly: the sender unit in data transmitting equipment 1520 sends the first signal to data receiver 1540, and to record this moment be the first moment, when the signal receiving device in data receiver 1540 receives the first signal, secondary signal is sent to data transmitting equipment 1520 by the sender unit in data receiver 1540, signal receiving device in data transmitting equipment 1520 receives secondary signal, and to record this moment be the second moment, utilize the time difference in the first moment and the second moment and signal transmission rate just can calculate distance between data transmitting equipment 1520 and data receiver 1540.It should be noted that, the distance between identification data transmitting apparatus 1520 and data receiver 1540 can also adopt other modes, and the present invention is to it and be not specifically limited.
Alternatively, predeterminable range can adjust according to the actual requirements, and such as, predeterminable range can be 1 meter, also can be 2 meters.If data transmitting equipment 1520 recognizes distance between data receiver 1540 in predeterminable range, then can send file waiting for transmission by first kind of way to data receiver 1540; If not in predeterminable range, then can send file waiting for transmission by the second way to data receiver 1540.Particularly:
First kind of way can be: data transmitting equipment 1520 receives the touching signals of user's input, this touching signals is the signal that the touch interface of data transmitting equipment 1520 produces when receiving predetermined gesture operation, this touching signals is used for trigger data transmitting apparatus 1520 and sends file waiting for transmission to data receiver 1540, namely, when data transmitting equipment 1520 receives this touching signals, file waiting for transmission is sent to data receiver 1540 immediately.Wherein, predetermined gesture operation can set according to user operation habits.Alternatively, predetermined operating gesture at least can comprise any one operation following: drag file waiting for transmission according to desired guiding trajectory, length exceedes Preset Time by file waiting for transmission, clicks file waiting for transmission and scaling file waiting for transmission etc. according to pre-determined number.
The second way can be: perform predetermined registration operation according to the information in the display interface of data transmitting equipment 1520, such as clicks and shares button or file transmission button etc.
The control system of the file transfer of this embodiment is by setting concrete file according to the distance between data transmitting equipment 1520 and data receiver 1540, the gesture operation having set up user when distance is between devices in predeterminable range triggers and sends file waiting for transmission, by the interaction design between equipment and user, enhance the dynamic of file transfer, improve the experience of user.
Embodiment 6
Embodiments of the invention can provide a kind of terminal, and this terminal can be any one computer terminal in terminal group.Alternatively, in the present embodiment, above computer terminal also can replace with the terminal equipments such as mobile terminal.
Alternatively, in the present embodiment, above computer terminal can be arranged at least one network equipment of multiple network equipments of computer network.
In the present embodiment, above computer terminal can the program code of following steps in the control method of execute file transmission: data transmitting equipment is set up first by first communication device and data receiver and is connected, and connects transmission pairing request and receive the response message that data receiver returns by first; Set up second according to response message startup secondary communication device with data receiver at data transmitting equipment to be connected, and send file waiting for transmission by the second connection to data receiver; After data transmitting equipment successfully sends file waiting for transmission, close secondary communication device.
Alternatively, Figure 17 is the structured flowchart of a kind of terminal according to the embodiment of the present invention.As shown in figure 17, this terminal A can comprise: one or more (only illustrating one in figure) processor 1701, memory 1703 and transmitting device 1705.
Wherein, memory 1703 can be used for storing software program and module, as the control method of the file transfer in the embodiment of the present invention and program command/module corresponding to device, processor 1701 is by running the software program and module that are stored in memory 1703, thus perform the application of various function and data processing, namely realize the control method of above-mentioned file transfer.Memory 1703 can comprise high speed random asccess memory, can also comprise nonvolatile memory, as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, memory 1703 can comprise the memory relative to the long-range setting of processor 1701 further, and these remote memories can be connected to terminal A by network.The example of above-mentioned network includes but not limited to the Internet, intranet, local area network (LAN), mobile radio communication and combination thereof.
Above-mentioned transmitting device 1705 for via a network reception or send data.Above-mentioned network instantiation can include spider lines and wireless network.In an example, transmitting device 1705 comprises a network adapter (NetworkInterfaceController, NIC), and it to be connected with router by netting twine and other network equipments thus can to carry out communication with the Internet or local area network (LAN).In an example, transmitting device 1705 is radio frequency (RadioFrequency, RF) module, and it is for wirelessly carrying out communication with the Internet.
Wherein, particularly, memory 1703 is for storing information and the application program of deliberate action condition and default access user.
Processor 1701 can call information and the application program of memory 1703 storage by transmitting device, to perform following step: data transmitting equipment is set up first by first communication device and data receiver and is connected, connect by first and send pairing request and receive the response message that data receiver returns; Data transmitting equipment is set up second according to response message startup secondary communication device with data receiver and is connected, and sends file waiting for transmission by the second connection to data receiver; After data transmitting equipment successfully sends file waiting for transmission, close secondary communication device.
Optionally, above-mentioned processor 1701 can also perform the program code of following steps: data transmitting equipment closes first communication device, until reopen first communication device after receiving data sending request next time.
Optionally, above-mentioned processor 1701 can also perform the program code of following steps: if detect that first communication device breaks down, and data transmitting equipment switches to and uses secondary communication device or third communication device to set up first with data receiver to be connected; Open after secondary communication device at data transmitting equipment, method also comprises: if detect that secondary communication device breaks down, and data transmitting equipment switches to and uses third communication device to set up second with data receiver to be connected.
Optionally, above-mentioned processor 1701 can also perform the program code of following steps: the distance between data transmitting equipment identification and data receiver; Distance between data transmitting equipment and data receiver is in predeterminable range, data transmitting equipment receives the touching signals of user's input, wherein, the signal that the touch interface that touching signals is data transmitting equipment produces when receiving predetermined gesture operation, touching signals is used for trigger data transmitting apparatus and sends file waiting for transmission to data receiver.
Optionally, above-mentioned processor 1701 can also perform the program code of following steps: at least one terminal equipment that data transmitting equipment is obtained in preset range by first communication device search; Data transmitting equipment initiates pairing request by first communication device to the terminal equipment searched, and pairing request comprises: corresponding to the pairing password of terminal equipment; Data transmitting equipment determines data receiver according to pairing request from least one terminal equipment in preset range, and wherein, data receiver is response pairing request, and the successful terminal equipment of checking pairing password; The data receiver of data transmitting equipment and successful matching sets up communication link, and wherein, data receiver preserves the trust information of the data transmitting equipment of successful matching.
Adopt the embodiment of the present invention, provide the scheme of a kind of control method of file transfer, device and system.Open and close by effectively controlling secondary communication device in document transmission process, connect successfully at data transmitting equipment and data receiver and just open secondary communication device, second communication equipment is closed immediately after data transmitting equipment successfully sends file waiting for transmission, reach the object only having first communication device to consume energy in data transmitting equipment when non-transmitting scene, thus achieve the technique effect reducing data transmitting equipment power consumption, and then solve in correlation technique when realizing short range transmission file between mobile device, due to larger power consumption can be consumed for the transmitting device realizing transfer files in mobile device, cause the technical problem that mobile device power consumption is larger.
One of ordinary skill in the art will appreciate that, structure shown in Figure 17 is only signal, terminal also can be the terminal equipments such as smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, applause computer and mobile internet device (MobileInternetDevices, MID), PAD.Figure 17 its restriction is not caused to the structure of above-mentioned electronic installation.Such as, terminal 17 also can comprise than assembly (as network interface, display unit etc.) more or less shown in Figure 17, or has the configuration different from shown in Figure 17.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can carry out the device-dependent hardware of command terminal by program to have come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, read-only memory (Read-OnlyMemory, ROM), random access device (RandomAccessMemory, RAM), disk or CD etc.
Embodiment 7
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium may be used for the program code performed by control method preserving the file transfer that above-described embodiment one provides.
Alternatively, in the present embodiment, above-mentioned storage medium can be arranged in any one terminal of computer network Computer terminal group, or is arranged in any one mobile terminal of mobile terminal group.
Alternatively, in the present embodiment, storage medium is set to store program code for performing following steps: data transmitting equipment is set up first by first communication device and data receiver and is connected, and connects transmission pairing request and receive the response message that data receiver returns by first; Data transmitting equipment is set up second according to response message startup secondary communication device with data receiver and is connected, and sends file waiting for transmission by the second connection to data receiver; After data transmitting equipment successfully sends file waiting for transmission, close secondary communication device.
It should be noted that, any one in above computer terminal group can set up correspondence with Website server and scanner herein, and scanner can the value order of the weblication that php performs in scanning computer terminal.
Alternatively, in the present embodiment, storage medium can also be set to store the program code for performing following steps: data transmitting equipment closes first communication device, until reopen first communication device after receiving data sending request next time.
Alternatively, in the present embodiment, storage medium can also be set to store program code for performing following steps: if detect that first communication device breaks down, and data transmitting equipment switches to and uses secondary communication device or third communication device to set up first with data receiver to be connected; Open after secondary communication device at data transmitting equipment, method also comprises: if detect that secondary communication device breaks down, and data transmitting equipment switches to and uses third communication device to set up second with data receiver to be connected.
Alternatively, in the present embodiment, storage medium can also be set to store the program code for performing following steps: the distance between data transmitting equipment identification and data receiver; Distance between data transmitting equipment and data receiver is in predeterminable range, data transmitting equipment receives the touching signals of user's input, wherein, the signal that the touch interface that touching signals is data transmitting equipment produces when receiving predetermined gesture operation, touching signals is used for trigger data transmitting apparatus and sends file waiting for transmission to data receiver.
Alternatively, in the present embodiment, storage medium can also be set to store the program code for performing following steps: at least one terminal equipment that data transmitting equipment is obtained in preset range by first communication device search; Data transmitting equipment initiates pairing request by first communication device to the terminal equipment searched, and pairing request comprises: corresponding to the pairing password of terminal equipment; Data transmitting equipment determines data receiver according to pairing request from least one terminal equipment in preset range, and wherein, data receiver is response pairing request, and the successful terminal equipment of checking pairing password; The data receiver of data transmitting equipment and successful matching sets up communication link, and wherein, data receiver preserves the trust information of the data transmitting equipment of successful matching.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, can see the associated description of other embodiments.
In several embodiments that the application provides, should be understood that, disclosed client, the mode by other realizes.Wherein, device embodiment described above is only schematic, the such as division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of unit or module or communication connection can be electrical or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprises all or part of step of some instructions in order to make a computer equipment (can be personal computer, server or the network equipment etc.) perform method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), portable hard drive, magnetic disc or CD etc. various can be program code stored medium.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.
Claims (22)
1. a control method for file transfer, is characterized in that, comprising:
Data transmitting equipment is set up first by first communication device and data receiver and is connected, and connects send pairing request and receive the response message that described data receiver returns by described first;
Described data transmitting equipment is set up second according to described response message startup secondary communication device with described data receiver and is connected, and sends file waiting for transmission by described second connection to described data receiver; And
After described data transmitting equipment successfully sends described file waiting for transmission, close described secondary communication device.
2. method according to claim 1, is characterized in that, described first communication device is low speed low power loss communication module, and described secondary communication device is the high power communications module of high speed.
3. method according to claim 1, is characterized in that, after data transmitting equipment sets up the first successful connection by first communication device and data receiver, described method also comprises:
Described data transmitting equipment closes described first communication device, until reopen described first communication device after receiving data sending request next time.
4. method as claimed in any of claims 1 to 3, is characterized in that, described data transmitting equipment and data receiver successfully set up first be connected after, described method also comprises:
Distance between described data transmitting equipment identification and described data receiver;
Distance between described data transmitting equipment and described data receiver is in predeterminable range, described data transmitting equipment receives the touching signals of user's input, wherein, the signal that the touch interface that described touching signals is described data transmitting equipment produces when receiving predetermined gesture operation, described touching signals sends described file waiting for transmission for triggering described data transmitting equipment to described data receiver.
5. method according to claim 4, it is characterized in that, described gesture operation at least comprises any one operation following: drag described file waiting for transmission according to desired guiding trajectory, length exceedes Preset Time by described file waiting for transmission, clicks file waiting for transmission described in described file waiting for transmission and scaling according to pre-determined number.
6. method according to claim 1, it is characterized in that, data transmitting equipment is set up first by first communication device and data receiver and is connected, and connects to send pairing request and receive the response message that described data receiver returns to comprise by described first:
At least one terminal equipment that described data transmitting equipment is obtained in preset range by the search of described first communication device;
Described data transmitting equipment initiates pairing request by described first communication device to the terminal equipment searched, and described pairing request comprises: corresponding to the pairing password of terminal equipment;
Described data transmitting equipment determines described data receiver according to described pairing request from least one terminal equipment in described preset range, wherein, described data receiver is the described pairing request of response, and verifies the successful terminal equipment of described pairing password;
The described data receiver of described data transmitting equipment and successful matching sets up communication link, and wherein, described data receiver preserves the trust information of the described data transmitting equipment of successful matching.
7. method according to claim 1, is characterized in that,
Data transmitting equipment to be set up by first communication device and data receiver first be connected before, described method also comprises: if detect that described first communication device breaks down, and described data transmitting equipment switches to and uses described secondary communication device or third communication device to set up described first with described data receiver to be connected;
Described data transmitting equipment start secondary communication device and described data receiver set up second be connected after, described method also comprises: if detect that described secondary communication device breaks down, and described data transmitting equipment switches to and uses described third communication device to set up described second with described data receiver and be connected.
8. a control method for file transfer, is characterized in that, comprising:
Data receiver is set up first by first communication device and data transmitting equipment and is connected, and connects by described first the pairing request the response message returned described pairing request that receive the transmission of described data transmitting equipment;
Described data receiver startup secondary communication device is set up second with described data transmitting equipment and is connected, and connects by described second the file receiving the transmission of described data transmitting equipment; And
After described data receiver successfully receives described file, close described secondary communication device.
9. method according to claim 8, is characterized in that, after data receiver sets up the first successful connection by first communication device and data transmitting equipment, described method also comprises:
Described data receiver closes described first communication device, until reopen described first communication device after receiving the pairing request of described data transmitting equipment next time.
10. method according to claim 8 or claim 9, is characterized in that, after described data receiver connects by described second the file receiving the transmission of described data transmitting equipment, described method also comprises:
Whether described data receiver detects the file received complete;
When detecting that described file is complete, described data receiver is to described data transmitting equipment feeding back confirmation message, and wherein, described acknowledge message is for representing that the described file that described data receiver receives is the message of complete file.
The control system of 11. 1 kinds of file transfer, is characterized in that, comprising:
Data transmitting equipment, comprising: the first dispensing device and the second dispensing device, for initiating connection request by described first dispensing device; And
Data receiver, comprising: first receiving device and the second receiving system, for receiving described connection request by described first receiving device;
Wherein, after described data transmitting equipment and described data receiver set up the first successful connection, described data transmitting equipment starts described second dispensing device, described data receiver starts described second receiving system, between described data transmitting equipment with described data receiver, set up second be connected, and connect to after described data receiver successfully sends file waiting for transmission at described data transmitting equipment by described second, close described second dispensing device, and after described data receiver receives described file by described second successful connection, close described second receiving system.
12. systems according to claim 11, is characterized in that,
Described data transmitting equipment also for after setting up the first successful connection with described data receiver, closes described first dispensing device, until reopen described first dispensing device after receiving data sending request next time;
Described data receiver also for after setting up the first successful connection with described data transmitting equipment, closes described first receiving device, until reopen described first receiving device after receiving the pairing request of described data transmitting equipment next time.
The control device of 13. 1 kinds of file transfer, is characterized in that, comprising:
Set up module, set up first for data transmitting equipment by first communication device and data receiver and be connected, connect by described first and send pairing request and receive the response message that described data receiver returns;
Sending module, sets up second according to described response message startup secondary communication device with described data receiver for described data transmitting equipment and is connected, and send file waiting for transmission by described second connection to described data receiver; And
First closing module, after successfully sending described file waiting for transmission at described data transmitting equipment, closes described secondary communication device.
14. devices according to claim 13, is characterized in that, described first communication device is low speed low power loss communication module, and described secondary communication device is the high power communications module of high speed.
15. devices according to claim 13, is characterized in that, described device also comprises:
Second closing module, closes described first communication device for described data transmitting equipment, until reopen described first communication device after receiving data sending request next time.
16. according to claim 13 to the device described in any one in 15, and it is characterized in that, described device also comprises:
Identification module, for the distance between described data transmitting equipment identification and described data receiver;
Receiver module, for the distance between described data transmitting equipment and described data receiver in predeterminable range, described data transmitting equipment receives the touching signals of user's input, wherein, the signal that the touch interface that described touching signals is described data transmitting equipment produces when receiving predetermined gesture operation, described touching signals sends described file waiting for transmission for triggering described data transmitting equipment to described data receiver.
17. devices according to claim 16, it is characterized in that, described gesture operation at least comprises any one operation following: drag described file waiting for transmission according to desired guiding trajectory, length exceedes Preset Time by described file waiting for transmission, clicks file waiting for transmission described in described file waiting for transmission and scaling according to pre-determined number.
18. devices according to claim 13, is characterized in that, described module of setting up comprises:
Search module, at least one terminal equipment that described data transmitting equipment is obtained in preset range by the search of described first communication device;
Sub-initiation module, initiate pairing request by described first communication device to the terminal equipment searched for described data transmitting equipment, described pairing request comprises: corresponding to the pairing password of terminal equipment;
Determination module, from at least one terminal equipment in described preset range, described data receiver is determined according to described pairing request for described data transmitting equipment, wherein, described data receiver is the described pairing request of response, and verifies the successful terminal equipment of described pairing password;
Son sets up module, and the described data receiver for described data transmitting equipment and successful matching sets up communication link, and wherein, described data receiver preserves the trust information of the described data transmitting equipment of successful matching.
19. devices according to claim 13, is characterized in that, described device also comprises:
First handover module, for to be set up by first communication device and data receiver at data transmitting equipment first be connected before, if detect that described first communication device breaks down, described data transmitting equipment switches to and uses described secondary communication device or third communication device to set up described first with described data receiver to be connected;
Second handover module, for start at described data transmitting equipment secondary communication device and described data receiver set up second be connected after, if detect that described secondary communication device breaks down, described data transmitting equipment switches to and uses described third communication device to set up second with described data receiver and be connected.
The control device of 20. 1 kinds of file transfer, is characterized in that, comprising:
Set up module, set up first for data receiver by first communication device and data transmitting equipment and be connected, connect by described first the pairing request the response message returned described pairing request that receive the transmission of described data transmitting equipment;
Opening module, sets up second for described data receiver startup secondary communication device with described data transmitting equipment and is connected, and connect by described second the file receiving the transmission of described data transmitting equipment; And
First closing module, after successfully receiving described file at described data receiver, closes described secondary communication device.
21. devices according to claim 20, is characterized in that, described device also comprises:
Second closing module, closes described first communication device for described data receiver, until reopen described first communication device after receiving the pairing request of described data transmitting equipment next time.
22. devices according to claim 20 or 21, it is characterized in that, described device also comprises:
Whether complete detection module, detect for described data receiver the file received;
Feedback module, for when detecting that described file is complete, described data receiver is to described data transmitting equipment feeding back confirmation message, and wherein, described acknowledge message is for representing that the described file that described data receiver receives is the message of complete file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610011272.0A CN105472038B (en) | 2016-01-07 | 2016-01-07 | File transmission control method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610011272.0A CN105472038B (en) | 2016-01-07 | 2016-01-07 | File transmission control method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105472038A true CN105472038A (en) | 2016-04-06 |
CN105472038B CN105472038B (en) | 2020-06-16 |
Family
ID=55609300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610011272.0A Active CN105472038B (en) | 2016-01-07 | 2016-01-07 | File transmission control method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105472038B (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105956418A (en) * | 2016-04-19 | 2016-09-21 | 努比亚技术有限公司 | File processing method, sending terminal and receiving terminal |
CN106231661A (en) * | 2016-09-29 | 2016-12-14 | 中国联合网络通信集团有限公司 | Internet-of-things terminal and data uploading method, Internet of Things server |
CN106658677A (en) * | 2016-11-01 | 2017-05-10 | 飞天诚信科技股份有限公司 | Bluetooth communication method considering communication speed and power consumption and terminal |
CN106686535A (en) * | 2017-01-23 | 2017-05-17 | 飞天诚信科技股份有限公司 | Method and device for achieving low-power Bluetooth communication on IOS (iphone operation system) |
CN107018554A (en) * | 2017-03-07 | 2017-08-04 | 广东欧珀移动通信有限公司 | A kind of data transmission method, device and intelligent terminal |
CN107222847A (en) * | 2017-06-26 | 2017-09-29 | 广东欧珀移动通信有限公司 | A kind of data transmission method, device and terminal |
CN107277147A (en) * | 2017-06-28 | 2017-10-20 | 上海斐讯数据通信技术有限公司 | Document transmission method, device and the computer-processing equipment of mobile terminal |
WO2018000978A1 (en) * | 2016-07-01 | 2018-01-04 | 惠州Tcl移动通信有限公司 | Data backup method and terminal |
CN108462953A (en) * | 2018-03-30 | 2018-08-28 | 北京金山安全软件有限公司 | File transmission method and device, electronic equipment and storage medium |
CN113271324A (en) * | 2020-02-14 | 2021-08-17 | 深圳市万普拉斯科技有限公司 | File transmission method and device, electronic equipment and readable storage medium |
CN117062084A (en) * | 2023-09-15 | 2023-11-14 | 深圳旷世科技有限公司 | Device connection method, terminal and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103686051A (en) * | 2013-11-15 | 2014-03-26 | 青岛歌尔声学科技有限公司 | Portable communication device, intelligent watch, and communication system |
CN103763526A (en) * | 2014-01-10 | 2014-04-30 | 浙江宇视科技有限公司 | Monitoring control method and device |
CN203761495U (en) * | 2013-11-15 | 2014-08-06 | 青岛歌尔声学科技有限公司 | Portable communication device, intelligent watch and communication system |
CN104077906A (en) * | 2014-06-30 | 2014-10-01 | 长城信息产业股份有限公司 | Automatic data collection device and method based on NFC (Near Field Communication) |
CN104105053A (en) * | 2014-07-14 | 2014-10-15 | 康佳集团股份有限公司 | Method and system for achieving file sharing through NFC technology and Bluetooth technology |
CN204010286U (en) * | 2014-06-30 | 2014-12-10 | 长城信息产业股份有限公司 | A kind of automatic data collection device based on NFC |
US20150326774A1 (en) * | 2014-05-06 | 2015-11-12 | Comanche Outfitters LLC | Device with two wireless protocols |
CN105101055A (en) * | 2015-07-03 | 2015-11-25 | 惠州Tcl移动通信有限公司 | File transfer method and intelligent equipment |
-
2016
- 2016-01-07 CN CN201610011272.0A patent/CN105472038B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103686051A (en) * | 2013-11-15 | 2014-03-26 | 青岛歌尔声学科技有限公司 | Portable communication device, intelligent watch, and communication system |
CN203761495U (en) * | 2013-11-15 | 2014-08-06 | 青岛歌尔声学科技有限公司 | Portable communication device, intelligent watch and communication system |
CN103763526A (en) * | 2014-01-10 | 2014-04-30 | 浙江宇视科技有限公司 | Monitoring control method and device |
US20150326774A1 (en) * | 2014-05-06 | 2015-11-12 | Comanche Outfitters LLC | Device with two wireless protocols |
CN104077906A (en) * | 2014-06-30 | 2014-10-01 | 长城信息产业股份有限公司 | Automatic data collection device and method based on NFC (Near Field Communication) |
CN204010286U (en) * | 2014-06-30 | 2014-12-10 | 长城信息产业股份有限公司 | A kind of automatic data collection device based on NFC |
CN104105053A (en) * | 2014-07-14 | 2014-10-15 | 康佳集团股份有限公司 | Method and system for achieving file sharing through NFC technology and Bluetooth technology |
CN105101055A (en) * | 2015-07-03 | 2015-11-25 | 惠州Tcl移动通信有限公司 | File transfer method and intelligent equipment |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105956418A (en) * | 2016-04-19 | 2016-09-21 | 努比亚技术有限公司 | File processing method, sending terminal and receiving terminal |
WO2018000978A1 (en) * | 2016-07-01 | 2018-01-04 | 惠州Tcl移动通信有限公司 | Data backup method and terminal |
CN106231661A (en) * | 2016-09-29 | 2016-12-14 | 中国联合网络通信集团有限公司 | Internet-of-things terminal and data uploading method, Internet of Things server |
CN106658677A (en) * | 2016-11-01 | 2017-05-10 | 飞天诚信科技股份有限公司 | Bluetooth communication method considering communication speed and power consumption and terminal |
US10743258B2 (en) | 2016-11-01 | 2020-08-11 | Feitian Technologies Co., Ltd. | Method of Bluetooth communication giving consideration to both communication speed and power consumption and a terminal thereof |
CN106658677B (en) * | 2016-11-01 | 2019-10-08 | 飞天诚信科技股份有限公司 | A kind of Bluetooth communication method and terminal for taking into account communication speed and power consumption |
WO2018082428A1 (en) * | 2016-11-01 | 2018-05-11 | 飞天诚信科技股份有限公司 | Bluetooth communication method considering communication speed and power consumption and terminal |
CN106686535B (en) * | 2017-01-23 | 2020-02-11 | 飞天诚信科技股份有限公司 | Method and device for realizing low-power-consumption Bluetooth communication on iOS system |
CN106686535A (en) * | 2017-01-23 | 2017-05-17 | 飞天诚信科技股份有限公司 | Method and device for achieving low-power Bluetooth communication on IOS (iphone operation system) |
CN107018554A (en) * | 2017-03-07 | 2017-08-04 | 广东欧珀移动通信有限公司 | A kind of data transmission method, device and intelligent terminal |
CN107018554B (en) * | 2017-03-07 | 2020-11-06 | Oppo广东移动通信有限公司 | Data transmission method and device and intelligent terminal |
CN107222847A (en) * | 2017-06-26 | 2017-09-29 | 广东欧珀移动通信有限公司 | A kind of data transmission method, device and terminal |
CN107222847B (en) * | 2017-06-26 | 2020-01-14 | Oppo广东移动通信有限公司 | Data transmission method, device and terminal |
CN107277147A (en) * | 2017-06-28 | 2017-10-20 | 上海斐讯数据通信技术有限公司 | Document transmission method, device and the computer-processing equipment of mobile terminal |
CN108462953A (en) * | 2018-03-30 | 2018-08-28 | 北京金山安全软件有限公司 | File transmission method and device, electronic equipment and storage medium |
CN113271324A (en) * | 2020-02-14 | 2021-08-17 | 深圳市万普拉斯科技有限公司 | File transmission method and device, electronic equipment and readable storage medium |
CN117062084A (en) * | 2023-09-15 | 2023-11-14 | 深圳旷世科技有限公司 | Device connection method, terminal and storage medium |
CN117062084B (en) * | 2023-09-15 | 2024-07-12 | 深圳旷世科技有限公司 | Device connection method, terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN105472038B (en) | 2020-06-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105472038A (en) | Control method, control apparatus and control system for file transmission | |
US10993276B2 (en) | Radio communication device, radio communication system, radio communication method, and program | |
US7940732B2 (en) | Automatic wireless network device configuration | |
CN104363666A (en) | Method and device for setting up wireless connection between electronic devices and external device | |
CN108781473B (en) | Method and equipment for sharing files among different terminals | |
KR101332813B1 (en) | Wireless communication apparatus and method for generating wireless access channel thereof | |
US20060104200A1 (en) | Terminal for automatically changing operating mode and wireless network system having the same, and method thereof | |
US10993110B2 (en) | Connectionless fast method for configuring Wi-Fi on displayless Wi-Fi IoT device | |
CN104184502A (en) | Bluetooth pairing device and method | |
CN107205239B (en) | Method for detecting wireless network connection and detection equipment | |
US9736878B2 (en) | NFC radio frequency communication control method, apparatus, and system | |
CN104994595A (en) | Cell phone terminal and intelligent hardware networking control method thereof | |
CN107343325A (en) | A kind of data transmission method, device and terminal | |
CN107222937B (en) | Data transmission method, device and terminal | |
CN110290278A (en) | Data transmission method, device, storage medium and terminal based on bluetooth | |
CN105636159A (en) | Configuration method and device for connecting electric appliance with wireless router and mobile communication terminal | |
CN111954238A (en) | Network distribution method, network distribution device and household appliance | |
JP2017532796A (en) | Electronic device, controller and control method for NFC | |
US20230291799A1 (en) | Method and Apparatus of Network Configuration for Internet-of-Things Device | |
CN109725543A (en) | Equipment control code configuration method, device, Cloud Server and network system | |
CN104469665A (en) | Data processing method and user terminals | |
CN105430602A (en) | Networking method and system | |
CN104320863A (en) | Wireless network access method applied to mobile terminal and mobile terminal | |
CN106576277B (en) | Method and device for controlling communication connection | |
CN113538876B (en) | Method, device and system for automatic network distribution of intelligent household equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |