Summary of the invention
In order to solve the problem of carrying out the slow and length consuming time of the speed that connects in the data transmission procedure between the terminal equipment, the embodiment of the invention provides a kind of data transmission method, device and portable terminal.Described technical scheme is as follows:
On the one hand, a kind of data transmission method, described method comprises:
First terminal equipment receives the data transfer instruction that is used to transmit specified file;
Detect the sound status of described first terminal equipment, and generate the appointment handshaking information according to described sound status;
Described first terminal equipment sends described appointment handshaking information according to described specified file, makes described second terminal equipment set up data with described first terminal equipment according to described appointment handshaking information and is connected;
Be connected with data between described second terminal equipment by described first terminal equipment, send described specified file to described second terminal equipment.
Detect the sound status of described first terminal equipment, and generate the appointment handshaking information, comprising according to described sound status:
Whether the sound status that detects described first terminal equipment is in mute state;
When the sound status of described first terminal equipment is not in mute state, generate first and specify handshaking information, the described first appointment handshaking information is the audio frequency of assigned frequency;
When the sound status of described first terminal equipment is in mute state,
Generate second and specify handshaking information, the described second appointment handshaking information is the information beyond the audio format.
The described second appointment handshaking information is 2 D code information, ultrasound information or near field communication (NFC) NFC information.
Described first terminal equipment sends described appointment handshaking information according to described specified file, makes described second terminal equipment set up data with described first terminal equipment according to described appointment handshaking information and is connected, and comprising:
Described first terminal equipment sends described appointment handshaking information according to described specified file, makes described second terminal equipment return the appointment handshaking information of described second terminal equipment according to described appointment handshaking information;
When receiving the appointment handshaking information of described second terminal equipment, described first terminal equipment is set up data according to the appointment handshaking information of described second terminal equipment with described second terminal equipment and is connected.
When receiving the appointment handshaking information of described second terminal equipment, described first terminal equipment is set up data according to the appointment handshaking information of described second terminal equipment with described second terminal equipment and is connected, and comprising:
When the appointment handshaking information of described first terminal equipment is carried the first given transmission mode, when the appointment handshaking information of described second terminal equipment is carried the second given transmission mode, described first terminal equipment search hotspot name meets the WiFi focus of designated mode, and the hotspot name of described second terminal equipment is made amendment definite by described second terminal equipment to the WiFi focus of described second terminal equipment;
According to the appointment handshaking information of described second terminal equipment, the described WiFi focus that meets described designated mode is verified;
When the WiFi focus checking that meets described designated mode was passed through, described first terminal equipment was set up data by the described WiFi focus that meets described designated mode with described second terminal equipment and is connected.
Described first terminal equipment sends described appointment handshaking information according to described specified file and comprises:
When described specified file during less than preset value, described first terminal equipment is carried at described specified file in the described appointment handshaking information and sends.
First terminal equipment receives and is used to transmit before the data transfer instruction of specified file,
Described method comprises:
First terminal equipment detects the allocate event to described specified file, triggers the described data transfer instruction that is used to transmit specified file.
On the other hand, a kind of data transmission device, described device comprises:
The command reception module is used to receive the data transfer instruction that is used to transmit specified file;
The handshaking information generation module is used to detect sound status, and generates the appointment handshaking information according to described sound status;
The handshaking information sending module is used for sending described appointment handshaking information according to described specified file, makes described second terminal equipment set up data with the local terminal terminal equipment according to described appointment handshaking information and is connected;
Sending module is used for being connected with data between described second terminal equipment by described local terminal terminal equipment, sends described specified file to described second terminal equipment.
Described handshaking information generation module comprises:
State detection unit, whether the sound status that is used to detect the local terminal terminal equipment is in mute state;
First generation unit is used for when the sound status of described local terminal terminal equipment is not in mute state, generates first and specifies handshaking information, and the described first appointment handshaking information is the audio frequency of assigned frequency;
Second generation unit is used for when the sound status of described local terminal terminal equipment is in mute state, generates second and specifies handshaking information, and the described second appointment handshaking information is the information beyond the audio format.
The described second appointment handshaking information is 2 D code information, ultrasound information or near field communication (NFC) NFC information.
Described handshaking information sending module comprises:
The handshaking information transmitting element is used for sending described appointment handshaking information according to described specified file, makes described second terminal equipment return the appointment handshaking information of described second terminal equipment according to described appointment handshaking information;
Connect and set up the unit, be used for when receiving the appointment handshaking information of described second terminal equipment, set up data according to the appointment handshaking information of described second terminal equipment with described second terminal equipment and be connected.
Described connection is set up the unit and is comprised:
Focus search subelement, be used for carrying the first given transmission mode when the appointment handshaking information of described local terminal terminal equipment, when the appointment handshaking information of described second terminal equipment is carried the second given transmission mode, described local terminal terminal equipment search hotspot name meets the WiFi focus of designated mode, and the hotspot name of described second terminal equipment is made amendment definite by described second terminal equipment to the WiFi focus of described second terminal equipment;
Focus checking subelement is used for the appointment handshaking information according to described second terminal equipment, and the described WiFi focus that meets described designated mode is verified;
Checking is used for when the WiFi focus checking that meets described designated mode is passed through by subelement, and described local terminal terminal equipment is set up data by the described WiFi focus that meets described designated mode with described second terminal equipment and is connected.
Described handshaking information sending module comprises:
Carry transmitting element, be used for when described specified file during less than preset value, described local terminal terminal equipment is carried at described specified file in the described appointment handshaking information and sends.
Described device also comprises:
The instruction triggers module is used for the local terminal terminal equipment and detects allocate event to described specified file, triggers the described data transfer instruction that is used to transmit specified file.
Another aspect, a kind of portable terminal, described portable terminal comprises:
Display screen;
One or more processors;
Memory; With
One or more modules, described one or more module stores are in described memory and be configured to be carried out by described one or more processors, and wherein, described one or more modules have following function:
Reception is used to transmit the data transfer instruction of specified file;
Detect sound status, and generate the appointment handshaking information according to described sound status;
Send described appointment handshaking information according to described specified file, make described second terminal equipment set up data according to described appointment handshaking information and be connected with the local terminal terminal equipment;
Be connected with data between described second terminal equipment by described local terminal terminal equipment, send described specified file to described second terminal equipment.
A kind of data transmission method, device and portable terminal that the embodiment of the invention provides receive the data transfer instruction that is used to transmit specified file by first terminal equipment; Detect the sound status of described first terminal equipment, and generate the appointment handshaking information according to described sound status; Described first terminal equipment sends described appointment handshaking information according to described specified file, makes described second terminal equipment set up data with described first terminal equipment according to described appointment handshaking information and is connected; Be connected with data between described second terminal equipment by described first terminal equipment, send described specified file to described second terminal equipment.The technical scheme that adopts the embodiment of the invention to provide, can make the user when needs carry out file transfer, generation handshaking information that can be spontaneous according to terminal equipment present located sound status, and set up data according to handshaking information and another terminal equipment and be connected to carry out transfer of data, the user only need select the file that will transmit, and its concrete data connect the process of setting up and need not artificial intervention and can realize, simplified the operation in the data transmission procedure, and improved data establishment of connection speed, avoided unnecessary time-delay.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 1 is the flow chart of a kind of data transmission method of providing of the embodiment of the invention.The executive agent of this inventive embodiments is first terminal equipment, and referring to Fig. 1, described method comprises:
101, first terminal equipment receives the data transfer instruction that is used to transmit specified file;
102, detect the sound status of described first terminal equipment, and generate the appointment handshaking information according to described sound status;
103, described first terminal equipment sends described appointment handshaking information according to described specified file, makes described second terminal equipment set up data with described second terminal equipment according to described appointment handshaking information and is connected;
104, be connected with data between described second terminal equipment by described first terminal equipment, send described specified file to described second terminal equipment.
The technical scheme that adopts the embodiment of the invention to provide, can make the user when needs carry out file transfer, generation handshaking information that can be spontaneous according to terminal equipment present located sound status, and set up data according to handshaking information and another terminal equipment and be connected to carry out transfer of data, the user only need select the file that will transmit, and its concrete data connect the process of setting up and need not artificial intervention and can realize, simplified the operation in the data transmission procedure, and improved data establishment of connection speed, avoided unnecessary time-delay.
Preferable, detect the sound status of described first terminal equipment, and, comprising according to described sound status generation appointment handshaking information:
Whether the sound status that detects described first terminal equipment is in mute state;
When the sound status of described first terminal equipment is not in mute state, generate first and specify handshaking information, the described first appointment handshaking information is the audio frequency of assigned frequency;
When the sound status of described first terminal equipment is in mute state,
Generate second and specify handshaking information, the described second appointment handshaking information is the information beyond the audio format.
Preferable, the described second appointment handshaking information is 2 D code information, ultrasound information or near field communication (NFC) NFC information.
Preferable, described first terminal equipment sends described appointment handshaking information according to described specified file, makes described second terminal equipment and described second terminal equipment set up data according to described appointment handshaking information and is connected and comprises:
Described first terminal equipment sends described appointment handshaking information according to described specified file, makes described second terminal equipment return the appointment handshaking information of described second terminal equipment according to described appointment handshaking information;
When receiving the appointment handshaking information of described second terminal equipment, described first terminal equipment is set up data according to the appointment handshaking information of described second terminal equipment with described second terminal equipment and is connected.
Preferable, when receiving the appointment handshaking information of described second terminal equipment, described first terminal equipment is set up data according to the appointment handshaking information of described second terminal equipment with described second terminal equipment and is connected, and comprising:
When the appointment handshaking information of described first terminal equipment is carried the first given transmission mode, when the appointment handshaking information of described second terminal equipment is carried the second given transmission mode, described first terminal equipment search hotspot name meets the WiFi focus of designated mode, and the hotspot name of described second terminal equipment is made amendment definite by described second terminal equipment to the WiFi focus of described second terminal equipment;
According to the appointment handshaking information of described second terminal equipment, the described WiFi focus that meets described designated mode is verified;
When the WiFi focus checking that meets described designated mode was passed through, described first terminal equipment was set up data by the described WiFi focus that meets described designated mode with described second terminal equipment and is connected.
Preferable, described first terminal equipment sends described appointment handshaking information according to described specified file, comprising:
When described specified file during less than preset value, described first terminal equipment is carried at described specified file in the described appointment handshaking information and sends.
Preferable, first terminal equipment receives and is used to transmit before the data transfer instruction of specified file, and described method comprises:
First terminal equipment detects the allocate event to described specified file, triggers the described data transfer instruction that is used to transmit specified file.Above-mentioned all optional technical schemes can adopt any combination to form optional embodiment of the present invention, give unnecessary details no longer one by one at this.
Fig. 2 is the flow chart of a kind of data transmission method of providing of the embodiment of the invention.The interaction agent of this inventive embodiments is first terminal equipment and second terminal equipment, and wherein first terminal equipment is as transmit leg, and second terminal equipment is as the recipient, and referring to Fig. 2, described method comprises:
201, first terminal equipment detects the allocate event to described specified file, triggers the data transfer instruction that is used to transmit specified file;
In embodiments of the present invention, when the specified file of preserving on the user need be with first terminal equipment sends to second terminal equipment, can be used to transmit the data transfer instruction of specified file with triggering by specified file being carried out allocate event at first terminal equipment.Wherein, this allocate event to specified file can be pressed incident or double-click incident or the like for the length to specified file, and the embodiment of the invention is not done qualification.
The difference of the embodiment of the invention is, can only get final product the trigger data transfer instruction by the simple long allocate events such as incident or double-click incident of pressing, only relate to the selection for the treatment of transfer files, do not send frame or in the data transmission applications that has started, add complex steps such as specified file and do not relate to loaded down with trivial details file is pulled into, simplify the process of trigger data transmission greatly, simplified operation complexity.
202, first terminal equipment receives the data transfer instruction that is used to transmit specified file;
Need to prove, the embodiment of the invention has only been described the triggering and the reception of data transfer instruction with step 201-202, in actual applications, this step 201-202 can be regarded as a log-on data transmission course, can only comprise the process that receives data transfer instruction, and concrete triggering mode is not done qualification.
Alternatively, when first terminal equipment receives this data transfer instruction, the log-on data transport interface, at this moment, need also open data transmission interface as recipient's second terminal equipment, thereby realize the reception and the transmission of follow-up handshaking information, so that carry out transfer of data.
203, whether the sound status of described first terminal equipment of detection is in mute state;
For first terminal equipment, its sound status can have the mute state of being in and not be in two kinds of mute state, and first terminal equipment can be known the sound status that it is current by the detection that sound status is provided with situation.
204, when the sound status of described first terminal equipment is not in mute state, generate first and specify handshaking information, the described first appointment handshaking information is the audio frequency of assigned frequency;
When the sound status of first terminal equipment is not in mute state, can use the send mode of the audio frequency of assigned frequency as the first appointment handshaking information, this first appointment handshaking information is carried information such as the MAC Address of first terminal equipment, the data transfer mode of support, number of files waiting for transmission and file size at least.
205, when the sound status of described first terminal equipment is in mute state, generate second and specify handshaking information, the described second appointment handshaking information is the information beyond the audio format;
Preferably, the described second appointment handshaking information is 2 D code information, ultrasound information or near field communication (NFC) NFC information.
When the sound status of first terminal equipment is in mute state, in order not destroy active user's environment for use, can use the send mode of audio format information in addition as the second appointment handshaking information, this second appointment handshaking information is carried information such as the MAC Address of first terminal equipment, the data transfer mode of support, number of files waiting for transmission and file size at least.
In embodiments of the present invention, first specifies handshaking information and second to specify handshaking information only to be used to distinguish the handshaking information of different-format, and its content of specifically carrying is not done concrete qualification.
Certainly, this step 204 is an optimal way, this step 204 also can following step be replaced: when the sound status of described first terminal equipment is not in mute state, generates second and specify handshaking information, the described second appointment handshaking information is the information beyond the audio format.
Further, before generate specifying handshaking information, this method can also comprise: when described specified file during less than preset value, described first terminal equipment is carried at described specified file in the described appointment handshaking information and sends.When the specified file of user transmission smaller, during such as a telephone number or a note, can connect without log-on data, send to second terminal equipment in the handshaking information but this specified file is carried at by the handshaking information beyond audio format or the audio format, when second terminal equipment received this handshaking information, the file type of the specified file that can carry according to handshaking information was stored or operation such as importing accordingly.
206, described first terminal equipment sends the appointment handshaking information that generates according to described specified file;
The form of the appointment handshaking information that no matter generates is audio frequency or extended formatting, and this appointment handshaking information is all carried information such as the MAC Address of first terminal equipment, the data transfer mode of support, number of files waiting for transmission and file size at least.And if this first terminal equipment is supported WiFi(wireless fidelity, Wireless Fidelity), also need WiFi SSID(Service Set Identifier, service set) is carried to specify in the handshaking information and sends, so that second terminal equipment is receiving laggard line data establishment of connection.
When 207, second terminal equipment receives the appointment handshaking information of first terminal equipment, generate the appointment handshaking information of second terminal equipment, and send this appointment handshaking information to first terminal equipment;
Need to prove, this second terminal equipment is the recipient in embodiments of the present invention, but the content that the appointment handshaking information of its transmission is specifically carried is with similar as first terminal equipment of transmit leg, need carry the MAC Address of second terminal equipment, the data transfer mode of support, if and this second terminal equipment is supported WiFi, need WiFi SSID with this second terminal equipment be carried to specify in the handshaking information and send, so that first terminal equipment is receiving laggard line data establishment of connection.
Particularly, when second terminal equipment receives the appointment handshaking information of first terminal equipment, start the WiFi focus of second terminal equipment, and the WiFi SSID of the MAC Address of second terminal equipment and second terminal equipment is carried in the appointment handshaking information of second terminal equipment and sends to first terminal equipment.
208, when first terminal equipment receives the appointment handshaking information of described second terminal equipment, described first terminal equipment is set up data according to the appointment handshaking information of described second terminal equipment with described second terminal equipment and is connected;
When the appointment handshaking information of first terminal equipment is carried the WiFi transmission means, and second terminal equipment is supported the WiFi transmission means, then sets up data with the MAC Address of WiFi SSID and the 21 terminal equipment with WiFi SSID according to the MAC Address of second terminal equipment and is connected.
When the appointment handshaking information of first terminal equipment is carried WiFi p2p transmission means, and second terminal equipment is supported WiFi p2p transmission means, then sets up data with the MAC Address of WiFi SSID and the 21 terminal equipment with WiFi SSID according to the MAC Address of second terminal equipment and is connected.
Further,, can manually be provided with, otherwise carry out transfer of data by first terminal user and second terminal user when not matching.
In another embodiment that the embodiment of the invention provides, at above-mentioned steps 208, this step 208 specifically can may further comprise the steps 2081-2083:
2081, carry the first given transmission mode when the appointment handshaking information of described first terminal equipment, when the appointment handshaking information of described second terminal equipment is carried the second given transmission mode, described first terminal equipment search hotspot name meets the WiFi focus of designated mode, and the hotspot name of described second terminal equipment is made amendment definite by described second terminal equipment to the WiFi focus of described second terminal equipment;
In this first given transmission mode is WiFi p2p, and be that WiFi is that example describes with second transmission means, when the specified data transmission means is the data transfer mode that is associated, second terminal equipment as the recipient starts the WiFi focus, and revise the SSID name of WiFi focus according to the unique identification sign indicating number of second terminal equipment and user profile, the concrete modification mode is: the unique identification sign indicating number and the user profile of second terminal equipment are encoded with specific mode, and meet AD HOC, generate amended SSID name, first terminal equipment search SSID name meets the WiFi focus of this AD HOC, wherein the unique identification sign indicating number is used for unique identification equipment, and user profile can be the self-defining title of second terminal equipment, when searching the WiFi focus that meets AD HOC with convenient first terminal equipment, decoding back shows decoded this user profile on first terminal equipment, with the identity of the WiFi focus further determining to search.
2082, according to the appointment handshaking information of described second terminal equipment, the described WiFi focus that meets described designated mode is verified;
First terminal equipment is verified the WiFi focus that searches according to the MAC Address of second terminal equipment in the appointment handshaking information of second terminal equipment, to determine that this WiFi focus that searches is the focus of the current use of second terminal equipment.
2083, when the WiFi focus checking that meets described designated mode was passed through, described first terminal equipment was set up data by the described WiFi focus that meets described designated mode with described second terminal equipment and is connected.
209, be connected with data between described second terminal equipment by described first terminal equipment, send described specified file to described second terminal equipment.
First terminal equipment connect to send this specified file by data, make that second terminal equipment receives this specified file after, preserve this specified file.Particularly, this preservation can be the File Open mode type according to specified file, and this specified file is saved to corresponding position.
The technical scheme that adopts the embodiment of the invention to provide, can make the user when needs carry out file transfer, generation handshaking information that can be spontaneous according to terminal equipment present located sound status, and set up data according to handshaking information and another terminal equipment and be connected to carry out transfer of data, the user only need select the file that will transmit, and its concrete data connect the process of setting up and need not artificial intervention and can realize, simplified the operation in the data transmission procedure, and improved data establishment of connection speed, avoided unnecessary time-delay.Further, come trigger data transmission, user only need select the file that will transmit by allocate event, under the normal condition, need not the operation that the user does other again, reduce the complexity of data transfer operation, and passed through the coupling voluntarily of handshaking information, can make terminal equipment select a kind of optimization scheme to carry out transfer of data automatically, improved transmission rate, connect if set up data, then need not online, do not produce flow by WiFi.
Fig. 3 is a kind of data transmission device structural representation that the embodiment of the invention provides.Referring to Fig. 3, described device comprises:
Command reception module 31 is used to receive the data transfer instruction that is used to transmit specified file;
Handshaking information generation module 32 is used to detect sound status, and generates the appointment handshaking information according to described sound status;
Handshaking information sending module 33 is used for sending described appointment handshaking information according to described specified file, makes described second terminal equipment set up data with the local terminal terminal equipment according to described appointment handshaking information and is connected;
Sending module 34 is used for being connected with data between described second terminal equipment by described local terminal terminal equipment, sends described specified file to described second terminal equipment.
Preferable, described handshaking information generation module comprises:
State detection unit is used to detect sound status and whether is in mute state;
First generation unit is used for when the sound status of described local terminal terminal equipment is not in mute state, generates first and specifies handshaking information, and the described first appointment handshaking information is the audio frequency of assigned frequency;
Second generation unit is used for when the sound status of described local terminal terminal equipment is in mute state, generates second and specifies handshaking information, and the described second appointment handshaking information is the information beyond the audio format.
Preferable, the described second appointment handshaking information is 2 D code information, ultrasound information or near field communication (NFC) NFC information.
Preferable, described handshaking information sending module comprises:
The handshaking information transmitting element is used for sending described appointment handshaking information according to described specified file, makes described second terminal equipment return the appointment handshaking information of described second terminal equipment according to described appointment handshaking information;
Connect and set up the unit, be used for when receiving the appointment handshaking information of described second terminal equipment, set up data according to the appointment handshaking information of described second terminal equipment with described second terminal equipment and be connected.
Preferable, described connection is set up the unit and is comprised:
Focus search subelement, be used for carrying the first given transmission mode when the appointment handshaking information of described local terminal terminal equipment, when the appointment handshaking information of described second terminal equipment is carried the second given transmission mode, described local terminal terminal equipment search hotspot name meets the WiFi focus of designated mode, and the hotspot name of described second terminal equipment is made amendment definite by described second terminal equipment to the WiFi focus of described second terminal equipment;
Focus checking subelement is used for the appointment handshaking information according to described second terminal equipment, and the described WiFi focus that meets described designated mode is verified;
Checking is used for when the WiFi focus checking that meets described designated mode is passed through by subelement, and described local terminal terminal equipment is set up data by the described WiFi focus that meets described designated mode with described second terminal equipment and is connected.
Preferable, described handshaking information sending module comprises:
Carry transmitting element, be used for when described specified file during less than preset value, described local terminal terminal equipment is carried at described specified file in the described appointment handshaking information and sends.
Preferable, described device also comprises:
The instruction triggers module is used for the local terminal terminal equipment and detects allocate event to described specified file, triggers the described data transfer instruction that is used to transmit specified file.
Need to prove: the data transmission device that the foregoing description provides is when transfer of data, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the internal structure of the equipment of being about to is divided into different functional modules, to finish all or part of function described above.In addition, data transmission device that the foregoing description provides and data transmission method embodiment belong to same design, and its specific implementation process sees method embodiment for details, repeats no more here.
The embodiment of the invention also provides a kind of portable terminal, and described portable terminal comprises:
Display screen;
One or more processors;
Memory; With
One or more modules, described one or more module stores are in described memory and be configured to be carried out by described one or more processors, and wherein, described one or more modules have following function:
Reception is used to transmit the data transfer instruction of specified file;
Detect sound status, and generate the appointment handshaking information according to described sound status;
Send described appointment handshaking information according to described specified file, make described second terminal equipment set up data according to described appointment handshaking information and be connected with the local terminal terminal equipment;
Be connected with data between described second terminal equipment by described local terminal terminal equipment, send described specified file to described second terminal equipment.
Preferable, detect the sound status of described first terminal equipment, and, comprising according to described sound status generation appointment handshaking information:
Whether the sound status that detects described first terminal equipment is in mute state;
When the sound status of described first terminal equipment is not in mute state, generate first and specify handshaking information, the described first appointment handshaking information is the audio frequency of assigned frequency;
When the sound status of described first terminal equipment is in mute state,
Generate second and specify handshaking information, the described second appointment handshaking information is the information beyond the audio format.
Preferable, the described second appointment handshaking information is 2 D code information, ultrasound information or near field communication (NFC) NFC information.
Preferable, described first terminal equipment sends described appointment handshaking information according to described specified file, makes described second terminal equipment and described first terminal equipment set up data according to described appointment handshaking information and is connected and comprises:
Described first terminal equipment sends described appointment handshaking information according to described specified file, makes described second terminal equipment return the appointment handshaking information of described second terminal equipment according to described appointment handshaking information;
When receiving the appointment handshaking information of described second terminal equipment, described first terminal equipment is set up data according to the appointment handshaking information of described second terminal equipment with described second terminal equipment and is connected.
Preferable, when receiving the appointment handshaking information of described second terminal equipment, described first terminal equipment is set up data according to the appointment handshaking information of described second terminal equipment with described second terminal equipment and is connected, and comprising:
When the appointment handshaking information of described first terminal equipment is carried the first given transmission mode, when the appointment handshaking information of described second terminal equipment is carried the second given transmission mode, described first terminal equipment search hotspot name meets the WiFi focus of designated mode, and the hotspot name of described second terminal equipment is made amendment definite by described second terminal equipment to the WiFi focus of described second terminal equipment;
According to the appointment handshaking information of described second terminal equipment, the described WiFi focus that meets described designated mode is verified;
When the WiFi focus checking that meets described designated mode was passed through, described first terminal equipment was set up data by the described WiFi focus that meets described designated mode with described second terminal equipment and is connected.
Preferable, described first terminal equipment sends described appointment handshaking information according to described specified file, comprising:
When described specified file during less than preset value, described first terminal equipment is carried at described specified file in the described appointment handshaking information and sends.
Preferable, first terminal equipment receives and is used to transmit before the data transfer instruction of specified file, and described method comprises:
First terminal equipment detects the allocate event to described specified file, triggers the described data transfer instruction that is used to transmit specified file.
The all or part of step that one of ordinary skill in the art will appreciate that realization the foregoing description can be finished by hardware, also can instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.