CN103220822B - Data transmission method, device and mobile terminal - Google Patents

Data transmission method, device and mobile terminal Download PDF

Info

Publication number
CN103220822B
CN103220822B CN201310119914.5A CN201310119914A CN103220822B CN 103220822 B CN103220822 B CN 103220822B CN 201310119914 A CN201310119914 A CN 201310119914A CN 103220822 B CN103220822 B CN 103220822B
Authority
CN
China
Prior art keywords
terminal equipment
handshaking information
appointment
specified file
information
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.)
Active
Application number
CN201310119914.5A
Other languages
Chinese (zh)
Other versions
CN103220822A (en
Inventor
文振威
刘新宇
孙大庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310119914.5A priority Critical patent/CN103220822B/en
Publication of CN103220822A publication Critical patent/CN103220822A/en
Application granted granted Critical
Publication of CN103220822B publication Critical patent/CN103220822B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of data transmission method, device and mobile terminal, belong to field of terminal technology.Method comprises: first terminal equipment receives the data transfer instruction for transmitting specified file; Detect the sound status of first terminal equipment, and generate appointment handshaking information according to sound status; 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 cube computation according to described appointment handshaking information; By the data cube computation between first terminal equipment and the second terminal equipment, send specified file to the second terminal equipment.This invention simplifies the operation in data transmission procedure, and improve data cube computation set up speed, avoid unnecessary time delay.

Description

Data transmission method, device and mobile terminal
Technical field
The present invention relates to field of terminal technology, particularly a kind of data transmission method, device and mobile terminal.
Background technology
Along with the development of terminal technology and the variation of mobile terminal function, increasing mobile terminal can carry out transfer of data with other mobile terminals, to meet the demand of user to data sharing.Wherein, the data transfer mode of mobile terminal can comprise bluetooth, infrared etc.
When mobile terminal needs to another mobile terminal transmission data, can open configuration in Wireless Telecom Equipments such as the bluetooth of mobile terminal or infrared interfaces, connect, utilize the connection of setting up to carry out transfer of data.
Realizing in process of the present invention, inventor finds at least there is following problem:
When terminal equipment uses the Wireless Telecom Equipment such as bluetooth or infrared interface transmission data, user is needed manually to select the target device of transmission means and transmission with the connection between the Wireless Telecom Equipment setting up mobile terminal, make the complicated operation in data transmission procedure, higher to the technical requirement of user, and transmission means is single, the speed connected is slow, length consuming time.
Summary of the invention
In order to solve the problem of the slow and length consuming time of the speed of carrying out connecting in data transmission procedure between terminal equipment, embodiments provide a kind of data transmission method, device and mobile 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 for transmitting specified file;
Detect the sound status of described first terminal equipment, and generate 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 and described first terminal equipment set up data cube computation according to described appointment handshaking information;
By the data cube computation between described first terminal equipment and described second terminal equipment, send described specified file to described second terminal equipment.
Detect the sound status of described first terminal equipment, and generate appointment handshaking information according to described sound status, comprising:
Whether the sound status detecting 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, described first specifies handshaking information to be 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, described second appointment handshaking information is the information beyond audio format.
Described second specifies handshaking information to be 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 and described first terminal equipment set up data cube computation according to described appointment handshaking information, 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 sets up data cube computation according to the appointment handshaking information of described second terminal equipment and described second terminal equipment.
When receiving the appointment handshaking information of described second terminal equipment, described first terminal equipment sets up data cube computation according to the appointment handshaking information of described second terminal equipment and described second terminal equipment, comprising:
When the appointment handshaking information of described first terminal equipment carries the first given transmission mode, when the appointment handshaking information of described second terminal equipment carries the second given transmission mode, described first terminal equipment search hotspot name meets the Wi-Fi hotspot of designated mode, and the hotspot name of described second terminal equipment is modified by the Wi-Fi hotspot of described second terminal equipment to described second terminal equipment and determined;
According to the appointment handshaking information of described second terminal equipment, the described Wi-Fi hotspot meeting described designated mode is verified;
When the Wi-Fi hotspot meeting described designated mode is verified, data cube computation set up by the Wi-Fi hotspot and described second terminal equipment that meet described designated mode described in described first terminal equipment passes through.
Described first terminal equipment sends described appointment handshaking information according to described specified file and comprises:
When described specified file is less than preset value, described specified file is carried in described appointment handshaking information and sends by described first terminal equipment.
Before first terminal equipment receives the data transfer instruction for transmitting specified file,
Described method comprises:
First terminal equipment Inspection, to the allocate event to described specified file, triggers described for transmitting the data transfer instruction of specified file.
On the other hand, a kind of data transmission device, described device comprises:
Command reception module, for receiving the data transfer instruction for transmitting specified file;
Handshaking information generation module, for detecting sound status, and generates appointment handshaking information according to described sound status;
Handshaking information sending module, for sending described appointment handshaking information according to described specified file, makes described second terminal equipment and local terminal terminal equipment set up data cube computation according to described appointment handshaking information;
Sending module, for by the data cube computation between described local terminal terminal equipment and described second terminal equipment, sends described specified file to described second terminal equipment.
Described handshaking information generation module comprises:
Whether state detection unit, be in mute state for the sound status detecting local terminal terminal equipment;
First generation unit, for when the sound status of described local terminal terminal equipment is not in mute state, generate first and specify handshaking information, described first specifies handshaking information to be the audio frequency of assigned frequency;
Second generation unit, for when the sound status of described local terminal terminal equipment is in mute state, generates second and specifies handshaking information, and described second appointment handshaking information is the information beyond audio format.
Described second specifies handshaking information to be 2 D code information, ultrasound information or near field communication (NFC) NFC information.
Described handshaking information sending module comprises:
Handshaking information transmitting element, 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;
Connection establishment unit, for when receiving the appointment handshaking information of described second terminal equipment, sets up data cube computation according to the appointment handshaking information of described second terminal equipment and described second terminal equipment.
Described connection establishment unit comprises:
Focus search subelement, the first given transmission mode is carried for the appointment handshaking information when described local terminal terminal equipment, when the appointment handshaking information of described second terminal equipment carries the second given transmission mode, described local terminal terminal equipment search hotspot name meets the Wi-Fi hotspot of designated mode, and the hotspot name of described second terminal equipment is modified by the Wi-Fi hotspot of described second terminal equipment to described second terminal equipment and determined;
Hotspot validates subelement, for the appointment handshaking information according to described second terminal equipment, verifies the described Wi-Fi hotspot meeting described designated mode;
Be verified subelement, during for being verified when the Wi-Fi hotspot meeting described designated mode, data cube computation set up by the Wi-Fi hotspot and described second terminal equipment that meet described designated mode described in described local terminal terminal equipment passes through.
Described handshaking information sending module comprises:
Carry transmitting element, for when described specified file is less than preset value, described specified file is carried in described appointment handshaking information and sends by described local terminal terminal equipment.
Described device also comprises:
Instruction triggers module, detects the allocate event to described specified file for local terminal terminal equipment, triggers described for transmitting the data transfer instruction of specified file.
Another aspect, a kind of mobile terminal, described mobile terminal comprises:
Display screen;
One or more processor;
Memory; With
One or more module, described one or more module to be stored in described memory and to be configured to be performed by described one or more processor, and wherein, described one or more module has following function:
Receive the data transfer instruction for transmitting specified file;
Detect sound status, and generate appointment handshaking information according to described sound status;
Send described appointment handshaking information according to described specified file, make described second terminal equipment and local terminal terminal equipment set up data cube computation according to described appointment handshaking information;
By the data cube computation between described local terminal terminal equipment and described second terminal equipment, send described specified file to described second terminal equipment.
A kind of data transmission method, device and mobile terminal that the embodiment of the present invention provides, receive the data transfer instruction for transmitting specified file by first terminal equipment; Detect the sound status of described first terminal equipment, and generate 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 and described first terminal equipment set up data cube computation according to described appointment handshaking information; By the data cube computation between described first terminal equipment and described second terminal equipment, send described specified file to described second terminal equipment.Adopt the technical scheme that the embodiment of the present invention provides, user can be made when needs carry out file transfer, generation handshaking information that can be spontaneous according to the current residing sound status of terminal equipment, and set up data cube computation to carry out transfer of data according to handshaking information and another terminal equipment, user only needs the file selecting to transmit, and its concrete data cube computation process of establishing can realize without the need to manpower intervention, simplify the operation in data transmission procedure, and improve data cube computation set up speed, avoid unnecessary time delay.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of a kind of data transmission method that the embodiment of the present invention provides;
Fig. 2 is the flow chart of a kind of data transmission method that the embodiment of the present invention provides;
Fig. 3 is a kind of data transmission device structural representation that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, 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, belong to the scope of protection of the invention.
Fig. 1 is the flow chart of a kind of data transmission method that the embodiment of the present invention provides.The executive agent of this inventive embodiments is first terminal equipment, and see Fig. 1, described method comprises:
101, first terminal equipment receives the data transfer instruction for transmitting specified file;
102, detect the sound status of described first terminal equipment, and generate 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 and described second terminal equipment set up data cube computation according to described appointment handshaking information;
104, by the data cube computation between described first terminal equipment and described second terminal equipment, described specified file is sent to described second terminal equipment.
Adopt the technical scheme that the embodiment of the present invention provides, user can be made when needs carry out file transfer, generation handshaking information that can be spontaneous according to the current residing sound status of terminal equipment, and set up data cube computation to carry out transfer of data according to handshaking information and another terminal equipment, user only needs the file selecting to transmit, and its concrete data cube computation process of establishing can realize without the need to manpower intervention, simplify the operation in data transmission procedure, and improve data cube computation set up speed, avoid unnecessary time delay.
Preferably, detect the sound status of described first terminal equipment, and generate appointment handshaking information according to described sound status, comprising:
Whether the sound status detecting 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, described first specifies handshaking information to be 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, described second appointment handshaking information is the information beyond audio format.
Preferably, described second handshaking information is specified to be 2 D code information, ultrasound information or near field communication (NFC) NFC information.
Preferably, 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 cube computation according to described appointment handshaking information 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 sets up data cube computation according to the appointment handshaking information of described second terminal equipment and described second terminal equipment.
Preferably, when receiving the appointment handshaking information of described second terminal equipment, described first terminal equipment sets up data cube computation according to the appointment handshaking information of described second terminal equipment and described second terminal equipment, comprising:
When the appointment handshaking information of described first terminal equipment carries the first given transmission mode, when the appointment handshaking information of described second terminal equipment carries the second given transmission mode, described first terminal equipment search hotspot name meets the Wi-Fi hotspot of designated mode, and the hotspot name of described second terminal equipment is modified by the Wi-Fi hotspot of described second terminal equipment to described second terminal equipment and determined;
According to the appointment handshaking information of described second terminal equipment, the described Wi-Fi hotspot meeting described designated mode is verified;
When the Wi-Fi hotspot meeting described designated mode is verified, data cube computation set up by the Wi-Fi hotspot and described second terminal equipment that meet described designated mode described in described first terminal equipment passes through.
Preferably, described first terminal equipment sends described appointment handshaking information according to described specified file, comprising:
When described specified file is less than preset value, described specified file is carried in described appointment handshaking information and sends by described first terminal equipment.
Preferably, before first terminal equipment receives the data transfer instruction for transmitting specified file, described method comprises:
First terminal equipment Inspection, to the allocate event to described specified file, triggers described for transmitting the data transfer instruction of specified file.Above-mentioned all alternatives, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Fig. 2 is the flow chart of a kind of data transmission method that the embodiment of the present invention provides.The interaction agent of this inventive embodiments is first terminal equipment and the second terminal equipment, and wherein first terminal equipment is as transmit leg, and the second terminal equipment is as recipient, and see Fig. 2, described method comprises:
201, first terminal equipment Inspection is to the allocate event to described specified file, triggers the data transfer instruction for transmitting specified file;
In embodiments of the present invention, when user needs the specified file that first terminal equipment is preserved to be sent to the second terminal equipment, can by performing allocate event at first terminal equipment to specified file, to trigger the data transfer instruction for transmitting specified file.Wherein, this can be that the embodiment of the present invention does not limit to the length of specified file by event or double-click event etc. to the allocate event of specified file.
The difference of the embodiment of the present invention is, trigger data transmission instruction can be got final product by means of only the simple long allocate event such as event or double-click event of pressing, only relate to the selection treating transfer files, and do not relate to loaded down with trivial details file being pulled into transmission frame or add the complex steps such as specified file in the data transmission applications started, enormously simplify the process of trigger data transmission, simplify the complexity of operation.
202, first terminal equipment receives the data transfer instruction for transmitting specified file;
It should be noted that, the embodiment of the present invention only describes 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 transmitting procedure, only can comprise the process receiving data transfer instruction, and concrete triggering mode is not limited.
Alternatively, when first terminal equipment receives this data transfer instruction, log-on data transport interface, now, need also to open data transmission interface as second terminal equipment of recipient, thus realize reception and the transmission of follow-up handshaking information, to carry out transfer of data.
Whether the sound status 203, detecting described first terminal equipment is in mute state;
For first terminal equipment, its sound status can be in mute state and not be in mute state two kinds, and first terminal equipment is by knowing its current sound status to the detection of sound status facilities.
204, when the sound status of described first terminal equipment is not in mute state, generate first and specify handshaking information, described first specifies handshaking information to be the audio frequency of assigned frequency;
When the sound status of first terminal equipment is not in mute state, the audio frequency of assigned frequency can be used to specify the send mode of handshaking information as first, and this first specifies handshaking information at least to carry the 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.
205, when the sound status of described first terminal equipment is in mute state, generate second and specify handshaking information, described second appointment handshaking information is the information beyond audio format;
Preferably, described second handshaking information is specified to be 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 to not destroy the environment for use of active user, information beyond audio format can be used to specify the send mode of handshaking information as second, and this second specifies handshaking information at least to carry the 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.
In embodiments of the present invention, first specifies handshaking information and second to specify handshaking information only for distinguishing the handshaking information of different-format, is not specifically limited the content that it specifically carries.
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 specifies handshaking information, and described second appointment handshaking information is the information beyond audio format.
Further, before handshaking information is specified in generation, the method can also comprise: when described specified file is less than preset value, and described specified file is carried in described appointment handshaking information and sends by described first terminal equipment.When the specified file of user's transmission is smaller, such as when a telephone number or a note, can connect without log-on data, but by the handshaking information beyond audio format or audio format this specified file is carried in handshaking information and sends to the second terminal equipment, when the second terminal equipment receives this handshaking information, the file type of the specified file that can carry according to handshaking information carries out storing or the operation such as importing accordingly.
206, described first terminal equipment sends the appointment handshaking information generated according to described specified file;
The form of the appointment handshaking information no matter generated is audio frequency or extended formatting, and this appointment handshaking information all at least carries MAC Address, the data transfer mode of support, the information such as number of files waiting for transmission and file size of first terminal equipment.And if this first terminal equipment supports WiFi(wirelessfidelity, Wireless Fidelity), also need WiFiSSID(ServiceSetIdentifier, service set) be carried to specify in handshaking information and send, so that the second terminal equipment carries out the foundation of data cube computation after the receipt.
207, when the second terminal equipment receives the appointment handshaking information of first terminal equipment, generate the appointment handshaking information of the second terminal equipment, and send this appointment handshaking information to first terminal equipment;
It should be noted that, this second terminal equipment is recipient in embodiments of the present invention, but the content that its appointment handshaking information sent specifically is carried is similar with the first terminal equipment as transmit leg, need to carry the MAC Address of the second terminal equipment, the data transfer mode of support, if and WiFi supported by this second terminal equipment, need the WiFiSSID of this second terminal equipment to be carried at specify in handshaking information to send, so that first terminal equipment carries out the foundation of data cube computation after the receipt.
Particularly, when second terminal equipment receives the appointment handshaking information of first terminal equipment, start the Wi-Fi hotspot of the second terminal equipment, and the WiFiSSID of the MAC Address of the second terminal equipment and the second terminal equipment is carried in the appointment handshaking information of the second terminal equipment sends to first terminal equipment.
208, when first terminal equipment receives the appointment handshaking information of described second terminal equipment, described first terminal equipment sets up data cube computation according to the appointment handshaking information of described second terminal equipment and described second terminal equipment;
When the appointment handshaking information of first terminal equipment carries WiFi transmission means, and WiFi transmission means supported by the second terminal equipment, then set up data cube computation according to the MAC Address of the second terminal equipment and the MAC Address of WiFiSSID and the 21 terminal equipment and WiFiSSID.
When the appointment handshaking information of first terminal equipment carries WiFip2p transmission means, and WiFip2p transmission means supported by the second terminal equipment, then set up data cube computation according to the MAC Address of the second terminal equipment and the MAC Address of WiFiSSID and the 21 terminal equipment and WiFiSSID.
Further, when not mating, manually can be arranged by first terminal equipment user and the second terminal user, otherwise carrying out transfer of data.
In another embodiment that the embodiment of the present invention provides, for above-mentioned steps 208, this step 208 specifically can comprise the following steps 2081-2083:
2081, when the appointment handshaking information of described first terminal equipment carries the first given transmission mode, when the appointment handshaking information of described second terminal equipment carries the second given transmission mode, described first terminal equipment search hotspot name meets the Wi-Fi hotspot of designated mode, and the hotspot name of described second terminal equipment is modified by the Wi-Fi hotspot of described second terminal equipment to described second terminal equipment and determined;
In this first given transmission mode for WiFip2p, and for the second transmission means for WiFi is described, when determining that data transfer mode is the data transfer mode be associated, the second terminal equipment as recipient starts Wi-Fi hotspot, and according to the exclusive identification code of the second terminal equipment and the SSID name of user profile amendment Wi-Fi hotspot, concrete modification mode is: the exclusive identification code of the second terminal equipment and the specific mode of user profile are encoded, and meet AD HOC, generate amended SSID name, first terminal equipment search SSID name meets the Wi-Fi hotspot of this AD HOC, wherein exclusive identification code is used for unique identification equipment, and user profile can be the self-defining title of the second terminal equipment, when searching with convenient first terminal equipment the Wi-Fi hotspot meeting AD HOC, on first terminal equipment, this user profile decoded is shown after decoding, to determine the identity of the Wi-Fi hotspot searched further.
2082, according to the appointment handshaking information of described second terminal equipment, the described Wi-Fi hotspot meeting described designated mode is verified;
First terminal equipment is verified the Wi-Fi hotspot searched according to the MAC Address of the second terminal equipment in the appointment handshaking information of the second terminal equipment, to determine that this Wi-Fi hotspot searched is the focus of the current use of the second terminal equipment.
2083, when the Wi-Fi hotspot meeting described designated mode is verified, data cube computation set up by the Wi-Fi hotspot and described second terminal equipment that meet described designated mode described in described first terminal equipment passes through.
209, by the data cube computation between described first terminal equipment and described second terminal equipment, described specified file is sent to described second terminal equipment.
First terminal equipment sends this specified file by data cube computation, after making the second terminal equipment receive this specified file, preserves this specified file.Particularly, this preservation can be the modes to open a file type according to specified file, and this specified file is saved to corresponding position.
Adopt the technical scheme that the embodiment of the present invention provides, user can be made when needs carry out file transfer, generation handshaking information that can be spontaneous according to the current residing sound status of terminal equipment, and set up data cube computation to carry out transfer of data according to handshaking information and another terminal equipment, user only needs the file selecting to transmit, and its concrete data cube computation process of establishing can realize without the need to manpower intervention, simplify the operation in data transmission procedure, and improve data cube computation set up speed, avoid unnecessary time delay.Further, carry out trigger data transmission by allocate event, user only needs the file selecting to transmit, under normal circumstances, other operation is done again without the need to user, reduce the complexity of data transfer operation, and pass through the coupling voluntarily of handshaking information, terminal equipment can be made automatically to select a kind of optimization scheme to carry out transfer of data, improve transmission rate, if set up data cube computation by WiFi, then without the need to online, do not produce flow.
Fig. 3 is a kind of data transmission device structural representation that the embodiment of the present invention provides.See Fig. 3, described device comprises:
Command reception module 31, for receiving the data transfer instruction for transmitting specified file;
Handshaking information generation module 32, for detecting sound status, and generates appointment handshaking information according to described sound status;
Handshaking information sending module 33, for sending described appointment handshaking information according to described specified file, makes described second terminal equipment and local terminal terminal equipment set up data cube computation according to described appointment handshaking information;
Sending module 34, for by the data cube computation between described local terminal terminal equipment and described second terminal equipment, sends described specified file to described second terminal equipment.
Preferably, described handshaking information generation module comprises:
Whether state detection unit, be in mute state for detecting sound status;
First generation unit, for when the sound status of described local terminal terminal equipment is not in mute state, generate first and specify handshaking information, described first specifies handshaking information to be the audio frequency of assigned frequency;
Second generation unit, for when the sound status of described local terminal terminal equipment is in mute state, generates second and specifies handshaking information, and described second appointment handshaking information is the information beyond audio format.
Preferably, described second handshaking information is specified to be 2 D code information, ultrasound information or near field communication (NFC) NFC information.
Preferably, described handshaking information sending module comprises:
Handshaking information transmitting element, 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;
Connection establishment unit, for when receiving the appointment handshaking information of described second terminal equipment, sets up data cube computation according to the appointment handshaking information of described second terminal equipment and described second terminal equipment.
Preferably, described connection establishment unit comprises:
Focus search subelement, the first given transmission mode is carried for the appointment handshaking information when described local terminal terminal equipment, when the appointment handshaking information of described second terminal equipment carries the second given transmission mode, described local terminal terminal equipment search hotspot name meets the Wi-Fi hotspot of designated mode, and the hotspot name of described second terminal equipment is modified by the Wi-Fi hotspot of described second terminal equipment to described second terminal equipment and determined;
Hotspot validates subelement, for the appointment handshaking information according to described second terminal equipment, verifies the described Wi-Fi hotspot meeting described designated mode;
Be verified subelement, during for being verified when the Wi-Fi hotspot meeting described designated mode, data cube computation set up by the Wi-Fi hotspot and described second terminal equipment that meet described designated mode described in described local terminal terminal equipment passes through.
Preferably, described handshaking information sending module comprises:
Carry transmitting element, for when described specified file is less than preset value, described specified file is carried in described appointment handshaking information and sends by described local terminal terminal equipment.
Preferably, described device also comprises:
Instruction triggers module, detects the allocate event to described specified file for local terminal terminal equipment, triggers described for transmitting the data transfer instruction of specified file.
It should be noted that: the data transmission device that above-described embodiment provides is when transfer of data, only be illustrated with the division of above-mentioned each functional module, in practical application, can distribute as required and by above-mentioned functions and be completed by different functional modules, internal structure by equipment is divided into different functional modules, to complete all or part of function described above.In addition, the data transmission device that above-described embodiment provides and data transmission method embodiment belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
The embodiment of the present invention additionally provides a kind of mobile terminal, and described mobile terminal comprises:
Display screen;
One or more processor;
Memory; With
One or more module, described one or more module to be stored in described memory and to be configured to be performed by described one or more processor, and wherein, described one or more module has following function:
Receive the data transfer instruction for transmitting specified file;
Detect sound status, and generate appointment handshaking information according to described sound status;
Send described appointment handshaking information according to described specified file, make described second terminal equipment and local terminal terminal equipment set up data cube computation according to described appointment handshaking information;
By the data cube computation between described local terminal terminal equipment and described second terminal equipment, send described specified file to described second terminal equipment.
Preferably, detect the sound status of described first terminal equipment, and generate appointment handshaking information according to described sound status, comprising:
Whether the sound status detecting 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, described first specifies handshaking information to be 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, described second appointment handshaking information is the information beyond audio format.
Preferably, described second handshaking information is specified to be 2 D code information, ultrasound information or near field communication (NFC) NFC information.
Preferably, 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 cube computation according to described appointment handshaking information 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 sets up data cube computation according to the appointment handshaking information of described second terminal equipment and described second terminal equipment.
Preferably, when receiving the appointment handshaking information of described second terminal equipment, described first terminal equipment sets up data cube computation according to the appointment handshaking information of described second terminal equipment and described second terminal equipment, comprising:
When the appointment handshaking information of described first terminal equipment carries the first given transmission mode, when the appointment handshaking information of described second terminal equipment carries the second given transmission mode, described first terminal equipment search hotspot name meets the Wi-Fi hotspot of designated mode, and the hotspot name of described second terminal equipment is modified by the Wi-Fi hotspot of described second terminal equipment to described second terminal equipment and determined;
According to the appointment handshaking information of described second terminal equipment, the described Wi-Fi hotspot meeting described designated mode is verified;
When the Wi-Fi hotspot meeting described designated mode is verified, data cube computation set up by the Wi-Fi hotspot and described second terminal equipment that meet described designated mode described in described first terminal equipment passes through.
Preferably, described first terminal equipment sends described appointment handshaking information according to described specified file, comprising:
When described specified file is less than preset value, described specified file is carried in described appointment handshaking information and sends by described first terminal equipment.
Preferably, before first terminal equipment receives the data transfer instruction for transmitting specified file, described method comprises:
First terminal equipment Inspection, to the allocate event to described specified file, triggers described for transmitting the data transfer instruction of specified file.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (13)

1. a data transmission method, is characterized in that, described method comprises:
First terminal equipment receives the data transfer instruction for transmitting specified file;
Detect the sound status of described first terminal equipment, and generate appointment handshaking information according to described sound status;
Described first terminal equipment sends described appointment handshaking information according to described specified file, makes the second terminal equipment and described first terminal equipment set up data cube computation according to described appointment handshaking information;
By the data cube computation between described first terminal equipment and described second terminal equipment, send described specified file to described second terminal equipment;
Detect the sound status of described first terminal equipment, and generate appointment handshaking information according to described sound status, comprising:
Whether the sound status detecting 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, described first specifies handshaking information to be 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, described second appointment handshaking information is the information beyond audio format.
2. method according to claim 1, is characterized in that, described second specifies handshaking information to be 2 D code information, ultrasound information or near field communication (NFC) NFC information.
3. method according to claim 1, it is characterized in that, described first terminal equipment sends described appointment handshaking information according to described specified file, makes the second terminal equipment and described first terminal equipment set up data cube computation according to described appointment handshaking information, 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 sets up data cube computation according to the appointment handshaking information of described second terminal equipment and described second terminal equipment.
4. method according to claim 3, it is characterized in that, when receiving the appointment handshaking information of described second terminal equipment, described first terminal equipment sets up data cube computation according to the appointment handshaking information of described second terminal equipment and described second terminal equipment, comprising:
When the appointment handshaking information of described first terminal equipment carries the first given transmission mode, when the appointment handshaking information of described second terminal equipment carries the second given transmission mode, described first terminal equipment search hotspot name meets the Wi-Fi hotspot of designated mode, and the hotspot name of described second terminal equipment is modified by the Wi-Fi hotspot of described second terminal equipment to described second terminal equipment and determined;
According to the appointment handshaking information of described second terminal equipment, the described Wi-Fi hotspot meeting described designated mode is verified;
When the Wi-Fi hotspot meeting described designated mode is verified, data cube computation set up by the Wi-Fi hotspot and described second terminal equipment that meet described designated mode described in described first terminal equipment passes through.
5. method according to claim 1, is characterized in that, described first terminal equipment sends described appointment handshaking information according to described specified file and comprises:
When described specified file is less than preset value, described specified file is carried in described appointment handshaking information and sends by described first terminal equipment.
6. the method according to any one of claim 1-5, is characterized in that, before first terminal equipment receives the data transfer instruction for transmitting specified file, described method comprises:
First terminal equipment Inspection, to the allocate event to described specified file, triggers described for transmitting the data transfer instruction of specified file.
7. a data transmission device, is characterized in that, described device comprises:
Command reception module, for receiving the data transfer instruction for transmitting specified file;
Handshaking information generation module, for detecting sound status, and generates appointment handshaking information according to described sound status;
Handshaking information sending module, for sending described appointment handshaking information according to described specified file, makes the second terminal equipment and local terminal terminal equipment set up data cube computation according to described appointment handshaking information;
Sending module, for by the data cube computation between described local terminal terminal equipment and described second terminal equipment, sends described specified file to described second terminal equipment;
Described handshaking information generation module, comprising:
Whether state detection unit, be in mute state for detecting sound status;
First generation unit, for when the sound status of described local terminal terminal equipment is not in mute state, generate first and specify handshaking information, described first specifies handshaking information to be the audio frequency of assigned frequency;
Second generation unit, for when the sound status of described local terminal terminal equipment is in mute state, generates second and specifies handshaking information, and described second appointment handshaking information is the information beyond audio format.
8. device according to claim 7, is characterized in that, described second specifies handshaking information to be 2 D code information, ultrasound information or near field communication (NFC) NFC information.
9. device according to claim 8, is characterized in that, described handshaking information sending module comprises:
Handshaking information transmitting element, 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;
Connection establishment unit, for when receiving the appointment handshaking information of described second terminal equipment, sets up data cube computation according to the appointment handshaking information of described second terminal equipment and described second terminal equipment.
10. device according to claim 9, is characterized in that, described connection establishment unit comprises:
Focus search subelement, the first given transmission mode is carried for the appointment handshaking information when described local terminal terminal equipment, when the appointment handshaking information of described second terminal equipment carries the second given transmission mode, described local terminal terminal equipment search hotspot name meets the Wi-Fi hotspot of designated mode, and the hotspot name of described second terminal equipment is modified by the Wi-Fi hotspot of described second terminal equipment to described second terminal equipment and determined;
Hotspot validates subelement, for the appointment handshaking information according to described second terminal equipment, verifies the described Wi-Fi hotspot meeting described designated mode;
Be verified subelement, during for being verified when the Wi-Fi hotspot meeting described designated mode, data cube computation set up by the Wi-Fi hotspot and described second terminal equipment that meet described designated mode described in described local terminal terminal equipment passes through.
11. devices according to claim 7, is characterized in that, described handshaking information sending module comprises:
Carry transmitting element, for when described specified file is less than preset value, described specified file is carried in described appointment handshaking information and sends by described local terminal terminal equipment.
12. devices according to any one of claim 7-11, is characterized in that,
Described device also comprises:
Instruction triggers module, detects the allocate event to described specified file for local terminal terminal equipment, triggers described for transmitting the data transfer instruction of specified file.
13. 1 kinds of mobile terminals, is characterized in that, described mobile terminal comprises:
Display screen;
One or more processor;
Memory; With
One or more module, described one or more module to be stored in described memory and to be configured to be performed by described one or more processor, and wherein, described one or more module has following function:
Receive the data transfer instruction for transmitting specified file;
Detect sound status, and generate appointment handshaking information according to described sound status;
Send described appointment handshaking information according to described specified file, make the second terminal equipment and described mobile terminal set up data cube computation according to described appointment handshaking information;
By the data cube computation between described mobile terminal and described second terminal equipment, send described specified file to described second terminal equipment;
Detect sound status, and generate appointment handshaking information according to described sound status, comprising:
Whether the sound status detecting described mobile terminal is in mute state;
When the sound status of described mobile terminal is not in mute state, generate first and specify handshaking information, described first specifies handshaking information to be the audio frequency of assigned frequency;
When the sound status of described mobile terminal is in mute state, generate second and specify handshaking information, described second appointment handshaking information is the information beyond audio format.
CN201310119914.5A 2013-04-08 2013-04-08 Data transmission method, device and mobile terminal Active CN103220822B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310119914.5A CN103220822B (en) 2013-04-08 2013-04-08 Data transmission method, device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310119914.5A CN103220822B (en) 2013-04-08 2013-04-08 Data transmission method, device and mobile terminal

Publications (2)

Publication Number Publication Date
CN103220822A CN103220822A (en) 2013-07-24
CN103220822B true CN103220822B (en) 2016-03-02

Family

ID=48818117

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310119914.5A Active CN103220822B (en) 2013-04-08 2013-04-08 Data transmission method, device and mobile terminal

Country Status (1)

Country Link
CN (1) CN103220822B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488391A (en) * 2016-09-14 2017-03-08 广东欧珀移动通信有限公司 A kind of data migration method and terminal device

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103402275A (en) * 2013-07-26 2013-11-20 北京小米科技有限责任公司 Method, terminal and system of sharing WiFi (Wireless Fidelity) link information
CN104378807B (en) * 2013-08-15 2018-04-27 联想(北京)有限公司 A kind of quick method and electronic equipment for establishing connection
CN103442009A (en) * 2013-08-30 2013-12-11 苏州跨界软件科技有限公司 File transmission method based on NFC
WO2015032048A1 (en) 2013-09-05 2015-03-12 展讯通信(上海)有限公司 Method for internal communication of mobile terminal
CN103528590A (en) * 2013-10-16 2014-01-22 深圳市凯立德科技股份有限公司 Method for supplying network to navigation equipment, as well as navigation equipment
CN103746975A (en) * 2013-12-26 2014-04-23 小米科技有限责任公司 Method of data transmission, device and mobile terminal
CN104158597B (en) * 2014-07-23 2016-07-06 深圳市揽胜科技有限公司 A kind of WIFI network product that configures is connected to the method and system of router
CN105188024B (en) * 2015-10-29 2019-06-14 小米科技有限责任公司 Access the method, apparatus and system of network
CN108880696B (en) * 2017-05-12 2022-04-15 中兴通讯股份有限公司 Frequency configuration handshaking method and system, terminal and computer readable storage medium
CN107249023B (en) * 2017-05-27 2020-06-30 维沃移动通信有限公司 Processing method and device for file sending
CN107659968A (en) * 2017-10-13 2018-02-02 惠州Tcl移动通信有限公司 Mobile terminal and its data transmission method and storage medium
CN109302698A (en) * 2018-08-27 2019-02-01 优视科技新加坡有限公司 Near-field Data moving method and its device
CN113993224A (en) * 2021-10-25 2022-01-28 无锡小天鹅电器有限公司 Communication method of household appliance and household appliance

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102315864A (en) * 2011-09-07 2012-01-11 百度在线网络技术(北京)有限公司 Method of point-to-point data transmission for mobile device and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100257239A1 (en) * 2009-04-02 2010-10-07 Qualcomm Incorporated Method and apparatus for establishing a social network through file transfers

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102315864A (en) * 2011-09-07 2012-01-11 百度在线网络技术(北京)有限公司 Method of point-to-point data transmission for mobile device and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106488391A (en) * 2016-09-14 2017-03-08 广东欧珀移动通信有限公司 A kind of data migration method and terminal device
CN106488391B (en) * 2016-09-14 2019-10-25 Oppo广东移动通信有限公司 A kind of data migration method and terminal device

Also Published As

Publication number Publication date
CN103220822A (en) 2013-07-24

Similar Documents

Publication Publication Date Title
CN103220822B (en) Data transmission method, device and mobile terminal
US10165613B2 (en) Control method for bluetooth communication and bluetooth low energy communication
CN101807945B (en) Wireless data transmission system and data transmission method utilizing same
CN109743783B (en) Data transmission control method and related product
CN103813473A (en) Communication method, terminal and system
CN103384369A (en) Method, device and system for building data connection
CN104980215A (en) System and method for achieving WiFi configuration of intelligent equipment based on optical signal transmission
CN104125654A (en) Data transmission method and devices for wifi network and terminal devices
CN104584490A (en) Data transmitting method and device
CN103929755A (en) Communication method and device
CN104202714A (en) Mobile terminal near field communication method and system for heterogeneous operating system
CN104462033A (en) Method and device for realizing editing operation among devices
CN114390501A (en) Data transmission method and electronic equipment
CN104469665A (en) Data processing method and user terminals
CN104955168A (en) Audio data transmitting method, receiving method and device
CN104516693A (en) Wireless printing method and system
CN105827740A (en) Method, equipment and system for contact person information backup
CN104093049A (en) Multimedia playing control method and system
CN105451368A (en) Communication method and apparatus
CN101827196A (en) Video communication method, system and device
CN104364777A (en) Protocol translating adapter
CN105813226A (en) Document transmission method and device
CN105517111A (en) Methods and apparatuses for connecting devices with network
CN105764158A (en) Data communication method and device
CN102882565A (en) Data processing and transmitting method and associated equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Xiaomi Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant